diff --git a/clients/client-accessanalyzer/package.json b/clients/client-accessanalyzer/package.json index eb239bdd9140..c3a860185e4c 100644 --- a/clients/client-accessanalyzer/package.json +++ b/clients/client-accessanalyzer/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-accessanalyzer/src/protocols/Aws_restJson1.ts b/clients/client-accessanalyzer/src/protocols/Aws_restJson1.ts index b972f2bb779a..76a4091edc75 100644 --- a/clients/client-accessanalyzer/src/protocols/Aws_restJson1.ts +++ b/clients/client-accessanalyzer/src/protocols/Aws_restJson1.ts @@ -852,10 +852,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2640,13 +2637,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aA = "analyzerArn"; const _cT = "clientToken"; const _iRP = "includeResourcePlaceholders"; diff --git a/clients/client-account/package.json b/clients/client-account/package.json index e4e991499d73..605f0971f7eb 100644 --- a/clients/client-account/package.json +++ b/clients/client-account/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-account/src/protocols/Aws_restJson1.ts b/clients/client-account/src/protocols/Aws_restJson1.ts index a4cd57620874..9178dfa7553c 100644 --- a/clients/client-account/src/protocols/Aws_restJson1.ts +++ b/clients/client-account/src/protocols/Aws_restJson1.ts @@ -761,10 +761,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-acm-pca/package.json b/clients/client-acm-pca/package.json index b4aa30333f54..8de99da784f2 100644 --- a/clients/client-acm-pca/package.json +++ b/clients/client-acm-pca/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-acm/package.json b/clients/client-acm/package.json index c8ddef069be5..d1c575cc1ab5 100644 --- a/clients/client-acm/package.json +++ b/clients/client-acm/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-amp/package.json b/clients/client-amp/package.json index 97576643810f..2ffbd53be6d0 100644 --- a/clients/client-amp/package.json +++ b/clients/client-amp/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-amp/src/protocols/Aws_restJson1.ts b/clients/client-amp/src/protocols/Aws_restJson1.ts index dcc9fa1b6b01..b6d96dae47dc 100644 --- a/clients/client-amp/src/protocols/Aws_restJson1.ts +++ b/clients/client-amp/src/protocols/Aws_restJson1.ts @@ -608,10 +608,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1629,13 +1626,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _a = "alias"; const _cT = "clientToken"; const _mR = "maxResults"; diff --git a/clients/client-amplify/package.json b/clients/client-amplify/package.json index f2f3b8327e10..661f83ed4f8f 100644 --- a/clients/client-amplify/package.json +++ b/clients/client-amplify/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-amplify/src/protocols/Aws_restJson1.ts b/clients/client-amplify/src/protocols/Aws_restJson1.ts index a53f09838bd0..35f9b0b2a7be 100644 --- a/clients/client-amplify/src/protocols/Aws_restJson1.ts +++ b/clients/client-amplify/src/protocols/Aws_restJson1.ts @@ -801,10 +801,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2207,13 +2204,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _eN = "environmentName"; const _mR = "maxResults"; const _nT = "nextToken"; diff --git a/clients/client-amplifybackend/package.json b/clients/client-amplifybackend/package.json index e2d1d3e998a2..9723e538b0c5 100644 --- a/clients/client-amplifybackend/package.json +++ b/clients/client-amplifybackend/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-amplifybackend/src/protocols/Aws_restJson1.ts b/clients/client-amplifybackend/src/protocols/Aws_restJson1.ts index 506189ac965d..4538a09ff510 100644 --- a/clients/client-amplifybackend/src/protocols/Aws_restJson1.ts +++ b/clients/client-amplifybackend/src/protocols/Aws_restJson1.ts @@ -2462,10 +2462,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-amplifyuibuilder/package.json b/clients/client-amplifyuibuilder/package.json index 32d6f841fd27..731b60cc8bf8 100644 --- a/clients/client-amplifyuibuilder/package.json +++ b/clients/client-amplifyuibuilder/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-amplifyuibuilder/src/protocols/Aws_restJson1.ts b/clients/client-amplifyuibuilder/src/protocols/Aws_restJson1.ts index 5175e9d17068..00aee6c208b4 100644 --- a/clients/client-amplifyuibuilder/src/protocols/Aws_restJson1.ts +++ b/clients/client-amplifyuibuilder/src/protocols/Aws_restJson1.ts @@ -669,10 +669,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2738,13 +2735,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cT = "clientToken"; const _mR = "maxResults"; const _nT = "nextToken"; diff --git a/clients/client-api-gateway/package.json b/clients/client-api-gateway/package.json index 0c321bbb0c18..68fabc21a6ba 100644 --- a/clients/client-api-gateway/package.json +++ b/clients/client-api-gateway/package.json @@ -35,30 +35,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-api-gateway/src/protocols/Aws_restJson1.ts b/clients/client-api-gateway/src/protocols/Aws_restJson1.ts index 8a45e15e28b8..a3ba715c926f 100644 --- a/clients/client-api-gateway/src/protocols/Aws_restJson1.ts +++ b/clients/client-api-gateway/src/protocols/Aws_restJson1.ts @@ -15,6 +15,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, @@ -1294,7 +1295,7 @@ export const se_GetDeploymentCommand = async ( b.p("restApiId", () => input.restApiId!, "{restApiId}", false); b.p("deploymentId", () => input.deploymentId!, "{deploymentId}", false); const query: any = map({ - [_e]: [() => input.embed !== void 0, () => (input[_e]! || []).map((_entry) => _entry as any)], + [_e]: [() => input.embed !== void 0, () => input[_e]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -1675,7 +1676,7 @@ export const se_GetResourceCommand = async ( b.p("restApiId", () => input.restApiId!, "{restApiId}", false); b.p("resourceId", () => input.resourceId!, "{resourceId}", false); const query: any = map({ - [_e]: [() => input.embed !== void 0, () => (input[_e]! || []).map((_entry) => _entry as any)], + [_e]: [() => input.embed !== void 0, () => input[_e]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -1696,7 +1697,7 @@ export const se_GetResourcesCommand = async ( const query: any = map({ [_p]: [, input[_p]!], [_l]: [() => input.limit !== void 0, () => input[_l]!.toString()], - [_e]: [() => input.embed !== void 0, () => (input[_e]! || []).map((_entry) => _entry as any)], + [_e]: [() => input.embed !== void 0, () => input[_e]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -2326,10 +2327,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -6475,13 +6473,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _a = "accepts"; const _ac = "accept"; const _cD = "contentDisposition"; diff --git a/clients/client-apigatewaymanagementapi/package.json b/clients/client-apigatewaymanagementapi/package.json index 6be891c1002b..1d564c0a8f3f 100644 --- a/clients/client-apigatewaymanagementapi/package.json +++ b/clients/client-apigatewaymanagementapi/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-apigatewaymanagementapi/src/protocols/Aws_restJson1.ts b/clients/client-apigatewaymanagementapi/src/protocols/Aws_restJson1.ts index 42fa6aba577b..adcafad77803 100644 --- a/clients/client-apigatewaymanagementapi/src/protocols/Aws_restJson1.ts +++ b/clients/client-apigatewaymanagementapi/src/protocols/Aws_restJson1.ts @@ -265,10 +265,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-apigatewayv2/package.json b/clients/client-apigatewayv2/package.json index c6c4b15c6954..a75f433721ae 100644 --- a/clients/client-apigatewayv2/package.json +++ b/clients/client-apigatewayv2/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-apigatewayv2/src/protocols/Aws_restJson1.ts b/clients/client-apigatewayv2/src/protocols/Aws_restJson1.ts index 78bc358b5db0..2ed3557ef7a2 100644 --- a/clients/client-apigatewayv2/src/protocols/Aws_restJson1.ts +++ b/clients/client-apigatewayv2/src/protocols/Aws_restJson1.ts @@ -1391,10 +1391,7 @@ export const se_UntagResourceCommand = async ( b.bp("/v2/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -4351,13 +4348,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _B = "Basepath"; const _EV = "ExportVersion"; const _FOW = "FailOnWarnings"; diff --git a/clients/client-app-mesh/package.json b/clients/client-app-mesh/package.json index e10fdecc2092..dbbe83762048 100644 --- a/clients/client-app-mesh/package.json +++ b/clients/client-app-mesh/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-app-mesh/src/protocols/Aws_restJson1.ts b/clients/client-app-mesh/src/protocols/Aws_restJson1.ts index 608b43aa0d5a..268618bd12c6 100644 --- a/clients/client-app-mesh/src/protocols/Aws_restJson1.ts +++ b/clients/client-app-mesh/src/protocols/Aws_restJson1.ts @@ -3001,13 +3001,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _l = "limit"; const _mO = "meshOwner"; const _nT = "nextToken"; diff --git a/clients/client-appconfig/package.json b/clients/client-appconfig/package.json index bcce88db32fa..c187cc162c0a 100644 --- a/clients/client-appconfig/package.json +++ b/clients/client-appconfig/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-appconfig/src/protocols/Aws_restJson1.ts b/clients/client-appconfig/src/protocols/Aws_restJson1.ts index 510a9af0f888..204c34c0af5e 100644 --- a/clients/client-appconfig/src/protocols/Aws_restJson1.ts +++ b/clients/client-appconfig/src/protocols/Aws_restJson1.ts @@ -16,6 +16,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, limitedParseFloat32 as __limitedParseFloat32, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, @@ -912,10 +913,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2549,13 +2547,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _AI = "ApplicationId"; const _CCV = "ClientConfigurationVersion"; const _CI = "ClientId"; diff --git a/clients/client-appconfigdata/package.json b/clients/client-appconfigdata/package.json index 7375a0fee1ea..3cbce6920b78 100644 --- a/clients/client-appconfigdata/package.json +++ b/clients/client-appconfigdata/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-appconfigdata/src/protocols/Aws_restJson1.ts b/clients/client-appconfigdata/src/protocols/Aws_restJson1.ts index e6cda474d321..e0846bc9d99d 100644 --- a/clients/client-appconfigdata/src/protocols/Aws_restJson1.ts +++ b/clients/client-appconfigdata/src/protocols/Aws_restJson1.ts @@ -259,13 +259,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CT = "ConfigurationToken"; const _CTo = "ContentType"; const _NPCT = "NextPollConfigurationToken"; diff --git a/clients/client-appfabric/package.json b/clients/client-appfabric/package.json index f11971a145b4..7142a1feed11 100644 --- a/clients/client-appfabric/package.json +++ b/clients/client-appfabric/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-appfabric/src/protocols/Aws_restJson1.ts b/clients/client-appfabric/src/protocols/Aws_restJson1.ts index 1c860af4728d..43c3b722aade 100644 --- a/clients/client-appfabric/src/protocols/Aws_restJson1.ts +++ b/clients/client-appfabric/src/protocols/Aws_restJson1.ts @@ -616,10 +616,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1556,13 +1553,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _rAS = "retryAfterSeconds"; diff --git a/clients/client-appflow/package.json b/clients/client-appflow/package.json index f266cc886063..c413f94e7c67 100644 --- a/clients/client-appflow/package.json +++ b/clients/client-appflow/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-appflow/src/protocols/Aws_restJson1.ts b/clients/client-appflow/src/protocols/Aws_restJson1.ts index bc37b8c11411..c8465398940c 100644 --- a/clients/client-appflow/src/protocols/Aws_restJson1.ts +++ b/clients/client-appflow/src/protocols/Aws_restJson1.ts @@ -735,10 +735,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2458,11 +2455,4 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _tK = "tagKeys"; diff --git a/clients/client-appintegrations/package.json b/clients/client-appintegrations/package.json index 320a9788d393..0819e71f1dfc 100644 --- a/clients/client-appintegrations/package.json +++ b/clients/client-appintegrations/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-appintegrations/src/protocols/Aws_restJson1.ts b/clients/client-appintegrations/src/protocols/Aws_restJson1.ts index e4828160fe83..a6d7a6493a92 100644 --- a/clients/client-appintegrations/src/protocols/Aws_restJson1.ts +++ b/clients/client-appintegrations/src/protocols/Aws_restJson1.ts @@ -493,10 +493,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1435,13 +1432,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _MR = "MaxResults"; const _NT = "NextToken"; const _mR = "maxResults"; diff --git a/clients/client-application-auto-scaling/package.json b/clients/client-application-auto-scaling/package.json index 79ecfba4e4bf..bd4bb41d982d 100644 --- a/clients/client-application-auto-scaling/package.json +++ b/clients/client-application-auto-scaling/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-application-discovery-service/package.json b/clients/client-application-discovery-service/package.json index 97722e2a3922..04d516e77032 100644 --- a/clients/client-application-discovery-service/package.json +++ b/clients/client-application-discovery-service/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-application-insights/package.json b/clients/client-application-insights/package.json index 3dddc527054f..f368e944dd27 100644 --- a/clients/client-application-insights/package.json +++ b/clients/client-application-insights/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-application-signals/package.json b/clients/client-application-signals/package.json index 82da56fe28a9..91836dccfd8c 100644 --- a/clients/client-application-signals/package.json +++ b/clients/client-application-signals/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-application-signals/src/protocols/Aws_restJson1.ts b/clients/client-application-signals/src/protocols/Aws_restJson1.ts index ba8b6594e3dc..73a13fb9066f 100644 --- a/clients/client-application-signals/src/protocols/Aws_restJson1.ts +++ b/clients/client-application-signals/src/protocols/Aws_restJson1.ts @@ -1222,13 +1222,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _ET = "EndTime"; const _MR = "MaxResults"; const _NT = "NextToken"; diff --git a/clients/client-applicationcostprofiler/package.json b/clients/client-applicationcostprofiler/package.json index 01596e429864..cc5660c1078e 100644 --- a/clients/client-applicationcostprofiler/package.json +++ b/clients/client-applicationcostprofiler/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-applicationcostprofiler/src/protocols/Aws_restJson1.ts b/clients/client-applicationcostprofiler/src/protocols/Aws_restJson1.ts index e614c707d374..69bf032051a6 100644 --- a/clients/client-applicationcostprofiler/src/protocols/Aws_restJson1.ts +++ b/clients/client-applicationcostprofiler/src/protocols/Aws_restJson1.ts @@ -492,12 +492,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; diff --git a/clients/client-apprunner/package.json b/clients/client-apprunner/package.json index b947e68f5356..deb34cf57556 100644 --- a/clients/client-apprunner/package.json +++ b/clients/client-apprunner/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-appstream/package.json b/clients/client-appstream/package.json index 75bcb8d67b59..8a18540f63d4 100644 --- a/clients/client-appstream/package.json +++ b/clients/client-appstream/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-appsync/package.json b/clients/client-appsync/package.json index aacfc29d2016..0b5bd82daa47 100644 --- a/clients/client-appsync/package.json +++ b/clients/client-appsync/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-appsync/src/protocols/Aws_restJson1.ts b/clients/client-appsync/src/protocols/Aws_restJson1.ts index 977526185316..f49ab86d6cad 100644 --- a/clients/client-appsync/src/protocols/Aws_restJson1.ts +++ b/clients/client-appsync/src/protocols/Aws_restJson1.ts @@ -1314,10 +1314,7 @@ export const se_UntagResourceCommand = async ( b.bp("/v1/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -3457,13 +3454,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aT = "apiType"; const _f = "format"; const _iD = "includeDirectives"; diff --git a/clients/client-apptest/package.json b/clients/client-apptest/package.json index 29019c77193c..04f70014ccae 100644 --- a/clients/client-apptest/package.json +++ b/clients/client-apptest/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-apptest/src/protocols/Aws_restJson1.ts b/clients/client-apptest/src/protocols/Aws_restJson1.ts index 51b0214403e0..53048fa5eb1b 100644 --- a/clients/client-apptest/src/protocols/Aws_restJson1.ts +++ b/clients/client-apptest/src/protocols/Aws_restJson1.ts @@ -375,7 +375,7 @@ export const se_ListTestCasesCommand = async ( const headers: any = {}; b.bp("/testcases"); const query: any = map({ - [_tCIe]: [() => input.testCaseIds !== void 0, () => (input[_tCIe]! || []).map((_entry) => _entry as any)], + [_tCIe]: [() => input.testCaseIds !== void 0, () => input[_tCIe]! || []], [_nT]: [, input[_nT]!], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], }); @@ -395,10 +395,7 @@ export const se_ListTestConfigurationsCommand = async ( const headers: any = {}; b.bp("/testconfigurations"); const query: any = map({ - [_tCIes]: [ - () => input.testConfigurationIds !== void 0, - () => (input[_tCIes]! || []).map((_entry) => _entry as any), - ], + [_tCIes]: [() => input.testConfigurationIds !== void 0, () => input[_tCIes]! || []], [_nT]: [, input[_nT]!], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], }); @@ -419,7 +416,7 @@ export const se_ListTestRunsCommand = async ( b.bp("/testruns"); const query: any = map({ [_tSI]: [, input[_tSI]!], - [_tI]: [() => input.testRunIds !== void 0, () => (input[_tRI]! || []).map((_entry) => _entry as any)], + [_tI]: [() => input.testRunIds !== void 0, () => input[_tRI]! || []], [_nT]: [, input[_nT]!], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], }); @@ -481,7 +478,7 @@ export const se_ListTestSuitesCommand = async ( const headers: any = {}; b.bp("/testsuites"); const query: any = map({ - [_tSIe]: [() => input.testSuiteIds !== void 0, () => (input[_tSIe]! || []).map((_entry) => _entry as any)], + [_tSIe]: [() => input.testSuiteIds !== void 0, () => input[_tSIe]! || []], [_nT]: [, input[_nT]!], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], }); @@ -550,10 +547,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1784,13 +1778,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _rAS = "retryAfterSeconds"; diff --git a/clients/client-arc-zonal-shift/package.json b/clients/client-arc-zonal-shift/package.json index 085b1a4f3140..441be4ce115f 100644 --- a/clients/client-arc-zonal-shift/package.json +++ b/clients/client-arc-zonal-shift/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-arc-zonal-shift/src/protocols/Aws_restJson1.ts b/clients/client-arc-zonal-shift/src/protocols/Aws_restJson1.ts index 48f5488e5c5c..e52c240312aa 100644 --- a/clients/client-arc-zonal-shift/src/protocols/Aws_restJson1.ts +++ b/clients/client-arc-zonal-shift/src/protocols/Aws_restJson1.ts @@ -981,13 +981,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _rI = "resourceIdentifier"; diff --git a/clients/client-artifact/package.json b/clients/client-artifact/package.json index 32f5f3ffe30c..00b64fcaee95 100644 --- a/clients/client-artifact/package.json +++ b/clients/client-artifact/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-artifact/src/protocols/Aws_restJson1.ts b/clients/client-artifact/src/protocols/Aws_restJson1.ts index f6301dad9e8f..f1f2ea323c14 100644 --- a/clients/client-artifact/src/protocols/Aws_restJson1.ts +++ b/clients/client-artifact/src/protocols/Aws_restJson1.ts @@ -554,13 +554,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _rAS = "retryAfterSeconds"; diff --git a/clients/client-athena/package.json b/clients/client-athena/package.json index 7660853742e9..f60f80788de0 100644 --- a/clients/client-athena/package.json +++ b/clients/client-athena/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-auditmanager/package.json b/clients/client-auditmanager/package.json index a1ce886ca1d7..d9d6a4002c60 100644 --- a/clients/client-auditmanager/package.json +++ b/clients/client-auditmanager/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-auditmanager/src/protocols/Aws_restJson1.ts b/clients/client-auditmanager/src/protocols/Aws_restJson1.ts index 1626ba901c3e..3d3b200ac6f0 100644 --- a/clients/client-auditmanager/src/protocols/Aws_restJson1.ts +++ b/clients/client-auditmanager/src/protocols/Aws_restJson1.ts @@ -1304,10 +1304,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -3804,13 +3801,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aI = "assessmentId"; const _cCI = "controlCatalogId"; const _cDI = "controlDomainId"; diff --git a/clients/client-auto-scaling-plans/package.json b/clients/client-auto-scaling-plans/package.json index e9d7732fece6..212375a665f0 100644 --- a/clients/client-auto-scaling-plans/package.json +++ b/clients/client-auto-scaling-plans/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-auto-scaling/package.json b/clients/client-auto-scaling/package.json index 6706ca8f7944..031964a53d95 100644 --- a/clients/client-auto-scaling/package.json +++ b/clients/client-auto-scaling/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-b2bi/package.json b/clients/client-b2bi/package.json index 4b049922862a..c29975b3e2b0 100644 --- a/clients/client-b2bi/package.json +++ b/clients/client-b2bi/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-backup-gateway/package.json b/clients/client-backup-gateway/package.json index a6cc8572a625..7617f44e3e9a 100644 --- a/clients/client-backup-gateway/package.json +++ b/clients/client-backup-gateway/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-backup/package.json b/clients/client-backup/package.json index 18d218e38fd0..b7fa932063ca 100644 --- a/clients/client-backup/package.json +++ b/clients/client-backup/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-backup/src/protocols/Aws_restJson1.ts b/clients/client-backup/src/protocols/Aws_restJson1.ts index 2a90d23675e6..a6bb94c3611f 100644 --- a/clients/client-backup/src/protocols/Aws_restJson1.ts +++ b/clients/client-backup/src/protocols/Aws_restJson1.ts @@ -5382,13 +5382,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _AI = "AccountId"; const _AP = "AggregationPeriod"; const _BAI = "ByAccountId"; diff --git a/clients/client-batch/package.json b/clients/client-batch/package.json index 4ee319b9046d..d387bdf98ef4 100644 --- a/clients/client-batch/package.json +++ b/clients/client-batch/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-batch/src/protocols/Aws_restJson1.ts b/clients/client-batch/src/protocols/Aws_restJson1.ts index 118808c9adde..7e825586f1a3 100644 --- a/clients/client-batch/src/protocols/Aws_restJson1.ts +++ b/clients/client-batch/src/protocols/Aws_restJson1.ts @@ -696,10 +696,7 @@ export const se_UntagResourceCommand = async ( b.bp("/v1/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2010,11 +2007,4 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _tK = "tagKeys"; diff --git a/clients/client-bcm-data-exports/package.json b/clients/client-bcm-data-exports/package.json index b4a8d61498d6..8553af3041b3 100644 --- a/clients/client-bcm-data-exports/package.json +++ b/clients/client-bcm-data-exports/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-bedrock-agent-runtime/package.json b/clients/client-bedrock-agent-runtime/package.json index a691b6e57201..afd67cd825c0 100644 --- a/clients/client-bedrock-agent-runtime/package.json +++ b/clients/client-bedrock-agent-runtime/package.json @@ -34,29 +34,29 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", + "@smithy/core": "^2.4.6", "@smithy/eventstream-serde-browser": "^3.0.9", "@smithy/eventstream-serde-config-resolver": "^3.0.6", "@smithy/eventstream-serde-node": "^3.0.8", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-bedrock-agent-runtime/src/protocols/Aws_restJson1.ts b/clients/client-bedrock-agent-runtime/src/protocols/Aws_restJson1.ts index f0bd1fad7de2..9a638da5bdfc 100644 --- a/clients/client-bedrock-agent-runtime/src/protocols/Aws_restJson1.ts +++ b/clients/client-bedrock-agent-runtime/src/protocols/Aws_restJson1.ts @@ -1760,13 +1760,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cT = "contentType"; const _mI = "memoryId"; const _mIa = "maxItems"; diff --git a/clients/client-bedrock-agent/package.json b/clients/client-bedrock-agent/package.json index 081c23c7fe8a..cda0b857d5cc 100644 --- a/clients/client-bedrock-agent/package.json +++ b/clients/client-bedrock-agent/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-bedrock-agent/src/protocols/Aws_restJson1.ts b/clients/client-bedrock-agent/src/protocols/Aws_restJson1.ts index 169b45b19443..a06483763f60 100644 --- a/clients/client-bedrock-agent/src/protocols/Aws_restJson1.ts +++ b/clients/client-bedrock-agent/src/protocols/Aws_restJson1.ts @@ -1369,10 +1369,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -4615,13 +4612,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _pI = "promptIdentifier"; diff --git a/clients/client-bedrock-runtime/package.json b/clients/client-bedrock-runtime/package.json index 72de940f8b52..dea5f6f2d4e2 100644 --- a/clients/client-bedrock-runtime/package.json +++ b/clients/client-bedrock-runtime/package.json @@ -34,33 +34,33 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", + "@smithy/core": "^2.4.6", "@smithy/eventstream-serde-browser": "^3.0.9", "@smithy/eventstream-serde-config-resolver": "^3.0.6", "@smithy/eventstream-serde-node": "^3.0.8", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-bedrock-runtime/src/protocols/Aws_restJson1.ts b/clients/client-bedrock-runtime/src/protocols/Aws_restJson1.ts index 20d2e00dc00f..6db4bd88636a 100644 --- a/clients/client-bedrock-runtime/src/protocols/Aws_restJson1.ts +++ b/clients/client-bedrock-runtime/src/protocols/Aws_restJson1.ts @@ -15,6 +15,7 @@ import { expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, + isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, resolvedPath as __resolvedPath, @@ -1481,13 +1482,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _a = "accept"; const _cT = "contentType"; const _ct = "content-type"; diff --git a/clients/client-bedrock/package.json b/clients/client-bedrock/package.json index b820c0966e7f..546de21c5fdb 100644 --- a/clients/client-bedrock/package.json +++ b/clients/client-bedrock/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-bedrock/src/protocols/Aws_restJson1.ts b/clients/client-bedrock/src/protocols/Aws_restJson1.ts index 5cd553b9191e..f62333725186 100644 --- a/clients/client-bedrock/src/protocols/Aws_restJson1.ts +++ b/clients/client-bedrock/src/protocols/Aws_restJson1.ts @@ -3134,13 +3134,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _bCT = "byCustomizationType"; const _bIT = "byInferenceType"; const _bMAE = "baseModelArnEquals"; diff --git a/clients/client-billingconductor/package.json b/clients/client-billingconductor/package.json index f7e0c43a4f65..71e065618b01 100644 --- a/clients/client-billingconductor/package.json +++ b/clients/client-billingconductor/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-billingconductor/src/protocols/Aws_restJson1.ts b/clients/client-billingconductor/src/protocols/Aws_restJson1.ts index 501b51296898..217e2ccc4e8b 100644 --- a/clients/client-billingconductor/src/protocols/Aws_restJson1.ts +++ b/clients/client-billingconductor/src/protocols/Aws_restJson1.ts @@ -11,6 +11,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, resolvedPath as __resolvedPath, @@ -826,10 +827,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2205,13 +2203,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CT = "ClientToken"; const _RAS = "RetryAfterSeconds"; const _TK = "TagKeys"; diff --git a/clients/client-braket/package.json b/clients/client-braket/package.json index 890e7f1a36dd..aa9fa049088e 100644 --- a/clients/client-braket/package.json +++ b/clients/client-braket/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-braket/src/protocols/Aws_restJson1.ts b/clients/client-braket/src/protocols/Aws_restJson1.ts index c220b38cbdea..c4d7ab5c55a2 100644 --- a/clients/client-braket/src/protocols/Aws_restJson1.ts +++ b/clients/client-braket/src/protocols/Aws_restJson1.ts @@ -202,10 +202,7 @@ export const se_GetJobCommand = async (input: GetJobCommandInput, context: __Ser b.bp("/job/{jobArn}"); b.p("jobArn", () => input.jobArn!, "{jobArn}", false); const query: any = map({ - [_aAN]: [ - () => input.additionalAttributeNames !== void 0, - () => (input[_aAN]! || []).map((_entry) => _entry as any), - ], + [_aAN]: [() => input.additionalAttributeNames !== void 0, () => input[_aAN]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -224,10 +221,7 @@ export const se_GetQuantumTaskCommand = async ( b.bp("/quantum-task/{quantumTaskArn}"); b.p("quantumTaskArn", () => input.quantumTaskArn!, "{quantumTaskArn}", false); const query: any = map({ - [_aAN]: [ - () => input.additionalAttributeNames !== void 0, - () => (input[_aAN]! || []).map((_entry) => _entry as any), - ], + [_aAN]: [() => input.additionalAttributeNames !== void 0, () => input[_aAN]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -357,10 +351,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1077,12 +1068,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aAN = "additionalAttributeNames"; const _tK = "tagKeys"; diff --git a/clients/client-budgets/package.json b/clients/client-budgets/package.json index 819ab48d75e2..9ff09756bb05 100644 --- a/clients/client-budgets/package.json +++ b/clients/client-budgets/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-chatbot/package.json b/clients/client-chatbot/package.json index 35dc182cd2fd..3792dc1b5673 100644 --- a/clients/client-chatbot/package.json +++ b/clients/client-chatbot/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-chatbot/src/protocols/Aws_restJson1.ts b/clients/client-chatbot/src/protocols/Aws_restJson1.ts index 3a7223836699..474a4584ee8c 100644 --- a/clients/client-chatbot/src/protocols/Aws_restJson1.ts +++ b/clients/client-chatbot/src/protocols/Aws_restJson1.ts @@ -2092,10 +2092,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-chime-sdk-identity/package.json b/clients/client-chime-sdk-identity/package.json index 1ebfb3da031a..3f804a2275b2 100644 --- a/clients/client-chime-sdk-identity/package.json +++ b/clients/client-chime-sdk-identity/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-chime-sdk-identity/src/protocols/Aws_restJson1.ts b/clients/client-chime-sdk-identity/src/protocols/Aws_restJson1.ts index 5debb994e405..14cd78f27ecd 100644 --- a/clients/client-chime-sdk-identity/src/protocols/Aws_restJson1.ts +++ b/clients/client-chime-sdk-identity/src/protocols/Aws_restJson1.ts @@ -1761,13 +1761,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _AIA = "AppInstanceArn"; const _MR = "MaxResults"; const _NT = "NextToken"; diff --git a/clients/client-chime-sdk-media-pipelines/package.json b/clients/client-chime-sdk-media-pipelines/package.json index 45e8a0dc3c8b..b44de03593a2 100644 --- a/clients/client-chime-sdk-media-pipelines/package.json +++ b/clients/client-chime-sdk-media-pipelines/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-chime-sdk-media-pipelines/src/protocols/Aws_restJson1.ts b/clients/client-chime-sdk-media-pipelines/src/protocols/Aws_restJson1.ts index 264dbc457077..a9bb990070df 100644 --- a/clients/client-chime-sdk-media-pipelines/src/protocols/Aws_restJson1.ts +++ b/clients/client-chime-sdk-media-pipelines/src/protocols/Aws_restJson1.ts @@ -2292,13 +2292,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _MR = "MaxResults"; const _NT = "NextToken"; const _RARN = "ResourceARN"; diff --git a/clients/client-chime-sdk-meetings/package.json b/clients/client-chime-sdk-meetings/package.json index 89a1c71c65ed..4456eabfa2e3 100644 --- a/clients/client-chime-sdk-meetings/package.json +++ b/clients/client-chime-sdk-meetings/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-chime-sdk-meetings/src/protocols/Aws_restJson1.ts b/clients/client-chime-sdk-meetings/src/protocols/Aws_restJson1.ts index d5a0be91839e..f6efd64c5ac1 100644 --- a/clients/client-chime-sdk-meetings/src/protocols/Aws_restJson1.ts +++ b/clients/client-chime-sdk-meetings/src/protocols/Aws_restJson1.ts @@ -1156,13 +1156,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _MR = "MaxResults"; const _NT = "NextToken"; const _RARN = "ResourceARN"; diff --git a/clients/client-chime-sdk-messaging/package.json b/clients/client-chime-sdk-messaging/package.json index b9f2eecb18e8..c8a52418796c 100644 --- a/clients/client-chime-sdk-messaging/package.json +++ b/clients/client-chime-sdk-messaging/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-chime-sdk-messaging/src/protocols/Aws_restJson1.ts b/clients/client-chime-sdk-messaging/src/protocols/Aws_restJson1.ts index 9eb84b7a7750..9a9fb0c913bd 100644 --- a/clients/client-chime-sdk-messaging/src/protocols/Aws_restJson1.ts +++ b/clients/client-chime-sdk-messaging/src/protocols/Aws_restJson1.ts @@ -12,6 +12,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, @@ -3011,13 +3012,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _AIA = "AppInstanceArn"; const _AIUA = "AppInstanceUserArn"; const _CB = "ChimeBearer"; diff --git a/clients/client-chime-sdk-voice/package.json b/clients/client-chime-sdk-voice/package.json index 77d53e5213a9..1651f6366859 100644 --- a/clients/client-chime-sdk-voice/package.json +++ b/clients/client-chime-sdk-voice/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-chime-sdk-voice/src/protocols/Aws_restJson1.ts b/clients/client-chime-sdk-voice/src/protocols/Aws_restJson1.ts index a782bd26ea0d..02acadda022a 100644 --- a/clients/client-chime-sdk-voice/src/protocols/Aws_restJson1.ts +++ b/clients/client-chime-sdk-voice/src/protocols/Aws_restJson1.ts @@ -5039,13 +5039,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _AC = "AreaCode"; const _C = "City"; const _Co = "Country"; diff --git a/clients/client-chime/package.json b/clients/client-chime/package.json index 34eee43d7563..14f48f7641be 100644 --- a/clients/client-chime/package.json +++ b/clients/client-chime/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-chime/src/protocols/Aws_restJson1.ts b/clients/client-chime/src/protocols/Aws_restJson1.ts index 5c7255dee4d0..488b1de0a619 100644 --- a/clients/client-chime/src/protocols/Aws_restJson1.ts +++ b/clients/client-chime/src/protocols/Aws_restJson1.ts @@ -17,6 +17,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, @@ -10205,13 +10206,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _AC = "AreaCode"; const _AIA = "AppInstanceArn"; const _AIUA = "AppInstanceUserArn"; diff --git a/clients/client-cleanrooms/package.json b/clients/client-cleanrooms/package.json index b1546bb7ee5c..7a5662407927 100644 --- a/clients/client-cleanrooms/package.json +++ b/clients/client-cleanrooms/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cleanrooms/src/protocols/Aws_restJson1.ts b/clients/client-cleanrooms/src/protocols/Aws_restJson1.ts index e3c0e6e74085..3e09b5dc6b79 100644 --- a/clients/client-cleanrooms/src/protocols/Aws_restJson1.ts +++ b/clients/client-cleanrooms/src/protocols/Aws_restJson1.ts @@ -1826,10 +1826,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -5388,13 +5385,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _mS = "memberStatus"; const _nT = "nextToken"; diff --git a/clients/client-cleanroomsml/package.json b/clients/client-cleanroomsml/package.json index 8b410166e7b0..25748e9f05a1 100644 --- a/clients/client-cleanroomsml/package.json +++ b/clients/client-cleanroomsml/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cleanroomsml/src/protocols/Aws_restJson1.ts b/clients/client-cleanroomsml/src/protocols/Aws_restJson1.ts index 8381c73d1105..eba540ee30c0 100644 --- a/clients/client-cleanroomsml/src/protocols/Aws_restJson1.ts +++ b/clients/client-cleanroomsml/src/protocols/Aws_restJson1.ts @@ -612,10 +612,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1587,13 +1584,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aGJA = "audienceGenerationJobArn"; const _cAMA = "configuredAudienceModelArn"; const _cI = "collaborationId"; diff --git a/clients/client-cloud9/package.json b/clients/client-cloud9/package.json index d055e8199c4e..671edb74ac23 100644 --- a/clients/client-cloud9/package.json +++ b/clients/client-cloud9/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cloudcontrol/package.json b/clients/client-cloudcontrol/package.json index 46bf10a47602..047d7a2ab72c 100644 --- a/clients/client-cloudcontrol/package.json +++ b/clients/client-cloudcontrol/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-clouddirectory/package.json b/clients/client-clouddirectory/package.json index 7fdd8e7c77a6..b9386d8b965e 100644 --- a/clients/client-clouddirectory/package.json +++ b/clients/client-clouddirectory/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-clouddirectory/src/protocols/Aws_restJson1.ts b/clients/client-clouddirectory/src/protocols/Aws_restJson1.ts index 27b76f370976..f7da5da29ee3 100644 --- a/clients/client-clouddirectory/src/protocols/Aws_restJson1.ts +++ b/clients/client-clouddirectory/src/protocols/Aws_restJson1.ts @@ -17,6 +17,7 @@ import { expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, + isSerializableHeaderValue, map, parseEpochTimestamp as __parseEpochTimestamp, take, @@ -5037,13 +5038,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CL = "ConsistencyLevel"; const _DA = "DirectoryArn"; const _DSA = "DevelopmentSchemaArn"; diff --git a/clients/client-cloudformation/package.json b/clients/client-cloudformation/package.json index 6e2452f7f8b9..d2663cdda165 100644 --- a/clients/client-cloudformation/package.json +++ b/clients/client-cloudformation/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cloudfront-keyvaluestore/package.json b/clients/client-cloudfront-keyvaluestore/package.json index 46c508cfd5a1..569b79ec5854 100644 --- a/clients/client-cloudfront-keyvaluestore/package.json +++ b/clients/client-cloudfront-keyvaluestore/package.json @@ -35,26 +35,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cloudfront-keyvaluestore/src/protocols/Aws_restJson1.ts b/clients/client-cloudfront-keyvaluestore/src/protocols/Aws_restJson1.ts index 980c8b4da1b9..9f505d0e8b8e 100644 --- a/clients/client-cloudfront-keyvaluestore/src/protocols/Aws_restJson1.ts +++ b/clients/client-cloudfront-keyvaluestore/src/protocols/Aws_restJson1.ts @@ -13,6 +13,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, @@ -482,13 +483,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _ET = "ETag"; const _IM = "IfMatch"; const _MR = "MaxResults"; diff --git a/clients/client-cloudfront/package.json b/clients/client-cloudfront/package.json index b5013b600677..1aec61032511 100644 --- a/clients/client-cloudfront/package.json +++ b/clients/client-cloudfront/package.json @@ -35,30 +35,30 @@ "@aws-sdk/util-user-agent-node": "*", "@aws-sdk/xml-builder": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "@smithy/util-waiter": "^3.1.5", "tslib": "^2.6.2" diff --git a/clients/client-cloudfront/src/protocols/Aws_restXml.ts b/clients/client-cloudfront/src/protocols/Aws_restXml.ts index fc2588cc11f3..9031fe3bcecd 100644 --- a/clients/client-cloudfront/src/protocols/Aws_restXml.ts +++ b/clients/client-cloudfront/src/protocols/Aws_restXml.ts @@ -11,6 +11,7 @@ import { expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, + isSerializableHeaderValue, map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, @@ -14348,13 +14349,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _A = "Alias"; const _AAN = "AwsAccountNumber"; const _ACAC = "AccessControlAllowCredentials"; diff --git a/clients/client-cloudhsm-v2/package.json b/clients/client-cloudhsm-v2/package.json index 73e4657e6adf..5836a26af9f7 100644 --- a/clients/client-cloudhsm-v2/package.json +++ b/clients/client-cloudhsm-v2/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cloudhsm/package.json b/clients/client-cloudhsm/package.json index da4b8ea17982..5b61f8b05027 100644 --- a/clients/client-cloudhsm/package.json +++ b/clients/client-cloudhsm/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cloudsearch-domain/package.json b/clients/client-cloudsearch-domain/package.json index 45f7e7bb1275..0b17d09ac7d1 100644 --- a/clients/client-cloudsearch-domain/package.json +++ b/clients/client-cloudsearch-domain/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cloudsearch-domain/src/protocols/Aws_restJson1.ts b/clients/client-cloudsearch-domain/src/protocols/Aws_restJson1.ts index 861642aa9d0d..38ec6643be3f 100644 --- a/clients/client-cloudsearch-domain/src/protocols/Aws_restJson1.ts +++ b/clients/client-cloudsearch-domain/src/protocols/Aws_restJson1.ts @@ -11,6 +11,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, take, @@ -315,13 +316,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _c = "cursor"; const _cT = "contentType"; const _ct = "content-type"; diff --git a/clients/client-cloudsearch/package.json b/clients/client-cloudsearch/package.json index 584c0c782dbe..06798e1f8c2c 100644 --- a/clients/client-cloudsearch/package.json +++ b/clients/client-cloudsearch/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cloudtrail-data/package.json b/clients/client-cloudtrail-data/package.json index 7adab2eb6a2e..8e2ecd11fa1b 100644 --- a/clients/client-cloudtrail-data/package.json +++ b/clients/client-cloudtrail-data/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cloudtrail-data/src/protocols/Aws_restJson1.ts b/clients/client-cloudtrail-data/src/protocols/Aws_restJson1.ts index 5e81c423d425..e4bfb512f479 100644 --- a/clients/client-cloudtrail-data/src/protocols/Aws_restJson1.ts +++ b/clients/client-cloudtrail-data/src/protocols/Aws_restJson1.ts @@ -257,12 +257,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cA = "channelArn"; const _eI = "externalId"; diff --git a/clients/client-cloudtrail/package.json b/clients/client-cloudtrail/package.json index 5334d240e693..02e71d360a4e 100644 --- a/clients/client-cloudtrail/package.json +++ b/clients/client-cloudtrail/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cloudwatch-events/package.json b/clients/client-cloudwatch-events/package.json index 6e58b34bd1f5..5d1434dd982d 100644 --- a/clients/client-cloudwatch-events/package.json +++ b/clients/client-cloudwatch-events/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cloudwatch-logs/package.json b/clients/client-cloudwatch-logs/package.json index 85e1651e52d2..8a3539961f61 100644 --- a/clients/client-cloudwatch-logs/package.json +++ b/clients/client-cloudwatch-logs/package.json @@ -34,29 +34,29 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", + "@smithy/core": "^2.4.6", "@smithy/eventstream-serde-browser": "^3.0.9", "@smithy/eventstream-serde-config-resolver": "^3.0.6", "@smithy/eventstream-serde-node": "^3.0.8", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cloudwatch/package.json b/clients/client-cloudwatch/package.json index 6c81d1608dfa..0edd9f2adf47 100644 --- a/clients/client-cloudwatch/package.json +++ b/clients/client-cloudwatch/package.json @@ -34,27 +34,27 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-compression": "^3.0.10", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-codeartifact/package.json b/clients/client-codeartifact/package.json index cee30da8550b..a42e22b63395 100644 --- a/clients/client-codeartifact/package.json +++ b/clients/client-codeartifact/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-codeartifact/src/protocols/Aws_restJson1.ts b/clients/client-codeartifact/src/protocols/Aws_restJson1.ts index 85fbdc8bf22e..978d2f3d617f 100644 --- a/clients/client-codeartifact/src/protocols/Aws_restJson1.ts +++ b/clients/client-codeartifact/src/protocols/Aws_restJson1.ts @@ -13,6 +13,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, parseEpochTimestamp as __parseEpochTimestamp, strictParseInt32 as __strictParseInt32, @@ -2841,13 +2842,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _a = "asset"; const _aA = "administratorAccount"; const _aN = "assetName"; diff --git a/clients/client-codebuild/package.json b/clients/client-codebuild/package.json index d76d512399e4..83f7a09b1f7c 100644 --- a/clients/client-codebuild/package.json +++ b/clients/client-codebuild/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-codecatalyst/package.json b/clients/client-codecatalyst/package.json index d7a961deffa9..0fb301aad943 100644 --- a/clients/client-codecatalyst/package.json +++ b/clients/client-codecatalyst/package.json @@ -32,26 +32,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-codecatalyst/src/protocols/Aws_restJson1.ts b/clients/client-codecatalyst/src/protocols/Aws_restJson1.ts index 98504d9bc0bf..6dc52f6df854 100644 --- a/clients/client-codecatalyst/src/protocols/Aws_restJson1.ts +++ b/clients/client-codecatalyst/src/protocols/Aws_restJson1.ts @@ -2339,13 +2339,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _i = "id"; const _mR = "maxResults"; const _nT = "nextToken"; diff --git a/clients/client-codecommit/package.json b/clients/client-codecommit/package.json index c5c32ac602a0..01d1202c9797 100644 --- a/clients/client-codecommit/package.json +++ b/clients/client-codecommit/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-codeconnections/package.json b/clients/client-codeconnections/package.json index ca3ab9235414..57639d9bda32 100644 --- a/clients/client-codeconnections/package.json +++ b/clients/client-codeconnections/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-codedeploy/package.json b/clients/client-codedeploy/package.json index 9479dcd5e2d4..37cee066d5b9 100644 --- a/clients/client-codedeploy/package.json +++ b/clients/client-codedeploy/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-codeguru-reviewer/package.json b/clients/client-codeguru-reviewer/package.json index f610109d507a..195731db651e 100644 --- a/clients/client-codeguru-reviewer/package.json +++ b/clients/client-codeguru-reviewer/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-codeguru-reviewer/src/protocols/Aws_restJson1.ts b/clients/client-codeguru-reviewer/src/protocols/Aws_restJson1.ts index fd4aebff7635..039be89363f6 100644 --- a/clients/client-codeguru-reviewer/src/protocols/Aws_restJson1.ts +++ b/clients/client-codeguru-reviewer/src/protocols/Aws_restJson1.ts @@ -228,9 +228,9 @@ export const se_ListCodeReviewsCommand = async ( const headers: any = {}; b.bp("/codereviews"); const query: any = map({ - [_PT]: [() => input.ProviderTypes !== void 0, () => (input[_PT]! || []).map((_entry) => _entry as any)], - [_S]: [() => input.States !== void 0, () => (input[_S]! || []).map((_entry) => _entry as any)], - [_RN]: [() => input.RepositoryNames !== void 0, () => (input[_RN]! || []).map((_entry) => _entry as any)], + [_PT]: [() => input.ProviderTypes !== void 0, () => input[_PT]! || []], + [_S]: [() => input.States !== void 0, () => input[_S]! || []], + [_RN]: [() => input.RepositoryNames !== void 0, () => input[_RN]! || []], [_T]: [, __expectNonNull(input[_T]!, `Type`)], [_MR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], [_NT]: [, input[_NT]!], @@ -254,8 +254,8 @@ export const se_ListRecommendationFeedbackCommand = async ( const query: any = map({ [_NT]: [, input[_NT]!], [_MR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_UIs]: [() => input.UserIds !== void 0, () => (input[_UIs]! || []).map((_entry) => _entry as any)], - [_RIe]: [() => input.RecommendationIds !== void 0, () => (input[_RIe]! || []).map((_entry) => _entry as any)], + [_UIs]: [() => input.UserIds !== void 0, () => input[_UIs]! || []], + [_RIe]: [() => input.RecommendationIds !== void 0, () => input[_RIe]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -293,10 +293,10 @@ export const se_ListRepositoryAssociationsCommand = async ( const headers: any = {}; b.bp("/associations"); const query: any = map({ - [_PTr]: [() => input.ProviderTypes !== void 0, () => (input[_PT]! || []).map((_entry) => _entry as any)], - [_St]: [() => input.States !== void 0, () => (input[_S]! || []).map((_entry) => _entry as any)], - [_Na]: [() => input.Names !== void 0, () => (input[_N]! || []).map((_entry) => _entry as any)], - [_Ow]: [() => input.Owners !== void 0, () => (input[_O]! || []).map((_entry) => _entry as any)], + [_PTr]: [() => input.ProviderTypes !== void 0, () => input[_PT]! || []], + [_St]: [() => input.States !== void 0, () => input[_S]! || []], + [_Na]: [() => input.Names !== void 0, () => input[_N]! || []], + [_Ow]: [() => input.Owners !== void 0, () => input[_O]! || []], [_MR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], [_NT]: [, input[_NT]!], }); @@ -380,10 +380,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1059,13 +1056,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _MR = "MaxResults"; const _N = "Names"; const _NT = "NextToken"; diff --git a/clients/client-codeguru-security/package.json b/clients/client-codeguru-security/package.json index fd7ceb69cba5..c3c2d200ab1d 100644 --- a/clients/client-codeguru-security/package.json +++ b/clients/client-codeguru-security/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-codeguru-security/src/protocols/Aws_restJson1.ts b/clients/client-codeguru-security/src/protocols/Aws_restJson1.ts index 7fefe07dec42..e1179c3b8234 100644 --- a/clients/client-codeguru-security/src/protocols/Aws_restJson1.ts +++ b/clients/client-codeguru-security/src/protocols/Aws_restJson1.ts @@ -310,10 +310,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -976,13 +973,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _d = "date"; const _eD = "endDate"; const _mR = "maxResults"; diff --git a/clients/client-codeguruprofiler/package.json b/clients/client-codeguruprofiler/package.json index 35a57ddb8848..e3374297ed8b 100644 --- a/clients/client-codeguruprofiler/package.json +++ b/clients/client-codeguruprofiler/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2", "uuid": "^9.0.1" diff --git a/clients/client-codeguruprofiler/src/protocols/Aws_restJson1.ts b/clients/client-codeguruprofiler/src/protocols/Aws_restJson1.ts index 98ce96dcb4a6..93bd490e5be8 100644 --- a/clients/client-codeguruprofiler/src/protocols/Aws_restJson1.ts +++ b/clients/client-codeguruprofiler/src/protocols/Aws_restJson1.ts @@ -11,6 +11,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, @@ -574,10 +575,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1562,13 +1560,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _a = "accept"; const _cE = "contentEncoding"; const _cT = "clientToken"; diff --git a/clients/client-codepipeline/package.json b/clients/client-codepipeline/package.json index da715d913ab5..a0246bc7b46e 100644 --- a/clients/client-codepipeline/package.json +++ b/clients/client-codepipeline/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-codestar-connections/package.json b/clients/client-codestar-connections/package.json index 49c09b41c309..bf9d59495e3a 100644 --- a/clients/client-codestar-connections/package.json +++ b/clients/client-codestar-connections/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-codestar-notifications/package.json b/clients/client-codestar-notifications/package.json index f43a6456d757..1a6756bee4ee 100644 --- a/clients/client-codestar-notifications/package.json +++ b/clients/client-codestar-notifications/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-codestar-notifications/src/protocols/Aws_restJson1.ts b/clients/client-codestar-notifications/src/protocols/Aws_restJson1.ts index 2c2756557a60..98c6a79b03f0 100644 --- a/clients/client-codestar-notifications/src/protocols/Aws_restJson1.ts +++ b/clients/client-codestar-notifications/src/protocols/Aws_restJson1.ts @@ -343,10 +343,7 @@ export const se_UntagResourceCommand = async ( b.bp("/untagResource/{Arn}"); b.p("Arn", () => input.Arn!, "{Arn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("POST").h(headers).q(query).b(body); @@ -902,12 +899,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _TK = "TagKeys"; const _tK = "tagKeys"; diff --git a/clients/client-cognito-identity-provider/package.json b/clients/client-cognito-identity-provider/package.json index 0378a0444022..caee3598898f 100644 --- a/clients/client-cognito-identity-provider/package.json +++ b/clients/client-cognito-identity-provider/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cognito-identity/package.json b/clients/client-cognito-identity/package.json index c0b2ac2e8d9c..c92117407897 100644 --- a/clients/client-cognito-identity/package.json +++ b/clients/client-cognito-identity/package.json @@ -35,26 +35,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cognito-sync/package.json b/clients/client-cognito-sync/package.json index f1d3f8f4a2e2..46e7a31d6a21 100644 --- a/clients/client-cognito-sync/package.json +++ b/clients/client-cognito-sync/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cognito-sync/src/protocols/Aws_restJson1.ts b/clients/client-cognito-sync/src/protocols/Aws_restJson1.ts index c78d333c800f..928cd3967ea2 100644 --- a/clients/client-cognito-sync/src/protocols/Aws_restJson1.ts +++ b/clients/client-cognito-sync/src/protocols/Aws_restJson1.ts @@ -14,6 +14,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, @@ -1253,13 +1254,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CC = "ClientContext"; const _LSC = "LastSyncCount"; const _MR = "MaxResults"; diff --git a/clients/client-comprehend/package.json b/clients/client-comprehend/package.json index f6f89e7d5f03..fe19d12fbf2f 100644 --- a/clients/client-comprehend/package.json +++ b/clients/client-comprehend/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-comprehendmedical/package.json b/clients/client-comprehendmedical/package.json index 09c4291aa712..6e3fd9a90778 100644 --- a/clients/client-comprehendmedical/package.json +++ b/clients/client-comprehendmedical/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-compute-optimizer/package.json b/clients/client-compute-optimizer/package.json index e3bcc70fdd18..a4c1c00ded8c 100644 --- a/clients/client-compute-optimizer/package.json +++ b/clients/client-compute-optimizer/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-config-service/package.json b/clients/client-config-service/package.json index c2b9f4e65453..4a0006ff73a8 100644 --- a/clients/client-config-service/package.json +++ b/clients/client-config-service/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-connect-contact-lens/package.json b/clients/client-connect-contact-lens/package.json index 607478f53009..824cc88d863e 100644 --- a/clients/client-connect-contact-lens/package.json +++ b/clients/client-connect-contact-lens/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-connect-contact-lens/src/protocols/Aws_restJson1.ts b/clients/client-connect-contact-lens/src/protocols/Aws_restJson1.ts index 96aa523f991e..1654107a5c2a 100644 --- a/clients/client-connect-contact-lens/src/protocols/Aws_restJson1.ts +++ b/clients/client-connect-contact-lens/src/protocols/Aws_restJson1.ts @@ -249,10 +249,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-connect/package.json b/clients/client-connect/package.json index 9760b69bd034..5d878b80a581 100644 --- a/clients/client-connect/package.json +++ b/clients/client-connect/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-connect/src/protocols/Aws_restJson1.ts b/clients/client-connect/src/protocols/Aws_restJson1.ts index ee3cd31cb2a3..2b2cc9cbdd15 100644 --- a/clients/client-connect/src/protocols/Aws_restJson1.ts +++ b/clients/client-connect/src/protocols/Aws_restJson1.ts @@ -3622,7 +3622,7 @@ export const se_ListAgentStatusesCommand = async ( const query: any = map({ [_nT]: [, input[_NT]!], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_AST]: [() => input.AgentStatusTypes !== void 0, () => (input[_AST]! || []).map((_entry) => _entry as any)], + [_AST]: [() => input.AgentStatusTypes !== void 0, () => input[_AST]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -3764,7 +3764,7 @@ export const se_ListContactFlowsCommand = async ( b.bp("/contact-flows-summary/{InstanceId}"); b.p("InstanceId", () => input.InstanceId!, "{InstanceId}", false); const query: any = map({ - [_cFT]: [() => input.ContactFlowTypes !== void 0, () => (input[_CFT]! || []).map((_entry) => _entry as any)], + [_cFT]: [() => input.ContactFlowTypes !== void 0, () => input[_CFT]! || []], [_nT]: [, input[_NT]!], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], }); @@ -3786,10 +3786,7 @@ export const se_ListContactReferencesCommand = async ( b.p("InstanceId", () => input.InstanceId!, "{InstanceId}", false); b.p("ContactId", () => input.ContactId!, "{ContactId}", false); const query: any = map({ - [_rTe]: [ - __expectNonNull(input.ReferenceTypes, `ReferenceTypes`) != null, - () => (input[_RTe]! || []).map((_entry) => _entry as any), - ], + [_rTe]: [__expectNonNull(input.ReferenceTypes, `ReferenceTypes`) != null, () => input[_RTe]! || []], [_nT]: [, input[_NT]!], }); let body: any; @@ -4038,11 +4035,8 @@ export const se_ListPhoneNumbersCommand = async ( b.bp("/phone-numbers-summary/{InstanceId}"); b.p("InstanceId", () => input.InstanceId!, "{InstanceId}", false); const query: any = map({ - [_pNT]: [() => input.PhoneNumberTypes !== void 0, () => (input[_PNT]! || []).map((_entry) => _entry as any)], - [_pNCC]: [ - () => input.PhoneNumberCountryCodes !== void 0, - () => (input[_PNCC]! || []).map((_entry) => _entry as any), - ], + [_pNT]: [() => input.PhoneNumberTypes !== void 0, () => input[_PNT]! || []], + [_pNCC]: [() => input.PhoneNumberCountryCodes !== void 0, () => input[_PNCC]! || []], [_nT]: [, input[_NT]!], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], }); @@ -4152,7 +4146,7 @@ export const se_ListQueuesCommand = async ( b.bp("/queues-summary/{InstanceId}"); b.p("InstanceId", () => input.InstanceId!, "{InstanceId}", false); const query: any = map({ - [_qT]: [() => input.QueueTypes !== void 0, () => (input[_QT]! || []).map((_entry) => _entry as any)], + [_qT]: [() => input.QueueTypes !== void 0, () => input[_QT]! || []], [_nT]: [, input[_NT]!], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], }); @@ -4175,7 +4169,7 @@ export const se_ListQuickConnectsCommand = async ( const query: any = map({ [_nT]: [, input[_NT]!], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_QCT]: [() => input.QuickConnectTypes !== void 0, () => (input[_QCT]! || []).map((_entry) => _entry as any)], + [_QCT]: [() => input.QuickConnectTypes !== void 0, () => input[_QCT]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -5612,10 +5606,7 @@ export const se_UntagContactCommand = async ( b.p("ContactId", () => input.ContactId!, "{ContactId}", false); b.p("InstanceId", () => input.InstanceId!, "{InstanceId}", false); const query: any = map({ - [_TK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_TK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -5634,10 +5625,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -15886,13 +15874,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _ARA = "AssociatedResourceArn"; const _AST = "AgentStatusTypes"; const _BN = "BotName"; diff --git a/clients/client-connectcampaigns/package.json b/clients/client-connectcampaigns/package.json index 836decf7a305..77ee5726264f 100644 --- a/clients/client-connectcampaigns/package.json +++ b/clients/client-connectcampaigns/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-connectcampaigns/src/protocols/Aws_restJson1.ts b/clients/client-connectcampaigns/src/protocols/Aws_restJson1.ts index d4ee1b63c9b4..c9a101481878 100644 --- a/clients/client-connectcampaigns/src/protocols/Aws_restJson1.ts +++ b/clients/client-connectcampaigns/src/protocols/Aws_restJson1.ts @@ -450,10 +450,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{arn}"); b.p("arn", () => input.arn!, "{arn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1378,13 +1375,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _tK = "tagKeys"; const _xAET = "xAmzErrorType"; const _xae = "x-amzn-errortype"; diff --git a/clients/client-connectcases/package.json b/clients/client-connectcases/package.json index 2e045cc627d0..a59e2fd1e983 100644 --- a/clients/client-connectcases/package.json +++ b/clients/client-connectcases/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-connectcases/src/protocols/Aws_restJson1.ts b/clients/client-connectcases/src/protocols/Aws_restJson1.ts index 15d3a039030d..6e25c5d36398 100644 --- a/clients/client-connectcases/src/protocols/Aws_restJson1.ts +++ b/clients/client-connectcases/src/protocols/Aws_restJson1.ts @@ -568,7 +568,7 @@ export const se_ListFieldOptionsCommand = async ( const query: any = map({ [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], [_nT]: [, input[_nT]!], - [_v]: [() => input.values !== void 0, () => (input[_v]! || []).map((_entry) => _entry as any)], + [_v]: [() => input.values !== void 0, () => input[_v]! || []], }); let body: any; b.m("POST").h(headers).q(query).b(body); @@ -645,7 +645,7 @@ export const se_ListTemplatesCommand = async ( const query: any = map({ [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], [_nT]: [, input[_nT]!], - [_s]: [() => input.status !== void 0, () => (input[_s]! || []).map((_entry) => _entry as any)], + [_s]: [() => input.status !== void 0, () => input[_s]! || []], }); let body: any; b.m("POST").h(headers).q(query).b(body); @@ -764,10 +764,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{arn}"); b.p("arn", () => input.arn!, "{arn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2263,13 +2260,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _rAS = "retryAfterSeconds"; diff --git a/clients/client-connectparticipant/package.json b/clients/client-connectparticipant/package.json index ad1b39952004..ba45c63bd05c 100644 --- a/clients/client-connectparticipant/package.json +++ b/clients/client-connectparticipant/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-connectparticipant/src/protocols/Aws_restJson1.ts b/clients/client-connectparticipant/src/protocols/Aws_restJson1.ts index e6f70dadfce4..0261bd008fc6 100644 --- a/clients/client-connectparticipant/src/protocols/Aws_restJson1.ts +++ b/clients/client-connectparticipant/src/protocols/Aws_restJson1.ts @@ -9,6 +9,7 @@ import { expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, + isSerializableHeaderValue, map, resolvedPath as __resolvedPath, take, @@ -680,13 +681,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CT = "ConnectionToken"; const _PT = "ParticipantToken"; const _xab = "x-amz-bearer"; diff --git a/clients/client-controlcatalog/package.json b/clients/client-controlcatalog/package.json index 92821d24b422..1ab06756a29a 100644 --- a/clients/client-controlcatalog/package.json +++ b/clients/client-controlcatalog/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-controlcatalog/src/protocols/Aws_restJson1.ts b/clients/client-controlcatalog/src/protocols/Aws_restJson1.ts index c7616806c80c..f2278175330e 100644 --- a/clients/client-controlcatalog/src/protocols/Aws_restJson1.ts +++ b/clients/client-controlcatalog/src/protocols/Aws_restJson1.ts @@ -512,13 +512,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _MR = "MaxResults"; const _NT = "NextToken"; const _mR = "maxResults"; diff --git a/clients/client-controltower/package.json b/clients/client-controltower/package.json index 3858e1a650ee..6f5634b5ad12 100644 --- a/clients/client-controltower/package.json +++ b/clients/client-controltower/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-controltower/src/protocols/Aws_restJson1.ts b/clients/client-controltower/src/protocols/Aws_restJson1.ts index da7aecaaae35..7adbe985665b 100644 --- a/clients/client-controltower/src/protocols/Aws_restJson1.ts +++ b/clients/client-controltower/src/protocols/Aws_restJson1.ts @@ -650,10 +650,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1805,13 +1802,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _rAS = "retryAfterSeconds"; const _ra = "retry-after"; const _tK = "tagKeys"; diff --git a/clients/client-cost-and-usage-report-service/package.json b/clients/client-cost-and-usage-report-service/package.json index f53bd58c2f45..439b090212f2 100644 --- a/clients/client-cost-and-usage-report-service/package.json +++ b/clients/client-cost-and-usage-report-service/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cost-explorer/package.json b/clients/client-cost-explorer/package.json index d6e0dc647eb9..f7c247c0164c 100644 --- a/clients/client-cost-explorer/package.json +++ b/clients/client-cost-explorer/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-cost-optimization-hub/package.json b/clients/client-cost-optimization-hub/package.json index 89a3b38cfbcf..9b6a6b64e0d7 100644 --- a/clients/client-cost-optimization-hub/package.json +++ b/clients/client-cost-optimization-hub/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-customer-profiles/package.json b/clients/client-customer-profiles/package.json index b80536fcd72c..763f5135b1eb 100644 --- a/clients/client-customer-profiles/package.json +++ b/clients/client-customer-profiles/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-customer-profiles/src/protocols/Aws_restJson1.ts b/clients/client-customer-profiles/src/protocols/Aws_restJson1.ts index ea93834571b6..c9a8f598c5c2 100644 --- a/clients/client-customer-profiles/src/protocols/Aws_restJson1.ts +++ b/clients/client-customer-profiles/src/protocols/Aws_restJson1.ts @@ -1300,10 +1300,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -3409,13 +3406,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _IH = "IncludeHidden"; const _MR = "MaxResults"; const _NT = "NextToken"; diff --git a/clients/client-data-pipeline/package.json b/clients/client-data-pipeline/package.json index c48df3fe4e45..e920c026077a 100644 --- a/clients/client-data-pipeline/package.json +++ b/clients/client-data-pipeline/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-database-migration-service/package.json b/clients/client-database-migration-service/package.json index 524776bd4ca3..a179a9b8342b 100644 --- a/clients/client-database-migration-service/package.json +++ b/clients/client-database-migration-service/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-databrew/package.json b/clients/client-databrew/package.json index f5f2199bfb52..c184e9b7d6c1 100644 --- a/clients/client-databrew/package.json +++ b/clients/client-databrew/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-databrew/src/protocols/Aws_restJson1.ts b/clients/client-databrew/src/protocols/Aws_restJson1.ts index 9030ed0a94fc..ce6d001fb74c 100644 --- a/clients/client-databrew/src/protocols/Aws_restJson1.ts +++ b/clients/client-databrew/src/protocols/Aws_restJson1.ts @@ -894,10 +894,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2826,13 +2823,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _DN = "DatasetName"; const _JN = "JobName"; const _MR = "MaxResults"; diff --git a/clients/client-dataexchange/package.json b/clients/client-dataexchange/package.json index b89cf9da3953..69c56b5d4e7f 100644 --- a/clients/client-dataexchange/package.json +++ b/clients/client-dataexchange/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-dataexchange/src/protocols/Aws_restJson1.ts b/clients/client-dataexchange/src/protocols/Aws_restJson1.ts index 8314c5a4ec34..cc2f345539e8 100644 --- a/clients/client-dataexchange/src/protocols/Aws_restJson1.ts +++ b/clients/client-dataexchange/src/protocols/Aws_restJson1.ts @@ -16,6 +16,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, @@ -649,10 +650,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2171,13 +2169,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _AI = "AssetId"; const _DSI = "DataSetId"; const _ESI = "EventSourceId"; diff --git a/clients/client-datasync/package.json b/clients/client-datasync/package.json index 7535308beb0b..2911145f4979 100644 --- a/clients/client-datasync/package.json +++ b/clients/client-datasync/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-datazone/package.json b/clients/client-datazone/package.json index 111d40089230..af1009b579a5 100644 --- a/clients/client-datazone/package.json +++ b/clients/client-datazone/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-datazone/src/protocols/Aws_restJson1.ts b/clients/client-datazone/src/protocols/Aws_restJson1.ts index d0c447e621db..e1639f2201a0 100644 --- a/clients/client-datazone/src/protocols/Aws_restJson1.ts +++ b/clients/client-datazone/src/protocols/Aws_restJson1.ts @@ -2590,7 +2590,7 @@ export const se_ListNotificationsCommand = async ( [_ty]: [, __expectNonNull(input[_ty]!, `type`)], [_aT]: [() => input.afterTimestamp !== void 0, () => __serializeDateTime(input[_aT]!).toString()], [_bT]: [() => input.beforeTimestamp !== void 0, () => __serializeDateTime(input[_bT]!).toString()], - [_su]: [() => input.subjects !== void 0, () => (input[_su]! || []).map((_entry) => _entry as any)], + [_su]: [() => input.subjects !== void 0, () => input[_su]! || []], [_tS]: [, input[_tS]!], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], [_nT]: [, input[_nT]!], @@ -3250,10 +3250,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -9239,13 +9236,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aAI = "awsAccountId"; const _aAR = "awsAccountRegion"; const _aPI = "approverProjectId"; diff --git a/clients/client-dax/package.json b/clients/client-dax/package.json index ecceac0521d3..76025c7916ab 100644 --- a/clients/client-dax/package.json +++ b/clients/client-dax/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-deadline/package.json b/clients/client-deadline/package.json index 1b9fbdd2a20b..a986b47d86b9 100644 --- a/clients/client-deadline/package.json +++ b/clients/client-deadline/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-deadline/src/protocols/Aws_restJson1.ts b/clients/client-deadline/src/protocols/Aws_restJson1.ts index dfa683677256..86e400d40b40 100644 --- a/clients/client-deadline/src/protocols/Aws_restJson1.ts +++ b/clients/client-deadline/src/protocols/Aws_restJson1.ts @@ -20,6 +20,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, @@ -2907,10 +2908,7 @@ export const se_UntagResourceCommand = async ( b.bp("/2023-10-12/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; let { hostname: resolvedHostname } = await context.endpoint(); @@ -7293,13 +7291,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aI = "aggregationId"; const _cT = "clientToken"; const _dN = "displayName"; diff --git a/clients/client-detective/package.json b/clients/client-detective/package.json index c375680a5eb4..580110906a0c 100644 --- a/clients/client-detective/package.json +++ b/clients/client-detective/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-detective/src/protocols/Aws_restJson1.ts b/clients/client-detective/src/protocols/Aws_restJson1.ts index 4a8a8fc62372..fd0d100ca0ea 100644 --- a/clients/client-detective/src/protocols/Aws_restJson1.ts +++ b/clients/client-detective/src/protocols/Aws_restJson1.ts @@ -696,10 +696,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1873,12 +1870,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _TK = "TagKeys"; const _tK = "tagKeys"; diff --git a/clients/client-device-farm/package.json b/clients/client-device-farm/package.json index 996e16c5d995..2ff41d223b78 100644 --- a/clients/client-device-farm/package.json +++ b/clients/client-device-farm/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-devops-guru/package.json b/clients/client-devops-guru/package.json index 41974eef36dc..6d0af5110c89 100644 --- a/clients/client-devops-guru/package.json +++ b/clients/client-devops-guru/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-devops-guru/src/protocols/Aws_restJson1.ts b/clients/client-devops-guru/src/protocols/Aws_restJson1.ts index c5ac3646a2e6..bf412e4b7264 100644 --- a/clients/client-devops-guru/src/protocols/Aws_restJson1.ts +++ b/clients/client-devops-guru/src/protocols/Aws_restJson1.ts @@ -2693,13 +2693,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _AI = "AccountId"; const _NT = "NextToken"; const _RAS = "RetryAfterSeconds"; diff --git a/clients/client-direct-connect/package.json b/clients/client-direct-connect/package.json index c0d673527fab..10463134c1cd 100644 --- a/clients/client-direct-connect/package.json +++ b/clients/client-direct-connect/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-directory-service-data/package.json b/clients/client-directory-service-data/package.json index dd272e3e2377..1dc7b0bad5d0 100644 --- a/clients/client-directory-service-data/package.json +++ b/clients/client-directory-service-data/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-directory-service-data/src/protocols/Aws_restJson1.ts b/clients/client-directory-service-data/src/protocols/Aws_restJson1.ts index 5d7288375546..d39ac3ef322b 100644 --- a/clients/client-directory-service-data/src/protocols/Aws_restJson1.ts +++ b/clients/client-directory-service-data/src/protocols/Aws_restJson1.ts @@ -1127,13 +1127,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _DI = "DirectoryId"; const _RAS = "RetryAfterSeconds"; const _ra = "retry-after"; diff --git a/clients/client-directory-service/package.json b/clients/client-directory-service/package.json index 2dc7e57cdbcd..0a95a71f5166 100644 --- a/clients/client-directory-service/package.json +++ b/clients/client-directory-service/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-dlm/package.json b/clients/client-dlm/package.json index c2420966a863..d15570b366a5 100644 --- a/clients/client-dlm/package.json +++ b/clients/client-dlm/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-dlm/src/protocols/Aws_restJson1.ts b/clients/client-dlm/src/protocols/Aws_restJson1.ts index 162335dbd805..bd77e4863d97 100644 --- a/clients/client-dlm/src/protocols/Aws_restJson1.ts +++ b/clients/client-dlm/src/protocols/Aws_restJson1.ts @@ -141,11 +141,11 @@ export const se_GetLifecyclePoliciesCommand = async ( const headers: any = {}; b.bp("/policies"); const query: any = map({ - [_pI]: [() => input.PolicyIds !== void 0, () => (input[_PI]! || []).map((_entry) => _entry as any)], + [_pI]: [() => input.PolicyIds !== void 0, () => input[_PI]! || []], [_s]: [, input[_S]!], - [_rT]: [() => input.ResourceTypes !== void 0, () => (input[_RT]! || []).map((_entry) => _entry as any)], - [_tT]: [() => input.TargetTags !== void 0, () => (input[_TT]! || []).map((_entry) => _entry as any)], - [_tTA]: [() => input.TagsToAdd !== void 0, () => (input[_TTA]! || []).map((_entry) => _entry as any)], + [_rT]: [() => input.ResourceTypes !== void 0, () => input[_RT]! || []], + [_tT]: [() => input.TargetTags !== void 0, () => input[_TT]! || []], + [_tTA]: [() => input.TagsToAdd !== void 0, () => input[_TTA]! || []], [_dPT]: [, input[_DPT]!], }); let body: any; @@ -220,10 +220,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -751,13 +748,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _DPT = "DefaultPolicyType"; const _PI = "PolicyIds"; const _RT = "ResourceTypes"; diff --git a/clients/client-docdb-elastic/package.json b/clients/client-docdb-elastic/package.json index f286eb6fccaa..b21147a7cc95 100644 --- a/clients/client-docdb-elastic/package.json +++ b/clients/client-docdb-elastic/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-docdb-elastic/src/protocols/Aws_restJson1.ts b/clients/client-docdb-elastic/src/protocols/Aws_restJson1.ts index 086ea65f2b40..2818646eb27e 100644 --- a/clients/client-docdb-elastic/src/protocols/Aws_restJson1.ts +++ b/clients/client-docdb-elastic/src/protocols/Aws_restJson1.ts @@ -370,10 +370,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -964,13 +961,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cA = "clusterArn"; const _mR = "maxResults"; const _nT = "nextToken"; diff --git a/clients/client-docdb/package.json b/clients/client-docdb/package.json index 81b7e7f63e8a..aa9162cb3be7 100644 --- a/clients/client-docdb/package.json +++ b/clients/client-docdb/package.json @@ -35,26 +35,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-drs/package.json b/clients/client-drs/package.json index f9282deee632..3ff8b6290abd 100644 --- a/clients/client-drs/package.json +++ b/clients/client-drs/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-drs/src/protocols/Aws_restJson1.ts b/clients/client-drs/src/protocols/Aws_restJson1.ts index b65459300323..38c2a78b423f 100644 --- a/clients/client-drs/src/protocols/Aws_restJson1.ts +++ b/clients/client-drs/src/protocols/Aws_restJson1.ts @@ -1242,10 +1242,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -3045,13 +3042,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _rAS = "retryAfterSeconds"; diff --git a/clients/client-dynamodb-streams/package.json b/clients/client-dynamodb-streams/package.json index aa3e4aae7071..6973ff4445b7 100644 --- a/clients/client-dynamodb-streams/package.json +++ b/clients/client-dynamodb-streams/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-dynamodb/package.json b/clients/client-dynamodb/package.json index 0d71e2007dc5..745495e8eb5a 100644 --- a/clients/client-dynamodb/package.json +++ b/clients/client-dynamodb/package.json @@ -35,26 +35,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-ebs/package.json b/clients/client-ebs/package.json index ff3e09704f0e..755ecd809f71 100644 --- a/clients/client-ebs/package.json +++ b/clients/client-ebs/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2", "uuid": "^9.0.1" diff --git a/clients/client-ebs/src/protocols/Aws_restJson1.ts b/clients/client-ebs/src/protocols/Aws_restJson1.ts index 156778ef6c19..9e4fbbb4c239 100644 --- a/clients/client-ebs/src/protocols/Aws_restJson1.ts +++ b/clients/client-ebs/src/protocols/Aws_restJson1.ts @@ -13,6 +13,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, @@ -562,13 +563,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _BT = "BlockToken"; const _C = "Checksum"; const _CA = "ChecksumAlgorithm"; diff --git a/clients/client-ec2-instance-connect/package.json b/clients/client-ec2-instance-connect/package.json index 50e3e52dd93b..c6d414778c18 100644 --- a/clients/client-ec2-instance-connect/package.json +++ b/clients/client-ec2-instance-connect/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-ec2/package.json b/clients/client-ec2/package.json index b0cace92f6c8..ffae8bf2f9ae 100644 --- a/clients/client-ec2/package.json +++ b/clients/client-ec2/package.json @@ -35,26 +35,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-ecr-public/package.json b/clients/client-ecr-public/package.json index 3e25c38846d3..f5523b6937d9 100644 --- a/clients/client-ecr-public/package.json +++ b/clients/client-ecr-public/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-ecr/package.json b/clients/client-ecr/package.json index e5f019fdc2d6..0cbd58d68403 100644 --- a/clients/client-ecr/package.json +++ b/clients/client-ecr/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-ecs/package.json b/clients/client-ecs/package.json index bfef642ac4d1..3ca34c762c1e 100644 --- a/clients/client-ecs/package.json +++ b/clients/client-ecs/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-efs/package.json b/clients/client-efs/package.json index b2ef892444fb..7777ea353f84 100644 --- a/clients/client-efs/package.json +++ b/clients/client-efs/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-efs/src/protocols/Aws_restJson1.ts b/clients/client-efs/src/protocols/Aws_restJson1.ts index ee5b4b166d38..a6a79dc2af7a 100644 --- a/clients/client-efs/src/protocols/Aws_restJson1.ts +++ b/clients/client-efs/src/protocols/Aws_restJson1.ts @@ -752,10 +752,7 @@ export const se_UntagResourceCommand = async ( b.bp("/2015-02-01/resource-tags/{ResourceId}"); b.p("ResourceId", () => input.ResourceId!, "{ResourceId}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2411,13 +2408,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _API = "AccessPointId"; const _CT = "CreationToken"; const _FSI = "FileSystemId"; diff --git a/clients/client-eks-auth/package.json b/clients/client-eks-auth/package.json index c42b0cc095e1..1b906ba8c985 100644 --- a/clients/client-eks-auth/package.json +++ b/clients/client-eks-auth/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-eks-auth/src/protocols/Aws_restJson1.ts b/clients/client-eks-auth/src/protocols/Aws_restJson1.ts index 3faf6baf9f3d..1bc00f77215c 100644 --- a/clients/client-eks-auth/src/protocols/Aws_restJson1.ts +++ b/clients/client-eks-auth/src/protocols/Aws_restJson1.ts @@ -342,10 +342,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-eks/package.json b/clients/client-eks/package.json index e9b296eccffb..cd8e9b8f2eaa 100644 --- a/clients/client-eks/package.json +++ b/clients/client-eks/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-eks/src/protocols/Aws_restJson1.ts b/clients/client-eks/src/protocols/Aws_restJson1.ts index 55995d147add..373affc64b3c 100644 --- a/clients/client-eks/src/protocols/Aws_restJson1.ts +++ b/clients/client-eks/src/protocols/Aws_restJson1.ts @@ -725,9 +725,9 @@ export const se_DescribeAddonVersionsCommand = async ( [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], [_nT]: [, input[_nT]!], [_aN]: [, input[_aN]!], - [_t]: [() => input.types !== void 0, () => (input[_t]! || []).map((_entry) => _entry as any)], - [_pu]: [() => input.publishers !== void 0, () => (input[_pu]! || []).map((_entry) => _entry as any)], - [_o]: [() => input.owners !== void 0, () => (input[_o]! || []).map((_entry) => _entry as any)], + [_t]: [() => input.types !== void 0, () => input[_t]! || []], + [_pu]: [() => input.publishers !== void 0, () => input[_pu]! || []], + [_o]: [() => input.owners !== void 0, () => input[_o]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -1014,7 +1014,7 @@ export const se_ListClustersCommand = async ( const query: any = map({ [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], [_nT]: [, input[_nT]!], - [_i]: [() => input.include !== void 0, () => (input[_i]! || []).map((_entry) => _entry as any)], + [_i]: [() => input.include !== void 0, () => input[_i]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -1034,7 +1034,7 @@ export const se_ListEksAnywhereSubscriptionsCommand = async ( const query: any = map({ [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], [_nT]: [, input[_nT]!], - [_iS]: [() => input.includeStatus !== void 0, () => (input[_iS]! || []).map((_entry) => _entry as any)], + [_iS]: [() => input.includeStatus !== void 0, () => input[_iS]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -1246,10 +1246,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -3546,13 +3543,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aN = "addonName"; const _aPA = "associatedPolicyArn"; const _aV = "addonVersion"; diff --git a/clients/client-elastic-beanstalk/package.json b/clients/client-elastic-beanstalk/package.json index ce08b535320b..ef18447a905d 100644 --- a/clients/client-elastic-beanstalk/package.json +++ b/clients/client-elastic-beanstalk/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-elastic-inference/package.json b/clients/client-elastic-inference/package.json index 8a4c4a69a7f2..f6006823808c 100644 --- a/clients/client-elastic-inference/package.json +++ b/clients/client-elastic-inference/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-elastic-inference/src/protocols/Aws_restJson1.ts b/clients/client-elastic-inference/src/protocols/Aws_restJson1.ts index 73a92d6c69ca..efa2eb1bd73a 100644 --- a/clients/client-elastic-inference/src/protocols/Aws_restJson1.ts +++ b/clients/client-elastic-inference/src/protocols/Aws_restJson1.ts @@ -156,10 +156,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -418,11 +415,4 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _tK = "tagKeys"; diff --git a/clients/client-elastic-load-balancing-v2/package.json b/clients/client-elastic-load-balancing-v2/package.json index 20e3789d9c39..df4f6709bcd2 100644 --- a/clients/client-elastic-load-balancing-v2/package.json +++ b/clients/client-elastic-load-balancing-v2/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-elastic-load-balancing/package.json b/clients/client-elastic-load-balancing/package.json index ed30aa3831f8..03028e21aa81 100644 --- a/clients/client-elastic-load-balancing/package.json +++ b/clients/client-elastic-load-balancing/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-elastic-transcoder/package.json b/clients/client-elastic-transcoder/package.json index 424ebf1f5093..ef7f45e5ba68 100644 --- a/clients/client-elastic-transcoder/package.json +++ b/clients/client-elastic-transcoder/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-elastic-transcoder/src/protocols/Aws_restJson1.ts b/clients/client-elastic-transcoder/src/protocols/Aws_restJson1.ts index eaac3072e8f1..6308b151182b 100644 --- a/clients/client-elastic-transcoder/src/protocols/Aws_restJson1.ts +++ b/clients/client-elastic-transcoder/src/protocols/Aws_restJson1.ts @@ -1157,12 +1157,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _A = "Ascending"; const _PT = "PageToken"; diff --git a/clients/client-elasticache/package.json b/clients/client-elasticache/package.json index 8005f0e5cadf..c10fb76c6f84 100644 --- a/clients/client-elasticache/package.json +++ b/clients/client-elasticache/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-elasticsearch-service/package.json b/clients/client-elasticsearch-service/package.json index 7d26f5a1acbe..b021b7ff77f7 100644 --- a/clients/client-elasticsearch-service/package.json +++ b/clients/client-elasticsearch-service/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-elasticsearch-service/src/protocols/Aws_restJson1.ts b/clients/client-elasticsearch-service/src/protocols/Aws_restJson1.ts index a3e5a192f33c..2c508fb4f539 100644 --- a/clients/client-elasticsearch-service/src/protocols/Aws_restJson1.ts +++ b/clients/client-elasticsearch-service/src/protocols/Aws_restJson1.ts @@ -3548,13 +3548,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _ARN = "ARN"; const _CI = "ChangeId"; const _DN = "DomainName"; diff --git a/clients/client-emr-containers/package.json b/clients/client-emr-containers/package.json index 8c36a5cdef06..d7bf92b53c0c 100644 --- a/clients/client-emr-containers/package.json +++ b/clients/client-emr-containers/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-emr-containers/src/protocols/Aws_restJson1.ts b/clients/client-emr-containers/src/protocols/Aws_restJson1.ts index be96d27e383f..8f344c9cb9d6 100644 --- a/clients/client-emr-containers/src/protocols/Aws_restJson1.ts +++ b/clients/client-emr-containers/src/protocols/Aws_restJson1.ts @@ -432,7 +432,7 @@ export const se_ListJobRunsCommand = async ( [_cB]: [() => input.createdBefore !== void 0, () => __serializeDateTime(input[_cB]!).toString()], [_cA]: [() => input.createdAfter !== void 0, () => __serializeDateTime(input[_cA]!).toString()], [_n]: [, input[_n]!], - [_s]: [() => input.states !== void 0, () => (input[_s]! || []).map((_entry) => _entry as any)], + [_s]: [() => input.states !== void 0, () => input[_s]! || []], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], [_nT]: [, input[_nT]!], }); @@ -476,8 +476,8 @@ export const se_ListManagedEndpointsCommand = async ( const query: any = map({ [_cB]: [() => input.createdBefore !== void 0, () => __serializeDateTime(input[_cB]!).toString()], [_cA]: [() => input.createdAfter !== void 0, () => __serializeDateTime(input[_cA]!).toString()], - [_t]: [() => input.types !== void 0, () => (input[_t]! || []).map((_entry) => _entry as any)], - [_s]: [() => input.states !== void 0, () => (input[_s]! || []).map((_entry) => _entry as any)], + [_t]: [() => input.types !== void 0, () => input[_t]! || []], + [_s]: [() => input.states !== void 0, () => input[_s]! || []], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], [_nT]: [, input[_nT]!], }); @@ -538,7 +538,7 @@ export const se_ListVirtualClustersCommand = async ( [_cPT]: [, input[_cPT]!], [_cA]: [() => input.createdAfter !== void 0, () => __serializeDateTime(input[_cA]!).toString()], [_cB]: [() => input.createdBefore !== void 0, () => __serializeDateTime(input[_cB]!).toString()], - [_s]: [() => input.states !== void 0, () => (input[_s]! || []).map((_entry) => _entry as any)], + [_s]: [() => input.states !== void 0, () => input[_s]! || []], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], [_nT]: [, input[_nT]!], [_eAEI]: [() => input.eksAccessEntryIntegrated !== void 0, () => input[_eAEI]!.toString()], @@ -615,10 +615,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1657,13 +1654,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cA = "createdAfter"; const _cB = "createdBefore"; const _cPI = "containerProviderId"; diff --git a/clients/client-emr-serverless/package.json b/clients/client-emr-serverless/package.json index f640a24f76a4..07dc72f75079 100644 --- a/clients/client-emr-serverless/package.json +++ b/clients/client-emr-serverless/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-emr-serverless/src/protocols/Aws_restJson1.ts b/clients/client-emr-serverless/src/protocols/Aws_restJson1.ts index 91c9c69e8a4f..86a150f2d5a0 100644 --- a/clients/client-emr-serverless/src/protocols/Aws_restJson1.ts +++ b/clients/client-emr-serverless/src/protocols/Aws_restJson1.ts @@ -232,7 +232,7 @@ export const se_ListApplicationsCommand = async ( const query: any = map({ [_nT]: [, input[_nT]!], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], - [_s]: [() => input.states !== void 0, () => (input[_s]! || []).map((_entry) => _entry as any)], + [_s]: [() => input.states !== void 0, () => input[_s]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -276,7 +276,7 @@ export const se_ListJobRunsCommand = async ( [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], [_cAA]: [() => input.createdAtAfter !== void 0, () => __serializeDateTime(input[_cAA]!).toString()], [_cAB]: [() => input.createdAtBefore !== void 0, () => __serializeDateTime(input[_cAB]!).toString()], - [_s]: [() => input.states !== void 0, () => (input[_s]! || []).map((_entry) => _entry as any)], + [_s]: [() => input.states !== void 0, () => input[_s]! || []], [_m]: [, input[_m]!], }); let body: any; @@ -398,10 +398,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1275,13 +1272,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _a = "attempt"; const _cAA = "createdAtAfter"; const _cAB = "createdAtBefore"; diff --git a/clients/client-emr/package.json b/clients/client-emr/package.json index a05901fd3040..28694e53a7dd 100644 --- a/clients/client-emr/package.json +++ b/clients/client-emr/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-entityresolution/package.json b/clients/client-entityresolution/package.json index fcaf97280d27..9b95b4b5e051 100644 --- a/clients/client-entityresolution/package.json +++ b/clients/client-entityresolution/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-entityresolution/src/protocols/Aws_restJson1.ts b/clients/client-entityresolution/src/protocols/Aws_restJson1.ts index 6754e080d0b8..32807654f581 100644 --- a/clients/client-entityresolution/src/protocols/Aws_restJson1.ts +++ b/clients/client-entityresolution/src/protocols/Aws_restJson1.ts @@ -18,6 +18,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, @@ -194,10 +195,7 @@ export const se_BatchDeleteUniqueIdCommand = async ( const b = rb(input, context); const headers: any = map({}, isSerializableHeaderValue, { [_i]: input[_iS]!, - [_u]: [ - () => isSerializableHeaderValue(input[_uI]), - () => (input[_uI]! || []).map((_entry) => _entry as any).join(", "), - ], + [_u]: [() => isSerializableHeaderValue(input[_uI]), () => (input[_uI]! || []).join(", ")], }); b.bp("/matchingworkflows/{workflowName}/uniqueids"); b.p("workflowName", () => input.workflowName!, "{workflowName}", false); @@ -802,10 +800,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2458,13 +2453,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _i = "inputsource"; const _iS = "inputSource"; const _mR = "maxResults"; diff --git a/clients/client-eventbridge/package.json b/clients/client-eventbridge/package.json index d85ba2293f72..5138ffd599c3 100644 --- a/clients/client-eventbridge/package.json +++ b/clients/client-eventbridge/package.json @@ -37,26 +37,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-evidently/package.json b/clients/client-evidently/package.json index 3d637d248f59..ec000bc9d59a 100644 --- a/clients/client-evidently/package.json +++ b/clients/client-evidently/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-evidently/src/protocols/Aws_restJson1.ts b/clients/client-evidently/src/protocols/Aws_restJson1.ts index f6762dfca174..f4747d0eca86 100644 --- a/clients/client-evidently/src/protocols/Aws_restJson1.ts +++ b/clients/client-evidently/src/protocols/Aws_restJson1.ts @@ -859,10 +859,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2724,13 +2721,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _s = "status"; diff --git a/clients/client-finspace-data/package.json b/clients/client-finspace-data/package.json index 2dfc73121cf2..99668d3d2374 100644 --- a/clients/client-finspace-data/package.json +++ b/clients/client-finspace-data/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-finspace-data/src/protocols/Aws_restJson1.ts b/clients/client-finspace-data/src/protocols/Aws_restJson1.ts index 92024ea0801d..bd6f7b32a808 100644 --- a/clients/client-finspace-data/src/protocols/Aws_restJson1.ts +++ b/clients/client-finspace-data/src/protocols/Aws_restJson1.ts @@ -1766,13 +1766,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cT = "clientToken"; const _dIM = "durationInMinutes"; const _eI = "environmentId"; diff --git a/clients/client-finspace/package.json b/clients/client-finspace/package.json index a688d3493318..315d1ffb2ac3 100644 --- a/clients/client-finspace/package.json +++ b/clients/client-finspace/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-finspace/src/protocols/Aws_restJson1.ts b/clients/client-finspace/src/protocols/Aws_restJson1.ts index de1b21057fcc..e5533d8ef00f 100644 --- a/clients/client-finspace/src/protocols/Aws_restJson1.ts +++ b/clients/client-finspace/src/protocols/Aws_restJson1.ts @@ -1028,10 +1028,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -3266,13 +3263,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cN = "clusterName"; const _cT = "clientToken"; const _cTl = "clusterType"; diff --git a/clients/client-firehose/package.json b/clients/client-firehose/package.json index 326e458cf993..0039651fb910 100644 --- a/clients/client-firehose/package.json +++ b/clients/client-firehose/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-fis/package.json b/clients/client-fis/package.json index 6848f92a510a..4db54316422b 100644 --- a/clients/client-fis/package.json +++ b/clients/client-fis/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-fis/src/protocols/Aws_restJson1.ts b/clients/client-fis/src/protocols/Aws_restJson1.ts index ca8d700d545d..dcfbec535e59 100644 --- a/clients/client-fis/src/protocols/Aws_restJson1.ts +++ b/clients/client-fis/src/protocols/Aws_restJson1.ts @@ -562,7 +562,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [() => input.tagKeys !== void 0, () => (input[_tK]! || []).map((_entry) => _entry as any)], + [_tK]: [() => input.tagKeys !== void 0, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1614,13 +1614,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _eTI = "experimentTemplateId"; const _mR = "maxResults"; const _nT = "nextToken"; diff --git a/clients/client-fms/package.json b/clients/client-fms/package.json index a1ab7c7c3cc1..f74fe041bd80 100644 --- a/clients/client-fms/package.json +++ b/clients/client-fms/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-forecast/package.json b/clients/client-forecast/package.json index de244717590a..d3eed11567d1 100644 --- a/clients/client-forecast/package.json +++ b/clients/client-forecast/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-forecastquery/package.json b/clients/client-forecastquery/package.json index 57113c0cd378..d41365d23510 100644 --- a/clients/client-forecastquery/package.json +++ b/clients/client-forecastquery/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-frauddetector/package.json b/clients/client-frauddetector/package.json index 9480aec6df69..f9788a32b9fa 100644 --- a/clients/client-frauddetector/package.json +++ b/clients/client-frauddetector/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-freetier/package.json b/clients/client-freetier/package.json index 7b8115b2ead2..5a43d35a6872 100644 --- a/clients/client-freetier/package.json +++ b/clients/client-freetier/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-fsx/package.json b/clients/client-fsx/package.json index 19c98ffa8e8e..285d3521e996 100644 --- a/clients/client-fsx/package.json +++ b/clients/client-fsx/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-gamelift/package.json b/clients/client-gamelift/package.json index 7fa6b8e11607..39c18f6ccdd1 100644 --- a/clients/client-gamelift/package.json +++ b/clients/client-gamelift/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-glacier/package.json b/clients/client-glacier/package.json index 2ff8911b998d..8fdfa4505b3a 100644 --- a/clients/client-glacier/package.json +++ b/clients/client-glacier/package.json @@ -37,30 +37,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "@smithy/util-waiter": "^3.1.5", "tslib": "^2.6.2" diff --git a/clients/client-glacier/src/protocols/Aws_restJson1.ts b/clients/client-glacier/src/protocols/Aws_restJson1.ts index 606724f78880..67028fb1ebc0 100644 --- a/clients/client-glacier/src/protocols/Aws_restJson1.ts +++ b/clients/client-glacier/src/protocols/Aws_restJson1.ts @@ -12,6 +12,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, resolvedPath as __resolvedPath, take, @@ -1805,13 +1806,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aD = "archiveDescription"; const _aI = "archiveId"; const _aR = "acceptRanges"; diff --git a/clients/client-global-accelerator/package.json b/clients/client-global-accelerator/package.json index 8447d64cdf68..3e0d9a481cad 100644 --- a/clients/client-global-accelerator/package.json +++ b/clients/client-global-accelerator/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-glue/package.json b/clients/client-glue/package.json index 4836e836a1bc..db2287ccfb1e 100644 --- a/clients/client-glue/package.json +++ b/clients/client-glue/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-grafana/package.json b/clients/client-grafana/package.json index 4ec0c5a47284..3d54c01c1513 100644 --- a/clients/client-grafana/package.json +++ b/clients/client-grafana/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-grafana/src/protocols/Aws_restJson1.ts b/clients/client-grafana/src/protocols/Aws_restJson1.ts index 61baed7e60f1..e4a8d2d741c2 100644 --- a/clients/client-grafana/src/protocols/Aws_restJson1.ts +++ b/clients/client-grafana/src/protocols/Aws_restJson1.ts @@ -12,6 +12,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, LazyJsonString as __LazyJsonString, map, parseEpochTimestamp as __parseEpochTimestamp, @@ -537,10 +538,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1589,13 +1587,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _gI = "groupId"; const _gT = "grafanaToken"; const _gt = "grafana-token"; diff --git a/clients/client-greengrass/package.json b/clients/client-greengrass/package.json index be2cad3f1849..b4a6d14f3cbd 100644 --- a/clients/client-greengrass/package.json +++ b/clients/client-greengrass/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-greengrass/src/protocols/Aws_restJson1.ts b/clients/client-greengrass/src/protocols/Aws_restJson1.ts index f9232c2fc103..ee44954c161b 100644 --- a/clients/client-greengrass/src/protocols/Aws_restJson1.ts +++ b/clients/client-greengrass/src/protocols/Aws_restJson1.ts @@ -10,6 +10,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, resolvedPath as __resolvedPath, take, @@ -1976,10 +1977,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -4615,13 +4613,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _ACT = "AmznClientToken"; const _MR = "MaxResults"; const _NT = "NextToken"; diff --git a/clients/client-greengrassv2/package.json b/clients/client-greengrassv2/package.json index 57d3493c5841..bfc934710968 100644 --- a/clients/client-greengrassv2/package.json +++ b/clients/client-greengrassv2/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-greengrassv2/src/protocols/Aws_restJson1.ts b/clients/client-greengrassv2/src/protocols/Aws_restJson1.ts index 0f81697c64bc..3db39177287e 100644 --- a/clients/client-greengrassv2/src/protocols/Aws_restJson1.ts +++ b/clients/client-greengrassv2/src/protocols/Aws_restJson1.ts @@ -14,6 +14,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, @@ -690,10 +691,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2169,13 +2167,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _hF = "historyFilter"; const _iET = "iotEndpointType"; const _mR = "maxResults"; diff --git a/clients/client-groundstation/package.json b/clients/client-groundstation/package.json index a8a0b45ec883..9c788e2f48e2 100644 --- a/clients/client-groundstation/package.json +++ b/clients/client-groundstation/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-groundstation/src/protocols/Aws_restJson1.ts b/clients/client-groundstation/src/protocols/Aws_restJson1.ts index 8e1d437d08fd..fab79245c873 100644 --- a/clients/client-groundstation/src/protocols/Aws_restJson1.ts +++ b/clients/client-groundstation/src/protocols/Aws_restJson1.ts @@ -727,10 +727,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2273,13 +2270,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _sI = "satelliteId"; diff --git a/clients/client-guardduty/package.json b/clients/client-guardduty/package.json index 93e43ba7fc6b..3045c787c2da 100644 --- a/clients/client-guardduty/package.json +++ b/clients/client-guardduty/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-guardduty/src/protocols/Aws_restJson1.ts b/clients/client-guardduty/src/protocols/Aws_restJson1.ts index 009fab62adb4..3d4754b77d61 100644 --- a/clients/client-guardduty/src/protocols/Aws_restJson1.ts +++ b/clients/client-guardduty/src/protocols/Aws_restJson1.ts @@ -1766,10 +1766,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -7156,13 +7153,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _MR = "MaxResults"; const _NT = "NextToken"; const _OA = "OnlyAssociated"; diff --git a/clients/client-health/package.json b/clients/client-health/package.json index aca9c172ff17..117ec26f2621 100644 --- a/clients/client-health/package.json +++ b/clients/client-health/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-healthlake/package.json b/clients/client-healthlake/package.json index be3b4e13ed93..d756c144da4f 100644 --- a/clients/client-healthlake/package.json +++ b/clients/client-healthlake/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-iam/package.json b/clients/client-iam/package.json index 07b9476435ff..a2b4b96daa2d 100644 --- a/clients/client-iam/package.json +++ b/clients/client-iam/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-identitystore/package.json b/clients/client-identitystore/package.json index 05c67fedfc3c..74333b005d20 100644 --- a/clients/client-identitystore/package.json +++ b/clients/client-identitystore/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-imagebuilder/package.json b/clients/client-imagebuilder/package.json index 51f6aaf348d7..d23d818b64cc 100644 --- a/clients/client-imagebuilder/package.json +++ b/clients/client-imagebuilder/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-imagebuilder/src/protocols/Aws_restJson1.ts b/clients/client-imagebuilder/src/protocols/Aws_restJson1.ts index 9fd8e4c25923..f21d9eaec972 100644 --- a/clients/client-imagebuilder/src/protocols/Aws_restJson1.ts +++ b/clients/client-imagebuilder/src/protocols/Aws_restJson1.ts @@ -1886,10 +1886,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -4745,13 +4742,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cA = "componentArn"; const _cBVA = "componentBuildVersionArn"; const _cRA = "containerRecipeArn"; diff --git a/clients/client-inspector-scan/package.json b/clients/client-inspector-scan/package.json index d4c651ae3757..d07a2e410633 100644 --- a/clients/client-inspector-scan/package.json +++ b/clients/client-inspector-scan/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-inspector-scan/src/protocols/Aws_restJson1.ts b/clients/client-inspector-scan/src/protocols/Aws_restJson1.ts index 0ca0515dfc9a..b27a81b4937b 100644 --- a/clients/client-inspector-scan/src/protocols/Aws_restJson1.ts +++ b/clients/client-inspector-scan/src/protocols/Aws_restJson1.ts @@ -218,12 +218,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _rAS = "retryAfterSeconds"; const _ra = "retry-after"; diff --git a/clients/client-inspector/package.json b/clients/client-inspector/package.json index d2bfbfecd744..6900bcb2e510 100644 --- a/clients/client-inspector/package.json +++ b/clients/client-inspector/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-inspector2/package.json b/clients/client-inspector2/package.json index 4f371ef5daff..550e98b594c8 100644 --- a/clients/client-inspector2/package.json +++ b/clients/client-inspector2/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-inspector2/src/protocols/Aws_restJson1.ts b/clients/client-inspector2/src/protocols/Aws_restJson1.ts index b9927b914ded..2327e5e4aafa 100644 --- a/clients/client-inspector2/src/protocols/Aws_restJson1.ts +++ b/clients/client-inspector2/src/protocols/Aws_restJson1.ts @@ -1476,10 +1476,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -4578,13 +4575,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _rAS = "retryAfterSeconds"; const _rT = "resourceType"; const _ra = "retry-after"; diff --git a/clients/client-internetmonitor/package.json b/clients/client-internetmonitor/package.json index 70f077fdda04..157c28676525 100644 --- a/clients/client-internetmonitor/package.json +++ b/clients/client-internetmonitor/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-internetmonitor/src/protocols/Aws_restJson1.ts b/clients/client-internetmonitor/src/protocols/Aws_restJson1.ts index af16afb119d2..65fbf6aac723 100644 --- a/clients/client-internetmonitor/src/protocols/Aws_restJson1.ts +++ b/clients/client-internetmonitor/src/protocols/Aws_restJson1.ts @@ -376,10 +376,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1283,13 +1280,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _ES = "EventStatus"; const _ET = "EndTime"; const _ETv = "EventType"; diff --git a/clients/client-iot-1click-devices-service/package.json b/clients/client-iot-1click-devices-service/package.json index b999e7518fa9..d8fb7673aad1 100644 --- a/clients/client-iot-1click-devices-service/package.json +++ b/clients/client-iot-1click-devices-service/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-iot-1click-devices-service/src/protocols/Aws_restJson1.ts b/clients/client-iot-1click-devices-service/src/protocols/Aws_restJson1.ts index 9845ecafcb07..ea8286434da9 100644 --- a/clients/client-iot-1click-devices-service/src/protocols/Aws_restJson1.ts +++ b/clients/client-iot-1click-devices-service/src/protocols/Aws_restJson1.ts @@ -291,10 +291,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -886,13 +883,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _DT = "DeviceType"; const _FTS = "FromTimeStamp"; const _MR = "MaxResults"; diff --git a/clients/client-iot-1click-projects/package.json b/clients/client-iot-1click-projects/package.json index f4e119a837e4..16b2ccc9a69a 100644 --- a/clients/client-iot-1click-projects/package.json +++ b/clients/client-iot-1click-projects/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-iot-1click-projects/src/protocols/Aws_restJson1.ts b/clients/client-iot-1click-projects/src/protocols/Aws_restJson1.ts index 8cc579edb386..2bc2825e312f 100644 --- a/clients/client-iot-1click-projects/src/protocols/Aws_restJson1.ts +++ b/clients/client-iot-1click-projects/src/protocols/Aws_restJson1.ts @@ -331,10 +331,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -947,13 +944,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _tK = "tagKeys"; diff --git a/clients/client-iot-data-plane/package.json b/clients/client-iot-data-plane/package.json index b48a20f8801f..05e2ad3f0409 100644 --- a/clients/client-iot-data-plane/package.json +++ b/clients/client-iot-data-plane/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-iot-data-plane/src/protocols/Aws_restJson1.ts b/clients/client-iot-data-plane/src/protocols/Aws_restJson1.ts index 5189df61fce8..cde8d795d04b 100644 --- a/clients/client-iot-data-plane/src/protocols/Aws_restJson1.ts +++ b/clients/client-iot-data-plane/src/protocols/Aws_restJson1.ts @@ -12,6 +12,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, LazyJsonString as __LazyJsonString, map, resolvedPath as __resolvedPath, @@ -606,13 +607,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cD = "correlationData"; const _cT = "contentType"; const _mE = "messageExpiry"; diff --git a/clients/client-iot-events-data/package.json b/clients/client-iot-events-data/package.json index 8c15410f74af..74c3823dbe85 100644 --- a/clients/client-iot-events-data/package.json +++ b/clients/client-iot-events-data/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-iot-events-data/src/protocols/Aws_restJson1.ts b/clients/client-iot-events-data/src/protocols/Aws_restJson1.ts index 9c40dd4f377f..afdd6c8b34c1 100644 --- a/clients/client-iot-events-data/src/protocols/Aws_restJson1.ts +++ b/clients/client-iot-events-data/src/protocols/Aws_restJson1.ts @@ -947,13 +947,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _kV = "keyValue"; const _mR = "maxResults"; const _nT = "nextToken"; diff --git a/clients/client-iot-events/package.json b/clients/client-iot-events/package.json index 366e86d85e0b..ecdce807e6ba 100644 --- a/clients/client-iot-events/package.json +++ b/clients/client-iot-events/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-iot-events/src/protocols/Aws_restJson1.ts b/clients/client-iot-events/src/protocols/Aws_restJson1.ts index 9fc8956f8ece..f18264b156bf 100644 --- a/clients/client-iot-events/src/protocols/Aws_restJson1.ts +++ b/clients/client-iot-events/src/protocols/Aws_restJson1.ts @@ -612,10 +612,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags"); const query: any = map({ [_rA]: [, __expectNonNull(input[_rA]!, `resourceArn`)], - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1939,13 +1936,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aMV = "alarmModelVersion"; const _dMV = "detectorModelVersion"; const _mR = "maxResults"; diff --git a/clients/client-iot-jobs-data-plane/package.json b/clients/client-iot-jobs-data-plane/package.json index a591d8bc39d7..7485008455a1 100644 --- a/clients/client-iot-jobs-data-plane/package.json +++ b/clients/client-iot-jobs-data-plane/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-iot-jobs-data-plane/src/protocols/Aws_restJson1.ts b/clients/client-iot-jobs-data-plane/src/protocols/Aws_restJson1.ts index 7c8197929656..def5cb8b411f 100644 --- a/clients/client-iot-jobs-data-plane/src/protocols/Aws_restJson1.ts +++ b/clients/client-iot-jobs-data-plane/src/protocols/Aws_restJson1.ts @@ -426,12 +426,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _eN = "executionNumber"; const _iJD = "includeJobDocument"; diff --git a/clients/client-iot-wireless/package.json b/clients/client-iot-wireless/package.json index 6c08ce763e86..e8fa4004812d 100644 --- a/clients/client-iot-wireless/package.json +++ b/clients/client-iot-wireless/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2", "uuid": "^9.0.1" diff --git a/clients/client-iot-wireless/src/protocols/Aws_restJson1.ts b/clients/client-iot-wireless/src/protocols/Aws_restJson1.ts index 50c525710845..5ef82863a607 100644 --- a/clients/client-iot-wireless/src/protocols/Aws_restJson1.ts +++ b/clients/client-iot-wireless/src/protocols/Aws_restJson1.ts @@ -2452,10 +2452,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags"); const query: any = map({ [_rA]: [, __expectNonNull(input[_RA]!, `ResourceArn`)], - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -6177,13 +6174,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _DN = "DestinationName"; const _DPI = "DeviceProfileId"; const _DPT = "DeviceProfileType"; diff --git a/clients/client-iot/package.json b/clients/client-iot/package.json index ae367112d2ce..44a5dee8dc5b 100644 --- a/clients/client-iot/package.json +++ b/clients/client-iot/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-iot/src/protocols/Aws_restJson1.ts b/clients/client-iot/src/protocols/Aws_restJson1.ts index 294784bbad48..e73effc8938c 100644 --- a/clients/client-iot/src/protocols/Aws_restJson1.ts +++ b/clients/client-iot/src/protocols/Aws_restJson1.ts @@ -14,6 +14,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, @@ -14952,13 +14953,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aAR = "allowAutoRegistration"; const _aN = "attributeName"; const _aO = "ascendingOrder"; diff --git a/clients/client-iotanalytics/package.json b/clients/client-iotanalytics/package.json index 705e96dee5c4..de66d4054b66 100644 --- a/clients/client-iotanalytics/package.json +++ b/clients/client-iotanalytics/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-iotanalytics/src/protocols/Aws_restJson1.ts b/clients/client-iotanalytics/src/protocols/Aws_restJson1.ts index 1cc398a22383..a6fdf11282e8 100644 --- a/clients/client-iotanalytics/src/protocols/Aws_restJson1.ts +++ b/clients/client-iotanalytics/src/protocols/Aws_restJson1.ts @@ -766,10 +766,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags"); const query: any = map({ [_rA]: [, __expectNonNull(input[_rA]!, `resourceArn`)], - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2427,13 +2424,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _eT = "endTime"; const _iS = "includeStatistics"; const _mM = "maxMessages"; diff --git a/clients/client-iotdeviceadvisor/package.json b/clients/client-iotdeviceadvisor/package.json index f77455e1ad6d..2f88fa587bf4 100644 --- a/clients/client-iotdeviceadvisor/package.json +++ b/clients/client-iotdeviceadvisor/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-iotdeviceadvisor/src/protocols/Aws_restJson1.ts b/clients/client-iotdeviceadvisor/src/protocols/Aws_restJson1.ts index 5ca92accdc5b..0ba2d9f9fbc8 100644 --- a/clients/client-iotdeviceadvisor/src/protocols/Aws_restJson1.ts +++ b/clients/client-iotdeviceadvisor/src/protocols/Aws_restJson1.ts @@ -316,10 +316,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -923,13 +920,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aM = "authenticationMethod"; const _cA = "certificateArn"; const _dRA = "deviceRoleArn"; diff --git a/clients/client-iotfleethub/package.json b/clients/client-iotfleethub/package.json index 9c7421ae7c01..3212d2839416 100644 --- a/clients/client-iotfleethub/package.json +++ b/clients/client-iotfleethub/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-iotfleethub/src/protocols/Aws_restJson1.ts b/clients/client-iotfleethub/src/protocols/Aws_restJson1.ts index 1552aca2e985..77f98d78929a 100644 --- a/clients/client-iotfleethub/src/protocols/Aws_restJson1.ts +++ b/clients/client-iotfleethub/src/protocols/Aws_restJson1.ts @@ -177,10 +177,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -550,13 +547,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cT = "clientToken"; const _nT = "nextToken"; const _tK = "tagKeys"; diff --git a/clients/client-iotfleetwise/package.json b/clients/client-iotfleetwise/package.json index 402675fb585d..20e1634fee94 100644 --- a/clients/client-iotfleetwise/package.json +++ b/clients/client-iotfleetwise/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-iotsecuretunneling/package.json b/clients/client-iotsecuretunneling/package.json index 8c9f07e29928..4baab5b44b95 100644 --- a/clients/client-iotsecuretunneling/package.json +++ b/clients/client-iotsecuretunneling/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-iotsitewise/package.json b/clients/client-iotsitewise/package.json index 0980e57edf01..8300ecd6d0ac 100644 --- a/clients/client-iotsitewise/package.json +++ b/clients/client-iotsitewise/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-iotsitewise/src/protocols/Aws_restJson1.ts b/clients/client-iotsitewise/src/protocols/Aws_restJson1.ts index 096dc3bde140..7381e80a71e0 100644 --- a/clients/client-iotsitewise/src/protocols/Aws_restJson1.ts +++ b/clients/client-iotsitewise/src/protocols/Aws_restJson1.ts @@ -17,6 +17,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, @@ -1731,12 +1732,9 @@ export const se_GetAssetPropertyAggregatesCommand = async ( [_aI]: [, input[_aI]!], [_pI]: [, input[_pI]!], [_pA]: [, input[_pA]!], - [_aT]: [ - __expectNonNull(input.aggregateTypes, `aggregateTypes`) != null, - () => (input[_aT]! || []).map((_entry) => _entry as any), - ], + [_aT]: [__expectNonNull(input.aggregateTypes, `aggregateTypes`) != null, () => input[_aT]! || []], [_r]: [, __expectNonNull(input[_r]!, `resolution`)], - [_q]: [() => input.qualities !== void 0, () => (input[_q]! || []).map((_entry) => _entry as any)], + [_q]: [() => input.qualities !== void 0, () => input[_q]! || []], [_sD]: [__expectNonNull(input.startDate, `startDate`) != null, () => __serializeDateTime(input[_sD]!).toString()], [_eD]: [__expectNonNull(input.endDate, `endDate`) != null, () => __serializeDateTime(input[_eD]!).toString()], [_tO]: [, input[_tO]!], @@ -1800,7 +1798,7 @@ export const se_GetAssetPropertyValueHistoryCommand = async ( [_pA]: [, input[_pA]!], [_sD]: [() => input.startDate !== void 0, () => __serializeDateTime(input[_sD]!).toString()], [_eD]: [() => input.endDate !== void 0, () => __serializeDateTime(input[_eD]!).toString()], - [_q]: [() => input.qualities !== void 0, () => (input[_q]! || []).map((_entry) => _entry as any)], + [_q]: [() => input.qualities !== void 0, () => input[_q]! || []], [_tO]: [, input[_tO]!], [_nT]: [, input[_nT]!], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], @@ -1987,7 +1985,7 @@ export const se_ListAssetModelsCommand = async ( const headers: any = {}; b.bp("/asset-models"); const query: any = map({ - [_aMT]: [() => input.assetModelTypes !== void 0, () => (input[_aMT]! || []).map((_entry) => _entry as any)], + [_aMT]: [() => input.assetModelTypes !== void 0, () => input[_aMT]! || []], [_nT]: [, input[_nT]!], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], [_aMV]: [, input[_aMV]!], @@ -2513,10 +2511,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags"); const query: any = map({ [_rA]: [, __expectNonNull(input[_rA]!, `resourceArn`)], - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; let { hostname: resolvedHostname } = await context.endpoint(); @@ -6252,13 +6247,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _a = "alias"; const _aI = "assetId"; const _aMI = "assetModelId"; diff --git a/clients/client-iotthingsgraph/package.json b/clients/client-iotthingsgraph/package.json index 1427e2e0bfba..d570683eda91 100644 --- a/clients/client-iotthingsgraph/package.json +++ b/clients/client-iotthingsgraph/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-iottwinmaker/package.json b/clients/client-iottwinmaker/package.json index 6974ce5632a9..61e5ef1a6dd8 100644 --- a/clients/client-iottwinmaker/package.json +++ b/clients/client-iottwinmaker/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-iottwinmaker/src/protocols/Aws_restJson1.ts b/clients/client-iottwinmaker/src/protocols/Aws_restJson1.ts index f47722ccf5a3..e0f9deb93c87 100644 --- a/clients/client-iottwinmaker/src/protocols/Aws_restJson1.ts +++ b/clients/client-iottwinmaker/src/protocols/Aws_restJson1.ts @@ -1233,10 +1233,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags"); const query: any = map({ [_rARN]: [, __expectNonNull(input[_rARN]!, `resourceARN`)], - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; let { hostname: resolvedHostname } = await context.endpoint(); @@ -3712,13 +3709,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _iR = "isRecursive"; const _rARN = "resourceARN"; const _tK = "tagKeys"; diff --git a/clients/client-ivs-realtime/package.json b/clients/client-ivs-realtime/package.json index 2747e8e33abf..5e76205340ea 100644 --- a/clients/client-ivs-realtime/package.json +++ b/clients/client-ivs-realtime/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-ivs-realtime/src/protocols/Aws_restJson1.ts b/clients/client-ivs-realtime/src/protocols/Aws_restJson1.ts index b2921a900bde..746d7fd9cf7b 100644 --- a/clients/client-ivs-realtime/src/protocols/Aws_restJson1.ts +++ b/clients/client-ivs-realtime/src/protocols/Aws_restJson1.ts @@ -934,10 +934,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2271,11 +2268,4 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _tK = "tagKeys"; diff --git a/clients/client-ivs/package.json b/clients/client-ivs/package.json index a06983538733..d08be6612c95 100644 --- a/clients/client-ivs/package.json +++ b/clients/client-ivs/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-ivs/src/protocols/Aws_restJson1.ts b/clients/client-ivs/src/protocols/Aws_restJson1.ts index 92a86be240d2..c716ba80a0dd 100644 --- a/clients/client-ivs/src/protocols/Aws_restJson1.ts +++ b/clients/client-ivs/src/protocols/Aws_restJson1.ts @@ -879,10 +879,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2097,11 +2094,4 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _tK = "tagKeys"; diff --git a/clients/client-ivschat/package.json b/clients/client-ivschat/package.json index a74c7e12c921..1e176d7e17fc 100644 --- a/clients/client-ivschat/package.json +++ b/clients/client-ivschat/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-ivschat/src/protocols/Aws_restJson1.ts b/clients/client-ivschat/src/protocols/Aws_restJson1.ts index b2b0cdedc9be..6c6c2ccc52a7 100644 --- a/clients/client-ivschat/src/protocols/Aws_restJson1.ts +++ b/clients/client-ivschat/src/protocols/Aws_restJson1.ts @@ -420,10 +420,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1181,11 +1178,4 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _tK = "tagKeys"; diff --git a/clients/client-kafka/package.json b/clients/client-kafka/package.json index 15b6929bf278..0ac67c0ac092 100644 --- a/clients/client-kafka/package.json +++ b/clients/client-kafka/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-kafka/src/protocols/Aws_restJson1.ts b/clients/client-kafka/src/protocols/Aws_restJson1.ts index 57175df6c259..e1cb8b2eb78a 100644 --- a/clients/client-kafka/src/protocols/Aws_restJson1.ts +++ b/clients/client-kafka/src/protocols/Aws_restJson1.ts @@ -1059,10 +1059,7 @@ export const se_UntagResourceCommand = async ( b.bp("/v1/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -4446,13 +4443,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CA = "ClusterArn"; const _CNF = "ClusterNameFilter"; const _CTF = "ClusterTypeFilter"; diff --git a/clients/client-kafkaconnect/package.json b/clients/client-kafkaconnect/package.json index 76ef4f7a2286..4298a374e572 100644 --- a/clients/client-kafkaconnect/package.json +++ b/clients/client-kafkaconnect/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-kafkaconnect/src/protocols/Aws_restJson1.ts b/clients/client-kafkaconnect/src/protocols/Aws_restJson1.ts index 848340b42a6f..26a79e2e6b44 100644 --- a/clients/client-kafkaconnect/src/protocols/Aws_restJson1.ts +++ b/clients/client-kafkaconnect/src/protocols/Aws_restJson1.ts @@ -395,10 +395,7 @@ export const se_UntagResourceCommand = async ( b.bp("/v1/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1247,13 +1244,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cNP = "connectorNamePrefix"; const _cV = "currentVersion"; const _mR = "maxResults"; diff --git a/clients/client-kendra-ranking/package.json b/clients/client-kendra-ranking/package.json index 44bcb82789db..67e1851e7d94 100644 --- a/clients/client-kendra-ranking/package.json +++ b/clients/client-kendra-ranking/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-kendra/package.json b/clients/client-kendra/package.json index c26c6a1fdf78..c2321b6c742d 100644 --- a/clients/client-kendra/package.json +++ b/clients/client-kendra/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-keyspaces/package.json b/clients/client-keyspaces/package.json index a56a4089c35e..c0e16885853c 100644 --- a/clients/client-keyspaces/package.json +++ b/clients/client-keyspaces/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-kinesis-analytics-v2/package.json b/clients/client-kinesis-analytics-v2/package.json index dd5159393fd6..4fee3e3c9e0a 100644 --- a/clients/client-kinesis-analytics-v2/package.json +++ b/clients/client-kinesis-analytics-v2/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-kinesis-analytics/package.json b/clients/client-kinesis-analytics/package.json index 8630985b9740..78645cf982ce 100644 --- a/clients/client-kinesis-analytics/package.json +++ b/clients/client-kinesis-analytics/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-kinesis-video-archived-media/package.json b/clients/client-kinesis-video-archived-media/package.json index 4e694b1234e5..2acb462c9626 100644 --- a/clients/client-kinesis-video-archived-media/package.json +++ b/clients/client-kinesis-video-archived-media/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-kinesis-video-archived-media/src/protocols/Aws_restJson1.ts b/clients/client-kinesis-video-archived-media/src/protocols/Aws_restJson1.ts index ef378eb53856..8b90f7384095 100644 --- a/clients/client-kinesis-video-archived-media/src/protocols/Aws_restJson1.ts +++ b/clients/client-kinesis-video-archived-media/src/protocols/Aws_restJson1.ts @@ -726,12 +726,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CT = "ContentType"; const _ct = "content-type"; diff --git a/clients/client-kinesis-video-media/package.json b/clients/client-kinesis-video-media/package.json index 3c2a4a484bee..60a9a619c9e4 100644 --- a/clients/client-kinesis-video-media/package.json +++ b/clients/client-kinesis-video-media/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-kinesis-video-media/src/protocols/Aws_restJson1.ts b/clients/client-kinesis-video-media/src/protocols/Aws_restJson1.ts index 3e12d6c86c16..7d253d546877 100644 --- a/clients/client-kinesis-video-media/src/protocols/Aws_restJson1.ts +++ b/clients/client-kinesis-video-media/src/protocols/Aws_restJson1.ts @@ -257,12 +257,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CT = "ContentType"; const _ct = "content-type"; diff --git a/clients/client-kinesis-video-signaling/package.json b/clients/client-kinesis-video-signaling/package.json index 62ec625858be..0beb9bf92121 100644 --- a/clients/client-kinesis-video-signaling/package.json +++ b/clients/client-kinesis-video-signaling/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-kinesis-video-signaling/src/protocols/Aws_restJson1.ts b/clients/client-kinesis-video-signaling/src/protocols/Aws_restJson1.ts index 41df64ebca89..763dab763924 100644 --- a/clients/client-kinesis-video-signaling/src/protocols/Aws_restJson1.ts +++ b/clients/client-kinesis-video-signaling/src/protocols/Aws_restJson1.ts @@ -301,10 +301,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-kinesis-video-webrtc-storage/package.json b/clients/client-kinesis-video-webrtc-storage/package.json index 18f064440696..994c4332cbfe 100644 --- a/clients/client-kinesis-video-webrtc-storage/package.json +++ b/clients/client-kinesis-video-webrtc-storage/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-kinesis-video-webrtc-storage/src/protocols/Aws_restJson1.ts b/clients/client-kinesis-video-webrtc-storage/src/protocols/Aws_restJson1.ts index 8238adf5504a..98f0638b8346 100644 --- a/clients/client-kinesis-video-webrtc-storage/src/protocols/Aws_restJson1.ts +++ b/clients/client-kinesis-video-webrtc-storage/src/protocols/Aws_restJson1.ts @@ -233,10 +233,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-kinesis-video/package.json b/clients/client-kinesis-video/package.json index 8464e06ddee4..1a27ba177588 100644 --- a/clients/client-kinesis-video/package.json +++ b/clients/client-kinesis-video/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-kinesis-video/src/protocols/Aws_restJson1.ts b/clients/client-kinesis-video/src/protocols/Aws_restJson1.ts index 31a72f0fe7b9..801543dd7bf8 100644 --- a/clients/client-kinesis-video/src/protocols/Aws_restJson1.ts +++ b/clients/client-kinesis-video/src/protocols/Aws_restJson1.ts @@ -2049,10 +2049,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-kinesis/package.json b/clients/client-kinesis/package.json index 66bc0f68fe7e..b099a4964731 100644 --- a/clients/client-kinesis/package.json +++ b/clients/client-kinesis/package.json @@ -35,29 +35,29 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", + "@smithy/core": "^2.4.6", "@smithy/eventstream-serde-browser": "^3.0.9", "@smithy/eventstream-serde-config-resolver": "^3.0.6", "@smithy/eventstream-serde-node": "^3.0.8", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-kms/package.json b/clients/client-kms/package.json index a1b828f1ea2f..c46cfac76954 100644 --- a/clients/client-kms/package.json +++ b/clients/client-kms/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-lakeformation/package.json b/clients/client-lakeformation/package.json index 4a9645dccb5a..5b58b415b3be 100644 --- a/clients/client-lakeformation/package.json +++ b/clients/client-lakeformation/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-lakeformation/src/protocols/Aws_restJson1.ts b/clients/client-lakeformation/src/protocols/Aws_restJson1.ts index 693aa98cfce3..571b3bd4548b 100644 --- a/clients/client-lakeformation/src/protocols/Aws_restJson1.ts +++ b/clients/client-lakeformation/src/protocols/Aws_restJson1.ts @@ -3478,10 +3478,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-lambda/package.json b/clients/client-lambda/package.json index b1138a2e1f71..898305e73ceb 100644 --- a/clients/client-lambda/package.json +++ b/clients/client-lambda/package.json @@ -34,33 +34,33 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", + "@smithy/core": "^2.4.6", "@smithy/eventstream-serde-browser": "^3.0.9", "@smithy/eventstream-serde-config-resolver": "^3.0.6", "@smithy/eventstream-serde-node": "^3.0.8", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "@smithy/util-waiter": "^3.1.5", "tslib": "^2.6.2" diff --git a/clients/client-lambda/src/protocols/Aws_restJson1.ts b/clients/client-lambda/src/protocols/Aws_restJson1.ts index 2667889460cc..7d469819afd5 100644 --- a/clients/client-lambda/src/protocols/Aws_restJson1.ts +++ b/clients/client-lambda/src/protocols/Aws_restJson1.ts @@ -14,6 +14,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, @@ -1720,10 +1721,7 @@ export const se_UntagResourceCommand = async ( b.bp("/2017-03-31/tags/{Resource}"); b.p("Resource", () => input.Resource!, "{Resource}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -5227,13 +5225,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _A = "Arn"; const _CA = "CompatibleArchitecture"; const _CC = "ClientContext"; diff --git a/clients/client-launch-wizard/package.json b/clients/client-launch-wizard/package.json index ae2f5914cf2f..147273bf392f 100644 --- a/clients/client-launch-wizard/package.json +++ b/clients/client-launch-wizard/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-launch-wizard/src/protocols/Aws_restJson1.ts b/clients/client-launch-wizard/src/protocols/Aws_restJson1.ts index 2b0e0ec76a15..1e1c551b990e 100644 --- a/clients/client-launch-wizard/src/protocols/Aws_restJson1.ts +++ b/clients/client-launch-wizard/src/protocols/Aws_restJson1.ts @@ -321,10 +321,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -808,11 +805,4 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _tK = "tagKeys"; diff --git a/clients/client-lex-model-building-service/package.json b/clients/client-lex-model-building-service/package.json index 3004ccf05df9..5d54d68d947a 100644 --- a/clients/client-lex-model-building-service/package.json +++ b/clients/client-lex-model-building-service/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-lex-model-building-service/src/protocols/Aws_restJson1.ts b/clients/client-lex-model-building-service/src/protocols/Aws_restJson1.ts index cd4f7d8e58ad..28531288575c 100644 --- a/clients/client-lex-model-building-service/src/protocols/Aws_restJson1.ts +++ b/clients/client-lex-model-building-service/src/protocols/Aws_restJson1.ts @@ -751,10 +751,7 @@ export const se_GetUtterancesViewCommand = async ( b.p("botName", () => input.botName!, "{botName}", false); const query: any = map({ [_vi]: [, "aggregation"], - [_bv]: [ - __expectNonNull(input.botVersions, `botVersions`) != null, - () => (input[_bV]! || []).map((_entry) => _entry as any), - ], + [_bv]: [__expectNonNull(input.botVersions, `botVersions`) != null, () => input[_bV]! || []], [_st]: [, __expectNonNull(input[_sT]!, `statusType`)], }); let body: any; @@ -992,10 +989,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2619,13 +2613,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _bV = "botVersions"; const _bv = "bot_versions"; const _eT = "exportType"; diff --git a/clients/client-lex-models-v2/package.json b/clients/client-lex-models-v2/package.json index 2774dc99edb0..6441c2ee5c3d 100644 --- a/clients/client-lex-models-v2/package.json +++ b/clients/client-lex-models-v2/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-lex-models-v2/src/protocols/Aws_restJson1.ts b/clients/client-lex-models-v2/src/protocols/Aws_restJson1.ts index e1fb757f7b92..58a0e33e838b 100644 --- a/clients/client-lex-models-v2/src/protocols/Aws_restJson1.ts +++ b/clients/client-lex-models-v2/src/protocols/Aws_restJson1.ts @@ -2571,10 +2571,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceARN}"); b.p("resourceARN", () => input.resourceARN!, "{resourceARN}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -8239,13 +8236,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _eRI = "expectedRevisionId"; const _lI = "localeId"; const _rAS = "retryAfterSeconds"; diff --git a/clients/client-lex-runtime-service/package.json b/clients/client-lex-runtime-service/package.json index cdbb6aa707f5..92b06d1c0b64 100644 --- a/clients/client-lex-runtime-service/package.json +++ b/clients/client-lex-runtime-service/package.json @@ -36,30 +36,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-lex-runtime-service/src/protocols/Aws_restJson1.ts b/clients/client-lex-runtime-service/src/protocols/Aws_restJson1.ts index 96eace9d38d1..52f23d9993e6 100644 --- a/clients/client-lex-runtime-service/src/protocols/Aws_restJson1.ts +++ b/clients/client-lex-runtime-service/src/protocols/Aws_restJson1.ts @@ -10,6 +10,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, LazyJsonString as __LazyJsonString, limitedParseDouble as __limitedParseDouble, map, @@ -708,13 +709,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _a = "accept"; const _aC = "activeContexts"; const _aI = "alternativeIntents"; diff --git a/clients/client-lex-runtime-v2/package.json b/clients/client-lex-runtime-v2/package.json index 00fd78f8b97b..b5f73113a816 100644 --- a/clients/client-lex-runtime-v2/package.json +++ b/clients/client-lex-runtime-v2/package.json @@ -36,33 +36,33 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", + "@smithy/core": "^2.4.6", "@smithy/eventstream-serde-browser": "^3.0.9", "@smithy/eventstream-serde-config-resolver": "^3.0.6", "@smithy/eventstream-serde-node": "^3.0.8", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-lex-runtime-v2/src/protocols/Aws_restJson1.ts b/clients/client-lex-runtime-v2/src/protocols/Aws_restJson1.ts index cc122e53322f..4be6565b7d7b 100644 --- a/clients/client-lex-runtime-v2/src/protocols/Aws_restJson1.ts +++ b/clients/client-lex-runtime-v2/src/protocols/Aws_restJson1.ts @@ -9,6 +9,7 @@ import { expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, + isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, resolvedPath as __resolvedPath, @@ -1301,13 +1302,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cM = "conversationMode"; const _cT = "contentType"; const _ct = "content-type"; diff --git a/clients/client-license-manager-linux-subscriptions/package.json b/clients/client-license-manager-linux-subscriptions/package.json index 3d1fd835b853..fc400471f6dd 100644 --- a/clients/client-license-manager-linux-subscriptions/package.json +++ b/clients/client-license-manager-linux-subscriptions/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-license-manager-linux-subscriptions/src/protocols/Aws_restJson1.ts b/clients/client-license-manager-linux-subscriptions/src/protocols/Aws_restJson1.ts index 82953e543a7e..9ad4d43587c0 100644 --- a/clients/client-license-manager-linux-subscriptions/src/protocols/Aws_restJson1.ts +++ b/clients/client-license-manager-linux-subscriptions/src/protocols/Aws_restJson1.ts @@ -273,10 +273,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -697,11 +694,4 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _tK = "tagKeys"; diff --git a/clients/client-license-manager-user-subscriptions/package.json b/clients/client-license-manager-user-subscriptions/package.json index f67a0018055e..3498e5dee367 100644 --- a/clients/client-license-manager-user-subscriptions/package.json +++ b/clients/client-license-manager-user-subscriptions/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-license-manager-user-subscriptions/src/protocols/Aws_restJson1.ts b/clients/client-license-manager-user-subscriptions/src/protocols/Aws_restJson1.ts index 962d9e0408d5..e267768ccf48 100644 --- a/clients/client-license-manager-user-subscriptions/src/protocols/Aws_restJson1.ts +++ b/clients/client-license-manager-user-subscriptions/src/protocols/Aws_restJson1.ts @@ -799,10 +799,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-license-manager/package.json b/clients/client-license-manager/package.json index a3c0c2f6b9b7..8840b41ba641 100644 --- a/clients/client-license-manager/package.json +++ b/clients/client-license-manager/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-lightsail/package.json b/clients/client-lightsail/package.json index 74ec10070d37..c69f3dcb8b4b 100644 --- a/clients/client-lightsail/package.json +++ b/clients/client-lightsail/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-location/package.json b/clients/client-location/package.json index 91a359620088..0636966e7159 100644 --- a/clients/client-location/package.json +++ b/clients/client-location/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-location/src/protocols/Aws_restJson1.ts b/clients/client-location/src/protocols/Aws_restJson1.ts index bfc8c16e790c..855672781b00 100644 --- a/clients/client-location/src/protocols/Aws_restJson1.ts +++ b/clients/client-location/src/protocols/Aws_restJson1.ts @@ -1829,10 +1829,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; let { hostname: resolvedHostname } = await context.endpoint(); @@ -4696,13 +4693,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CC = "CacheControl"; const _CT = "ContentType"; const _FD = "ForceDelete"; diff --git a/clients/client-lookoutequipment/package.json b/clients/client-lookoutequipment/package.json index 8388fc55bb19..dc2893d0deaf 100644 --- a/clients/client-lookoutequipment/package.json +++ b/clients/client-lookoutequipment/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-lookoutmetrics/package.json b/clients/client-lookoutmetrics/package.json index 81fad5ea8d71..5c4e21ada4ef 100644 --- a/clients/client-lookoutmetrics/package.json +++ b/clients/client-lookoutmetrics/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-lookoutmetrics/src/protocols/Aws_restJson1.ts b/clients/client-lookoutmetrics/src/protocols/Aws_restJson1.ts index d5ebd3f01c50..3573edf97199 100644 --- a/clients/client-lookoutmetrics/src/protocols/Aws_restJson1.ts +++ b/clients/client-lookoutmetrics/src/protocols/Aws_restJson1.ts @@ -779,10 +779,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2253,12 +2250,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _TK = "TagKeys"; const _tK = "tagKeys"; diff --git a/clients/client-lookoutvision/package.json b/clients/client-lookoutvision/package.json index 72e67ea70a67..d841c27f4a86 100644 --- a/clients/client-lookoutvision/package.json +++ b/clients/client-lookoutvision/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-lookoutvision/src/protocols/Aws_restJson1.ts b/clients/client-lookoutvision/src/protocols/Aws_restJson1.ts index f940c8a6ce08..0c9ae2e89fbe 100644 --- a/clients/client-lookoutvision/src/protocols/Aws_restJson1.ts +++ b/clients/client-lookoutvision/src/protocols/Aws_restJson1.ts @@ -13,6 +13,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, limitedParseFloat32 as __limitedParseFloat32, map, parseEpochTimestamp as __parseEpochTimestamp, @@ -526,10 +527,7 @@ export const se_UntagResourceCommand = async ( b.bp("/2020-11-20/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1487,13 +1485,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _AC = "AnomalyClass"; const _ACD = "AfterCreationDate"; const _BCD = "BeforeCreationDate"; diff --git a/clients/client-m2/package.json b/clients/client-m2/package.json index 7545d0a53700..8625cdbc3ecc 100644 --- a/clients/client-m2/package.json +++ b/clients/client-m2/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-m2/src/protocols/Aws_restJson1.ts b/clients/client-m2/src/protocols/Aws_restJson1.ts index 83a2db28d235..eb3d3fb68583 100644 --- a/clients/client-m2/src/protocols/Aws_restJson1.ts +++ b/clients/client-m2/src/protocols/Aws_restJson1.ts @@ -476,7 +476,7 @@ export const se_ListApplicationsCommand = async ( const query: any = map({ [_nT]: [, input[_nT]!], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], - [_n]: [() => input.names !== void 0, () => (input[_n]! || []).map((_entry) => _entry as any)], + [_n]: [() => input.names !== void 0, () => input[_n]! || []], [_eI]: [, input[_eI]!], }); let body: any; @@ -539,7 +539,7 @@ export const se_ListBatchJobExecutionsCommand = async ( const query: any = map({ [_nT]: [, input[_nT]!], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], - [_eIx]: [() => input.executionIds !== void 0, () => (input[_eIx]! || []).map((_entry) => _entry as any)], + [_eIx]: [() => input.executionIds !== void 0, () => input[_eIx]! || []], [_jN]: [, input[_jN]!], [_s]: [, input[_s]!], [_sA]: [() => input.startedAfter !== void 0, () => __serializeDateTime(input[_sA]!).toString()], @@ -662,7 +662,7 @@ export const se_ListEnvironmentsCommand = async ( const query: any = map({ [_nT]: [, input[_nT]!], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], - [_n]: [() => input.names !== void 0, () => (input[_n]! || []).map((_entry) => _entry as any)], + [_n]: [() => input.names !== void 0, () => input[_n]! || []], [_eT]: [, input[_eT]!], }); let body: any; @@ -784,10 +784,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2266,13 +2263,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _eI = "environmentId"; const _eIx = "executionIds"; const _eT = "engineType"; diff --git a/clients/client-machine-learning/package.json b/clients/client-machine-learning/package.json index 49a9d7b40926..61f57046f48b 100644 --- a/clients/client-machine-learning/package.json +++ b/clients/client-machine-learning/package.json @@ -35,26 +35,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-macie2/package.json b/clients/client-macie2/package.json index 740722d8ef59..0f1db1272041 100644 --- a/clients/client-macie2/package.json +++ b/clients/client-macie2/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-macie2/src/protocols/Aws_restJson1.ts b/clients/client-macie2/src/protocols/Aws_restJson1.ts index 2934489f8563..517d5a128d74 100644 --- a/clients/client-macie2/src/protocols/Aws_restJson1.ts +++ b/clients/client-macie2/src/protocols/Aws_restJson1.ts @@ -1376,7 +1376,7 @@ export const se_ListAutomatedDiscoveryAccountsCommand = async ( const headers: any = {}; b.bp("/automated-discovery/accounts"); const query: any = map({ - [_aI]: [() => input.accountIds !== void 0, () => (input[_aI]! || []).map((_entry) => _entry as any)], + [_aI]: [() => input.accountIds !== void 0, () => input[_aI]! || []], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], [_nT]: [, input[_nT]!], }); @@ -1781,10 +1781,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -6677,13 +6674,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aAI = "adminAccountId"; const _aI = "accountIds"; const _iJC = "ignoreJobChecks"; diff --git a/clients/client-mailmanager/package.json b/clients/client-mailmanager/package.json index 1bd2ffca0221..827ff48c7d6a 100644 --- a/clients/client-mailmanager/package.json +++ b/clients/client-mailmanager/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-managedblockchain-query/package.json b/clients/client-managedblockchain-query/package.json index 9f4fdfe3a430..52984ace0c0d 100644 --- a/clients/client-managedblockchain-query/package.json +++ b/clients/client-managedblockchain-query/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-managedblockchain-query/src/protocols/Aws_restJson1.ts b/clients/client-managedblockchain-query/src/protocols/Aws_restJson1.ts index a77890ac46a6..f4bdc0224441 100644 --- a/clients/client-managedblockchain-query/src/protocols/Aws_restJson1.ts +++ b/clients/client-managedblockchain-query/src/protocols/Aws_restJson1.ts @@ -937,12 +937,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _rAS = "retryAfterSeconds"; const _ra = "retry-after"; diff --git a/clients/client-managedblockchain/package.json b/clients/client-managedblockchain/package.json index 3b7e1045b303..46bc6780e245 100644 --- a/clients/client-managedblockchain/package.json +++ b/clients/client-managedblockchain/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-managedblockchain/src/protocols/Aws_restJson1.ts b/clients/client-managedblockchain/src/protocols/Aws_restJson1.ts index 0589df41a1d5..d83a8493d0e2 100644 --- a/clients/client-managedblockchain/src/protocols/Aws_restJson1.ts +++ b/clients/client-managedblockchain/src/protocols/Aws_restJson1.ts @@ -583,10 +583,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1813,13 +1810,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _F = "Framework"; const _IO = "IsOwned"; const _MI = "MemberId"; diff --git a/clients/client-marketplace-agreement/package.json b/clients/client-marketplace-agreement/package.json index 527062719e39..85cc417ed8b6 100644 --- a/clients/client-marketplace-agreement/package.json +++ b/clients/client-marketplace-agreement/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-marketplace-catalog/package.json b/clients/client-marketplace-catalog/package.json index 7f95b77a4644..67963d140fb0 100644 --- a/clients/client-marketplace-catalog/package.json +++ b/clients/client-marketplace-catalog/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-marketplace-catalog/src/protocols/Aws_restJson1.ts b/clients/client-marketplace-catalog/src/protocols/Aws_restJson1.ts index d834bbe05b55..6fa1d45e717e 100644 --- a/clients/client-marketplace-catalog/src/protocols/Aws_restJson1.ts +++ b/clients/client-marketplace-catalog/src/protocols/Aws_restJson1.ts @@ -1248,13 +1248,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _C = "Catalog"; const _CSI = "ChangeSetId"; const _EI = "EntityId"; diff --git a/clients/client-marketplace-commerce-analytics/package.json b/clients/client-marketplace-commerce-analytics/package.json index e12aaf5e4dc9..db2f57ffcf66 100644 --- a/clients/client-marketplace-commerce-analytics/package.json +++ b/clients/client-marketplace-commerce-analytics/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-marketplace-deployment/package.json b/clients/client-marketplace-deployment/package.json index 70285afa53c3..0ea5609f19c6 100644 --- a/clients/client-marketplace-deployment/package.json +++ b/clients/client-marketplace-deployment/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-marketplace-deployment/src/protocols/Aws_restJson1.ts b/clients/client-marketplace-deployment/src/protocols/Aws_restJson1.ts index 4e192bbbaaad..05b7bee2e82c 100644 --- a/clients/client-marketplace-deployment/src/protocols/Aws_restJson1.ts +++ b/clients/client-marketplace-deployment/src/protocols/Aws_restJson1.ts @@ -124,10 +124,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -410,11 +407,4 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _tK = "tagKeys"; diff --git a/clients/client-marketplace-entitlement-service/package.json b/clients/client-marketplace-entitlement-service/package.json index ea51224dac8d..31b2ef447073 100644 --- a/clients/client-marketplace-entitlement-service/package.json +++ b/clients/client-marketplace-entitlement-service/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-marketplace-metering/package.json b/clients/client-marketplace-metering/package.json index 687e08d110e6..f073735345f3 100644 --- a/clients/client-marketplace-metering/package.json +++ b/clients/client-marketplace-metering/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-mediaconnect/package.json b/clients/client-mediaconnect/package.json index b9122c8edd9e..d68d34389c46 100644 --- a/clients/client-mediaconnect/package.json +++ b/clients/client-mediaconnect/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-mediaconnect/src/protocols/Aws_restJson1.ts b/clients/client-mediaconnect/src/protocols/Aws_restJson1.ts index e3b23378bfe2..5d3b3ff682af 100644 --- a/clients/client-mediaconnect/src/protocols/Aws_restJson1.ts +++ b/clients/client-mediaconnect/src/protocols/Aws_restJson1.ts @@ -1022,10 +1022,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -4283,13 +4280,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _F = "Force"; const _FA = "FilterArn"; const _MR = "MaxResults"; diff --git a/clients/client-mediaconvert/package.json b/clients/client-mediaconvert/package.json index 4cebfb42fd3d..e1f0921150b6 100644 --- a/clients/client-mediaconvert/package.json +++ b/clients/client-mediaconvert/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-mediaconvert/src/protocols/Aws_restJson1.ts b/clients/client-mediaconvert/src/protocols/Aws_restJson1.ts index 6491178d9036..a2e356081e62 100644 --- a/clients/client-mediaconvert/src/protocols/Aws_restJson1.ts +++ b/clients/client-mediaconvert/src/protocols/Aws_restJson1.ts @@ -7838,13 +7838,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _C = "Category"; const _IF = "InputFile"; const _LB = "ListBy"; diff --git a/clients/client-medialive/package.json b/clients/client-medialive/package.json index 2c4a48bb16c5..3003cd8c846b 100644 --- a/clients/client-medialive/package.json +++ b/clients/client-medialive/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "@smithy/util-waiter": "^3.1.5", "tslib": "^2.6.2", diff --git a/clients/client-medialive/src/protocols/Aws_restJson1.ts b/clients/client-medialive/src/protocols/Aws_restJson1.ts index 0ea3058edd98..e15d2e912ca7 100644 --- a/clients/client-medialive/src/protocols/Aws_restJson1.ts +++ b/clients/client-medialive/src/protocols/Aws_restJson1.ts @@ -13,6 +13,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, @@ -1516,10 +1517,7 @@ export const se_DeleteTagsCommand = async ( b.bp("/prod/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -13921,13 +13919,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _A = "Accept"; const _C = "Codec"; const _CC = "ChannelClass"; diff --git a/clients/client-mediapackage-vod/package.json b/clients/client-mediapackage-vod/package.json index 5d41900c2559..c7870a86fc8f 100644 --- a/clients/client-mediapackage-vod/package.json +++ b/clients/client-mediapackage-vod/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-mediapackage-vod/src/protocols/Aws_restJson1.ts b/clients/client-mediapackage-vod/src/protocols/Aws_restJson1.ts index 20f6d65ba2d0..e735027badd6 100644 --- a/clients/client-mediapackage-vod/src/protocols/Aws_restJson1.ts +++ b/clients/client-mediapackage-vod/src/protocols/Aws_restJson1.ts @@ -410,10 +410,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1567,13 +1564,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _MR = "MaxResults"; const _NT = "NextToken"; const _PGI = "PackagingGroupId"; diff --git a/clients/client-mediapackage/package.json b/clients/client-mediapackage/package.json index 860a6bcb838e..980da6a0f973 100644 --- a/clients/client-mediapackage/package.json +++ b/clients/client-mediapackage/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-mediapackage/src/protocols/Aws_restJson1.ts b/clients/client-mediapackage/src/protocols/Aws_restJson1.ts index 3ab3bc664dbf..35d31407b752 100644 --- a/clients/client-mediapackage/src/protocols/Aws_restJson1.ts +++ b/clients/client-mediapackage/src/protocols/Aws_restJson1.ts @@ -434,10 +434,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1753,13 +1750,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CI = "ChannelId"; const _ICI = "IncludeChannelId"; const _IS = "IncludeStatus"; diff --git a/clients/client-mediapackagev2/package.json b/clients/client-mediapackagev2/package.json index 892563d8545b..c020bd0a894e 100644 --- a/clients/client-mediapackagev2/package.json +++ b/clients/client-mediapackagev2/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-mediapackagev2/src/protocols/Aws_restJson1.ts b/clients/client-mediapackagev2/src/protocols/Aws_restJson1.ts index 5a38088603ea..dd0688dc280a 100644 --- a/clients/client-mediapackagev2/src/protocols/Aws_restJson1.ts +++ b/clients/client-mediapackagev2/src/protocols/Aws_restJson1.ts @@ -12,6 +12,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, @@ -529,10 +530,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1740,13 +1738,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CT = "ClientToken"; const _ET = "ETag"; const _MR = "MaxResults"; diff --git a/clients/client-mediastore-data/package.json b/clients/client-mediastore-data/package.json index eab8ab9c6468..029026e209e3 100644 --- a/clients/client-mediastore-data/package.json +++ b/clients/client-mediastore-data/package.json @@ -36,30 +36,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-mediastore-data/src/protocols/Aws_restJson1.ts b/clients/client-mediastore-data/src/protocols/Aws_restJson1.ts index c99bad268fbb..3fb95583c9e7 100644 --- a/clients/client-mediastore-data/src/protocols/Aws_restJson1.ts +++ b/clients/client-mediastore-data/src/protocols/Aws_restJson1.ts @@ -12,6 +12,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc7231DateTime as __parseRfc7231DateTime, @@ -396,13 +397,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CC = "CacheControl"; const _CL = "ContentLength"; const _CR = "ContentRange"; diff --git a/clients/client-mediastore/package.json b/clients/client-mediastore/package.json index 98da7206e9e8..2eba51393cb5 100644 --- a/clients/client-mediastore/package.json +++ b/clients/client-mediastore/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-mediatailor/package.json b/clients/client-mediatailor/package.json index 1868318d99b8..4094b6a62a9e 100644 --- a/clients/client-mediatailor/package.json +++ b/clients/client-mediatailor/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-mediatailor/src/protocols/Aws_restJson1.ts b/clients/client-mediatailor/src/protocols/Aws_restJson1.ts index 2a093134acdb..8a49ea45a82f 100644 --- a/clients/client-mediatailor/src/protocols/Aws_restJson1.ts +++ b/clients/client-mediatailor/src/protocols/Aws_restJson1.ts @@ -946,10 +946,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2683,13 +2680,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _A = "Audience"; const _DM = "DurationMinutes"; const _MR = "MaxResults"; diff --git a/clients/client-medical-imaging/package.json b/clients/client-medical-imaging/package.json index 436548b2c54a..7e6bbb1b4643 100644 --- a/clients/client-medical-imaging/package.json +++ b/clients/client-medical-imaging/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2", "uuid": "^9.0.1" diff --git a/clients/client-medical-imaging/src/protocols/Aws_restJson1.ts b/clients/client-medical-imaging/src/protocols/Aws_restJson1.ts index 0ec552f6036a..24dca7d5c1cd 100644 --- a/clients/client-medical-imaging/src/protocols/Aws_restJson1.ts +++ b/clients/client-medical-imaging/src/protocols/Aws_restJson1.ts @@ -509,10 +509,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1421,13 +1418,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cE = "contentEncoding"; const _cT = "contentType"; const _ce = "content-encoding"; diff --git a/clients/client-memorydb/package.json b/clients/client-memorydb/package.json index 18258c637924..454d1e1f86b5 100644 --- a/clients/client-memorydb/package.json +++ b/clients/client-memorydb/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-mgn/package.json b/clients/client-mgn/package.json index 982dc60595cd..8cd601c10ea4 100644 --- a/clients/client-mgn/package.json +++ b/clients/client-mgn/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-mgn/src/protocols/Aws_restJson1.ts b/clients/client-mgn/src/protocols/Aws_restJson1.ts index 7021d3e5fbdb..9766c475eb27 100644 --- a/clients/client-mgn/src/protocols/Aws_restJson1.ts +++ b/clients/client-mgn/src/protocols/Aws_restJson1.ts @@ -1688,10 +1688,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -4310,13 +4307,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _rAS = "retryAfterSeconds"; diff --git a/clients/client-migration-hub-refactor-spaces/package.json b/clients/client-migration-hub-refactor-spaces/package.json index 75c44dc05bcd..18bdfe891360 100644 --- a/clients/client-migration-hub-refactor-spaces/package.json +++ b/clients/client-migration-hub-refactor-spaces/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-migration-hub-refactor-spaces/src/protocols/Aws_restJson1.ts b/clients/client-migration-hub-refactor-spaces/src/protocols/Aws_restJson1.ts index 7ff629ddc4a8..2ea0ae99ef9f 100644 --- a/clients/client-migration-hub-refactor-spaces/src/protocols/Aws_restJson1.ts +++ b/clients/client-migration-hub-refactor-spaces/src/protocols/Aws_restJson1.ts @@ -541,10 +541,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1632,13 +1629,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _MR = "MaxResults"; const _NT = "NextToken"; const _RAS = "RetryAfterSeconds"; diff --git a/clients/client-migration-hub/package.json b/clients/client-migration-hub/package.json index 1a01635602ca..cb16bd8a223d 100644 --- a/clients/client-migration-hub/package.json +++ b/clients/client-migration-hub/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-migrationhub-config/package.json b/clients/client-migrationhub-config/package.json index 620fee4e3243..6fe4179f720e 100644 --- a/clients/client-migrationhub-config/package.json +++ b/clients/client-migrationhub-config/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-migrationhuborchestrator/package.json b/clients/client-migrationhuborchestrator/package.json index 754cc47e5e02..32779faf6047 100644 --- a/clients/client-migrationhuborchestrator/package.json +++ b/clients/client-migrationhuborchestrator/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-migrationhuborchestrator/src/protocols/Aws_restJson1.ts b/clients/client-migrationhuborchestrator/src/protocols/Aws_restJson1.ts index 4ccc93fd954c..366200f54ceb 100644 --- a/clients/client-migrationhuborchestrator/src/protocols/Aws_restJson1.ts +++ b/clients/client-migrationhuborchestrator/src/protocols/Aws_restJson1.ts @@ -635,10 +635,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1814,13 +1811,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aACN = "adsApplicationConfigurationName"; const _mR = "maxResults"; const _n = "name"; diff --git a/clients/client-migrationhubstrategy/package.json b/clients/client-migrationhubstrategy/package.json index e18c02d6ec9e..f40777aea5db 100644 --- a/clients/client-migrationhubstrategy/package.json +++ b/clients/client-migrationhubstrategy/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-migrationhubstrategy/src/protocols/Aws_restJson1.ts b/clients/client-migrationhubstrategy/src/protocols/Aws_restJson1.ts index 8ce38b1b743a..ea7ecaea6796 100644 --- a/clients/client-migrationhubstrategy/src/protocols/Aws_restJson1.ts +++ b/clients/client-migrationhubstrategy/src/protocols/Aws_restJson1.ts @@ -1632,12 +1632,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; diff --git a/clients/client-mq/package.json b/clients/client-mq/package.json index 5785fe9d36ec..0d636b40d1d3 100644 --- a/clients/client-mq/package.json +++ b/clients/client-mq/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-mq/src/protocols/Aws_restJson1.ts b/clients/client-mq/src/protocols/Aws_restJson1.ts index e3c2038dfdef..060449815822 100644 --- a/clients/client-mq/src/protocols/Aws_restJson1.ts +++ b/clients/client-mq/src/protocols/Aws_restJson1.ts @@ -249,10 +249,7 @@ export const se_DeleteTagsCommand = async ( b.bp("/v1/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1809,13 +1806,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _ET = "EngineType"; const _HIT = "HostInstanceType"; const _MR = "MaxResults"; diff --git a/clients/client-mturk/package.json b/clients/client-mturk/package.json index 35a7a81e04ad..b4340be5d624 100644 --- a/clients/client-mturk/package.json +++ b/clients/client-mturk/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-mwaa/package.json b/clients/client-mwaa/package.json index cc2d3de989a6..57081d85f014 100644 --- a/clients/client-mwaa/package.json +++ b/clients/client-mwaa/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-mwaa/src/protocols/Aws_restJson1.ts b/clients/client-mwaa/src/protocols/Aws_restJson1.ts index 4b43d2313018..3fce20d250c8 100644 --- a/clients/client-mwaa/src/protocols/Aws_restJson1.ts +++ b/clients/client-mwaa/src/protocols/Aws_restJson1.ts @@ -338,10 +338,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; let { hostname: resolvedHostname } = await context.endpoint(); @@ -878,13 +875,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _MR = "MaxResults"; const _NT = "NextToken"; const _tK = "tagKeys"; diff --git a/clients/client-neptune-graph/package.json b/clients/client-neptune-graph/package.json index 094d3c237d65..ae2c7913fb2b 100644 --- a/clients/client-neptune-graph/package.json +++ b/clients/client-neptune-graph/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "@smithy/util-waiter": "^3.1.5", "tslib": "^2.6.2" diff --git a/clients/client-neptune-graph/src/protocols/Aws_restJson1.ts b/clients/client-neptune-graph/src/protocols/Aws_restJson1.ts index 082baa3d9959..1dae92ea7fd4 100644 --- a/clients/client-neptune-graph/src/protocols/Aws_restJson1.ts +++ b/clients/client-neptune-graph/src/protocols/Aws_restJson1.ts @@ -23,6 +23,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, @@ -730,10 +731,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1826,13 +1824,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _g = "graphidentifier"; const _gI = "graphIdentifier"; const _m = "mode"; diff --git a/clients/client-neptune/package.json b/clients/client-neptune/package.json index 54cf2dd16e33..586b052b06eb 100644 --- a/clients/client-neptune/package.json +++ b/clients/client-neptune/package.json @@ -35,26 +35,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-neptunedata/package.json b/clients/client-neptunedata/package.json index 410911df1437..a8b825a7c66e 100644 --- a/clients/client-neptunedata/package.json +++ b/clients/client-neptunedata/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-neptunedata/src/protocols/Aws_restJson1.ts b/clients/client-neptunedata/src/protocols/Aws_restJson1.ts index 786417af2542..6eac48c8d861 100644 --- a/clients/client-neptunedata/src/protocols/Aws_restJson1.ts +++ b/clients/client-neptunedata/src/protocols/Aws_restJson1.ts @@ -13,6 +13,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, @@ -3196,13 +3197,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _a = "accept"; const _ae = "accept-encoding"; const _c = "clean"; diff --git a/clients/client-network-firewall/package.json b/clients/client-network-firewall/package.json index e6fdcffed0e7..e1cec0116cba 100644 --- a/clients/client-network-firewall/package.json +++ b/clients/client-network-firewall/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-networkmanager/package.json b/clients/client-networkmanager/package.json index 771d173e3fd7..9ccd3a197681 100644 --- a/clients/client-networkmanager/package.json +++ b/clients/client-networkmanager/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-networkmanager/src/protocols/Aws_restJson1.ts b/clients/client-networkmanager/src/protocols/Aws_restJson1.ts index c9901ff742e7..b6a247acb6c8 100644 --- a/clients/client-networkmanager/src/protocols/Aws_restJson1.ts +++ b/clients/client-networkmanager/src/protocols/Aws_restJson1.ts @@ -935,7 +935,7 @@ export const se_DescribeGlobalNetworksCommand = async ( const headers: any = {}; b.bp("/global-networks"); const query: any = map({ - [_gNI]: [() => input.GlobalNetworkIds !== void 0, () => (input[_GNI]! || []).map((_entry) => _entry as any)], + [_gNI]: [() => input.GlobalNetworkIds !== void 0, () => input[_GNI]! || []], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], [_nT]: [, input[_NT]!], }); @@ -1065,7 +1065,7 @@ export const se_GetConnectionsCommand = async ( b.bp("/global-networks/{GlobalNetworkId}/connections"); b.p("GlobalNetworkId", () => input.GlobalNetworkId!, "{GlobalNetworkId}", false); const query: any = map({ - [_cI]: [() => input.ConnectionIds !== void 0, () => (input[_CI]! || []).map((_entry) => _entry as any)], + [_cI]: [() => input.ConnectionIds !== void 0, () => input[_CI]! || []], [_dI]: [, input[_DI]!], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], [_nT]: [, input[_NT]!], @@ -1103,7 +1103,7 @@ export const se_GetConnectPeerAssociationsCommand = async ( b.bp("/global-networks/{GlobalNetworkId}/connect-peer-associations"); b.p("GlobalNetworkId", () => input.GlobalNetworkId!, "{GlobalNetworkId}", false); const query: any = map({ - [_cPI]: [() => input.ConnectPeerIds !== void 0, () => (input[_CPI]! || []).map((_entry) => _entry as any)], + [_cPI]: [() => input.ConnectPeerIds !== void 0, () => input[_CPI]! || []], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], [_nT]: [, input[_NT]!], }); @@ -1202,7 +1202,7 @@ export const se_GetCustomerGatewayAssociationsCommand = async ( b.bp("/global-networks/{GlobalNetworkId}/customer-gateway-associations"); b.p("GlobalNetworkId", () => input.GlobalNetworkId!, "{GlobalNetworkId}", false); const query: any = map({ - [_cGA]: [() => input.CustomerGatewayArns !== void 0, () => (input[_CGA]! || []).map((_entry) => _entry as any)], + [_cGA]: [() => input.CustomerGatewayArns !== void 0, () => input[_CGA]! || []], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], [_nT]: [, input[_NT]!], }); @@ -1223,7 +1223,7 @@ export const se_GetDevicesCommand = async ( b.bp("/global-networks/{GlobalNetworkId}/devices"); b.p("GlobalNetworkId", () => input.GlobalNetworkId!, "{GlobalNetworkId}", false); const query: any = map({ - [_dIe]: [() => input.DeviceIds !== void 0, () => (input[_DIe]! || []).map((_entry) => _entry as any)], + [_dIe]: [() => input.DeviceIds !== void 0, () => input[_DIe]! || []], [_sI]: [, input[_SI]!], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], [_nT]: [, input[_NT]!], @@ -1267,7 +1267,7 @@ export const se_GetLinksCommand = async ( b.bp("/global-networks/{GlobalNetworkId}/links"); b.p("GlobalNetworkId", () => input.GlobalNetworkId!, "{GlobalNetworkId}", false); const query: any = map({ - [_lIi]: [() => input.LinkIds !== void 0, () => (input[_LIi]! || []).map((_entry) => _entry as any)], + [_lIi]: [() => input.LinkIds !== void 0, () => input[_LIi]! || []], [_sI]: [, input[_SI]!], [_t]: [, input[_T]!], [_p]: [, input[_P]!], @@ -1454,7 +1454,7 @@ export const se_GetSitesCommand = async ( b.bp("/global-networks/{GlobalNetworkId}/sites"); b.p("GlobalNetworkId", () => input.GlobalNetworkId!, "{GlobalNetworkId}", false); const query: any = map({ - [_sIi]: [() => input.SiteIds !== void 0, () => (input[_SIi]! || []).map((_entry) => _entry as any)], + [_sIi]: [() => input.SiteIds !== void 0, () => input[_SIi]! || []], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], [_nT]: [, input[_NT]!], }); @@ -1491,10 +1491,7 @@ export const se_GetTransitGatewayConnectPeerAssociationsCommand = async ( b.bp("/global-networks/{GlobalNetworkId}/transit-gateway-connect-peer-associations"); b.p("GlobalNetworkId", () => input.GlobalNetworkId!, "{GlobalNetworkId}", false); const query: any = map({ - [_tGCPA]: [ - () => input.TransitGatewayConnectPeerArns !== void 0, - () => (input[_TGCPA]! || []).map((_entry) => _entry as any), - ], + [_tGCPA]: [() => input.TransitGatewayConnectPeerArns !== void 0, () => input[_TGCPA]! || []], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], [_nT]: [, input[_NT]!], }); @@ -1531,7 +1528,7 @@ export const se_GetTransitGatewayRegistrationsCommand = async ( b.bp("/global-networks/{GlobalNetworkId}/transit-gateway-registrations"); b.p("GlobalNetworkId", () => input.GlobalNetworkId!, "{GlobalNetworkId}", false); const query: any = map({ - [_tGA]: [() => input.TransitGatewayArns !== void 0, () => (input[_TGA]! || []).map((_entry) => _entry as any)], + [_tGA]: [() => input.TransitGatewayArns !== void 0, () => input[_TGA]! || []], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], [_nT]: [, input[_NT]!], }); @@ -1901,10 +1898,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -4830,13 +4824,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _A = "Alias"; const _AI = "AccountId"; const _AR = "AwsRegion"; diff --git a/clients/client-networkmonitor/package.json b/clients/client-networkmonitor/package.json index 8e132ca84a24..269aaf99003d 100644 --- a/clients/client-networkmonitor/package.json +++ b/clients/client-networkmonitor/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-networkmonitor/src/protocols/Aws_restJson1.ts b/clients/client-networkmonitor/src/protocols/Aws_restJson1.ts index 0874b9a9a3bb..c001423f59a8 100644 --- a/clients/client-networkmonitor/src/protocols/Aws_restJson1.ts +++ b/clients/client-networkmonitor/src/protocols/Aws_restJson1.ts @@ -243,10 +243,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -824,13 +821,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _s = "state"; diff --git a/clients/client-nimble/package.json b/clients/client-nimble/package.json index 6ca8a205215e..8311ef1a305c 100644 --- a/clients/client-nimble/package.json +++ b/clients/client-nimble/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-nimble/src/protocols/Aws_restJson1.ts b/clients/client-nimble/src/protocols/Aws_restJson1.ts index 92869a485440..0b2c244b6d80 100644 --- a/clients/client-nimble/src/protocols/Aws_restJson1.ts +++ b/clients/client-nimble/src/protocols/Aws_restJson1.ts @@ -11,6 +11,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, @@ -598,7 +599,7 @@ export const se_GetLaunchProfileInitializationCommand = async ( const query: any = map({ [_lPPV]: [ __expectNonNull(input.launchProfileProtocolVersions, `launchProfileProtocolVersions`) != null, - () => (input[_lPPV]! || []).map((_entry) => _entry as any), + () => input[_lPPV]! || [], ], [_lP]: [, __expectNonNull(input[_lP]!, `launchPurpose`)], [_p]: [, __expectNonNull(input[_p]!, `platform`)], @@ -757,7 +758,7 @@ export const se_ListEulaAcceptancesCommand = async ( b.bp("/2020-08-01/studios/{studioId}/eula-acceptances"); b.p("studioId", () => input.studioId!, "{studioId}", false); const query: any = map({ - [_eI]: [() => input.eulaIds !== void 0, () => (input[_eI]! || []).map((_entry) => _entry as any)], + [_eI]: [() => input.eulaIds !== void 0, () => input[_eI]! || []], [_nT]: [, input[_nT]!], }); let body: any; @@ -776,7 +777,7 @@ export const se_ListEulasCommand = async ( const headers: any = {}; b.bp("/2020-08-01/eulas"); const query: any = map({ - [_eI]: [() => input.eulaIds !== void 0, () => (input[_eI]! || []).map((_entry) => _entry as any)], + [_eI]: [() => input.eulaIds !== void 0, () => input[_eI]! || []], [_nT]: [, input[_nT]!], }); let body: any; @@ -820,7 +821,7 @@ export const se_ListLaunchProfilesCommand = async ( [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], [_nT]: [, input[_nT]!], [_pI]: [, input[_pI]!], - [_s]: [() => input.states !== void 0, () => (input[_s]! || []).map((_entry) => _entry as any)], + [_s]: [() => input.states !== void 0, () => input[_s]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -903,8 +904,8 @@ export const se_ListStudioComponentsCommand = async ( const query: any = map({ [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], [_nT]: [, input[_nT]!], - [_s]: [() => input.states !== void 0, () => (input[_s]! || []).map((_entry) => _entry as any)], - [_t]: [() => input.types !== void 0, () => (input[_t]! || []).map((_entry) => _entry as any)], + [_s]: [() => input.states !== void 0, () => input[_s]! || []], + [_t]: [() => input.types !== void 0, () => input[_t]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -1119,10 +1120,7 @@ export const se_UntagResourceCommand = async ( b.bp("/2020-08-01/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2915,13 +2913,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cB = "createdBy"; const _cT = "clientToken"; const _eI = "eulaIds"; diff --git a/clients/client-oam/package.json b/clients/client-oam/package.json index fb187f8d9499..82a12089ffc4 100644 --- a/clients/client-oam/package.json +++ b/clients/client-oam/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-oam/src/protocols/Aws_restJson1.ts b/clients/client-oam/src/protocols/Aws_restJson1.ts index fcc0346c39f1..e71328ae4ebb 100644 --- a/clients/client-oam/src/protocols/Aws_restJson1.ts +++ b/clients/client-oam/src/protocols/Aws_restJson1.ts @@ -358,10 +358,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -980,13 +977,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _TK = "TagKeys"; const _aET = "amznErrorType"; const _tK = "tagKeys"; diff --git a/clients/client-omics/package.json b/clients/client-omics/package.json index f9c61cb3ef1a..dfd5b63c244e 100644 --- a/clients/client-omics/package.json +++ b/clients/client-omics/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "@smithy/util-waiter": "^3.1.5", "tslib": "^2.6.2", diff --git a/clients/client-omics/src/protocols/Aws_restJson1.ts b/clients/client-omics/src/protocols/Aws_restJson1.ts index 1472c17f4ad6..11a1ce801952 100644 --- a/clients/client-omics/src/protocols/Aws_restJson1.ts +++ b/clients/client-omics/src/protocols/Aws_restJson1.ts @@ -22,6 +22,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, @@ -1394,7 +1395,7 @@ export const se_GetRunCommand = async (input: GetRunCommandInput, context: __Ser b.bp("/run/{id}"); b.p("id", () => input.id!, "{id}", false); const query: any = map({ - [_e]: [() => input.export !== void 0, () => (input[_e]! || []).map((_entry) => _entry as any)], + [_e]: [() => input.export !== void 0, () => input[_e]! || []], }); let body: any; let { hostname: resolvedHostname } = await context.endpoint(); @@ -1567,7 +1568,7 @@ export const se_GetWorkflowCommand = async ( b.p("id", () => input.id!, "{id}", false); const query: any = map({ [_t]: [, input[_t]!], - [_e]: [() => input.export !== void 0, () => (input[_e]! || []).map((_entry) => _entry as any)], + [_e]: [() => input.export !== void 0, () => input[_e]! || []], [_wOI]: [, input[_wOI]!], }); let body: any; @@ -2566,10 +2567,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; let { hostname: resolvedHostname } = await context.endpoint(); @@ -5868,13 +5866,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _e = "export"; const _f = "force"; const _fi = "file"; diff --git a/clients/client-opensearch/package.json b/clients/client-opensearch/package.json index 2dcca5382fc9..0399a01b30f9 100644 --- a/clients/client-opensearch/package.json +++ b/clients/client-opensearch/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-opensearch/src/protocols/Aws_restJson1.ts b/clients/client-opensearch/src/protocols/Aws_restJson1.ts index 248d689f87af..b1a48fe56b85 100644 --- a/clients/client-opensearch/src/protocols/Aws_restJson1.ts +++ b/clients/client-opensearch/src/protocols/Aws_restJson1.ts @@ -4320,13 +4320,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _A = "Action"; const _ARN = "ARN"; const _CI = "ChangeId"; diff --git a/clients/client-opensearchserverless/package.json b/clients/client-opensearchserverless/package.json index 8aa2abb9dd74..7fc762053055 100644 --- a/clients/client-opensearchserverless/package.json +++ b/clients/client-opensearchserverless/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-opsworks/package.json b/clients/client-opsworks/package.json index 27c263231d6e..de9c9a6f31bb 100644 --- a/clients/client-opsworks/package.json +++ b/clients/client-opsworks/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-opsworkscm/package.json b/clients/client-opsworkscm/package.json index 9caa3426f2db..da3daa5f6076 100644 --- a/clients/client-opsworkscm/package.json +++ b/clients/client-opsworkscm/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-organizations/package.json b/clients/client-organizations/package.json index 58c636543193..844a44e03702 100644 --- a/clients/client-organizations/package.json +++ b/clients/client-organizations/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-osis/package.json b/clients/client-osis/package.json index 505da6db90af..0841de322894 100644 --- a/clients/client-osis/package.json +++ b/clients/client-osis/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-osis/src/protocols/Aws_restJson1.ts b/clients/client-osis/src/protocols/Aws_restJson1.ts index 5dcf1958d8c3..013f2132dd5c 100644 --- a/clients/client-osis/src/protocols/Aws_restJson1.ts +++ b/clients/client-osis/src/protocols/Aws_restJson1.ts @@ -1044,13 +1044,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _A = "Arn"; const _F = "Format"; const _MR = "MaxResults"; diff --git a/clients/client-outposts/package.json b/clients/client-outposts/package.json index f991bbfd6059..d9d017db407d 100644 --- a/clients/client-outposts/package.json +++ b/clients/client-outposts/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-outposts/src/protocols/Aws_restJson1.ts b/clients/client-outposts/src/protocols/Aws_restJson1.ts index d876b416738a..33554ea5fd19 100644 --- a/clients/client-outposts/src/protocols/Aws_restJson1.ts +++ b/clients/client-outposts/src/protocols/Aws_restJson1.ts @@ -404,10 +404,10 @@ export const se_ListAssetsCommand = async ( b.bp("/outposts/{OutpostIdentifier}/assets"); b.p("OutpostIdentifier", () => input.OutpostIdentifier!, "{OutpostIdentifier}", false); const query: any = map({ - [_HIF]: [() => input.HostIdFilter !== void 0, () => (input[_HIF]! || []).map((_entry) => _entry as any)], + [_HIF]: [() => input.HostIdFilter !== void 0, () => input[_HIF]! || []], [_MR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], [_NT]: [, input[_NT]!], - [_SF]: [() => input.StatusFilter !== void 0, () => (input[_SF]! || []).map((_entry) => _entry as any)], + [_SF]: [() => input.StatusFilter !== void 0, () => input[_SF]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -428,10 +428,7 @@ export const se_ListCapacityTasksCommand = async ( [_OIF]: [, input[_OIF]!], [_MR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], [_NT]: [, input[_NT]!], - [_CTSF]: [ - () => input.CapacityTaskStatusFilter !== void 0, - () => (input[_CTSF]! || []).map((_entry) => _entry as any), - ], + [_CTSF]: [() => input.CapacityTaskStatusFilter !== void 0, () => input[_CTSF]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -451,9 +448,9 @@ export const se_ListCatalogItemsCommand = async ( const query: any = map({ [_NT]: [, input[_NT]!], [_MR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_ICF]: [() => input.ItemClassFilter !== void 0, () => (input[_ICF]! || []).map((_entry) => _entry as any)], - [_SSF]: [() => input.SupportedStorageFilter !== void 0, () => (input[_SSF]! || []).map((_entry) => _entry as any)], - [_ECFF]: [() => input.EC2FamilyFilter !== void 0, () => (input[_ECFF]! || []).map((_entry) => _entry as any)], + [_ICF]: [() => input.ItemClassFilter !== void 0, () => input[_ICF]! || []], + [_SSF]: [() => input.SupportedStorageFilter !== void 0, () => input[_SSF]! || []], + [_ECFF]: [() => input.EC2FamilyFilter !== void 0, () => input[_ECFF]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -493,12 +490,9 @@ export const se_ListOutpostsCommand = async ( const query: any = map({ [_NT]: [, input[_NT]!], [_MR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_LCSF]: [() => input.LifeCycleStatusFilter !== void 0, () => (input[_LCSF]! || []).map((_entry) => _entry as any)], - [_AZF]: [() => input.AvailabilityZoneFilter !== void 0, () => (input[_AZF]! || []).map((_entry) => _entry as any)], - [_AZIF]: [ - () => input.AvailabilityZoneIdFilter !== void 0, - () => (input[_AZIF]! || []).map((_entry) => _entry as any), - ], + [_LCSF]: [() => input.LifeCycleStatusFilter !== void 0, () => input[_LCSF]! || []], + [_AZF]: [() => input.AvailabilityZoneFilter !== void 0, () => input[_AZF]! || []], + [_AZIF]: [() => input.AvailabilityZoneIdFilter !== void 0, () => input[_AZIF]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -518,18 +512,9 @@ export const se_ListSitesCommand = async ( const query: any = map({ [_NT]: [, input[_NT]!], [_MR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], - [_OACCF]: [ - () => input.OperatingAddressCountryCodeFilter !== void 0, - () => (input[_OACCF]! || []).map((_entry) => _entry as any), - ], - [_OASORF]: [ - () => input.OperatingAddressStateOrRegionFilter !== void 0, - () => (input[_OASORF]! || []).map((_entry) => _entry as any), - ], - [_OACF]: [ - () => input.OperatingAddressCityFilter !== void 0, - () => (input[_OACF]! || []).map((_entry) => _entry as any), - ], + [_OACCF]: [() => input.OperatingAddressCountryCodeFilter !== void 0, () => input[_OACCF]! || []], + [_OASORF]: [() => input.OperatingAddressStateOrRegionFilter !== void 0, () => input[_OASORF]! || []], + [_OACF]: [() => input.OperatingAddressCityFilter !== void 0, () => input[_OACF]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -637,10 +622,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1776,13 +1758,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _AT = "AddressType"; const _AZF = "AvailabilityZoneFilter"; const _AZIF = "AvailabilityZoneIdFilter"; diff --git a/clients/client-panorama/package.json b/clients/client-panorama/package.json index c02fae1bf0c8..540d3ea756c0 100644 --- a/clients/client-panorama/package.json +++ b/clients/client-panorama/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-panorama/src/protocols/Aws_restJson1.ts b/clients/client-panorama/src/protocols/Aws_restJson1.ts index 949b45e56d0b..8320e26a462f 100644 --- a/clients/client-panorama/src/protocols/Aws_restJson1.ts +++ b/clients/client-panorama/src/protocols/Aws_restJson1.ts @@ -823,10 +823,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2204,13 +2201,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _C = "Category"; const _DASF = "DeviceAggregatedStatusFilter"; const _DI = "DeviceId"; diff --git a/clients/client-payment-cryptography-data/package.json b/clients/client-payment-cryptography-data/package.json index 7c63662c6d53..02fe751f5f31 100644 --- a/clients/client-payment-cryptography-data/package.json +++ b/clients/client-payment-cryptography-data/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-payment-cryptography-data/src/protocols/Aws_restJson1.ts b/clients/client-payment-cryptography-data/src/protocols/Aws_restJson1.ts index 7834cf7f8143..6907018c6304 100644 --- a/clients/client-payment-cryptography-data/src/protocols/Aws_restJson1.ts +++ b/clients/client-payment-cryptography-data/src/protocols/Aws_restJson1.ts @@ -912,10 +912,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-payment-cryptography/package.json b/clients/client-payment-cryptography/package.json index befdf7715e46..afe4da1b223f 100644 --- a/clients/client-payment-cryptography/package.json +++ b/clients/client-payment-cryptography/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-pca-connector-ad/package.json b/clients/client-pca-connector-ad/package.json index d207fdc97f0f..f0de1a7adbde 100644 --- a/clients/client-pca-connector-ad/package.json +++ b/clients/client-pca-connector-ad/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-pca-connector-ad/src/protocols/Aws_restJson1.ts b/clients/client-pca-connector-ad/src/protocols/Aws_restJson1.ts index 786485e8ffb6..5f83bc9b74e4 100644 --- a/clients/client-pca-connector-ad/src/protocols/Aws_restJson1.ts +++ b/clients/client-pca-connector-ad/src/protocols/Aws_restJson1.ts @@ -589,10 +589,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1694,13 +1691,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CA = "ConnectorArn"; const _MR = "MaxResults"; const _NT = "NextToken"; diff --git a/clients/client-pca-connector-scep/package.json b/clients/client-pca-connector-scep/package.json index c173e2649bd2..9ad821840ad1 100644 --- a/clients/client-pca-connector-scep/package.json +++ b/clients/client-pca-connector-scep/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-pca-connector-scep/src/protocols/Aws_restJson1.ts b/clients/client-pca-connector-scep/src/protocols/Aws_restJson1.ts index 1fb698f2c7ca..992023a7a7f3 100644 --- a/clients/client-pca-connector-scep/src/protocols/Aws_restJson1.ts +++ b/clients/client-pca-connector-scep/src/protocols/Aws_restJson1.ts @@ -291,10 +291,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -863,13 +860,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CA = "ConnectorArn"; const _MR = "MaxResults"; const _NT = "NextToken"; diff --git a/clients/client-pcs/package.json b/clients/client-pcs/package.json index 90c77f71ebeb..7d244744855a 100644 --- a/clients/client-pcs/package.json +++ b/clients/client-pcs/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-personalize-events/package.json b/clients/client-personalize-events/package.json index 5a5f08088962..76234abe9bd4 100644 --- a/clients/client-personalize-events/package.json +++ b/clients/client-personalize-events/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-personalize-events/src/protocols/Aws_restJson1.ts b/clients/client-personalize-events/src/protocols/Aws_restJson1.ts index eeb836af0039..198f5df1edc7 100644 --- a/clients/client-personalize-events/src/protocols/Aws_restJson1.ts +++ b/clients/client-personalize-events/src/protocols/Aws_restJson1.ts @@ -468,10 +468,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-personalize-runtime/package.json b/clients/client-personalize-runtime/package.json index 119a240c8f97..f2700830b8b9 100644 --- a/clients/client-personalize-runtime/package.json +++ b/clients/client-personalize-runtime/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-personalize-runtime/src/protocols/Aws_restJson1.ts b/clients/client-personalize-runtime/src/protocols/Aws_restJson1.ts index ba1a5dbaa7ba..e75d3556ab08 100644 --- a/clients/client-personalize-runtime/src/protocols/Aws_restJson1.ts +++ b/clients/client-personalize-runtime/src/protocols/Aws_restJson1.ts @@ -332,10 +332,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-personalize/package.json b/clients/client-personalize/package.json index bca7f5ab43a0..fd90de57da67 100644 --- a/clients/client-personalize/package.json +++ b/clients/client-personalize/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-pi/package.json b/clients/client-pi/package.json index bcf6b73d4ca6..715b0df180e3 100644 --- a/clients/client-pi/package.json +++ b/clients/client-pi/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-pinpoint-email/package.json b/clients/client-pinpoint-email/package.json index e8a56a87f3c6..02b7f692ed95 100644 --- a/clients/client-pinpoint-email/package.json +++ b/clients/client-pinpoint-email/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-pinpoint-email/src/protocols/Aws_restJson1.ts b/clients/client-pinpoint-email/src/protocols/Aws_restJson1.ts index dd4e3d46337e..025f5bd3585a 100644 --- a/clients/client-pinpoint-email/src/protocols/Aws_restJson1.ts +++ b/clients/client-pinpoint-email/src/protocols/Aws_restJson1.ts @@ -432,10 +432,7 @@ export const se_GetBlacklistReportsCommand = async ( const headers: any = {}; b.bp("/v1/email/deliverability-dashboard/blacklist-report"); const query: any = map({ - [_BIN]: [ - __expectNonNull(input.BlacklistItemNames, `BlacklistItemNames`) != null, - () => (input[_BIN]! || []).map((_entry) => _entry as any), - ], + [_BIN]: [__expectNonNull(input.BlacklistItemNames, `BlacklistItemNames`) != null, () => input[_BIN]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -1048,10 +1045,7 @@ export const se_UntagResourceCommand = async ( b.bp("/v1/email/tags"); const query: any = map({ [_RA]: [, __expectNonNull(input[_RA]!, `ResourceArn`)], - [_TK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_TK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2562,13 +2556,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _BIN = "BlacklistItemNames"; const _ED = "EndDate"; const _NT = "NextToken"; diff --git a/clients/client-pinpoint-sms-voice-v2/package.json b/clients/client-pinpoint-sms-voice-v2/package.json index 2c9c2a9eeda6..5c478f1f73ab 100644 --- a/clients/client-pinpoint-sms-voice-v2/package.json +++ b/clients/client-pinpoint-sms-voice-v2/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-pinpoint-sms-voice/package.json b/clients/client-pinpoint-sms-voice/package.json index 8d3b60268af7..527b88daf7d4 100644 --- a/clients/client-pinpoint-sms-voice/package.json +++ b/clients/client-pinpoint-sms-voice/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-pinpoint-sms-voice/src/protocols/Aws_restJson1.ts b/clients/client-pinpoint-sms-voice/src/protocols/Aws_restJson1.ts index 8c667ef8ff19..484413db068c 100644 --- a/clients/client-pinpoint-sms-voice/src/protocols/Aws_restJson1.ts +++ b/clients/client-pinpoint-sms-voice/src/protocols/Aws_restJson1.ts @@ -579,12 +579,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _NT = "NextToken"; const _PS = "PageSize"; diff --git a/clients/client-pinpoint/package.json b/clients/client-pinpoint/package.json index 03a1573331c8..69b035aebccf 100644 --- a/clients/client-pinpoint/package.json +++ b/clients/client-pinpoint/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-pinpoint/src/protocols/Aws_restJson1.ts b/clients/client-pinpoint/src/protocols/Aws_restJson1.ts index e6465bb3edf3..7b5c4455d3d3 100644 --- a/clients/client-pinpoint/src/protocols/Aws_restJson1.ts +++ b/clients/client-pinpoint/src/protocols/Aws_restJson1.ts @@ -2329,10 +2329,7 @@ export const se_UntagResourceCommand = async ( b.bp("/v1/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -7435,13 +7432,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CNV = "CreateNewVersion"; const _ET = "EndTime"; const _NT = "NextToken"; diff --git a/clients/client-pipes/package.json b/clients/client-pipes/package.json index f01b9bdc8762..da34ba3286e9 100644 --- a/clients/client-pipes/package.json +++ b/clients/client-pipes/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-pipes/src/protocols/Aws_restJson1.ts b/clients/client-pipes/src/protocols/Aws_restJson1.ts index 4647d8c7e428..97f9b95c152a 100644 --- a/clients/client-pipes/src/protocols/Aws_restJson1.ts +++ b/clients/client-pipes/src/protocols/Aws_restJson1.ts @@ -289,10 +289,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1219,13 +1216,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CS = "CurrentState"; const _DS = "DesiredState"; const _L = "Limit"; diff --git a/clients/client-polly/package.json b/clients/client-polly/package.json index d1acf1705eeb..98e7d10a50e3 100644 --- a/clients/client-polly/package.json +++ b/clients/client-polly/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-polly/src/protocols/Aws_restJson1.ts b/clients/client-polly/src/protocols/Aws_restJson1.ts index 6a42eeda3bf0..71a6c3dbf3a7 100644 --- a/clients/client-polly/src/protocols/Aws_restJson1.ts +++ b/clients/client-polly/src/protocols/Aws_restJson1.ts @@ -1056,13 +1056,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CT = "ContentType"; const _E = "Engine"; const _IALC = "IncludeAdditionalLanguageCodes"; diff --git a/clients/client-pricing/package.json b/clients/client-pricing/package.json index e6ce7d03f541..3d0595fac489 100644 --- a/clients/client-pricing/package.json +++ b/clients/client-pricing/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-privatenetworks/package.json b/clients/client-privatenetworks/package.json index dd06093b1f5f..597748911b81 100644 --- a/clients/client-privatenetworks/package.json +++ b/clients/client-privatenetworks/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-privatenetworks/src/protocols/Aws_restJson1.ts b/clients/client-privatenetworks/src/protocols/Aws_restJson1.ts index 12805a85ec8e..5be0a5a78be6 100644 --- a/clients/client-privatenetworks/src/protocols/Aws_restJson1.ts +++ b/clients/client-privatenetworks/src/protocols/Aws_restJson1.ts @@ -616,10 +616,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1651,13 +1648,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cT = "clientToken"; const _rAS = "retryAfterSeconds"; const _ra = "retry-after"; diff --git a/clients/client-proton/package.json b/clients/client-proton/package.json index 3a2797eec174..41bd9e8f6e59 100644 --- a/clients/client-proton/package.json +++ b/clients/client-proton/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-qapps/package.json b/clients/client-qapps/package.json index a4495d24b3f7..cdc21d76c5f6 100644 --- a/clients/client-qapps/package.json +++ b/clients/client-qapps/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-qapps/src/protocols/Aws_restJson1.ts b/clients/client-qapps/src/protocols/Aws_restJson1.ts index ce41e0a49360..01fd3379acde 100644 --- a/clients/client-qapps/src/protocols/Aws_restJson1.ts +++ b/clients/client-qapps/src/protocols/Aws_restJson1.ts @@ -19,6 +19,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, @@ -550,10 +551,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceARN}"); b.p("resourceARN", () => input.resourceARN!, "{resourceARN}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1858,13 +1856,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aI = "appId"; const _cI = "categoryId"; const _iI = "instanceId"; diff --git a/clients/client-qbusiness/package.json b/clients/client-qbusiness/package.json index 4cfd00efcde0..137f9924c828 100644 --- a/clients/client-qbusiness/package.json +++ b/clients/client-qbusiness/package.json @@ -36,29 +36,29 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", + "@smithy/core": "^2.4.6", "@smithy/eventstream-serde-browser": "^3.0.9", "@smithy/eventstream-serde-config-resolver": "^3.0.6", "@smithy/eventstream-serde-node": "^3.0.8", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-qbusiness/src/protocols/Aws_restJson1.ts b/clients/client-qbusiness/src/protocols/Aws_restJson1.ts index 2edce487d7d6..bd1d4a616670 100644 --- a/clients/client-qbusiness/src/protocols/Aws_restJson1.ts +++ b/clients/client-qbusiness/src/protocols/Aws_restJson1.ts @@ -297,7 +297,7 @@ export const se_ChatCommand = async ( b.p("applicationId", () => input.applicationId!, "{applicationId}", false); const query: any = map({ [_uI]: [, input[_uI]!], - [_uG]: [() => input.userGroups !== void 0, () => (input[_uG]! || []).map((_entry) => _entry as any)], + [_uG]: [() => input.userGroups !== void 0, () => input[_uG]! || []], [_cI]: [, input[_cI]!], [_pMI]: [, input[_pMI]!], [_cT]: [, input[_cT] ?? generateIdempotencyToken()], @@ -326,7 +326,7 @@ export const se_ChatSyncCommand = async ( const query: any = map({ [_s]: [, ""], [_uI]: [, input[_uI]!], - [_uG]: [() => input.userGroups !== void 0, () => (input[_uG]! || []).map((_entry) => _entry as any)], + [_uG]: [() => input.userGroups !== void 0, () => input[_uG]! || []], }); let body: any; body = JSON.stringify( @@ -988,7 +988,7 @@ export const se_ListDocumentsCommand = async ( b.p("applicationId", () => input.applicationId!, "{applicationId}", false); b.p("indexId", () => input.indexId!, "{indexId}", false); const query: any = map({ - [_dSIa]: [() => input.dataSourceIds !== void 0, () => (input[_dSIa]! || []).map((_entry) => _entry as any)], + [_dSIa]: [() => input.dataSourceIds !== void 0, () => input[_dSIa]! || []], [_nT]: [, input[_nT]!], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], }); @@ -1268,10 +1268,7 @@ export const se_UntagResourceCommand = async ( b.bp("/v1/tags/{resourceARN}"); b.p("resourceARN", () => input.resourceARN!, "{resourceARN}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -4185,13 +4182,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cI = "conversationId"; const _cT = "clientToken"; const _dSI = "dataSourceId"; diff --git a/clients/client-qconnect/package.json b/clients/client-qconnect/package.json index fa19e147812a..b6b6e08af44c 100644 --- a/clients/client-qconnect/package.json +++ b/clients/client-qconnect/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-qconnect/src/protocols/Aws_restJson1.ts b/clients/client-qconnect/src/protocols/Aws_restJson1.ts index a9fd3b0b8716..424402459be5 100644 --- a/clients/client-qconnect/src/protocols/Aws_restJson1.ts +++ b/clients/client-qconnect/src/protocols/Aws_restJson1.ts @@ -1089,10 +1089,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2945,13 +2942,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _tK = "tagKeys"; diff --git a/clients/client-qldb-session/package.json b/clients/client-qldb-session/package.json index 10352dffa826..5f8115e61f18 100644 --- a/clients/client-qldb-session/package.json +++ b/clients/client-qldb-session/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-qldb/package.json b/clients/client-qldb/package.json index d634f10ce180..109517b6bdf6 100644 --- a/clients/client-qldb/package.json +++ b/clients/client-qldb/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-qldb/src/protocols/Aws_restJson1.ts b/clients/client-qldb/src/protocols/Aws_restJson1.ts index 6b8fdfa0417e..b9d98ea7daf6 100644 --- a/clients/client-qldb/src/protocols/Aws_restJson1.ts +++ b/clients/client-qldb/src/protocols/Aws_restJson1.ts @@ -447,10 +447,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1260,13 +1257,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _MR = "MaxResults"; const _NT = "NextToken"; const _TK = "TagKeys"; diff --git a/clients/client-quicksight/package.json b/clients/client-quicksight/package.json index 53dd448c5e79..72a4897e1704 100644 --- a/clients/client-quicksight/package.json +++ b/clients/client-quicksight/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-quicksight/src/protocols/Aws_restJson1.ts b/clients/client-quicksight/src/protocols/Aws_restJson1.ts index 01b034d856ce..9a761e360f11 100644 --- a/clients/client-quicksight/src/protocols/Aws_restJson1.ts +++ b/clients/client-quicksight/src/protocols/Aws_restJson1.ts @@ -3316,7 +3316,7 @@ export const se_GetDashboardEmbedUrlCommand = async ( [_spe]: [() => input.StatePersistenceEnabled !== void 0, () => input[_SPE]!.toString()], [_ua]: [, input[_UA]!], [_n]: [, input[_N]!], - [_adi]: [() => input.AdditionalDashboardIds !== void 0, () => (input[_ADI]! || []).map((_entry) => _entry as any)], + [_adi]: [() => input.AdditionalDashboardIds !== void 0, () => input[_ADI]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -4340,7 +4340,7 @@ export const se_UntagResourceCommand = async ( b.bp("/resources/{ResourceArn}/tags"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_k]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => (input[_TK]! || []).map((_entry) => _entry as any)], + [_k]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -21476,13 +21476,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _ADI = "AdditionalDashboardIds"; const _AN = "AliasName"; const _AS = "AssignmentStatus"; diff --git a/clients/client-ram/package.json b/clients/client-ram/package.json index 5c4bdd794aa2..9493bd3fc4b9 100644 --- a/clients/client-ram/package.json +++ b/clients/client-ram/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-ram/src/protocols/Aws_restJson1.ts b/clients/client-ram/src/protocols/Aws_restJson1.ts index 576aaa38c4ca..8eab634e5c2f 100644 --- a/clients/client-ram/src/protocols/Aws_restJson1.ts +++ b/clients/client-ram/src/protocols/Aws_restJson1.ts @@ -2705,13 +2705,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cT = "clientToken"; const _pA = "permissionArn"; const _pV = "permissionVersion"; diff --git a/clients/client-rbin/package.json b/clients/client-rbin/package.json index 495991729fa2..950bc728da1a 100644 --- a/clients/client-rbin/package.json +++ b/clients/client-rbin/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-rbin/src/protocols/Aws_restJson1.ts b/clients/client-rbin/src/protocols/Aws_restJson1.ts index 43c8e66d3ce1..7a3969e3334a 100644 --- a/clients/client-rbin/src/protocols/Aws_restJson1.ts +++ b/clients/client-rbin/src/protocols/Aws_restJson1.ts @@ -225,10 +225,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -681,12 +678,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _TK = "TagKeys"; const _tK = "tagKeys"; diff --git a/clients/client-rds-data/package.json b/clients/client-rds-data/package.json index 034e536a20ca..eb2ba1a8b7ac 100644 --- a/clients/client-rds-data/package.json +++ b/clients/client-rds-data/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-rds-data/src/protocols/Aws_restJson1.ts b/clients/client-rds-data/src/protocols/Aws_restJson1.ts index ffdb9ca30c00..0c01378d66fa 100644 --- a/clients/client-rds-data/src/protocols/Aws_restJson1.ts +++ b/clients/client-rds-data/src/protocols/Aws_restJson1.ts @@ -1090,10 +1090,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-rds/package.json b/clients/client-rds/package.json index 39897a1d718a..25b10a7f31d5 100644 --- a/clients/client-rds/package.json +++ b/clients/client-rds/package.json @@ -35,26 +35,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-redshift-data/package.json b/clients/client-redshift-data/package.json index 5754fcd44167..423033179d2d 100644 --- a/clients/client-redshift-data/package.json +++ b/clients/client-redshift-data/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-redshift-serverless/package.json b/clients/client-redshift-serverless/package.json index fdb1b93a4b64..76a59265266b 100644 --- a/clients/client-redshift-serverless/package.json +++ b/clients/client-redshift-serverless/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-redshift/package.json b/clients/client-redshift/package.json index 26145376f040..c5bba2bfe812 100644 --- a/clients/client-redshift/package.json +++ b/clients/client-redshift/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-rekognition/package.json b/clients/client-rekognition/package.json index c7157a80f00a..58178a04f535 100644 --- a/clients/client-rekognition/package.json +++ b/clients/client-rekognition/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-rekognitionstreaming/package.json b/clients/client-rekognitionstreaming/package.json index 1147c89f45d5..a6d8c3194fb1 100644 --- a/clients/client-rekognitionstreaming/package.json +++ b/clients/client-rekognitionstreaming/package.json @@ -37,29 +37,29 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", + "@smithy/core": "^2.4.6", "@smithy/eventstream-serde-browser": "^3.0.9", "@smithy/eventstream-serde-config-resolver": "^3.0.6", "@smithy/eventstream-serde-node": "^3.0.8", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-rekognitionstreaming/src/protocols/Aws_restJson1.ts b/clients/client-rekognitionstreaming/src/protocols/Aws_restJson1.ts index 645b63a94548..a9118c24b1bc 100644 --- a/clients/client-rekognitionstreaming/src/protocols/Aws_restJson1.ts +++ b/clients/client-rekognitionstreaming/src/protocols/Aws_restJson1.ts @@ -13,6 +13,7 @@ import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectString as __expectString, + isSerializableHeaderValue, limitedParseFloat32 as __limitedParseFloat32, map, serializeFloat as __serializeFloat, @@ -646,13 +647,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CV = "ChallengeVersions"; const _SI = "SessionId"; const _VH = "VideoHeight"; diff --git a/clients/client-repostspace/package.json b/clients/client-repostspace/package.json index 06259cfef5dd..a3708c35c864 100644 --- a/clients/client-repostspace/package.json +++ b/clients/client-repostspace/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-repostspace/src/protocols/Aws_restJson1.ts b/clients/client-repostspace/src/protocols/Aws_restJson1.ts index 49476e2314bb..68090f01a579 100644 --- a/clients/client-repostspace/src/protocols/Aws_restJson1.ts +++ b/clients/client-repostspace/src/protocols/Aws_restJson1.ts @@ -240,10 +240,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -749,13 +746,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _rAS = "retryAfterSeconds"; diff --git a/clients/client-resiliencehub/package.json b/clients/client-resiliencehub/package.json index dcbb465ba7a0..b2c2006bca16 100644 --- a/clients/client-resiliencehub/package.json +++ b/clients/client-resiliencehub/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-resiliencehub/src/protocols/Aws_restJson1.ts b/clients/client-resiliencehub/src/protocols/Aws_restJson1.ts index 1a4fae46cc3e..6d0248c72449 100644 --- a/clients/client-resiliencehub/src/protocols/Aws_restJson1.ts +++ b/clients/client-resiliencehub/src/protocols/Aws_restJson1.ts @@ -999,7 +999,7 @@ export const se_ListAppAssessmentsCommand = async ( const query: any = map({ [_aA]: [, input[_aA]!], [_aN]: [, input[_aN]!], - [_aS]: [() => input.assessmentStatus !== void 0, () => (input[_aS]! || []).map((_entry) => _entry as any)], + [_aS]: [() => input.assessmentStatus !== void 0, () => input[_aS]! || []], [_cS]: [, input[_cS]!], [_i]: [, input[_i]!], [_rO]: [() => input.reverseOrder !== void 0, () => input[_rO]!.toString()], @@ -1223,7 +1223,7 @@ export const se_ListRecommendationTemplatesCommand = async ( const query: any = map({ [_aAs]: [, input[_aAs]!], [_rO]: [() => input.reverseOrder !== void 0, () => input[_rO]!.toString()], - [_s]: [() => input.status !== void 0, () => (input[_s]! || []).map((_entry) => _entry as any)], + [_s]: [() => input.status !== void 0, () => input[_s]! || []], [_rTA]: [, input[_rTA]!], [_n]: [, input[_n]!], [_nT]: [, input[_nT]!], @@ -1586,10 +1586,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -3836,13 +3833,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aA = "appArn"; const _aAs = "assessmentArn"; const _aN = "assessmentName"; diff --git a/clients/client-resource-explorer-2/package.json b/clients/client-resource-explorer-2/package.json index 17e4fd9468ea..207bc425c89d 100644 --- a/clients/client-resource-explorer-2/package.json +++ b/clients/client-resource-explorer-2/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-resource-explorer-2/src/protocols/Aws_restJson1.ts b/clients/client-resource-explorer-2/src/protocols/Aws_restJson1.ts index 8b508ba70ca1..4ea2232f6966 100644 --- a/clients/client-resource-explorer-2/src/protocols/Aws_restJson1.ts +++ b/clients/client-resource-explorer-2/src/protocols/Aws_restJson1.ts @@ -494,10 +494,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1370,11 +1367,4 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _tK = "tagKeys"; diff --git a/clients/client-resource-groups-tagging-api/package.json b/clients/client-resource-groups-tagging-api/package.json index 0dc4f3bd2434..382fcef1b021 100644 --- a/clients/client-resource-groups-tagging-api/package.json +++ b/clients/client-resource-groups-tagging-api/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-resource-groups/package.json b/clients/client-resource-groups/package.json index a2d434374f4f..1665f894758b 100644 --- a/clients/client-resource-groups/package.json +++ b/clients/client-resource-groups/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-resource-groups/src/protocols/Aws_restJson1.ts b/clients/client-resource-groups/src/protocols/Aws_restJson1.ts index ca10d2add77d..caea8df271be 100644 --- a/clients/client-resource-groups/src/protocols/Aws_restJson1.ts +++ b/clients/client-resource-groups/src/protocols/Aws_restJson1.ts @@ -1121,13 +1121,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _MR = "MaxResults"; const _NT = "NextToken"; const _mR = "maxResults"; diff --git a/clients/client-robomaker/package.json b/clients/client-robomaker/package.json index c1817fc1a7ee..51480675b9fe 100644 --- a/clients/client-robomaker/package.json +++ b/clients/client-robomaker/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-robomaker/src/protocols/Aws_restJson1.ts b/clients/client-robomaker/src/protocols/Aws_restJson1.ts index aa69ac255f0c..351017baa2a4 100644 --- a/clients/client-robomaker/src/protocols/Aws_restJson1.ts +++ b/clients/client-robomaker/src/protocols/Aws_restJson1.ts @@ -1507,10 +1507,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -3826,11 +3823,4 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _tK = "tagKeys"; diff --git a/clients/client-rolesanywhere/package.json b/clients/client-rolesanywhere/package.json index 4fb0908f6c84..018986d5b146 100644 --- a/clients/client-rolesanywhere/package.json +++ b/clients/client-rolesanywhere/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-rolesanywhere/src/protocols/Aws_restJson1.ts b/clients/client-rolesanywhere/src/protocols/Aws_restJson1.ts index d31c8b899de1..95fce4654e11 100644 --- a/clients/client-rolesanywhere/src/protocols/Aws_restJson1.ts +++ b/clients/client-rolesanywhere/src/protocols/Aws_restJson1.ts @@ -159,7 +159,7 @@ export const se_DeleteAttributeMappingCommand = async ( b.p("profileId", () => input.profileId!, "{profileId}", false); const query: any = map({ [_cF]: [, __expectNonNull(input[_cF]!, `certificateField`)], - [_s]: [() => input.specifiers !== void 0, () => (input[_s]! || []).map((_entry) => _entry as any)], + [_s]: [() => input.specifiers !== void 0, () => input[_s]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1666,13 +1666,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cF = "certificateField"; const _nT = "nextToken"; const _pS = "pageSize"; diff --git a/clients/client-route-53-domains/package.json b/clients/client-route-53-domains/package.json index 28d566473c35..1abc6e84dc7b 100644 --- a/clients/client-route-53-domains/package.json +++ b/clients/client-route-53-domains/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-route-53/package.json b/clients/client-route-53/package.json index 57665566272e..910d50a5437c 100644 --- a/clients/client-route-53/package.json +++ b/clients/client-route-53/package.json @@ -36,26 +36,26 @@ "@aws-sdk/util-user-agent-node": "*", "@aws-sdk/xml-builder": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-route-53/src/protocols/Aws_restXml.ts b/clients/client-route-53/src/protocols/Aws_restXml.ts index f397bdd84426..56671fbd484e 100644 --- a/clients/client-route-53/src/protocols/Aws_restXml.ts +++ b/clients/client-route-53/src/protocols/Aws_restXml.ts @@ -6452,13 +6452,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _A = "Action"; const _AHE = "AliasHealthEnabled"; const _AI = "AlarmIdentifier"; diff --git a/clients/client-route53-recovery-cluster/package.json b/clients/client-route53-recovery-cluster/package.json index 19d2b16ae22f..4389d02963b6 100644 --- a/clients/client-route53-recovery-cluster/package.json +++ b/clients/client-route53-recovery-cluster/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-route53-recovery-control-config/package.json b/clients/client-route53-recovery-control-config/package.json index e60e360b9af4..aa77b1844b30 100644 --- a/clients/client-route53-recovery-control-config/package.json +++ b/clients/client-route53-recovery-control-config/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-route53-recovery-control-config/src/protocols/Aws_restJson1.ts b/clients/client-route53-recovery-control-config/src/protocols/Aws_restJson1.ts index bcf11da176cf..fb116432a364 100644 --- a/clients/client-route53-recovery-control-config/src/protocols/Aws_restJson1.ts +++ b/clients/client-route53-recovery-control-config/src/protocols/Aws_restJson1.ts @@ -479,10 +479,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_TK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_TK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1277,13 +1274,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CA = "ClusterArn"; const _MR = "MaxResults"; const _NT = "NextToken"; diff --git a/clients/client-route53-recovery-readiness/package.json b/clients/client-route53-recovery-readiness/package.json index a93529024f98..eb3d147724c2 100644 --- a/clients/client-route53-recovery-readiness/package.json +++ b/clients/client-route53-recovery-readiness/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-route53-recovery-readiness/src/protocols/Aws_restJson1.ts b/clients/client-route53-recovery-readiness/src/protocols/Aws_restJson1.ts index f10a05666263..51aca9ac8a43 100644 --- a/clients/client-route53-recovery-readiness/src/protocols/Aws_restJson1.ts +++ b/clients/client-route53-recovery-readiness/src/protocols/Aws_restJson1.ts @@ -657,10 +657,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1999,13 +1996,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _MR = "MaxResults"; const _NT = "NextToken"; const _RT = "ResourceType"; diff --git a/clients/client-route53profiles/package.json b/clients/client-route53profiles/package.json index 940817f1b1f3..bbc2af8b3104 100644 --- a/clients/client-route53profiles/package.json +++ b/clients/client-route53profiles/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-route53profiles/src/protocols/Aws_restJson1.ts b/clients/client-route53profiles/src/protocols/Aws_restJson1.ts index 878a13af95dd..86ef20df09a7 100644 --- a/clients/client-route53profiles/src/protocols/Aws_restJson1.ts +++ b/clients/client-route53profiles/src/protocols/Aws_restJson1.ts @@ -374,10 +374,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1092,13 +1089,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _MR = "MaxResults"; const _NT = "NextToken"; const _PI = "ProfileId"; diff --git a/clients/client-route53resolver/package.json b/clients/client-route53resolver/package.json index 13ffadc06be2..79fdc505e465 100644 --- a/clients/client-route53resolver/package.json +++ b/clients/client-route53resolver/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-rum/package.json b/clients/client-rum/package.json index b1298ef06e5b..b5ec39ce8878 100644 --- a/clients/client-rum/package.json +++ b/clients/client-rum/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-rum/src/protocols/Aws_restJson1.ts b/clients/client-rum/src/protocols/Aws_restJson1.ts index 8e4352f5297a..99518853b3c9 100644 --- a/clients/client-rum/src/protocols/Aws_restJson1.ts +++ b/clients/client-rum/src/protocols/Aws_restJson1.ts @@ -131,10 +131,7 @@ export const se_BatchDeleteRumMetricDefinitionsCommand = async ( const query: any = map({ [_d]: [, __expectNonNull(input[_D]!, `Destination`)], [_dA]: [, input[_DA]!], - [_mDI]: [ - __expectNonNull(input.MetricDefinitionIds, `MetricDefinitionIds`) != null, - () => (input[_MDI]! || []).map((_entry) => _entry as any), - ], + [_mDI]: [__expectNonNull(input.MetricDefinitionIds, `MetricDefinitionIds`) != null, () => input[_MDI]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -417,10 +414,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1152,13 +1146,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _D = "Destination"; const _DA = "DestinationArn"; const _MDI = "MetricDefinitionIds"; diff --git a/clients/client-s3-control/package.json b/clients/client-s3-control/package.json index f7bc91220506..e288489bc8e1 100644 --- a/clients/client-s3-control/package.json +++ b/clients/client-s3-control/package.json @@ -38,8 +38,8 @@ "@aws-sdk/util-user-agent-node": "*", "@aws-sdk/xml-builder": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-blob-browser": "^3.1.5", "@smithy/hash-node": "^3.0.6", "@smithy/hash-stream-node": "^3.1.5", @@ -48,20 +48,20 @@ "@smithy/middleware-apply-body-checksum": "^3.0.8", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-s3-control/src/protocols/Aws_restXml.ts b/clients/client-s3-control/src/protocols/Aws_restXml.ts index 6e0ebcec646b..9a0bcbcd214a 100644 --- a/clients/client-s3-control/src/protocols/Aws_restXml.ts +++ b/clients/client-s3-control/src/protocols/Aws_restXml.ts @@ -16,6 +16,7 @@ import { expectUnion as __expectUnion, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, + isSerializableHeaderValue, map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, @@ -2631,7 +2632,7 @@ export const se_ListJobsCommand = async ( }); b.bp("/v20180820/jobs"); const query: any = map({ - [_jS]: [() => input.JobStatuses !== void 0, () => (input[_JS]! || []).map((_entry) => _entry as any)], + [_jS]: [() => input.JobStatuses !== void 0, () => input[_JS]! || []], [_nT]: [, input[_NT]!], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR]!.toString()], }); @@ -3430,10 +3431,7 @@ export const se_UntagResourceCommand = async ( b.bp("/v20180820/tags/{ResourceArn+}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn+}", true); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; let { hostname: resolvedHostname } = await context.endpoint(); @@ -10538,13 +10536,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _A = "Alias"; const _AA = "ApplicationArn"; const _AAGICR = "AssociateAccessGrantsIdentityCenterRequest"; diff --git a/clients/client-s3/package.json b/clients/client-s3/package.json index e0b8953d2130..23f4661e561e 100644 --- a/clients/client-s3/package.json +++ b/clients/client-s3/package.json @@ -48,11 +48,11 @@ "@aws-sdk/util-user-agent-node": "*", "@aws-sdk/xml-builder": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", + "@smithy/core": "^2.4.6", "@smithy/eventstream-serde-browser": "^3.0.9", "@smithy/eventstream-serde-config-resolver": "^3.0.6", "@smithy/eventstream-serde-node": "^3.0.8", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-blob-browser": "^3.1.5", "@smithy/hash-node": "^3.0.6", "@smithy/hash-stream-node": "^3.1.5", @@ -60,24 +60,24 @@ "@smithy/md5-js": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "@smithy/util-waiter": "^3.1.5", "tslib": "^2.6.2" diff --git a/clients/client-s3/src/commands/DeleteObjectTaggingCommand.ts b/clients/client-s3/src/commands/DeleteObjectTaggingCommand.ts index d64a89337d23..e14facf9d3a9 100644 --- a/clients/client-s3/src/commands/DeleteObjectTaggingCommand.ts +++ b/clients/client-s3/src/commands/DeleteObjectTaggingCommand.ts @@ -82,39 +82,39 @@ export interface DeleteObjectTaggingCommandOutput extends DeleteObjectTaggingOut *

Base exception class for all service exceptions from S3 service.

* * @public - * @example To remove tag set from an object version + * @example To remove tag set from an object * ```javascript - * // The following example removes tag set associated with the specified object version. The request specifies both the object key and object version. + * // The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version. * const input = { * "Bucket": "examplebucket", - * "Key": "HappyFace.jpg", - * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI" + * "Key": "HappyFace.jpg" * }; * const command = new DeleteObjectTaggingCommand(input); * const response = await client.send(command); * /* response == * { - * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI" + * "VersionId": "null" * } * *\/ - * // example id: to-remove-tag-set-from-an-object-version-1483145285913 + * // example id: to-remove-tag-set-from-an-object-1483145342862 * ``` * - * @example To remove tag set from an object + * @example To remove tag set from an object version * ```javascript - * // The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version. + * // The following example removes tag set associated with the specified object version. The request specifies both the object key and object version. * const input = { * "Bucket": "examplebucket", - * "Key": "HappyFace.jpg" + * "Key": "HappyFace.jpg", + * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI" * }; * const command = new DeleteObjectTaggingCommand(input); * const response = await client.send(command); * /* response == * { - * "VersionId": "null" + * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI" * } * *\/ - * // example id: to-remove-tag-set-from-an-object-1483145342862 + * // example id: to-remove-tag-set-from-an-object-version-1483145285913 * ``` * */ diff --git a/clients/client-s3/src/commands/DeleteObjectsCommand.ts b/clients/client-s3/src/commands/DeleteObjectsCommand.ts index 57727ddec80d..a41f2e1d2762 100644 --- a/clients/client-s3/src/commands/DeleteObjectsCommand.ts +++ b/clients/client-s3/src/commands/DeleteObjectsCommand.ts @@ -213,18 +213,20 @@ export interface DeleteObjectsCommandOutput extends DeleteObjectsOutput, __Metad *

Base exception class for all service exceptions from S3 service.

* * @public - * @example To delete multiple objects from a versioned bucket + * @example To delete multiple object versions from a versioned bucket * ```javascript - * // The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker. + * // The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response. * const input = { * "Bucket": "examplebucket", * "Delete": { * "Objects": [ * { - * "Key": "objectkey1" + * "Key": "HappyFace.jpg", + * "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b" * }, * { - * "Key": "objectkey2" + * "Key": "HappyFace.jpg", + * "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd" * } * ], * "Quiet": false @@ -236,35 +238,31 @@ export interface DeleteObjectsCommandOutput extends DeleteObjectsOutput, __Metad * { * "Deleted": [ * { - * "DeleteMarker": "true", - * "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F", - * "Key": "objectkey1" + * "Key": "HappyFace.jpg", + * "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd" * }, * { - * "DeleteMarker": "true", - * "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt", - * "Key": "objectkey2" + * "Key": "HappyFace.jpg", + * "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b" * } * ] * } * *\/ - * // example id: to-delete-multiple-objects-from-a-versioned-bucket-1483146248805 + * // example id: to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737 * ``` * - * @example To delete multiple object versions from a versioned bucket + * @example To delete multiple objects from a versioned bucket * ```javascript - * // The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response. + * // The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker. * const input = { * "Bucket": "examplebucket", * "Delete": { * "Objects": [ * { - * "Key": "HappyFace.jpg", - * "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b" + * "Key": "objectkey1" * }, * { - * "Key": "HappyFace.jpg", - * "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd" + * "Key": "objectkey2" * } * ], * "Quiet": false @@ -276,17 +274,19 @@ export interface DeleteObjectsCommandOutput extends DeleteObjectsOutput, __Metad * { * "Deleted": [ * { - * "Key": "HappyFace.jpg", - * "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd" + * "DeleteMarker": "true", + * "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F", + * "Key": "objectkey1" * }, * { - * "Key": "HappyFace.jpg", - * "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b" + * "DeleteMarker": "true", + * "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt", + * "Key": "objectkey2" * } * ] * } * *\/ - * // example id: to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737 + * // example id: to-delete-multiple-objects-from-a-versioned-bucket-1483146248805 * ``` * */ diff --git a/clients/client-s3/src/commands/GetObjectTaggingCommand.ts b/clients/client-s3/src/commands/GetObjectTaggingCommand.ts index 32326f4bc9dc..7d84170e5e3f 100644 --- a/clients/client-s3/src/commands/GetObjectTaggingCommand.ts +++ b/clients/client-s3/src/commands/GetObjectTaggingCommand.ts @@ -98,12 +98,13 @@ export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, _ *

Base exception class for all service exceptions from S3 service.

* * @public - * @example To retrieve tag set of an object + * @example To retrieve tag set of a specific object version * ```javascript - * // The following example retrieves tag set of an object. + * // The following example retrieves tag set of an object. The request specifies object version. * const input = { * "Bucket": "examplebucket", - * "Key": "HappyFace.jpg" + * "Key": "exampleobject", + * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI" * }; * const command = new GetObjectTaggingCommand(input); * const response = await client.send(command); @@ -111,27 +112,22 @@ export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, _ * { * "TagSet": [ * { - * "Key": "Key4", - * "Value": "Value4" - * }, - * { - * "Key": "Key3", - * "Value": "Value3" + * "Key": "Key1", + * "Value": "Value1" * } * ], - * "VersionId": "null" + * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI" * } * *\/ - * // example id: to-retrieve-tag-set-of-an-object-1481833847896 + * // example id: to-retrieve-tag-set-of-a-specific-object-version-1483400283663 * ``` * - * @example To retrieve tag set of a specific object version + * @example To retrieve tag set of an object * ```javascript - * // The following example retrieves tag set of an object. The request specifies object version. + * // The following example retrieves tag set of an object. * const input = { * "Bucket": "examplebucket", - * "Key": "exampleobject", - * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI" + * "Key": "HappyFace.jpg" * }; * const command = new GetObjectTaggingCommand(input); * const response = await client.send(command); @@ -139,14 +135,18 @@ export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, _ * { * "TagSet": [ * { - * "Key": "Key1", - * "Value": "Value1" + * "Key": "Key4", + * "Value": "Value4" + * }, + * { + * "Key": "Key3", + * "Value": "Value3" * } * ], - * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI" + * "VersionId": "null" * } * *\/ - * // example id: to-retrieve-tag-set-of-a-specific-object-version-1483400283663 + * // example id: to-retrieve-tag-set-of-an-object-1481833847896 * ``` * */ diff --git a/clients/client-s3/src/commands/PutObjectCommand.ts b/clients/client-s3/src/commands/PutObjectCommand.ts index 458c0bda99f0..db31135c3013 100644 --- a/clients/client-s3/src/commands/PutObjectCommand.ts +++ b/clients/client-s3/src/commands/PutObjectCommand.ts @@ -249,26 +249,24 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare *

Base exception class for all service exceptions from S3 service.

* * @public - * @example To upload an object (specify optional headers) + * @example To upload an object and specify optional tags * ```javascript - * // The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption. + * // The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object. * const input = { - * "Body": "HappyFace.jpg", + * "Body": "c:\\HappyFace.jpg", * "Bucket": "examplebucket", * "Key": "HappyFace.jpg", - * "ServerSideEncryption": "AES256", - * "StorageClass": "STANDARD_IA" + * "Tagging": "key1=value1&key2=value2" * }; * const command = new PutObjectCommand(input); * const response = await client.send(command); * /* response == * { * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - * "ServerSideEncryption": "AES256", - * "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp" + * "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a" * } * *\/ - * // example id: to-upload-an-object-(specify-optional-headers) + * // example id: to-upload-an-object-and-specify-optional-tags-1481762310955 * ``` * * @example To create an object. @@ -290,97 +288,99 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare * // example id: to-create-an-object-1483147613675 * ``` * - * @example To upload an object + * @example To upload object and specify user-defined metadata * ```javascript - * // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object. + * // The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response. * const input = { - * "Body": "HappyFace.jpg", + * "Body": "filetoupload", * "Bucket": "examplebucket", - * "Key": "HappyFace.jpg" + * "Key": "exampleobject", + * "Metadata": { + * "metadata1": "value1", + * "metadata2": "value2" + * } * }; * const command = new PutObjectCommand(input); * const response = await client.send(command); * /* response == * { * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - * "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk" + * "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0" * } * *\/ - * // example id: to-upload-an-object-1481760101010 + * // example id: to-upload-object-and-specify-user-defined-metadata-1483396974757 * ``` * - * @example To upload an object and specify optional tags + * @example To upload an object * ```javascript - * // The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object. + * // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object. * const input = { - * "Body": "c:\\HappyFace.jpg", + * "Body": "HappyFace.jpg", * "Bucket": "examplebucket", - * "Key": "HappyFace.jpg", - * "Tagging": "key1=value1&key2=value2" + * "Key": "HappyFace.jpg" * }; * const command = new PutObjectCommand(input); * const response = await client.send(command); * /* response == * { * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - * "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a" + * "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk" * } * *\/ - * // example id: to-upload-an-object-and-specify-optional-tags-1481762310955 + * // example id: to-upload-an-object-1481760101010 * ``` * - * @example To upload an object and specify canned ACL. + * @example To upload an object and specify server-side encryption and object tags * ```javascript - * // The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response. + * // The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response. * const input = { - * "ACL": "authenticated-read", * "Body": "filetoupload", * "Bucket": "examplebucket", - * "Key": "exampleobject" + * "Key": "exampleobject", + * "ServerSideEncryption": "AES256", + * "Tagging": "key1=value1&key2=value2" * }; * const command = new PutObjectCommand(input); * const response = await client.send(command); * /* response == * { * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - * "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr" + * "ServerSideEncryption": "AES256", + * "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt" * } * *\/ - * // example id: to-upload-an-object-and-specify-canned-acl-1483397779571 + * // example id: to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831 * ``` * - * @example To upload object and specify user-defined metadata + * @example To upload an object and specify canned ACL. * ```javascript - * // The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response. + * // The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response. * const input = { + * "ACL": "authenticated-read", * "Body": "filetoupload", * "Bucket": "examplebucket", - * "Key": "exampleobject", - * "Metadata": { - * "metadata1": "value1", - * "metadata2": "value2" - * } + * "Key": "exampleobject" * }; * const command = new PutObjectCommand(input); * const response = await client.send(command); * /* response == * { * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", - * "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0" + * "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr" * } * *\/ - * // example id: to-upload-object-and-specify-user-defined-metadata-1483396974757 + * // example id: to-upload-an-object-and-specify-canned-acl-1483397779571 * ``` * - * @example To upload an object and specify server-side encryption and object tags + * @example To upload an object (specify optional headers) * ```javascript - * // The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response. + * // The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption. * const input = { - * "Body": "filetoupload", + * "Body": "HappyFace.jpg", * "Bucket": "examplebucket", - * "Key": "exampleobject", + * "Key": "HappyFace.jpg", * "ServerSideEncryption": "AES256", - * "Tagging": "key1=value1&key2=value2" + * "StorageClass": "STANDARD_IA" * }; * const command = new PutObjectCommand(input); * const response = await client.send(command); @@ -388,10 +388,10 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare * { * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", * "ServerSideEncryption": "AES256", - * "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt" + * "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp" * } * *\/ - * // example id: to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831 + * // example id: to-upload-an-object-(specify-optional-headers) * ``` * */ diff --git a/clients/client-s3/src/commands/UploadPartCopyCommand.ts b/clients/client-s3/src/commands/UploadPartCopyCommand.ts index a330ba4d28b9..3ea96249be70 100644 --- a/clients/client-s3/src/commands/UploadPartCopyCommand.ts +++ b/clients/client-s3/src/commands/UploadPartCopyCommand.ts @@ -305,14 +305,15 @@ export interface UploadPartCopyCommandOutput extends UploadPartCopyOutput, __Met *

Base exception class for all service exceptions from S3 service.

* * @public - * @example To upload a part by copying data from an existing object as data source + * @example To upload a part by copying byte range from an existing object as data source * ```javascript - * // The following example uploads a part of a multipart upload by copying data from an existing object as data source. + * // The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source. * const input = { * "Bucket": "examplebucket", * "CopySource": "/bucketname/sourceobjectkey", + * "CopySourceRange": "bytes=1-100000", * "Key": "examplelargeobject", - * "PartNumber": "1", + * "PartNumber": "2", * "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--" * }; * const command = new UploadPartCopyCommand(input); @@ -320,23 +321,22 @@ export interface UploadPartCopyCommandOutput extends UploadPartCopyOutput, __Met * /* response == * { * "CopyPartResult": { - * "ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"", - * "LastModified": "2016-12-29T21:24:43.000Z" + * "ETag": "\"65d16d19e65a7508a51f043180edcc36\"", + * "LastModified": "2016-12-29T21:44:28.000Z" * } * } * *\/ - * // example id: to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348 + * // example id: to-upload-a-part-by-copying-byte-range-from-an-existing-object-as-data-source-1483048068594 * ``` * - * @example To upload a part by copying byte range from an existing object as data source + * @example To upload a part by copying data from an existing object as data source * ```javascript - * // The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source. + * // The following example uploads a part of a multipart upload by copying data from an existing object as data source. * const input = { * "Bucket": "examplebucket", * "CopySource": "/bucketname/sourceobjectkey", - * "CopySourceRange": "bytes=1-100000", * "Key": "examplelargeobject", - * "PartNumber": "2", + * "PartNumber": "1", * "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--" * }; * const command = new UploadPartCopyCommand(input); @@ -344,12 +344,12 @@ export interface UploadPartCopyCommandOutput extends UploadPartCopyOutput, __Met * /* response == * { * "CopyPartResult": { - * "ETag": "\"65d16d19e65a7508a51f043180edcc36\"", - * "LastModified": "2016-12-29T21:44:28.000Z" + * "ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"", + * "LastModified": "2016-12-29T21:24:43.000Z" * } * } * *\/ - * // example id: to-upload-a-part-by-copying-byte-range-from-an-existing-object-as-data-source-1483048068594 + * // example id: to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348 * ``` * */ diff --git a/clients/client-s3/src/protocols/Aws_restXml.ts b/clients/client-s3/src/protocols/Aws_restXml.ts index 0ab50129ac7f..aa09263f49b1 100644 --- a/clients/client-s3/src/protocols/Aws_restXml.ts +++ b/clients/client-s3/src/protocols/Aws_restXml.ts @@ -17,6 +17,7 @@ import { expectUnion as __expectUnion, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, + isSerializableHeaderValue, map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, @@ -1566,10 +1567,7 @@ export const se_GetObjectAttributesCommand = async ( [_xasseckm]: input[_SSECKMD]!, [_xarp]: input[_RP]!, [_xaebo]: input[_EBO]!, - [_xaoa]: [ - () => isSerializableHeaderValue(input[_OA]), - () => (input[_OA]! || []).map((_entry) => _entry as any).join(", "), - ], + [_xaoa]: [() => isSerializableHeaderValue(input[_OA]), () => (input[_OA]! || []).join(", ")], }); b.bp("/{Key+}"); b.p("Bucket", () => input.Bucket!, "{Bucket}", false); @@ -1946,10 +1944,7 @@ export const se_ListObjectsCommand = async ( const headers: any = map({}, isSerializableHeaderValue, { [_xarp]: input[_RP]!, [_xaebo]: input[_EBO]!, - [_xaooa]: [ - () => isSerializableHeaderValue(input[_OOA]), - () => (input[_OOA]! || []).map((_entry) => _entry as any).join(", "), - ], + [_xaooa]: [() => isSerializableHeaderValue(input[_OOA]), () => (input[_OOA]! || []).join(", ")], }); b.bp("/"); b.p("Bucket", () => input.Bucket!, "{Bucket}", false); @@ -1976,10 +1971,7 @@ export const se_ListObjectsV2Command = async ( const headers: any = map({}, isSerializableHeaderValue, { [_xarp]: input[_RP]!, [_xaebo]: input[_EBO]!, - [_xaooa]: [ - () => isSerializableHeaderValue(input[_OOA]), - () => (input[_OOA]! || []).map((_entry) => _entry as any).join(", "), - ], + [_xaooa]: [() => isSerializableHeaderValue(input[_OOA]), () => (input[_OOA]! || []).join(", ")], }); b.bp("/"); b.p("Bucket", () => input.Bucket!, "{Bucket}", false); @@ -2009,10 +2001,7 @@ export const se_ListObjectVersionsCommand = async ( const headers: any = map({}, isSerializableHeaderValue, { [_xaebo]: input[_EBO]!, [_xarp]: input[_RP]!, - [_xaooa]: [ - () => isSerializableHeaderValue(input[_OOA]), - () => (input[_OOA]! || []).map((_entry) => _entry as any).join(", "), - ], + [_xaooa]: [() => isSerializableHeaderValue(input[_OOA]), () => (input[_OOA]! || []).join(", ")], }); b.bp("/"); b.p("Bucket", () => input.Bucket!, "{Bucket}", false); @@ -9698,13 +9687,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _A = "And"; const _AAO = "AnalyticsAndOperator"; const _AC = "AnalyticsConfiguration"; diff --git a/clients/client-s3outposts/package.json b/clients/client-s3outposts/package.json index 7d7e42a10642..87edbf3fe80d 100644 --- a/clients/client-s3outposts/package.json +++ b/clients/client-s3outposts/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-s3outposts/src/protocols/Aws_restJson1.ts b/clients/client-s3outposts/src/protocols/Aws_restJson1.ts index 7ea7bb6b8143..f26ca5f7d876 100644 --- a/clients/client-s3outposts/src/protocols/Aws_restJson1.ts +++ b/clients/client-s3outposts/src/protocols/Aws_restJson1.ts @@ -476,13 +476,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _EI = "EndpointId"; const _MR = "MaxResults"; const _NT = "NextToken"; diff --git a/clients/client-sagemaker-a2i-runtime/package.json b/clients/client-sagemaker-a2i-runtime/package.json index 4cfc4ba24d94..7a49aba616fb 100644 --- a/clients/client-sagemaker-a2i-runtime/package.json +++ b/clients/client-sagemaker-a2i-runtime/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-sagemaker-a2i-runtime/src/protocols/Aws_restJson1.ts b/clients/client-sagemaker-a2i-runtime/src/protocols/Aws_restJson1.ts index 2c1534c9ed60..cf4fa51937e0 100644 --- a/clients/client-sagemaker-a2i-runtime/src/protocols/Aws_restJson1.ts +++ b/clients/client-sagemaker-a2i-runtime/src/protocols/Aws_restJson1.ts @@ -444,13 +444,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CTA = "CreationTimeAfter"; const _CTB = "CreationTimeBefore"; const _FDA = "FlowDefinitionArn"; diff --git a/clients/client-sagemaker-edge/package.json b/clients/client-sagemaker-edge/package.json index af3732855e2a..3c09ca47a021 100644 --- a/clients/client-sagemaker-edge/package.json +++ b/clients/client-sagemaker-edge/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-sagemaker-edge/src/protocols/Aws_restJson1.ts b/clients/client-sagemaker-edge/src/protocols/Aws_restJson1.ts index 33f2b8dfcbae..839b49b75403 100644 --- a/clients/client-sagemaker-edge/src/protocols/Aws_restJson1.ts +++ b/clients/client-sagemaker-edge/src/protocols/Aws_restJson1.ts @@ -292,10 +292,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-sagemaker-featurestore-runtime/package.json b/clients/client-sagemaker-featurestore-runtime/package.json index 1a6a4a5d256d..233a60ddf097 100644 --- a/clients/client-sagemaker-featurestore-runtime/package.json +++ b/clients/client-sagemaker-featurestore-runtime/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-sagemaker-featurestore-runtime/src/protocols/Aws_restJson1.ts b/clients/client-sagemaker-featurestore-runtime/src/protocols/Aws_restJson1.ts index fda8d06d0a34..c9e92f119dd7 100644 --- a/clients/client-sagemaker-featurestore-runtime/src/protocols/Aws_restJson1.ts +++ b/clients/client-sagemaker-featurestore-runtime/src/protocols/Aws_restJson1.ts @@ -75,7 +75,7 @@ export const se_DeleteRecordCommand = async ( const query: any = map({ [_RIVAS]: [, __expectNonNull(input[_RIVAS]!, `RecordIdentifierValueAsString`)], [_ET]: [, __expectNonNull(input[_ET]!, `EventTime`)], - [_TS]: [() => input.TargetStores !== void 0, () => (input[_TS]! || []).map((_entry) => _entry as any)], + [_TS]: [() => input.TargetStores !== void 0, () => input[_TS]! || []], [_DM]: [, input[_DM]!], }); let body: any; @@ -96,7 +96,7 @@ export const se_GetRecordCommand = async ( b.p("FeatureGroupName", () => input.FeatureGroupName!, "{FeatureGroupName}", false); const query: any = map({ [_RIVAS]: [, __expectNonNull(input[_RIVAS]!, `RecordIdentifierValueAsString`)], - [_FNe]: [() => input.FeatureNames !== void 0, () => (input[_FN]! || []).map((_entry) => _entry as any)], + [_FNe]: [() => input.FeatureNames !== void 0, () => input[_FN]! || []], [_ETR]: [, input[_ETR]!], }); let body: any; @@ -381,13 +381,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _DM = "DeletionMode"; const _ET = "EventTime"; const _ETR = "ExpirationTimeResponse"; diff --git a/clients/client-sagemaker-geospatial/package.json b/clients/client-sagemaker-geospatial/package.json index d15101eeb6af..36106628f559 100644 --- a/clients/client-sagemaker-geospatial/package.json +++ b/clients/client-sagemaker-geospatial/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2", "uuid": "^9.0.1" diff --git a/clients/client-sagemaker-geospatial/src/protocols/Aws_restJson1.ts b/clients/client-sagemaker-geospatial/src/protocols/Aws_restJson1.ts index af92326a8bf4..d1b334e4a200 100644 --- a/clients/client-sagemaker-geospatial/src/protocols/Aws_restJson1.ts +++ b/clients/client-sagemaker-geospatial/src/protocols/Aws_restJson1.ts @@ -296,10 +296,7 @@ export const se_GetTileCommand = async ( b.p("y", () => input.y!.toString(), "{y}", false); b.p("z", () => input.z!.toString(), "{z}", false); const query: any = map({ - [_IA]: [ - __expectNonNull(input.ImageAssets, `ImageAssets`) != null, - () => (input[_IA]! || []).map((_entry) => _entry as any), - ], + [_IA]: [__expectNonNull(input.ImageAssets, `ImageAssets`) != null, () => input[_IA]! || []], [_T]: [, __expectNonNull(input[_T]!, `Target`)], [_A]: [, __expectNonNull(input[_A]!, `Arn`)], [_IM]: [() => input.ImageMask !== void 0, () => input[_IM]!.toString()], @@ -576,10 +573,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2133,13 +2127,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _A = "Arn"; const _ERA = "ExecutionRoleArn"; const _IA = "ImageAssets"; diff --git a/clients/client-sagemaker-metrics/package.json b/clients/client-sagemaker-metrics/package.json index 7ed7d3d933e8..13a5da26462a 100644 --- a/clients/client-sagemaker-metrics/package.json +++ b/clients/client-sagemaker-metrics/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-sagemaker-metrics/src/protocols/Aws_restJson1.ts b/clients/client-sagemaker-metrics/src/protocols/Aws_restJson1.ts index 947bfb507a16..1eb4607c03ee 100644 --- a/clients/client-sagemaker-metrics/src/protocols/Aws_restJson1.ts +++ b/clients/client-sagemaker-metrics/src/protocols/Aws_restJson1.ts @@ -210,10 +210,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-sagemaker-runtime/package.json b/clients/client-sagemaker-runtime/package.json index ba17a98d8858..e71912c40362 100644 --- a/clients/client-sagemaker-runtime/package.json +++ b/clients/client-sagemaker-runtime/package.json @@ -34,33 +34,33 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", + "@smithy/core": "^2.4.6", "@smithy/eventstream-serde-browser": "^3.0.9", "@smithy/eventstream-serde-config-resolver": "^3.0.6", "@smithy/eventstream-serde-node": "^3.0.8", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-sagemaker-runtime/src/protocols/Aws_restJson1.ts b/clients/client-sagemaker-runtime/src/protocols/Aws_restJson1.ts index 4b044e9d0676..74704ebcdf9a 100644 --- a/clients/client-sagemaker-runtime/src/protocols/Aws_restJson1.ts +++ b/clients/client-sagemaker-runtime/src/protocols/Aws_restJson1.ts @@ -10,6 +10,7 @@ import { expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, + isSerializableHeaderValue, map, resolvedPath as __resolvedPath, take, @@ -445,13 +446,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _A = "Accept"; const _CA = "CustomAttributes"; const _CSI = "ClosedSessionId"; diff --git a/clients/client-sagemaker/package.json b/clients/client-sagemaker/package.json index 80447b19c39a..b54e4c4000d6 100644 --- a/clients/client-sagemaker/package.json +++ b/clients/client-sagemaker/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-savingsplans/package.json b/clients/client-savingsplans/package.json index b3b5f7a53236..ccbc255adc61 100644 --- a/clients/client-savingsplans/package.json +++ b/clients/client-savingsplans/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-savingsplans/src/protocols/Aws_restJson1.ts b/clients/client-savingsplans/src/protocols/Aws_restJson1.ts index 87c521faa4c5..1bc75dcec234 100644 --- a/clients/client-savingsplans/src/protocols/Aws_restJson1.ts +++ b/clients/client-savingsplans/src/protocols/Aws_restJson1.ts @@ -737,10 +737,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-scheduler/package.json b/clients/client-scheduler/package.json index ad556b807d9f..90dff3ea0d56 100644 --- a/clients/client-scheduler/package.json +++ b/clients/client-scheduler/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-scheduler/src/protocols/Aws_restJson1.ts b/clients/client-scheduler/src/protocols/Aws_restJson1.ts index b8b1b12de4df..9f15d1b738b3 100644 --- a/clients/client-scheduler/src/protocols/Aws_restJson1.ts +++ b/clients/client-scheduler/src/protocols/Aws_restJson1.ts @@ -298,10 +298,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_TK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_TK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -914,13 +911,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CT = "ClientToken"; const _GN = "GroupName"; const _MR = "MaxResults"; diff --git a/clients/client-schemas/package.json b/clients/client-schemas/package.json index 61bb331551f7..08f050a30fd3 100644 --- a/clients/client-schemas/package.json +++ b/clients/client-schemas/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "@smithy/util-waiter": "^3.1.5", "tslib": "^2.6.2", diff --git a/clients/client-schemas/src/protocols/Aws_restJson1.ts b/clients/client-schemas/src/protocols/Aws_restJson1.ts index 7fdbb85bc488..b2e4ef4a49d8 100644 --- a/clients/client-schemas/src/protocols/Aws_restJson1.ts +++ b/clients/client-schemas/src/protocols/Aws_restJson1.ts @@ -646,10 +646,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1807,13 +1804,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _DIP = "DiscovererIdPrefix"; const _K = "Keywords"; const _L = "Limit"; diff --git a/clients/client-secrets-manager/package.json b/clients/client-secrets-manager/package.json index c9b306ac99ad..f65e41e461b0 100644 --- a/clients/client-secrets-manager/package.json +++ b/clients/client-secrets-manager/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-securityhub/package.json b/clients/client-securityhub/package.json index d2f5f30bd407..986f2c9f2229 100644 --- a/clients/client-securityhub/package.json +++ b/clients/client-securityhub/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-securityhub/src/protocols/Aws_restJson1.ts b/clients/client-securityhub/src/protocols/Aws_restJson1.ts index c54013292bd7..f09badaa0cbd 100644 --- a/clients/client-securityhub/src/protocols/Aws_restJson1.ts +++ b/clients/client-securityhub/src/protocols/Aws_restJson1.ts @@ -2360,10 +2360,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -10359,13 +10356,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _HA = "HubArn"; const _MR = "MaxResults"; const _NT = "NextToken"; diff --git a/clients/client-securitylake/package.json b/clients/client-securitylake/package.json index 250f557886af..b2c3624fa484 100644 --- a/clients/client-securitylake/package.json +++ b/clients/client-securitylake/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-securitylake/src/protocols/Aws_restJson1.ts b/clients/client-securitylake/src/protocols/Aws_restJson1.ts index 4149a9dab8af..c5ed5bf5009c 100644 --- a/clients/client-securitylake/src/protocols/Aws_restJson1.ts +++ b/clients/client-securitylake/src/protocols/Aws_restJson1.ts @@ -555,7 +555,7 @@ export const se_ListDataLakesCommand = async ( const headers: any = {}; b.bp("/v1/datalakes"); const query: any = map({ - [_r]: [() => input.regions !== void 0, () => (input[_r]! || []).map((_entry) => _entry as any)], + [_r]: [() => input.regions !== void 0, () => input[_r]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -680,10 +680,7 @@ export const se_UntagResourceCommand = async ( b.bp("/v1/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1748,13 +1745,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _r = "regions"; diff --git a/clients/client-serverlessapplicationrepository/package.json b/clients/client-serverlessapplicationrepository/package.json index 464ebe84d748..cd9bfab937b4 100644 --- a/clients/client-serverlessapplicationrepository/package.json +++ b/clients/client-serverlessapplicationrepository/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-serverlessapplicationrepository/src/protocols/Aws_restJson1.ts b/clients/client-serverlessapplicationrepository/src/protocols/Aws_restJson1.ts index 5a20934c7058..92ba238eb748 100644 --- a/clients/client-serverlessapplicationrepository/src/protocols/Aws_restJson1.ts +++ b/clients/client-serverlessapplicationrepository/src/protocols/Aws_restJson1.ts @@ -1169,13 +1169,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _MI = "MaxItems"; const _NT = "NextToken"; const _SV = "SemanticVersion"; diff --git a/clients/client-service-catalog-appregistry/package.json b/clients/client-service-catalog-appregistry/package.json index 168b49cd5a32..e40d325cfbea 100644 --- a/clients/client-service-catalog-appregistry/package.json +++ b/clients/client-service-catalog-appregistry/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-service-catalog-appregistry/src/protocols/Aws_restJson1.ts b/clients/client-service-catalog-appregistry/src/protocols/Aws_restJson1.ts index d9ff342afdad..e33f40332808 100644 --- a/clients/client-service-catalog-appregistry/src/protocols/Aws_restJson1.ts +++ b/clients/client-service-catalog-appregistry/src/protocols/Aws_restJson1.ts @@ -293,7 +293,7 @@ export const se_GetAssociatedResourceCommand = async ( b.p("resource", () => input.resource!, "{resource}", false); const query: any = map({ [_nT]: [, input[_nT]!], - [_rTS]: [() => input.resourceTagStatus !== void 0, () => (input[_rTS]! || []).map((_entry) => _entry as any)], + [_rTS]: [() => input.resourceTagStatus !== void 0, () => input[_rTS]! || []], [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], }); let body: any; @@ -520,10 +520,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1403,13 +1400,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _rTS = "resourceTagStatus"; diff --git a/clients/client-service-catalog/package.json b/clients/client-service-catalog/package.json index 2fbb424db42f..866866ab09a8 100644 --- a/clients/client-service-catalog/package.json +++ b/clients/client-service-catalog/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-service-quotas/package.json b/clients/client-service-quotas/package.json index 0c92e22940bc..0e81bb6e3c06 100644 --- a/clients/client-service-quotas/package.json +++ b/clients/client-service-quotas/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-servicediscovery/package.json b/clients/client-servicediscovery/package.json index 866a47299263..7eef042ac224 100644 --- a/clients/client-servicediscovery/package.json +++ b/clients/client-servicediscovery/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-ses/package.json b/clients/client-ses/package.json index b75ac0dd4a33..127188abadf8 100644 --- a/clients/client-ses/package.json +++ b/clients/client-ses/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-sesv2/package.json b/clients/client-sesv2/package.json index 9d355a4e7c00..fb26dca6b673 100644 --- a/clients/client-sesv2/package.json +++ b/clients/client-sesv2/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-sesv2/src/protocols/Aws_restJson1.ts b/clients/client-sesv2/src/protocols/Aws_restJson1.ts index 698ba465330a..96d2ab5c459b 100644 --- a/clients/client-sesv2/src/protocols/Aws_restJson1.ts +++ b/clients/client-sesv2/src/protocols/Aws_restJson1.ts @@ -925,10 +925,7 @@ export const se_GetBlacklistReportsCommand = async ( const headers: any = {}; b.bp("/v2/email/deliverability-dashboard/blacklist-report"); const query: any = map({ - [_BIN]: [ - __expectNonNull(input.BlacklistItemNames, `BlacklistItemNames`) != null, - () => (input[_BIN]! || []).map((_entry) => _entry as any), - ], + [_BIN]: [__expectNonNull(input.BlacklistItemNames, `BlacklistItemNames`) != null, () => input[_BIN]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -1511,7 +1508,7 @@ export const se_ListSuppressedDestinationsCommand = async ( const headers: any = {}; b.bp("/v2/email/suppression/addresses"); const query: any = map({ - [_Re]: [() => input.Reasons !== void 0, () => (input[_R]! || []).map((_entry) => _entry as any)], + [_Re]: [() => input.Reasons !== void 0, () => input[_R]! || []], [_SD]: [() => input.StartDate !== void 0, () => __serializeDateTime(input[_SD]!).toString()], [_ED]: [() => input.EndDate !== void 0, () => __serializeDateTime(input[_ED]!).toString()], [_NT]: [, input[_NT]!], @@ -2169,10 +2166,7 @@ export const se_UntagResourceCommand = async ( b.bp("/v2/email/tags"); const query: any = map({ [_RA]: [, __expectNonNull(input[_RA]!, `ResourceArn`)], - [_TK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_TK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -5453,13 +5447,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _BIN = "BlacklistItemNames"; const _ED = "EndDate"; const _NT = "NextToken"; diff --git a/clients/client-sfn/package.json b/clients/client-sfn/package.json index 8e2de37ba382..e1a91e7d3b20 100644 --- a/clients/client-sfn/package.json +++ b/clients/client-sfn/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-shield/package.json b/clients/client-shield/package.json index 12140b6357b0..f9cab1c7d1aa 100644 --- a/clients/client-shield/package.json +++ b/clients/client-shield/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-signer/package.json b/clients/client-signer/package.json index 43d06b680c04..12eb50ba6e19 100644 --- a/clients/client-signer/package.json +++ b/clients/client-signer/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-signer/src/protocols/Aws_restJson1.ts b/clients/client-signer/src/protocols/Aws_restJson1.ts index 2e04fdcba3db..8cc3155f1cb8 100644 --- a/clients/client-signer/src/protocols/Aws_restJson1.ts +++ b/clients/client-signer/src/protocols/Aws_restJson1.ts @@ -179,10 +179,7 @@ export const se_GetRevocationStatusCommand = async ( [_pI]: [, __expectNonNull(input[_pI]!, `platformId`)], [_pVA]: [, __expectNonNull(input[_pVA]!, `profileVersionArn`)], [_jA]: [, __expectNonNull(input[_jA]!, `jobArn`)], - [_cH]: [ - __expectNonNull(input.certificateHashes, `certificateHashes`) != null, - () => (input[_cH]! || []).map((_entry) => _entry as any), - ], + [_cH]: [__expectNonNull(input.certificateHashes, `certificateHashes`) != null, () => input[_cH]! || []], }); let body: any; let { hostname: resolvedHostname } = await context.endpoint(); @@ -314,7 +311,7 @@ export const se_ListSigningProfilesCommand = async ( [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], [_nT]: [, input[_nT]!], [_pI]: [, input[_pI]!], - [_st]: [() => input.statuses !== void 0, () => (input[_st]! || []).map((_entry) => _entry as any)], + [_st]: [() => input.statuses !== void 0, () => input[_st]! || []], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -520,10 +517,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1344,13 +1338,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _c = "category"; const _cH = "certificateHashes"; const _iC = "includeCanceled"; diff --git a/clients/client-simspaceweaver/package.json b/clients/client-simspaceweaver/package.json index a7a5ace34073..b21b667a06fd 100644 --- a/clients/client-simspaceweaver/package.json +++ b/clients/client-simspaceweaver/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-simspaceweaver/src/protocols/Aws_restJson1.ts b/clients/client-simspaceweaver/src/protocols/Aws_restJson1.ts index fc439136019a..238dee318ef8 100644 --- a/clients/client-simspaceweaver/src/protocols/Aws_restJson1.ts +++ b/clients/client-simspaceweaver/src/protocols/Aws_restJson1.ts @@ -394,10 +394,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -990,13 +987,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _A = "App"; const _D = "Domain"; const _MR = "MaxResults"; diff --git a/clients/client-sms/package.json b/clients/client-sms/package.json index 9663ab0086a5..613ddc8fdf52 100644 --- a/clients/client-sms/package.json +++ b/clients/client-sms/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-snow-device-management/package.json b/clients/client-snow-device-management/package.json index 4094453c7584..e06f14067a89 100644 --- a/clients/client-snow-device-management/package.json +++ b/clients/client-snow-device-management/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-snow-device-management/src/protocols/Aws_restJson1.ts b/clients/client-snow-device-management/src/protocols/Aws_restJson1.ts index a8d082089184..a2de32aac124 100644 --- a/clients/client-snow-device-management/src/protocols/Aws_restJson1.ts +++ b/clients/client-snow-device-management/src/protocols/Aws_restJson1.ts @@ -312,10 +312,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -907,13 +904,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _jI = "jobId"; const _mR = "maxResults"; const _nT = "nextToken"; diff --git a/clients/client-snowball/package.json b/clients/client-snowball/package.json index 3b9ede1ebf81..3acbe4ffe2ff 100644 --- a/clients/client-snowball/package.json +++ b/clients/client-snowball/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-sns/package.json b/clients/client-sns/package.json index 87bb26b4770e..dc0c80110909 100644 --- a/clients/client-sns/package.json +++ b/clients/client-sns/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-sqs/package.json b/clients/client-sqs/package.json index 84d66a12892e..1cd3d19c6147 100644 --- a/clients/client-sqs/package.json +++ b/clients/client-sqs/package.json @@ -35,27 +35,27 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/md5-js": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-ssm-contacts/package.json b/clients/client-ssm-contacts/package.json index 63aad4826b57..62287321142a 100644 --- a/clients/client-ssm-contacts/package.json +++ b/clients/client-ssm-contacts/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-ssm-incidents/package.json b/clients/client-ssm-incidents/package.json index b3a0980452d1..08a2aeb31146 100644 --- a/clients/client-ssm-incidents/package.json +++ b/clients/client-ssm-incidents/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-ssm-incidents/src/protocols/Aws_restJson1.ts b/clients/client-ssm-incidents/src/protocols/Aws_restJson1.ts index 22aa40fe436a..d9cca3df27ca 100644 --- a/clients/client-ssm-incidents/src/protocols/Aws_restJson1.ts +++ b/clients/client-ssm-incidents/src/protocols/Aws_restJson1.ts @@ -713,10 +713,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2107,13 +2104,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _a = "arn"; const _eI = "eventId"; const _iRA = "incidentRecordArn"; diff --git a/clients/client-ssm-quicksetup/package.json b/clients/client-ssm-quicksetup/package.json index a5c7310311fc..33532a7e445b 100644 --- a/clients/client-ssm-quicksetup/package.json +++ b/clients/client-ssm-quicksetup/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-ssm-quicksetup/src/protocols/Aws_restJson1.ts b/clients/client-ssm-quicksetup/src/protocols/Aws_restJson1.ts index 7bfdf158a1df..102c1c15ac68 100644 --- a/clients/client-ssm-quicksetup/src/protocols/Aws_restJson1.ts +++ b/clients/client-ssm-quicksetup/src/protocols/Aws_restJson1.ts @@ -237,10 +237,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -806,12 +803,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _TK = "TagKeys"; const _tK = "tagKeys"; diff --git a/clients/client-ssm-sap/package.json b/clients/client-ssm-sap/package.json index 6fe6f466c3aa..b45ba3ab1c40 100644 --- a/clients/client-ssm-sap/package.json +++ b/clients/client-ssm-sap/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-ssm-sap/src/protocols/Aws_restJson1.ts b/clients/client-ssm-sap/src/protocols/Aws_restJson1.ts index 53cb5e353fc1..7555048b47da 100644 --- a/clients/client-ssm-sap/src/protocols/Aws_restJson1.ts +++ b/clients/client-ssm-sap/src/protocols/Aws_restJson1.ts @@ -547,10 +547,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1358,11 +1355,4 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _tK = "tagKeys"; diff --git a/clients/client-ssm/package.json b/clients/client-ssm/package.json index bc279677d49e..5a631886f637 100644 --- a/clients/client-ssm/package.json +++ b/clients/client-ssm/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-sso-admin/package.json b/clients/client-sso-admin/package.json index 02618806abe4..d9cc06e88865 100644 --- a/clients/client-sso-admin/package.json +++ b/clients/client-sso-admin/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-sso-oidc/package.json b/clients/client-sso-oidc/package.json index 934bdccedfad..f27832cbd1f1 100644 --- a/clients/client-sso-oidc/package.json +++ b/clients/client-sso-oidc/package.json @@ -32,26 +32,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-sso-oidc/src/protocols/Aws_restJson1.ts b/clients/client-sso-oidc/src/protocols/Aws_restJson1.ts index 5ae3389c02b7..8c3da74a59c6 100644 --- a/clients/client-sso-oidc/src/protocols/Aws_restJson1.ts +++ b/clients/client-sso-oidc/src/protocols/Aws_restJson1.ts @@ -643,11 +643,4 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _ai = "aws_iam"; diff --git a/clients/client-sso/package.json b/clients/client-sso/package.json index 74c7bfc32463..35a4dec1fad2 100644 --- a/clients/client-sso/package.json +++ b/clients/client-sso/package.json @@ -31,26 +31,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-sso/src/protocols/Aws_restJson1.ts b/clients/client-sso/src/protocols/Aws_restJson1.ts index b1e982828077..fc248532d858 100644 --- a/clients/client-sso/src/protocols/Aws_restJson1.ts +++ b/clients/client-sso/src/protocols/Aws_restJson1.ts @@ -10,6 +10,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, take, withBaseException, @@ -327,13 +328,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aI = "accountId"; const _aT = "accessToken"; const _ai = "account_id"; diff --git a/clients/client-storage-gateway/package.json b/clients/client-storage-gateway/package.json index 367d79cf7888..7f1197962aff 100644 --- a/clients/client-storage-gateway/package.json +++ b/clients/client-storage-gateway/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-sts/package.json b/clients/client-sts/package.json index c45b7aa17232..1bfb404446e2 100644 --- a/clients/client-sts/package.json +++ b/clients/client-sts/package.json @@ -35,26 +35,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-supplychain/package.json b/clients/client-supplychain/package.json index e0b9cd82d76f..05c81b0ae53e 100644 --- a/clients/client-supplychain/package.json +++ b/clients/client-supplychain/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-supplychain/src/protocols/Aws_restJson1.ts b/clients/client-supplychain/src/protocols/Aws_restJson1.ts index b0d4f2e9884f..4c0b1a529769 100644 --- a/clients/client-supplychain/src/protocols/Aws_restJson1.ts +++ b/clients/client-supplychain/src/protocols/Aws_restJson1.ts @@ -361,10 +361,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-support-app/package.json b/clients/client-support-app/package.json index e633e0b74742..ca5e36e05332 100644 --- a/clients/client-support-app/package.json +++ b/clients/client-support-app/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-support-app/src/protocols/Aws_restJson1.ts b/clients/client-support-app/src/protocols/Aws_restJson1.ts index d90c706ce6cd..270af76a8481 100644 --- a/clients/client-support-app/src/protocols/Aws_restJson1.ts +++ b/clients/client-support-app/src/protocols/Aws_restJson1.ts @@ -655,10 +655,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-support/package.json b/clients/client-support/package.json index 7537c8139e97..b4aa993a48a2 100644 --- a/clients/client-support/package.json +++ b/clients/client-support/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-swf/package.json b/clients/client-swf/package.json index 17f41553f8ec..32ebf87d3869 100644 --- a/clients/client-swf/package.json +++ b/clients/client-swf/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-synthetics/package.json b/clients/client-synthetics/package.json index f7fafad337f7..dd752a1b68ec 100644 --- a/clients/client-synthetics/package.json +++ b/clients/client-synthetics/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-synthetics/src/protocols/Aws_restJson1.ts b/clients/client-synthetics/src/protocols/Aws_restJson1.ts index ea0b17836f8c..9ced6f56f0e0 100644 --- a/clients/client-synthetics/src/protocols/Aws_restJson1.ts +++ b/clients/client-synthetics/src/protocols/Aws_restJson1.ts @@ -509,10 +509,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1440,13 +1437,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _DL = "DeleteLambda"; const _TK = "TagKeys"; const _dL = "deleteLambda"; diff --git a/clients/client-taxsettings/package.json b/clients/client-taxsettings/package.json index 99bf0a39547d..3dceb0654249 100644 --- a/clients/client-taxsettings/package.json +++ b/clients/client-taxsettings/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-taxsettings/src/protocols/Aws_restJson1.ts b/clients/client-taxsettings/src/protocols/Aws_restJson1.ts index e74b58eac5b2..2be046f5f96e 100644 --- a/clients/client-taxsettings/src/protocols/Aws_restJson1.ts +++ b/clients/client-taxsettings/src/protocols/Aws_restJson1.ts @@ -618,10 +618,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-textract/package.json b/clients/client-textract/package.json index f2906677a929..fe7345496bde 100644 --- a/clients/client-textract/package.json +++ b/clients/client-textract/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-timestream-influxdb/package.json b/clients/client-timestream-influxdb/package.json index d94cf2db8c1b..eedbf75a0aff 100644 --- a/clients/client-timestream-influxdb/package.json +++ b/clients/client-timestream-influxdb/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-timestream-query/package.json b/clients/client-timestream-query/package.json index a0859fe47878..cc57b5325b9e 100644 --- a/clients/client-timestream-query/package.json +++ b/clients/client-timestream-query/package.json @@ -35,26 +35,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-timestream-write/package.json b/clients/client-timestream-write/package.json index 811ff52ccbec..cd1682a2fbbf 100644 --- a/clients/client-timestream-write/package.json +++ b/clients/client-timestream-write/package.json @@ -35,26 +35,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-tnb/package.json b/clients/client-tnb/package.json index dba4bc708389..01f724f44084 100644 --- a/clients/client-tnb/package.json +++ b/clients/client-tnb/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-tnb/src/protocols/Aws_restJson1.ts b/clients/client-tnb/src/protocols/Aws_restJson1.ts index 4965f055d9d5..fedd22d8131d 100644 --- a/clients/client-tnb/src/protocols/Aws_restJson1.ts +++ b/clients/client-tnb/src/protocols/Aws_restJson1.ts @@ -10,6 +10,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, @@ -702,10 +703,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2137,13 +2135,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _a = "accept"; const _cT = "contentType"; const _ct = "content-type"; diff --git a/clients/client-transcribe-streaming/package.json b/clients/client-transcribe-streaming/package.json index a36ddb874e2c..417d6dd4ce53 100644 --- a/clients/client-transcribe-streaming/package.json +++ b/clients/client-transcribe-streaming/package.json @@ -39,29 +39,29 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", + "@smithy/core": "^2.4.6", "@smithy/eventstream-serde-browser": "^3.0.9", "@smithy/eventstream-serde-config-resolver": "^3.0.6", "@smithy/eventstream-serde-node": "^3.0.8", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-transcribe-streaming/src/protocols/Aws_restJson1.ts b/clients/client-transcribe-streaming/src/protocols/Aws_restJson1.ts index 03cb376627d7..9a00322b0d1b 100644 --- a/clients/client-transcribe-streaming/src/protocols/Aws_restJson1.ts +++ b/clients/client-transcribe-streaming/src/protocols/Aws_restJson1.ts @@ -9,6 +9,7 @@ import { expectBoolean as __expectBoolean, expectLong as __expectLong, expectString as __expectString, + isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, parseBoolean as __parseBoolean, @@ -1025,13 +1026,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _CIT = "ContentIdentificationType"; const _CRT = "ContentRedactionType"; const _ECI = "EnableChannelIdentification"; diff --git a/clients/client-transcribe/package.json b/clients/client-transcribe/package.json index 151e57f9e657..a8df61d2dd38 100644 --- a/clients/client-transcribe/package.json +++ b/clients/client-transcribe/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-transfer/package.json b/clients/client-transfer/package.json index 217e063acc9c..139309088fd5 100644 --- a/clients/client-transfer/package.json +++ b/clients/client-transfer/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-translate/package.json b/clients/client-translate/package.json index cc9f729c0291..ddcc1aaba4fa 100644 --- a/clients/client-translate/package.json +++ b/clients/client-translate/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-trustedadvisor/package.json b/clients/client-trustedadvisor/package.json index 2fcf06178b83..d26a72db721a 100644 --- a/clients/client-trustedadvisor/package.json +++ b/clients/client-trustedadvisor/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-trustedadvisor/src/protocols/Aws_restJson1.ts b/clients/client-trustedadvisor/src/protocols/Aws_restJson1.ts index c7d1aafdc745..90f1fd2d81df 100644 --- a/clients/client-trustedadvisor/src/protocols/Aws_restJson1.ts +++ b/clients/client-trustedadvisor/src/protocols/Aws_restJson1.ts @@ -1021,13 +1021,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aAI = "affectedAccountId"; const _aLUA = "afterLastUpdatedAt"; const _aS = "awsService"; diff --git a/clients/client-verifiedpermissions/package.json b/clients/client-verifiedpermissions/package.json index 58ce465c57f3..223f78e82049 100644 --- a/clients/client-verifiedpermissions/package.json +++ b/clients/client-verifiedpermissions/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-voice-id/package.json b/clients/client-voice-id/package.json index ee32c8ddb783..d10b8fac8370 100644 --- a/clients/client-voice-id/package.json +++ b/clients/client-voice-id/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-vpc-lattice/package.json b/clients/client-vpc-lattice/package.json index e098dd593eb1..0546bca63ece 100644 --- a/clients/client-vpc-lattice/package.json +++ b/clients/client-vpc-lattice/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-vpc-lattice/src/protocols/Aws_restJson1.ts b/clients/client-vpc-lattice/src/protocols/Aws_restJson1.ts index e78585f65f36..d684a4986286 100644 --- a/clients/client-vpc-lattice/src/protocols/Aws_restJson1.ts +++ b/clients/client-vpc-lattice/src/protocols/Aws_restJson1.ts @@ -1101,10 +1101,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -3069,13 +3066,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _rAS = "retryAfterSeconds"; diff --git a/clients/client-waf-regional/package.json b/clients/client-waf-regional/package.json index 62b001e38ec7..41c2b769cccb 100644 --- a/clients/client-waf-regional/package.json +++ b/clients/client-waf-regional/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-waf/package.json b/clients/client-waf/package.json index c17db0cc2c57..6a2b77f61bf5 100644 --- a/clients/client-waf/package.json +++ b/clients/client-waf/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-wafv2/package.json b/clients/client-wafv2/package.json index f522fa7274c2..0c40dd880219 100644 --- a/clients/client-wafv2/package.json +++ b/clients/client-wafv2/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-wellarchitected/package.json b/clients/client-wellarchitected/package.json index ad60d1f5c5a9..3af02e7da8b2 100644 --- a/clients/client-wellarchitected/package.json +++ b/clients/client-wellarchitected/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-wellarchitected/src/protocols/Aws_restJson1.ts b/clients/client-wellarchitected/src/protocols/Aws_restJson1.ts index bf5d6426500c..f3ad8481d8fa 100644 --- a/clients/client-wellarchitected/src/protocols/Aws_restJson1.ts +++ b/clients/client-wellarchitected/src/protocols/Aws_restJson1.ts @@ -1467,10 +1467,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{WorkloadArn}"); b.p("WorkloadArn", () => input.WorkloadArn!, "{WorkloadArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -4258,13 +4255,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _BLV = "BaseLensVersion"; const _CRT = "ClientRequestToken"; const _F = "Format"; diff --git a/clients/client-wisdom/package.json b/clients/client-wisdom/package.json index 3b4dfbf23296..0b926c1371a3 100644 --- a/clients/client-wisdom/package.json +++ b/clients/client-wisdom/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-wisdom/src/protocols/Aws_restJson1.ts b/clients/client-wisdom/src/protocols/Aws_restJson1.ts index 64f94795feec..81eaa09f37e6 100644 --- a/clients/client-wisdom/src/protocols/Aws_restJson1.ts +++ b/clients/client-wisdom/src/protocols/Aws_restJson1.ts @@ -943,10 +943,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -2481,13 +2478,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _mR = "maxResults"; const _nT = "nextToken"; const _tK = "tagKeys"; diff --git a/clients/client-workdocs/package.json b/clients/client-workdocs/package.json index d45a58f85585..e6ebb6c609d3 100644 --- a/clients/client-workdocs/package.json +++ b/clients/client-workdocs/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-workdocs/src/protocols/Aws_restJson1.ts b/clients/client-workdocs/src/protocols/Aws_restJson1.ts index 91520f4d2a42..47adbe9ec5e8 100644 --- a/clients/client-workdocs/src/protocols/Aws_restJson1.ts +++ b/clients/client-workdocs/src/protocols/Aws_restJson1.ts @@ -13,6 +13,7 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, @@ -450,7 +451,7 @@ export const se_DeleteCustomMetadataCommand = async ( b.p("ResourceId", () => input.ResourceId!, "{ResourceId}", false); const query: any = map({ [_vI]: [, input[_VI]!], - [_k]: [() => input.Keys !== void 0, () => (input[_K]! || []).map((_entry) => _entry as any)], + [_k]: [() => input.Keys !== void 0, () => input[_K]! || []], [_dA]: [() => input.DeleteAll !== void 0, () => input[_DA]!.toString()], }); let body: any; @@ -548,7 +549,7 @@ export const se_DeleteLabelsCommand = async ( b.bp("/api/v1/resources/{ResourceId}/labels"); b.p("ResourceId", () => input.ResourceId!, "{ResourceId}", false); const query: any = map({ - [_l]: [() => input.Labels !== void 0, () => (input[_L]! || []).map((_entry) => _entry as any)], + [_l]: [() => input.Labels !== void 0, () => input[_L]! || []], [_dA]: [() => input.DeleteAll !== void 0, () => input[_DA]!.toString()], }); let body: any; @@ -3004,13 +3005,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _AT = "AuthenticationToken"; const _ATc = "ActivityTypes"; const _CT = "CollectionType"; diff --git a/clients/client-worklink/package.json b/clients/client-worklink/package.json index 33156c90a74e..ca06c8d6b6d5 100644 --- a/clients/client-worklink/package.json +++ b/clients/client-worklink/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-worklink/src/protocols/Aws_restJson1.ts b/clients/client-worklink/src/protocols/Aws_restJson1.ts index 0864861f9958..be7ad65e3369 100644 --- a/clients/client-worklink/src/protocols/Aws_restJson1.ts +++ b/clients/client-worklink/src/protocols/Aws_restJson1.ts @@ -738,10 +738,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn!, "{ResourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input[_TK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -1842,12 +1839,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _TK = "TagKeys"; const _tK = "tagKeys"; diff --git a/clients/client-workmail/package.json b/clients/client-workmail/package.json index ca1ae78cfcd7..2e081ef56325 100644 --- a/clients/client-workmail/package.json +++ b/clients/client-workmail/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-workmailmessageflow/package.json b/clients/client-workmailmessageflow/package.json index 1b787e6fff77..b8d212687979 100644 --- a/clients/client-workmailmessageflow/package.json +++ b/clients/client-workmailmessageflow/package.json @@ -34,30 +34,30 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/clients/client-workmailmessageflow/src/protocols/Aws_restJson1.ts b/clients/client-workmailmessageflow/src/protocols/Aws_restJson1.ts index 5c61cb461100..9b08c8617895 100644 --- a/clients/client-workmailmessageflow/src/protocols/Aws_restJson1.ts +++ b/clients/client-workmailmessageflow/src/protocols/Aws_restJson1.ts @@ -234,10 +234,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/clients/client-workspaces-thin-client/package.json b/clients/client-workspaces-thin-client/package.json index a8cf888d645c..5e088c95d843 100644 --- a/clients/client-workspaces-thin-client/package.json +++ b/clients/client-workspaces-thin-client/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-workspaces-thin-client/src/protocols/Aws_restJson1.ts b/clients/client-workspaces-thin-client/src/protocols/Aws_restJson1.ts index 8eebec38b7e2..dafe23a32094 100644 --- a/clients/client-workspaces-thin-client/src/protocols/Aws_restJson1.ts +++ b/clients/client-workspaces-thin-client/src/protocols/Aws_restJson1.ts @@ -414,10 +414,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; let { hostname: resolvedHostname } = await context.endpoint(); @@ -1242,13 +1239,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _cT = "clientToken"; const _mR = "maxResults"; const _nT = "nextToken"; diff --git a/clients/client-workspaces-web/package.json b/clients/client-workspaces-web/package.json index 993fc11535ac..dcfca6b7c6f0 100644 --- a/clients/client-workspaces-web/package.json +++ b/clients/client-workspaces-web/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-workspaces-web/src/protocols/Aws_restJson1.ts b/clients/client-workspaces-web/src/protocols/Aws_restJson1.ts index 0c7b697d6e7e..73a618e88c98 100644 --- a/clients/client-workspaces-web/src/protocols/Aws_restJson1.ts +++ b/clients/client-workspaces-web/src/protocols/Aws_restJson1.ts @@ -1240,10 +1240,7 @@ export const se_UntagResourceCommand = async ( b.bp("/tags/{resourceArn+}"); b.p("resourceArn", () => input.resourceArn!, "{resourceArn+}", true); const query: any = map({ - [_tK]: [ - __expectNonNull(input.tagKeys, `tagKeys`) != null, - () => (input[_tK]! || []).map((_entry) => _entry as any), - ], + [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], }); let body: any; b.m("DELETE").h(headers).q(query).b(body); @@ -3206,13 +3203,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _bSA = "browserSettingsArn"; const _iASA = "ipAccessSettingsArn"; const _mR = "maxResults"; diff --git a/clients/client-workspaces/package.json b/clients/client-workspaces/package.json index de4be1a947fb..e647b0dfc63d 100644 --- a/clients/client-workspaces/package.json +++ b/clients/client-workspaces/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-xray/package.json b/clients/client-xray/package.json index 60e6b1ac73c5..ab54f50834d1 100644 --- a/clients/client-xray/package.json +++ b/clients/client-xray/package.json @@ -34,26 +34,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-endpoints": "^2.1.2", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", diff --git a/clients/client-xray/src/protocols/Aws_restJson1.ts b/clients/client-xray/src/protocols/Aws_restJson1.ts index 342259f4edeb..1f49867a8de0 100644 --- a/clients/client-xray/src/protocols/Aws_restJson1.ts +++ b/clients/client-xray/src/protocols/Aws_restJson1.ts @@ -2482,10 +2482,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AwsProtocolUtils.java b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AwsProtocolUtils.java index f0e95365937b..c4c9eec9cc0d 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AwsProtocolUtils.java +++ b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AwsProtocolUtils.java @@ -312,6 +312,11 @@ private static boolean filterProtocolTests( return true; } + // TODO: Remove when upstream tests update to serialize empty headers. + if (testCase.getId().contains("NullAndEmptyHeaders")) { + return true; + } + if (testCase.getTags().contains("defaults")) { return true; } diff --git a/lib/lib-dynamodb/package.json b/lib/lib-dynamodb/package.json index 6445f8872fd8..fc8982d7d80c 100644 --- a/lib/lib-dynamodb/package.json +++ b/lib/lib-dynamodb/package.json @@ -27,8 +27,8 @@ "license": "Apache-2.0", "dependencies": { "@aws-sdk/util-dynamodb": "*", - "@smithy/core": "^2.4.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/core": "^2.4.6", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "tslib": "^2.6.2" }, diff --git a/lib/lib-storage/package.json b/lib/lib-storage/package.json index c3e282e4fbde..9abcebdb0abd 100644 --- a/lib/lib-storage/package.json +++ b/lib/lib-storage/package.json @@ -28,7 +28,7 @@ "dependencies": { "@smithy/abort-controller": "^3.1.4", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "buffer": "5.6.0", "events": "3.3.0", "stream-browserify": "3.0.0", diff --git a/packages/core/package.json b/packages/core/package.json index 57868a073ef0..92319bb2f6df 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -79,12 +79,12 @@ }, "license": "Apache-2.0", "dependencies": { - "@smithy/core": "^2.4.3", + "@smithy/core": "^2.4.6", "@smithy/node-config-provider": "^3.1.7", "@smithy/property-provider": "^3.1.6", "@smithy/protocol-http": "^4.1.3", - "@smithy/signature-v4": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/signature-v4": "^4.1.4", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/util-middleware": "^3.0.6", "fast-xml-parser": "4.4.1", diff --git a/packages/credential-provider-http/package.json b/packages/credential-provider-http/package.json index 9529a1b3908c..50fdd198fe87 100644 --- a/packages/credential-provider-http/package.json +++ b/packages/credential-provider-http/package.json @@ -27,13 +27,13 @@ "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "*", - "@smithy/fetch-http-handler": "^3.2.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/fetch-http-handler": "^3.2.8", + "@smithy/node-http-handler": "^3.2.3", "@smithy/property-provider": "^3.1.6", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "tslib": "^2.6.2" }, "devDependencies": { diff --git a/packages/ec2-metadata-service/package.json b/packages/ec2-metadata-service/package.json index 0300988f4672..f2f3a3f1cdd7 100644 --- a/packages/ec2-metadata-service/package.json +++ b/packages/ec2-metadata-service/package.json @@ -23,10 +23,10 @@ "dependencies": { "@aws-sdk/types": "*", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", "@smithy/types": "^3.4.2", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "tslib": "^2.6.2" }, "devDependencies": { diff --git a/packages/middleware-flexible-checksums/package.json b/packages/middleware-flexible-checksums/package.json index 13ad1550c8db..bc743a5a806e 100644 --- a/packages/middleware-flexible-checksums/package.json +++ b/packages/middleware-flexible-checksums/package.json @@ -40,7 +40,7 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/middleware-sdk-ec2/package.json b/packages/middleware-sdk-ec2/package.json index 6e4c34425d32..dabe6ae609f6 100644 --- a/packages/middleware-sdk-ec2/package.json +++ b/packages/middleware-sdk-ec2/package.json @@ -25,8 +25,8 @@ "@aws-sdk/util-format-url": "*", "@smithy/middleware-endpoint": "^3.1.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/signature-v4": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/signature-v4": "^4.1.4", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "tslib": "^2.6.2" }, diff --git a/packages/middleware-sdk-rds/package.json b/packages/middleware-sdk-rds/package.json index 4b456853341a..ae2a9bbbae6d 100644 --- a/packages/middleware-sdk-rds/package.json +++ b/packages/middleware-sdk-rds/package.json @@ -25,7 +25,7 @@ "@aws-sdk/util-format-url": "*", "@smithy/middleware-endpoint": "^3.1.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/signature-v4": "^4.1.3", + "@smithy/signature-v4": "^4.1.4", "@smithy/types": "^3.4.2", "tslib": "^2.6.2" }, diff --git a/packages/middleware-sdk-s3/package.json b/packages/middleware-sdk-s3/package.json index 65c8cdc8218e..396063718435 100644 --- a/packages/middleware-sdk-s3/package.json +++ b/packages/middleware-sdk-s3/package.json @@ -26,15 +26,15 @@ "@aws-sdk/core": "*", "@aws-sdk/types": "*", "@aws-sdk/util-arn-parser": "*", - "@smithy/core": "^2.4.3", + "@smithy/core": "^2.4.6", "@smithy/node-config-provider": "^3.1.7", "@smithy/protocol-http": "^4.1.3", - "@smithy/signature-v4": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/signature-v4": "^4.1.4", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/util-config-provider": "^3.0.0", "@smithy/util-middleware": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/packages/middleware-sdk-sqs/package.json b/packages/middleware-sdk-sqs/package.json index 891c87141566..5228f006fb09 100644 --- a/packages/middleware-sdk-sqs/package.json +++ b/packages/middleware-sdk-sqs/package.json @@ -22,7 +22,7 @@ "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "*", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/util-hex-encoding": "^3.0.0", "@smithy/util-utf8": "^3.0.0", diff --git a/packages/middleware-sdk-transcribe-streaming/package.json b/packages/middleware-sdk-transcribe-streaming/package.json index c2003ed8b907..c19a359918ca 100644 --- a/packages/middleware-sdk-transcribe-streaming/package.json +++ b/packages/middleware-sdk-transcribe-streaming/package.json @@ -25,7 +25,7 @@ "@aws-sdk/util-format-url": "*", "@smithy/eventstream-serde-browser": "^3.0.9", "@smithy/protocol-http": "^4.1.3", - "@smithy/signature-v4": "^4.1.3", + "@smithy/signature-v4": "^4.1.4", "@smithy/types": "^3.4.2", "tslib": "^2.6.2", "uuid": "^9.0.1" diff --git a/packages/middleware-signing/package.json b/packages/middleware-signing/package.json index c7d02bb81f62..1e24b721fccc 100644 --- a/packages/middleware-signing/package.json +++ b/packages/middleware-signing/package.json @@ -25,7 +25,7 @@ "@aws-sdk/types": "*", "@smithy/property-provider": "^3.1.6", "@smithy/protocol-http": "^4.1.3", - "@smithy/signature-v4": "^4.1.3", + "@smithy/signature-v4": "^4.1.4", "@smithy/types": "^3.4.2", "@smithy/util-middleware": "^3.0.6", "tslib": "^2.6.2" diff --git a/packages/middleware-websocket/package.json b/packages/middleware-websocket/package.json index d17a7045b343..af095b81b4a5 100644 --- a/packages/middleware-websocket/package.json +++ b/packages/middleware-websocket/package.json @@ -26,9 +26,9 @@ "@aws-sdk/util-format-url": "*", "@smithy/eventstream-codec": "^3.1.5", "@smithy/eventstream-serde-browser": "^3.0.9", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/protocol-http": "^4.1.3", - "@smithy/signature-v4": "^4.1.3", + "@smithy/signature-v4": "^4.1.4", "@smithy/types": "^3.4.2", "@smithy/util-hex-encoding": "^3.0.0", "tslib": "^2.6.2" diff --git a/packages/polly-request-presigner/package.json b/packages/polly-request-presigner/package.json index 43bf287f0f24..21a4db1d5055 100644 --- a/packages/polly-request-presigner/package.json +++ b/packages/polly-request-presigner/package.json @@ -25,7 +25,7 @@ "@aws-sdk/types": "*", "@aws-sdk/util-format-url": "*", "@smithy/protocol-http": "^4.1.3", - "@smithy/signature-v4": "^4.1.3", + "@smithy/signature-v4": "^4.1.4", "@smithy/types": "^3.4.2", "tslib": "^2.6.2" }, diff --git a/packages/rds-signer/package.json b/packages/rds-signer/package.json index 25e43acc158d..d1898a875044 100644 --- a/packages/rds-signer/package.json +++ b/packages/rds-signer/package.json @@ -34,7 +34,7 @@ "@smithy/invalid-dependency": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", "@smithy/protocol-http": "^4.1.3", - "@smithy/signature-v4": "^4.1.3", + "@smithy/signature-v4": "^4.1.4", "@smithy/types": "^3.4.2", "tslib": "^2.6.2" }, diff --git a/packages/s3-presigned-post/package.json b/packages/s3-presigned-post/package.json index be10feb22812..dcd6b2eb0d1c 100644 --- a/packages/s3-presigned-post/package.json +++ b/packages/s3-presigned-post/package.json @@ -26,7 +26,7 @@ "@aws-sdk/types": "*", "@aws-sdk/util-format-url": "*", "@smithy/middleware-endpoint": "^3.1.3", - "@smithy/signature-v4": "^4.1.3", + "@smithy/signature-v4": "^4.1.4", "@smithy/types": "^3.4.2", "@smithy/util-hex-encoding": "^3.0.0", "@smithy/util-utf8": "^3.0.0", diff --git a/packages/s3-request-presigner/package.json b/packages/s3-request-presigner/package.json index 771c5312d561..61dbfa5f1fd9 100644 --- a/packages/s3-request-presigner/package.json +++ b/packages/s3-request-presigner/package.json @@ -26,7 +26,7 @@ "@aws-sdk/util-format-url": "*", "@smithy/middleware-endpoint": "^3.1.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "tslib": "^2.6.2" }, diff --git a/packages/signature-v4-crt/package.json b/packages/signature-v4-crt/package.json index 3b4c6da6712c..6a38639f295b 100644 --- a/packages/signature-v4-crt/package.json +++ b/packages/signature-v4-crt/package.json @@ -26,7 +26,7 @@ "@aws-sdk/types": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/querystring-parser": "^3.0.6", - "@smithy/signature-v4": "^4.1.3", + "@smithy/signature-v4": "^4.1.4", "@smithy/types": "^3.4.2", "@smithy/util-middleware": "^3.0.6", "aws-crt": "^1.18.3", diff --git a/packages/signature-v4-multi-region/package.json b/packages/signature-v4-multi-region/package.json index 27f692f4bebd..dd235a9c8163 100644 --- a/packages/signature-v4-multi-region/package.json +++ b/packages/signature-v4-multi-region/package.json @@ -23,7 +23,7 @@ "@aws-sdk/middleware-sdk-s3": "*", "@aws-sdk/types": "*", "@smithy/protocol-http": "^4.1.3", - "@smithy/signature-v4": "^4.1.3", + "@smithy/signature-v4": "^4.1.4", "@smithy/types": "^3.4.2", "tslib": "^2.6.2" }, diff --git a/packages/smithy-client/package.json b/packages/smithy-client/package.json index 223df7230d1a..50aafc241e6c 100644 --- a/packages/smithy-client/package.json +++ b/packages/smithy-client/package.json @@ -22,7 +22,7 @@ }, "license": "Apache-2.0", "dependencies": { - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "tslib": "^2.6.2" }, "engines": { diff --git a/packages/util-create-request/package.json b/packages/util-create-request/package.json index 0b6c4aad28c9..cbc15eed7070 100644 --- a/packages/util-create-request/package.json +++ b/packages/util-create-request/package.json @@ -23,7 +23,7 @@ "dependencies": { "@aws-sdk/types": "*", "@smithy/middleware-stack": "^3.0.6", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "tslib": "^2.6.2" }, diff --git a/private/aws-client-api-test/package.json b/private/aws-client-api-test/package.json index 9f6a7d90fac1..87ce60024e48 100644 --- a/private/aws-client-api-test/package.json +++ b/private/aws-client-api-test/package.json @@ -28,17 +28,17 @@ "@smithy/eventstream-serde-node": "^3.0.8", "@smithy/hash-node": "^3.0.6", "@smithy/hash-stream-node": "^3.1.5", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", - "@smithy/smithy-client": "^3.3.2", + "@smithy/node-http-handler": "^3.2.3", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/private/aws-echo-service/package.json b/private/aws-echo-service/package.json index 7a60c1b37623..5a908b1f508b 100644 --- a/private/aws-echo-service/package.json +++ b/private/aws-echo-service/package.json @@ -28,25 +28,25 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", "@smithy/util-utf8": "^3.0.0", diff --git a/private/aws-echo-service/src/protocols/Aws_restJson1.ts b/private/aws-echo-service/src/protocols/Aws_restJson1.ts index b1d455d3a1c8..a84e05f2bcdb 100644 --- a/private/aws-echo-service/src/protocols/Aws_restJson1.ts +++ b/private/aws-echo-service/src/protocols/Aws_restJson1.ts @@ -149,10 +149,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/private/aws-middleware-test/package.json b/private/aws-middleware-test/package.json index f19be8b5afe9..4c061c67906f 100644 --- a/private/aws-middleware-test/package.json +++ b/private/aws-middleware-test/package.json @@ -27,7 +27,7 @@ "@aws-sdk/client-xray": "*", "@smithy/protocol-http": "^4.1.3", "@smithy/types": "^3.4.2", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/private/aws-protocoltests-ec2/package.json b/private/aws-protocoltests-ec2/package.json index bd8ab2339b46..6a9fb7f6f88d 100644 --- a/private/aws-protocoltests-ec2/package.json +++ b/private/aws-protocoltests-ec2/package.json @@ -32,26 +32,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-compression": "^3.0.10", "@smithy/middleware-content-length": "^3.0.8", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", "@smithy/util-utf8": "^3.0.0", diff --git a/private/aws-protocoltests-json-10/package.json b/private/aws-protocoltests-json-10/package.json index 91a809fcae22..7a8f1b2e43ec 100644 --- a/private/aws-protocoltests-json-10/package.json +++ b/private/aws-protocoltests-json-10/package.json @@ -32,26 +32,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-compression": "^3.0.10", "@smithy/middleware-content-length": "^3.0.8", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", "@smithy/util-utf8": "^3.0.0", diff --git a/private/aws-protocoltests-json-machinelearning/package.json b/private/aws-protocoltests-json-machinelearning/package.json index 8b828fa9e7aa..9712577f94e8 100644 --- a/private/aws-protocoltests-json-machinelearning/package.json +++ b/private/aws-protocoltests-json-machinelearning/package.json @@ -33,25 +33,25 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", "@smithy/util-utf8": "^3.0.0", diff --git a/private/aws-protocoltests-json/package.json b/private/aws-protocoltests-json/package.json index de39ca2542a5..28c01798344b 100644 --- a/private/aws-protocoltests-json/package.json +++ b/private/aws-protocoltests-json/package.json @@ -32,26 +32,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-compression": "^3.0.10", "@smithy/middleware-content-length": "^3.0.8", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", "@smithy/util-utf8": "^3.0.0", diff --git a/private/aws-protocoltests-query/package.json b/private/aws-protocoltests-query/package.json index 7212479f2cf1..beb9b0663a94 100644 --- a/private/aws-protocoltests-query/package.json +++ b/private/aws-protocoltests-query/package.json @@ -32,26 +32,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-compression": "^3.0.10", "@smithy/middleware-content-length": "^3.0.8", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", "@smithy/util-utf8": "^3.0.0", diff --git a/private/aws-protocoltests-restjson-apigateway/package.json b/private/aws-protocoltests-restjson-apigateway/package.json index ed7bfc042cd8..b4aaf6ac9770 100644 --- a/private/aws-protocoltests-restjson-apigateway/package.json +++ b/private/aws-protocoltests-restjson-apigateway/package.json @@ -33,25 +33,25 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", "@smithy/util-utf8": "^3.0.0", diff --git a/private/aws-protocoltests-restjson-apigateway/src/protocols/Aws_restJson1.ts b/private/aws-protocoltests-restjson-apigateway/src/protocols/Aws_restJson1.ts index b6ebcb0e70ff..5555aa136e83 100644 --- a/private/aws-protocoltests-restjson-apigateway/src/protocols/Aws_restJson1.ts +++ b/private/aws-protocoltests-restjson-apigateway/src/protocols/Aws_restJson1.ts @@ -212,13 +212,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _l = "limit"; const _p = "position"; const _rAS = "retryAfterSeconds"; diff --git a/private/aws-protocoltests-restjson-glacier/package.json b/private/aws-protocoltests-restjson-glacier/package.json index 27af2b874970..6d91f97e296a 100644 --- a/private/aws-protocoltests-restjson-glacier/package.json +++ b/private/aws-protocoltests-restjson-glacier/package.json @@ -35,25 +35,25 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", "@smithy/util-utf8": "^3.0.0", diff --git a/private/aws-protocoltests-restjson-glacier/src/protocols/Aws_restJson1.ts b/private/aws-protocoltests-restjson-glacier/src/protocols/Aws_restJson1.ts index 565c2b6ed4d6..19ee59f85ebd 100644 --- a/private/aws-protocoltests-restjson-glacier/src/protocols/Aws_restJson1.ts +++ b/private/aws-protocoltests-restjson-glacier/src/protocols/Aws_restJson1.ts @@ -7,6 +7,7 @@ import { collectBody, decorateServiceException as __decorateServiceException, expectString as __expectString, + isSerializableHeaderValue, map, resolvedPath as __resolvedPath, take, @@ -278,13 +279,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _aD = "archiveDescription"; const _aI = "archiveId"; const _c = "checksum"; diff --git a/private/aws-protocoltests-restjson/package.json b/private/aws-protocoltests-restjson/package.json index adbb5aa01418..f1ca0ca2412f 100644 --- a/private/aws-protocoltests-restjson/package.json +++ b/private/aws-protocoltests-restjson/package.json @@ -32,8 +32,8 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-blob-browser": "^3.1.5", "@smithy/hash-node": "^3.0.6", "@smithy/hash-stream-node": "^3.1.5", @@ -42,24 +42,24 @@ "@smithy/middleware-apply-body-checksum": "^3.0.8", "@smithy/middleware-compression": "^3.0.10", "@smithy/middleware-content-length": "^3.0.8", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", "@smithy/querystring-builder": "^3.0.6", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2", "uuid": "^9.0.1" diff --git a/private/aws-protocoltests-restjson/src/protocols/Aws_restJson1.ts b/private/aws-protocoltests-restjson/src/protocols/Aws_restJson1.ts index 7bdb8a5be0e4..1a9500333d72 100644 --- a/private/aws-protocoltests-restjson/src/protocols/Aws_restJson1.ts +++ b/private/aws-protocoltests-restjson/src/protocols/Aws_restJson1.ts @@ -27,6 +27,7 @@ import { expectShort as __expectShort, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + isSerializableHeaderValue, LazyJsonString as __LazyJsonString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, @@ -369,8 +370,8 @@ export const se_AllQueryStringTypesCommand = async ( const query: any = map({ ...convertMap(input.queryParamsMapOfStringList), [_S]: [, input[_qS]!], - [_SL]: [() => input.queryStringList !== void 0, () => (input[_qSL]! || []).map((_entry) => _entry as any)], - [_SS]: [() => input.queryStringSet !== void 0, () => (input[_qSS]! || []).map((_entry) => _entry as any)], + [_SL]: [() => input.queryStringList !== void 0, () => input[_qSL]! || []], + [_SS]: [() => input.queryStringSet !== void 0, () => input[_qSS]! || []], [_B]: [() => input.queryByte !== void 0, () => input[_qB]!.toString()], [_Sh]: [() => input.queryShort !== void 0, () => input[_qSu]!.toString()], [_I]: [() => input.queryInteger !== void 0, () => input[_qI]!.toString()], @@ -406,7 +407,7 @@ export const se_AllQueryStringTypesCommand = async ( () => (input[_qTL]! || []).map((_entry) => __serializeDateTime(_entry).toString() as any), ], [_E]: [, input[_qE]!], - [_EL]: [() => input.queryEnumList !== void 0, () => (input[_qEL]! || []).map((_entry) => _entry as any)], + [_EL]: [() => input.queryEnumList !== void 0, () => input[_qEL]! || []], [_IE]: [() => input.queryIntegerEnum !== void 0, () => input[_qIE]!.toString()], [_IEL]: [ () => input.queryIntegerEnumList !== void 0, @@ -1032,14 +1033,8 @@ export const se_InputAndOutputWithHeadersCommand = async ( ], [_xb_]: [() => isSerializableHeaderValue(input[_hTB]), () => input[_hTB]!.toString()], [_xb__]: [() => isSerializableHeaderValue(input[_hFB]), () => input[_hFB]!.toString()], - [_xs__]: [ - () => isSerializableHeaderValue(input[_hSL]), - () => (input[_hSL]! || []).map((_entry) => _entry as any).join(", "), - ], - [_xs___]: [ - () => isSerializableHeaderValue(input[_hSS]), - () => (input[_hSS]! || []).map((_entry) => _entry as any).join(", "), - ], + [_xs__]: [() => isSerializableHeaderValue(input[_hSL]), () => (input[_hSL]! || []).join(", ")], + [_xs___]: [() => isSerializableHeaderValue(input[_hSS]), () => (input[_hSS]! || []).join(", ")], [_xi_]: [ () => isSerializableHeaderValue(input[_hIL]), () => (input[_hIL]! || []).map((_entry) => _entry.toString() as any).join(", "), @@ -1053,10 +1048,7 @@ export const se_InputAndOutputWithHeadersCommand = async ( () => (input[_hTL]! || []).map((_entry) => __dateToUtcString(_entry).toString() as any).join(", "), ], [_xe]: input[_hE]!, - [_xe_]: [ - () => isSerializableHeaderValue(input[_hEL]), - () => (input[_hEL]! || []).map((_entry) => _entry as any).join(", "), - ], + [_xe_]: [() => isSerializableHeaderValue(input[_hEL]), () => (input[_hEL]! || []).join(", ")], [_xi__]: [() => isSerializableHeaderValue(input[_hIE]), () => input[_hIE]!.toString()], [_xi___]: [ () => isSerializableHeaderValue(input[_hIEL]), @@ -1995,10 +1987,7 @@ export const se_NullAndEmptyHeadersClientCommand = async ( const headers: any = map({}, isSerializableHeaderValue, { [_xa]: input[_a]!, [_xb____]: input[_b_]!, - [_xc]: [ - () => isSerializableHeaderValue(input[_c]), - () => (input[_c]! || []).map((_entry) => _entry as any).join(", "), - ], + [_xc]: [() => isSerializableHeaderValue(input[_c]), () => (input[_c]! || []).join(", ")], }); b.bp("/NullAndEmptyHeadersClient"); let body: any; @@ -2017,10 +2006,7 @@ export const se_NullAndEmptyHeadersServerCommand = async ( const headers: any = map({}, isSerializableHeaderValue, { [_xa]: input[_a]!, [_xb____]: input[_b_]!, - [_xc]: [ - () => isSerializableHeaderValue(input[_c]), - () => (input[_c]! || []).map((_entry) => _entry as any).join(", "), - ], + [_xc]: [() => isSerializableHeaderValue(input[_c]), () => (input[_c]! || []).join(", ")], }); b.bp("/NullAndEmptyHeadersServer"); let body: any; @@ -2058,7 +2044,7 @@ export const se_OmitsSerializingEmptyListsCommand = async ( const headers: any = {}; b.bp("/OmitsSerializingEmptyLists"); const query: any = map({ - [_SL]: [() => input.queryStringList !== void 0, () => (input[_qSL]! || []).map((_entry) => _entry as any)], + [_SL]: [() => input.queryStringList !== void 0, () => input[_qSL]! || []], [_IL]: [ () => input.queryIntegerList !== void 0, () => (input[_qIL]! || []).map((_entry) => _entry.toString() as any), @@ -2075,7 +2061,7 @@ export const se_OmitsSerializingEmptyListsCommand = async ( () => input.queryTimestampList !== void 0, () => (input[_qTL]! || []).map((_entry) => __serializeDateTime(_entry).toString() as any), ], - [_EL]: [() => input.queryEnumList !== void 0, () => (input[_qEL]! || []).map((_entry) => _entry as any)], + [_EL]: [() => input.queryEnumList !== void 0, () => input[_qEL]! || []], [_IEL]: [ () => input.queryIntegerEnumList !== void 0, () => (input[_qIEL]! || []).map((_entry) => _entry.toString() as any), @@ -5216,13 +5202,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _B = "Byte"; const _BL = "BooleanList"; const _Bo = "Boolean"; diff --git a/private/aws-protocoltests-restjson/test/functional/restjson1.spec.ts b/private/aws-protocoltests-restjson/test/functional/restjson1.spec.ts index 628d6bc41abf..57b6c3b36315 100644 --- a/private/aws-protocoltests-restjson/test/functional/restjson1.spec.ts +++ b/private/aws-protocoltests-restjson/test/functional/restjson1.spec.ts @@ -6719,7 +6719,7 @@ it("RestJsonNoInputAndOutputNoPayload:Response", async () => { /** * Do not send null values, empty strings, or empty lists over the wire in headers */ -it("RestJsonNullAndEmptyHeaders:Request", async () => { +it.skip("RestJsonNullAndEmptyHeaders:Request", async () => { const client = new RestJsonProtocolClient({ ...clientParams, requestHandler: new RequestSerializationTestHandler(), diff --git a/private/aws-protocoltests-restxml/package.json b/private/aws-protocoltests-restxml/package.json index e9c5ab64bef0..71e2e6a64c9c 100644 --- a/private/aws-protocoltests-restxml/package.json +++ b/private/aws-protocoltests-restxml/package.json @@ -33,30 +33,30 @@ "@aws-sdk/util-user-agent-node": "*", "@aws-sdk/xml-builder": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-compression": "^3.0.10", "@smithy/middleware-content-length": "^3.0.8", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", "@smithy/querystring-builder": "^3.0.6", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", - "@smithy/util-stream": "^3.1.6", + "@smithy/util-stream": "^3.1.8", "@smithy/util-utf8": "^3.0.0", "entities": "2.2.0", "fast-xml-parser": "4.4.1", diff --git a/private/aws-protocoltests-restxml/src/protocols/Aws_restXml.ts b/private/aws-protocoltests-restxml/src/protocols/Aws_restXml.ts index 84a3fef6ccc2..cc418915017c 100644 --- a/private/aws-protocoltests-restxml/src/protocols/Aws_restXml.ts +++ b/private/aws-protocoltests-restxml/src/protocols/Aws_restXml.ts @@ -18,6 +18,7 @@ import { expectUnion as __expectUnion, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, + isSerializableHeaderValue, map, parseBoolean as __parseBoolean, parseEpochTimestamp as __parseEpochTimestamp, @@ -235,8 +236,8 @@ export const se_AllQueryStringTypesCommand = async ( const query: any = map({ ...convertMap(input.queryParamsMapOfStrings), [_S]: [, input[_qS]!], - [_SL]: [() => input.queryStringList !== void 0, () => (input[_qSL]! || []).map((_entry) => _entry as any)], - [_SS]: [() => input.queryStringSet !== void 0, () => (input[_qSS]! || []).map((_entry) => _entry as any)], + [_SL]: [() => input.queryStringList !== void 0, () => input[_qSL]! || []], + [_SS]: [() => input.queryStringSet !== void 0, () => input[_qSS]! || []], [_B]: [() => input.queryByte !== void 0, () => input[_qB]!.toString()], [_Sh]: [() => input.queryShort !== void 0, () => input[_qSu]!.toString()], [_I]: [() => input.queryInteger !== void 0, () => input[_qI]!.toString()], @@ -272,7 +273,7 @@ export const se_AllQueryStringTypesCommand = async ( () => (input[_qTL]! || []).map((_entry) => __serializeDateTime(_entry).toString() as any), ], [_E]: [, input[_qE]!], - [_EL]: [() => input.queryEnumList !== void 0, () => (input[_qEL]! || []).map((_entry) => _entry as any)], + [_EL]: [() => input.queryEnumList !== void 0, () => input[_qEL]! || []], [_IE]: [() => input.queryIntegerEnum !== void 0, () => input[_qIE]!.toString()], [_IEL]: [ () => input.queryIntegerEnumList !== void 0, @@ -972,14 +973,8 @@ export const se_InputAndOutputWithHeadersCommand = async ( ], [_xb_]: [() => isSerializableHeaderValue(input[_hTB]), () => input[_hTB]!.toString()], [_xb__]: [() => isSerializableHeaderValue(input[_hFB]), () => input[_hFB]!.toString()], - [_xs__]: [ - () => isSerializableHeaderValue(input[_hSL]), - () => (input[_hSL]! || []).map((_entry) => _entry as any).join(", "), - ], - [_xs___]: [ - () => isSerializableHeaderValue(input[_hSS]), - () => (input[_hSS]! || []).map((_entry) => _entry as any).join(", "), - ], + [_xs__]: [() => isSerializableHeaderValue(input[_hSL]), () => (input[_hSL]! || []).join(", ")], + [_xs___]: [() => isSerializableHeaderValue(input[_hSS]), () => (input[_hSS]! || []).join(", ")], [_xi_]: [ () => isSerializableHeaderValue(input[_hIL]), () => (input[_hIL]! || []).map((_entry) => _entry.toString() as any).join(", "), @@ -993,10 +988,7 @@ export const se_InputAndOutputWithHeadersCommand = async ( () => (input[_hTL]! || []).map((_entry) => __dateToUtcString(_entry).toString() as any).join(", "), ], [_xe]: input[_hE]!, - [_xe_]: [ - () => isSerializableHeaderValue(input[_hEL]), - () => (input[_hEL]! || []).map((_entry) => _entry as any).join(", "), - ], + [_xe_]: [() => isSerializableHeaderValue(input[_hEL]), () => (input[_hEL]! || []).join(", ")], }); b.bp("/InputAndOutputWithHeaders"); let body: any; @@ -1067,10 +1059,7 @@ export const se_NullAndEmptyHeadersClientCommand = async ( const headers: any = map({}, isSerializableHeaderValue, { [_xa]: input[_a]!, [_xb____]: input[_b_]!, - [_xc]: [ - () => isSerializableHeaderValue(input[_c]), - () => (input[_c]! || []).map((_entry) => _entry as any).join(", "), - ], + [_xc]: [() => isSerializableHeaderValue(input[_c]), () => (input[_c]! || []).join(", ")], }); b.bp("/NullAndEmptyHeadersClient"); let body: any; @@ -1089,10 +1078,7 @@ export const se_NullAndEmptyHeadersServerCommand = async ( const headers: any = map({}, isSerializableHeaderValue, { [_xa]: input[_a]!, [_xb____]: input[_b_]!, - [_xc]: [ - () => isSerializableHeaderValue(input[_c]), - () => (input[_c]! || []).map((_entry) => _entry as any).join(", "), - ], + [_xc]: [() => isSerializableHeaderValue(input[_c]), () => (input[_c]! || []).join(", ")], }); b.bp("/NullAndEmptyHeadersServer"); let body: any; @@ -4376,13 +4362,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _A = "Ahoy"; const _B = "Byte"; const _BL = "BooleanList"; diff --git a/private/aws-protocoltests-restxml/test/functional/restxml.spec.ts b/private/aws-protocoltests-restxml/test/functional/restxml.spec.ts index 1b5591cca9a7..e18f9ad96d5e 100644 --- a/private/aws-protocoltests-restxml/test/functional/restxml.spec.ts +++ b/private/aws-protocoltests-restxml/test/functional/restxml.spec.ts @@ -3735,7 +3735,7 @@ it("NoInputAndOutput:Response", async () => { /** * Do not send null values, empty strings, or empty lists over the wire in headers */ -it("NullAndEmptyHeaders:Request", async () => { +it.skip("NullAndEmptyHeaders:Request", async () => { const client = new RestXmlProtocolClient({ ...clientParams, requestHandler: new RequestSerializationTestHandler(), diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/package.json b/private/aws-protocoltests-smithy-rpcv2-cbor/package.json index 9240530dd2b7..7c39126ff732 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor/package.json +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/package.json @@ -27,25 +27,25 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", "@smithy/util-utf8": "^3.0.0", diff --git a/private/aws-restjson-server/package.json b/private/aws-restjson-server/package.json index 57bfa2dbe9eb..1e77e236a640 100644 --- a/private/aws-restjson-server/package.json +++ b/private/aws-restjson-server/package.json @@ -24,23 +24,23 @@ "@aws-sdk/types": "*", "@aws-smithy/server-common": "1.0.0-alpha.10", "@smithy/config-resolver": "^3.0.8", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/private/aws-restjson-server/src/protocols/Aws_restJson1.ts b/private/aws-restjson-server/src/protocols/Aws_restJson1.ts index 2ba6f6bdb57c..4cedf0b1cbb6 100644 --- a/private/aws-restjson-server/src/protocols/Aws_restJson1.ts +++ b/private/aws-restjson-server/src/protocols/Aws_restJson1.ts @@ -28,6 +28,7 @@ import { expectObject as __expectObject, expectShort as __expectShort, expectString as __expectString, + isSerializableHeaderValue, LazyJsonString as __LazyJsonString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, @@ -393,13 +394,13 @@ export const deserializeAllQueryStringTypesRequest = async ( const queryValue = Array.isArray(query["StringList"]) ? (query["StringList"] as string[]) : [query["StringList"] as string]; - contents.queryStringList = queryValue.map((_entry) => _entry as any); + contents.queryStringList = queryValue; } if (query["StringSet"] !== undefined) { const queryValue = Array.isArray(query["StringSet"]) ? (query["StringSet"] as string[]) : [query["StringSet"] as string]; - contents.queryStringSet = queryValue.map((_entry) => _entry as any); + contents.queryStringSet = queryValue; } if (query["Byte"] !== undefined) { let queryValue: string; @@ -552,7 +553,7 @@ export const deserializeAllQueryStringTypesRequest = async ( const queryValue = Array.isArray(query["EnumList"]) ? (query["EnumList"] as string[]) : [query["EnumList"] as string]; - contents.queryEnumList = queryValue.map((_entry) => _entry as any); + contents.queryEnumList = queryValue; } if (query["IntegerEnum"] !== undefined) { let queryValue: string; @@ -577,7 +578,7 @@ export const deserializeAllQueryStringTypesRequest = async ( for (const [key, value] of Object.entries(query)) { let queryValue: string; const valueArray = Array.isArray(value) ? (value as string[]) : [value as string]; - parsedQuery[key] = valueArray.map((_entry) => _entry as any); + parsedQuery[key] = valueArray; } contents.queryParamsMapOfStringList = parsedQuery; } @@ -3061,7 +3062,7 @@ export const deserializeOmitsSerializingEmptyListsRequest = async ( const queryValue = Array.isArray(query["StringList"]) ? (query["StringList"] as string[]) : [query["StringList"] as string]; - contents.queryStringList = queryValue.map((_entry) => _entry as any); + contents.queryStringList = queryValue; } if (query["IntegerList"] !== undefined) { const queryValue = Array.isArray(query["IntegerList"]) @@ -3091,7 +3092,7 @@ export const deserializeOmitsSerializingEmptyListsRequest = async ( const queryValue = Array.isArray(query["EnumList"]) ? (query["EnumList"] as string[]) : [query["EnumList"] as string]; - contents.queryEnumList = queryValue.map((_entry) => _entry as any); + contents.queryEnumList = queryValue; } if (query["IntegerEnumList"] !== undefined) { const queryValue = Array.isArray(query["IntegerEnumList"]) @@ -3335,7 +3336,7 @@ export const deserializeQueryParamsAsStringListMapRequest = async ( for (const [key, value] of Object.entries(query)) { let queryValue: string; const valueArray = Array.isArray(value) ? (value as string[]) : [value as string]; - parsedQuery[key] = valueArray.map((_entry) => _entry as any); + parsedQuery[key] = valueArray; } contents.foo = parsedQuery; } @@ -4958,14 +4959,8 @@ export const serializeInputAndOutputWithHeadersResponse = async ( ], [_xb_]: [() => isSerializableHeaderValue(input[_hTB]), () => input[_hTB]!.toString()], [_xb__]: [() => isSerializableHeaderValue(input[_hFB]), () => input[_hFB]!.toString()], - [_xs__]: [ - () => isSerializableHeaderValue(input[_hSL]), - () => (input[_hSL]! || []).map((_entry) => _entry as any).join(", "), - ], - [_xs___]: [ - () => isSerializableHeaderValue(input[_hSS]), - () => (input[_hSS]! || []).map((_entry) => _entry as any).join(", "), - ], + [_xs__]: [() => isSerializableHeaderValue(input[_hSL]), () => (input[_hSL]! || []).join(", ")], + [_xs___]: [() => isSerializableHeaderValue(input[_hSS]), () => (input[_hSS]! || []).join(", ")], [_xi_]: [ () => isSerializableHeaderValue(input[_hIL]), () => (input[_hIL]! || []).map((_entry) => _entry.toString() as any).join(", "), @@ -4979,10 +4974,7 @@ export const serializeInputAndOutputWithHeadersResponse = async ( () => (input[_hTL]! || []).map((_entry) => __dateToUtcString(_entry).toString() as any).join(", "), ], [_xe]: input[_hE]!, - [_xe_]: [ - () => isSerializableHeaderValue(input[_hEL]), - () => (input[_hEL]! || []).map((_entry) => _entry as any).join(", "), - ], + [_xe_]: [() => isSerializableHeaderValue(input[_hEL]), () => (input[_hEL]! || []).join(", ")], [_xi__]: [() => isSerializableHeaderValue(input[_hIE]), () => input[_hIE]!.toString()], [_xi___]: [ () => isSerializableHeaderValue(input[_hIEL]), @@ -6559,10 +6551,7 @@ export const serializeNullAndEmptyHeadersClientResponse = async ( "content-type": "application/json", [_xa]: input[_a]!, [_xb____]: input[_b_]!, - [_xc]: [ - () => isSerializableHeaderValue(input[_c]), - () => (input[_c]! || []).map((_entry) => _entry as any).join(", "), - ], + [_xc]: [() => isSerializableHeaderValue(input[_c]), () => (input[_c]! || []).join(", ")], }); let body: any; body = "{}"; @@ -6602,10 +6591,7 @@ export const serializeNullAndEmptyHeadersServerResponse = async ( "content-type": "application/json", [_xa]: input[_a]!, [_xb____]: input[_b_]!, - [_xc]: [ - () => isSerializableHeaderValue(input[_c]), - () => (input[_c]! || []).map((_entry) => _entry as any).join(", "), - ], + [_xc]: [() => isSerializableHeaderValue(input[_c]), () => (input[_c]! || []).join(", ")], }); let body: any; body = "{}"; @@ -9003,13 +8989,6 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _H = "Header"; const _a = "a"; const _amth = "amz-media-typed-header"; diff --git a/private/aws-restjson-server/test/functional/restjson1.spec.ts b/private/aws-restjson-server/test/functional/restjson1.spec.ts index 67f2d77b7282..27611325738e 100644 --- a/private/aws-restjson-server/test/functional/restjson1.spec.ts +++ b/private/aws-restjson-server/test/functional/restjson1.spec.ts @@ -27857,7 +27857,7 @@ it("RestJsonNoInputAndOutputWithJson:ServerResponse", async () => { /** * Do not send null or empty headers */ -it("RestJsonNullAndEmptyHeaders:ServerResponse", async () => { +it.skip("RestJsonNullAndEmptyHeaders:ServerResponse", async () => { class TestService implements Partial> { NullAndEmptyHeadersServer(input: any, ctx: {}): Promise { const response = { diff --git a/private/aws-restjson-validation-server/package.json b/private/aws-restjson-validation-server/package.json index af3840eac118..f81b3c1ef4c8 100644 --- a/private/aws-restjson-validation-server/package.json +++ b/private/aws-restjson-validation-server/package.json @@ -24,23 +24,23 @@ "@aws-sdk/types": "*", "@aws-smithy/server-common": "1.0.0-alpha.10", "@smithy/config-resolver": "^3.0.8", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" }, diff --git a/private/aws-restjson-validation-server/src/protocols/Aws_restJson1.ts b/private/aws-restjson-validation-server/src/protocols/Aws_restJson1.ts index 5e0842cc949c..f01881d1eab3 100644 --- a/private/aws-restjson-validation-server/src/protocols/Aws_restJson1.ts +++ b/private/aws-restjson-validation-server/src/protocols/Aws_restJson1.ts @@ -27,6 +27,7 @@ import { expectObject as __expectObject, expectShort as __expectShort, expectString as __expectString, + isSerializableHeaderValue, limitedParseFloat32 as __limitedParseFloat32, map, parseEpochTimestamp as __parseEpochTimestamp, @@ -1545,12 +1546,5 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - const _sIH = "stringInHeader"; const _sih = "string-in-headers"; diff --git a/private/weather-legacy-auth/package.json b/private/weather-legacy-auth/package.json index 80a6f3f55bbb..7d0a7809e2d6 100644 --- a/private/weather-legacy-auth/package.json +++ b/private/weather-legacy-auth/package.json @@ -33,25 +33,25 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", "@smithy/util-utf8": "^3.0.0", diff --git a/private/weather-legacy-auth/src/protocols/Aws_restJson1.ts b/private/weather-legacy-auth/src/protocols/Aws_restJson1.ts index 71e3b66f985d..a97648649ee4 100644 --- a/private/weather-legacy-auth/src/protocols/Aws_restJson1.ts +++ b/private/weather-legacy-auth/src/protocols/Aws_restJson1.ts @@ -434,10 +434,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/private/weather/package.json b/private/weather/package.json index 814c9a153268..06b4f2797d0c 100644 --- a/private/weather/package.json +++ b/private/weather/package.json @@ -32,26 +32,26 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@smithy/config-resolver": "^3.0.8", - "@smithy/core": "^2.4.3", - "@smithy/experimental-identity-and-auth": "^0.3.20", - "@smithy/fetch-http-handler": "^3.2.7", + "@smithy/core": "^2.4.6", + "@smithy/experimental-identity-and-auth": "^0.3.23", + "@smithy/fetch-http-handler": "^3.2.8", "@smithy/hash-node": "^3.0.6", "@smithy/invalid-dependency": "^3.0.6", "@smithy/middleware-content-length": "^3.0.8", - "@smithy/middleware-retry": "^3.0.18", + "@smithy/middleware-retry": "^3.0.21", "@smithy/middleware-serde": "^3.0.6", "@smithy/middleware-stack": "^3.0.6", "@smithy/node-config-provider": "^3.1.7", - "@smithy/node-http-handler": "^3.2.2", + "@smithy/node-http-handler": "^3.2.3", "@smithy/protocol-http": "^4.1.3", - "@smithy/smithy-client": "^3.3.2", + "@smithy/smithy-client": "^3.3.5", "@smithy/types": "^3.4.2", "@smithy/url-parser": "^3.0.6", "@smithy/util-base64": "^3.0.0", "@smithy/util-body-length-browser": "^3.0.0", "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.18", - "@smithy/util-defaults-mode-node": "^3.0.18", + "@smithy/util-defaults-mode-browser": "^3.0.21", + "@smithy/util-defaults-mode-node": "^3.0.21", "@smithy/util-middleware": "^3.0.6", "@smithy/util-retry": "^3.0.6", "@smithy/util-utf8": "^3.0.0", diff --git a/private/weather/src/protocols/Aws_restJson1.ts b/private/weather/src/protocols/Aws_restJson1.ts index 71e3b66f985d..a97648649ee4 100644 --- a/private/weather/src/protocols/Aws_restJson1.ts +++ b/private/weather/src/protocols/Aws_restJson1.ts @@ -434,10 +434,3 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ // Encode Uint8Array data into string with utf-8. const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); diff --git a/scripts/generate-clients/config.js b/scripts/generate-clients/config.js index a2605aee215e..6a1c320adc63 100644 --- a/scripts/generate-clients/config.js +++ b/scripts/generate-clients/config.js @@ -1,7 +1,7 @@ // Update this commit when taking up new changes from smithy-typescript. module.exports = { // Use full commit hash as we explicitly fetch it. - SMITHY_TS_COMMIT: "b12dc1de610c91d3daab39315a62b04826a93439", + SMITHY_TS_COMMIT: "35676e0a8556a822a0d036d22f1f566869c3d48d", }; if (module.exports.SMITHY_TS_COMMIT.length < 40) { diff --git a/yarn.lock b/yarn.lock index 50228b3d0442..c46cc8405fcc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2784,16 +2784,16 @@ "@smithy/util-middleware" "^3.0.6" tslib "^2.6.2" -"@smithy/core@^2.4.3": - version "2.4.3" - resolved "https://registry.yarnpkg.com/@smithy/core/-/core-2.4.3.tgz#18344c2ff63f748f625ebc5171755816f3043849" - integrity sha512-4LTusLqFMRVQUfC3RNuTg6IzYTeJNpydRdTKq7J5wdEyIRQSu3rGIa3s80mgG2hhe6WOZl9IqTSo1pgbn6EHhA== +"@smithy/core@^2.4.6": + version "2.4.6" + resolved "https://registry.yarnpkg.com/@smithy/core/-/core-2.4.6.tgz#d367a047a88aceee22eda5a598db00a7e5c50e72" + integrity sha512-6lQQp99hnyuNNIzeTYSzCUXJHwvvFLY7hfdFGSJM95tjRDJGfzWYFRBXPaM9766LiiTsQ561KErtbufzUFSYUg== dependencies: "@smithy/middleware-endpoint" "^3.1.3" - "@smithy/middleware-retry" "^3.0.18" + "@smithy/middleware-retry" "^3.0.21" "@smithy/middleware-serde" "^3.0.6" "@smithy/protocol-http" "^4.1.3" - "@smithy/smithy-client" "^3.3.2" + "@smithy/smithy-client" "^3.3.5" "@smithy/types" "^3.4.2" "@smithy/util-body-length-browser" "^3.0.0" "@smithy/util-middleware" "^3.0.6" @@ -2856,24 +2856,24 @@ "@smithy/types" "^3.4.2" tslib "^2.6.2" -"@smithy/experimental-identity-and-auth@^0.3.20": - version "0.3.20" - resolved "https://registry.yarnpkg.com/@smithy/experimental-identity-and-auth/-/experimental-identity-and-auth-0.3.20.tgz#dda5c7113f1a417d4a3b5e6af1b5125fb11700d1" - integrity sha512-bylTQWYsysS/Qf7Rq1CZnGWHPjhrbh4GNk6z102Y+QDXyZiMvLZvpu9kXBtoCeIDsRU8ssonZCZ3KMV2kEac8Q== +"@smithy/experimental-identity-and-auth@^0.3.23": + version "0.3.23" + resolved "https://registry.yarnpkg.com/@smithy/experimental-identity-and-auth/-/experimental-identity-and-auth-0.3.23.tgz#9daef3fabcbfa698defad2e844e7a1d7675e1700" + integrity sha512-tBQHnzGLSCipEp08UMvLrzkIsh8R6p0HC7tQbPUFeVarOlKW7x2a7GcToKaAvxXRXInw0rhwV5JeD7AcnG2nlw== dependencies: "@smithy/middleware-endpoint" "^3.1.3" - "@smithy/middleware-retry" "^3.0.18" + "@smithy/middleware-retry" "^3.0.21" "@smithy/middleware-serde" "^3.0.6" "@smithy/protocol-http" "^4.1.3" - "@smithy/signature-v4" "^4.1.3" + "@smithy/signature-v4" "^4.1.4" "@smithy/types" "^3.4.2" "@smithy/util-middleware" "^3.0.6" tslib "^2.6.2" -"@smithy/fetch-http-handler@^3.2.7": - version "3.2.7" - resolved "https://registry.yarnpkg.com/@smithy/fetch-http-handler/-/fetch-http-handler-3.2.7.tgz#30520ca939fb817d3eb3ab9445ddc0f6c1df2960" - integrity sha512-Ra6IPI1spYLO+t62/3jQbodjOwAbto9wlpJdHZwkycm0Kit+GVpzHW/NMmSgY4rK1bjJ4qLAmCnaBzePO5Nkkg== +"@smithy/fetch-http-handler@^3.2.8": + version "3.2.8" + resolved "https://registry.yarnpkg.com/@smithy/fetch-http-handler/-/fetch-http-handler-3.2.8.tgz#985623d2824138b770c81db7c872474160b3c5b1" + integrity sha512-Lqe0B8F5RM7zkw//6avq1SJ8AfaRd3ubFUS1eVp5WszV7p6Ne5hQ4dSuMHDpNRPhgTvj4va9Kd/pcVigHEHRow== dependencies: "@smithy/protocol-http" "^4.1.3" "@smithy/querystring-builder" "^3.0.6" @@ -2988,15 +2988,15 @@ "@smithy/util-middleware" "^3.0.6" tslib "^2.6.2" -"@smithy/middleware-retry@^3.0.18": - version "3.0.18" - resolved "https://registry.yarnpkg.com/@smithy/middleware-retry/-/middleware-retry-3.0.18.tgz#58372e264ca0c3a35f0526c531eb433ed8472df0" - integrity sha512-YU1o/vYob6vlqZdd97MN8cSXRToknLXhFBL3r+c9CZcnxkO/rgNZ++CfgX2vsmnEKvlqdi26+SRtSzlVp5z6Mg== +"@smithy/middleware-retry@^3.0.21": + version "3.0.21" + resolved "https://registry.yarnpkg.com/@smithy/middleware-retry/-/middleware-retry-3.0.21.tgz#c26168f761d5b72c750fb4ed66c18a2b195b7f4d" + integrity sha512-/h0fElV95LekVVEJuSw+aI11S1Y3zIUwBc6h9ZbUv43Gl2weXsbQwjLoet6j/Qtb0phfrSxS6pNg6FqgJOWZkA== dependencies: "@smithy/node-config-provider" "^3.1.7" "@smithy/protocol-http" "^4.1.3" "@smithy/service-error-classification" "^3.0.6" - "@smithy/smithy-client" "^3.3.2" + "@smithy/smithy-client" "^3.3.5" "@smithy/types" "^3.4.2" "@smithy/util-middleware" "^3.0.6" "@smithy/util-retry" "^3.0.6" @@ -3029,10 +3029,10 @@ "@smithy/types" "^3.4.2" tslib "^2.6.2" -"@smithy/node-http-handler@^3.2.2": - version "3.2.2" - resolved "https://registry.yarnpkg.com/@smithy/node-http-handler/-/node-http-handler-3.2.2.tgz#1e659d52ba4d27123efc7b8a5c1abe76f97ea915" - integrity sha512-42Cy4/oT2O+00aiG1iQ7Kd7rE6q8j7vI0gFfnMlUiATvyo8vefJkhb7O10qZY0jAqo5WZdUzfl9IV6wQ3iMBCg== +"@smithy/node-http-handler@^3.2.3": + version "3.2.3" + resolved "https://registry.yarnpkg.com/@smithy/node-http-handler/-/node-http-handler-3.2.3.tgz#6d10ece149b441f5417d34db45ddb76407d5c186" + integrity sha512-/gcm5DJ3k1b1zEInzBGAZC8ntJ+jwrz1NcSIu+9dSXd1FfG0G6QgkDI40tt8/WYUbHtLyo8fEqtm2v29koWo/w== dependencies: "@smithy/abort-controller" "^3.1.4" "@smithy/protocol-http" "^4.1.3" @@ -3096,10 +3096,10 @@ "@smithy/types" "^3.4.2" tslib "^2.6.2" -"@smithy/signature-v4@^4.1.3": - version "4.1.3" - resolved "https://registry.yarnpkg.com/@smithy/signature-v4/-/signature-v4-4.1.3.tgz#1a5adc19563b8cf8f28ae1ada4d6cda7d351943d" - integrity sha512-YD2KYSCEEeFHcWZ1E3mLdAaHl8T/TANh6XwmocQ6nPcTdBfh4N5fusgnblnWDlnlU1/cUqEq3PiGi22GmT2Lkg== +"@smithy/signature-v4@^4.1.4": + version "4.1.4" + resolved "https://registry.yarnpkg.com/@smithy/signature-v4/-/signature-v4-4.1.4.tgz#6baa7fe14e86516d2c2568d081c67553449cbb5e" + integrity sha512-72MiK7xYukNsnLJI9NqvUHqTu0ziEsfMsYNlWpiJfuGQnCTFKpckThlEatirvcA/LmT1h7rRO+pJD06PYsPu9Q== dependencies: "@smithy/is-array-buffer" "^3.0.0" "@smithy/protocol-http" "^4.1.3" @@ -3110,16 +3110,16 @@ "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" -"@smithy/smithy-client@^3.3.2": - version "3.3.2" - resolved "https://registry.yarnpkg.com/@smithy/smithy-client/-/smithy-client-3.3.2.tgz#0c5511525f3e64ac5132d513c38d5d0d4a770719" - integrity sha512-RKDfhF2MTwXl7jan5d7QfS9eCC6XJbO3H+EZAvLQN8A5in4ib2Ml4zoeLo57w9QrqFekBPcsoC2hW3Ekw4vQ9Q== +"@smithy/smithy-client@^3.3.5": + version "3.3.5" + resolved "https://registry.yarnpkg.com/@smithy/smithy-client/-/smithy-client-3.3.5.tgz#ded1f89b9d8b17689a87351f6d7708ce4f3b9ea6" + integrity sha512-7IZi8J3Dr9n3tX+lcpmJ/5tCYIqoXdblFBaPuv0SEKZFRpCxE+TqIWL6I3t7jLlk9TWu3JSvEZAhtjB9yvB+zA== dependencies: "@smithy/middleware-endpoint" "^3.1.3" "@smithy/middleware-stack" "^3.0.6" "@smithy/protocol-http" "^4.1.3" "@smithy/types" "^3.4.2" - "@smithy/util-stream" "^3.1.6" + "@smithy/util-stream" "^3.1.8" tslib "^2.6.2" "@smithy/types@^1.2.0": @@ -3191,27 +3191,27 @@ dependencies: tslib "^2.6.2" -"@smithy/util-defaults-mode-browser@^3.0.18": - version "3.0.18" - resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-3.0.18.tgz#c3904b71db96c9b99861fc2017fea503fcff12a4" - integrity sha512-/eveCzU6Z6Yw8dlYQLA4rcK30XY0E4L3lD3QFHm59mzDaWYelrXE1rlynuT3J6qxv+5yNy3a1JuzhG5hk5hcmw== +"@smithy/util-defaults-mode-browser@^3.0.21": + version "3.0.21" + resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-3.0.21.tgz#cdcb9a29433d2659b7c83902e8f5fca396b8a805" + integrity sha512-M/FhTBk4c/SsB91dD/M4gMGfJO7z/qJaM9+XQQIqBOf4qzZYMExnP7R4VdGwxxH8IKMGW+8F0I4rNtVRrcfPoA== dependencies: "@smithy/property-provider" "^3.1.6" - "@smithy/smithy-client" "^3.3.2" + "@smithy/smithy-client" "^3.3.5" "@smithy/types" "^3.4.2" bowser "^2.11.0" tslib "^2.6.2" -"@smithy/util-defaults-mode-node@^3.0.18": - version "3.0.18" - resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-3.0.18.tgz#6b46911f2f749bb048cdc287d7237be9d58f4a6b" - integrity sha512-9cfzRjArtOFPlTYRREJk00suUxVXTgbrzVncOyMRTUeMKnecG/YentLF3cORa+R6mUOMSrMSnT18jos1PKqK6Q== +"@smithy/util-defaults-mode-node@^3.0.21": + version "3.0.21" + resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-3.0.21.tgz#f767702cb1416610b6818c9edb966967ea75f524" + integrity sha512-NiLinPvF86U3S2Pdx/ycqd4bnY5dmFSPNL5KYRwbNjqQFS09M5Wzqk8BNk61/47xCYz1X/6KeiSk9qgYPTtuDw== dependencies: "@smithy/config-resolver" "^3.0.8" "@smithy/credential-provider-imds" "^3.2.3" "@smithy/node-config-provider" "^3.1.7" "@smithy/property-provider" "^3.1.6" - "@smithy/smithy-client" "^3.3.2" + "@smithy/smithy-client" "^3.3.5" "@smithy/types" "^3.4.2" tslib "^2.6.2" @@ -3248,13 +3248,13 @@ "@smithy/types" "^3.4.2" tslib "^2.6.2" -"@smithy/util-stream@^3.1.6": - version "3.1.6" - resolved "https://registry.yarnpkg.com/@smithy/util-stream/-/util-stream-3.1.6.tgz#424dbb4e321129807e5fb01d961ef902ee7c04f8" - integrity sha512-lQEUfTx1ht5CRdvIjdAN/gUL6vQt2wSARGGLaBHNe+iJSkRHlWzY+DOn0mFTmTgyU3jcI5n9DkT5gTzYuSOo6A== +"@smithy/util-stream@^3.1.8": + version "3.1.8" + resolved "https://registry.yarnpkg.com/@smithy/util-stream/-/util-stream-3.1.8.tgz#31bcf460c54aae816e0789682426da522f894058" + integrity sha512-hoKOqSmb8FD3WLObuB5hwbM7bNIWgcnvkThokTvVq7J5PKjlLUK5qQQcB9zWLHIoSaIlf3VIv2OxZY2wtQjcRQ== dependencies: - "@smithy/fetch-http-handler" "^3.2.7" - "@smithy/node-http-handler" "^3.2.2" + "@smithy/fetch-http-handler" "^3.2.8" + "@smithy/node-http-handler" "^3.2.3" "@smithy/types" "^3.4.2" "@smithy/util-base64" "^3.0.0" "@smithy/util-buffer-from" "^3.0.0"