@aws-sdk/client-route-53 3.353.0 → 3.357.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1948,7 +1948,7 @@ const de_ChangeTagsForResourceCommand = async (output, context) => {
1948
1948
  const contents = (0, smithy_client_1.map)({
1949
1949
  $metadata: deserializeMetadata(output),
1950
1950
  });
1951
- await collectBody(output.body, context);
1951
+ await (0, smithy_client_1.collectBody)(output.body, context);
1952
1952
  return contents;
1953
1953
  };
1954
1954
  exports.de_ChangeTagsForResourceCommand = de_ChangeTagsForResourceCommand;
@@ -2539,7 +2539,7 @@ const de_DeleteCidrCollectionCommand = async (output, context) => {
2539
2539
  const contents = (0, smithy_client_1.map)({
2540
2540
  $metadata: deserializeMetadata(output),
2541
2541
  });
2542
- await collectBody(output.body, context);
2542
+ await (0, smithy_client_1.collectBody)(output.body, context);
2543
2543
  return contents;
2544
2544
  };
2545
2545
  exports.de_DeleteCidrCollectionCommand = de_DeleteCidrCollectionCommand;
@@ -2578,7 +2578,7 @@ const de_DeleteHealthCheckCommand = async (output, context) => {
2578
2578
  const contents = (0, smithy_client_1.map)({
2579
2579
  $metadata: deserializeMetadata(output),
2580
2580
  });
2581
- await collectBody(output.body, context);
2581
+ await (0, smithy_client_1.collectBody)(output.body, context);
2582
2582
  return contents;
2583
2583
  };
2584
2584
  exports.de_DeleteHealthCheckCommand = de_DeleteHealthCheckCommand;
@@ -2707,7 +2707,7 @@ const de_DeleteQueryLoggingConfigCommand = async (output, context) => {
2707
2707
  const contents = (0, smithy_client_1.map)({
2708
2708
  $metadata: deserializeMetadata(output),
2709
2709
  });
2710
- await collectBody(output.body, context);
2710
+ await (0, smithy_client_1.collectBody)(output.body, context);
2711
2711
  return contents;
2712
2712
  };
2713
2713
  exports.de_DeleteQueryLoggingConfigCommand = de_DeleteQueryLoggingConfigCommand;
@@ -2743,7 +2743,7 @@ const de_DeleteReusableDelegationSetCommand = async (output, context) => {
2743
2743
  const contents = (0, smithy_client_1.map)({
2744
2744
  $metadata: deserializeMetadata(output),
2745
2745
  });
2746
- await collectBody(output.body, context);
2746
+ await (0, smithy_client_1.collectBody)(output.body, context);
2747
2747
  return contents;
2748
2748
  };
2749
2749
  exports.de_DeleteReusableDelegationSetCommand = de_DeleteReusableDelegationSetCommand;
@@ -2782,7 +2782,7 @@ const de_DeleteTrafficPolicyCommand = async (output, context) => {
2782
2782
  const contents = (0, smithy_client_1.map)({
2783
2783
  $metadata: deserializeMetadata(output),
2784
2784
  });
2785
- await collectBody(output.body, context);
2785
+ await (0, smithy_client_1.collectBody)(output.body, context);
2786
2786
  return contents;
2787
2787
  };
2788
2788
  exports.de_DeleteTrafficPolicyCommand = de_DeleteTrafficPolicyCommand;
@@ -2821,7 +2821,7 @@ const de_DeleteTrafficPolicyInstanceCommand = async (output, context) => {
2821
2821
  const contents = (0, smithy_client_1.map)({
2822
2822
  $metadata: deserializeMetadata(output),
2823
2823
  });
2824
- await collectBody(output.body, context);
2824
+ await (0, smithy_client_1.collectBody)(output.body, context);
2825
2825
  return contents;
2826
2826
  };
2827
2827
  exports.de_DeleteTrafficPolicyInstanceCommand = de_DeleteTrafficPolicyInstanceCommand;
@@ -2857,7 +2857,7 @@ const de_DeleteVPCAssociationAuthorizationCommand = async (output, context) => {
2857
2857
  const contents = (0, smithy_client_1.map)({
2858
2858
  $metadata: deserializeMetadata(output),
2859
2859
  });
2860
- await collectBody(output.body, context);
2860
+ await (0, smithy_client_1.collectBody)(output.body, context);
2861
2861
  return contents;
2862
2862
  };
2863
2863
  exports.de_DeleteVPCAssociationAuthorizationCommand = de_DeleteVPCAssociationAuthorizationCommand;
@@ -6907,13 +6907,7 @@ const deserializeMetadata = (output) => ({
6907
6907
  extendedRequestId: output.headers["x-amz-id-2"],
6908
6908
  cfId: output.headers["x-amz-cf-id"],
6909
6909
  });
6910
- const collectBody = (streamBody = new Uint8Array(), context) => {
6911
- if (streamBody instanceof Uint8Array) {
6912
- return Promise.resolve(streamBody);
6913
- }
6914
- return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
6915
- };
6916
- const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
6910
+ const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
6917
6911
  const isSerializableHeaderValue = (value) => value !== undefined &&
6918
6912
  value !== null &&
6919
6913
  value !== "" &&
@@ -1,4 +1,4 @@
1
- import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@aws-sdk/smithy-client";
1
+ import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@aws-sdk/smithy-client";
2
2
  import { XmlNode as __XmlNode } from "@aws-sdk/xml-builder";
3
3
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
4
4
  import { XMLParser } from "fast-xml-parser";
@@ -6762,12 +6762,6 @@ const deserializeMetadata = (output) => ({
6762
6762
  extendedRequestId: output.headers["x-amz-id-2"],
6763
6763
  cfId: output.headers["x-amz-cf-id"],
6764
6764
  });
6765
- const collectBody = (streamBody = new Uint8Array(), context) => {
6766
- if (streamBody instanceof Uint8Array) {
6767
- return Promise.resolve(streamBody);
6768
- }
6769
- return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
6770
- };
6771
6765
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
6772
6766
  const isSerializableHeaderValue = (value) => value !== undefined &&
6773
6767
  value !== null &&
@@ -143,7 +143,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
143
143
  */
144
144
  runtime?: string;
145
145
  /**
146
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
146
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
147
147
  * trait of an operation.
148
148
  */
149
149
  disableHostPrefix?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route-53",
3
3
  "description": "AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native",
4
- "version": "3.353.0",
4
+ "version": "3.357.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,39 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.353.0",
25
- "@aws-sdk/config-resolver": "3.353.0",
26
- "@aws-sdk/credential-provider-node": "3.353.0",
27
- "@aws-sdk/fetch-http-handler": "3.353.0",
28
- "@aws-sdk/hash-node": "3.347.0",
29
- "@aws-sdk/invalid-dependency": "3.347.0",
30
- "@aws-sdk/middleware-content-length": "3.347.0",
31
- "@aws-sdk/middleware-endpoint": "3.347.0",
32
- "@aws-sdk/middleware-host-header": "3.347.0",
33
- "@aws-sdk/middleware-logger": "3.347.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.347.0",
35
- "@aws-sdk/middleware-retry": "3.353.0",
36
- "@aws-sdk/middleware-sdk-route53": "3.347.0",
37
- "@aws-sdk/middleware-serde": "3.347.0",
38
- "@aws-sdk/middleware-signing": "3.353.0",
39
- "@aws-sdk/middleware-stack": "3.347.0",
40
- "@aws-sdk/middleware-user-agent": "3.352.0",
41
- "@aws-sdk/node-config-provider": "3.353.0",
42
- "@aws-sdk/node-http-handler": "3.350.0",
43
- "@aws-sdk/smithy-client": "3.347.0",
44
- "@aws-sdk/types": "3.347.0",
45
- "@aws-sdk/url-parser": "3.347.0",
24
+ "@aws-sdk/client-sts": "3.357.0",
25
+ "@aws-sdk/config-resolver": "3.357.0",
26
+ "@aws-sdk/credential-provider-node": "3.357.0",
27
+ "@aws-sdk/fetch-http-handler": "3.357.0",
28
+ "@aws-sdk/hash-node": "3.357.0",
29
+ "@aws-sdk/invalid-dependency": "3.357.0",
30
+ "@aws-sdk/middleware-content-length": "3.357.0",
31
+ "@aws-sdk/middleware-endpoint": "3.357.0",
32
+ "@aws-sdk/middleware-host-header": "3.357.0",
33
+ "@aws-sdk/middleware-logger": "3.357.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.357.0",
35
+ "@aws-sdk/middleware-retry": "3.357.0",
36
+ "@aws-sdk/middleware-sdk-route53": "3.357.0",
37
+ "@aws-sdk/middleware-serde": "3.357.0",
38
+ "@aws-sdk/middleware-signing": "3.357.0",
39
+ "@aws-sdk/middleware-stack": "3.357.0",
40
+ "@aws-sdk/middleware-user-agent": "3.357.0",
41
+ "@aws-sdk/node-config-provider": "3.357.0",
42
+ "@aws-sdk/node-http-handler": "3.357.0",
43
+ "@aws-sdk/smithy-client": "3.357.0",
44
+ "@aws-sdk/types": "3.357.0",
45
+ "@aws-sdk/url-parser": "3.357.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.353.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.353.0",
51
- "@aws-sdk/util-endpoints": "3.352.0",
52
- "@aws-sdk/util-retry": "3.347.0",
53
- "@aws-sdk/util-user-agent-browser": "3.347.0",
54
- "@aws-sdk/util-user-agent-node": "3.353.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.357.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.357.0",
51
+ "@aws-sdk/util-endpoints": "3.357.0",
52
+ "@aws-sdk/util-retry": "3.357.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.357.0",
54
+ "@aws-sdk/util-user-agent-node": "3.357.0",
55
55
  "@aws-sdk/util-utf8": "3.310.0",
56
- "@aws-sdk/util-waiter": "3.347.0",
56
+ "@aws-sdk/util-waiter": "3.357.0",
57
57
  "@aws-sdk/xml-builder": "3.310.0",
58
58
  "@smithy/protocol-http": "^1.0.1",
59
59
  "@smithy/types": "^1.0.0",