@aws-sdk/client-route-53 3.185.0 → 3.188.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.
Files changed (90) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-cjs/protocols/Aws_restXml.js +8 -4
  3. package/dist-es/Route53.js +282 -289
  4. package/dist-es/Route53Client.js +22 -28
  5. package/dist-es/commands/ActivateKeySigningKeyCommand.js +21 -28
  6. package/dist-es/commands/AssociateVPCWithHostedZoneCommand.js +21 -28
  7. package/dist-es/commands/ChangeCidrCollectionCommand.js +21 -28
  8. package/dist-es/commands/ChangeResourceRecordSetsCommand.js +21 -28
  9. package/dist-es/commands/ChangeTagsForResourceCommand.js +21 -28
  10. package/dist-es/commands/CreateCidrCollectionCommand.js +21 -28
  11. package/dist-es/commands/CreateHealthCheckCommand.js +21 -28
  12. package/dist-es/commands/CreateHostedZoneCommand.js +21 -28
  13. package/dist-es/commands/CreateKeySigningKeyCommand.js +21 -28
  14. package/dist-es/commands/CreateQueryLoggingConfigCommand.js +21 -28
  15. package/dist-es/commands/CreateReusableDelegationSetCommand.js +21 -28
  16. package/dist-es/commands/CreateTrafficPolicyCommand.js +21 -28
  17. package/dist-es/commands/CreateTrafficPolicyInstanceCommand.js +21 -28
  18. package/dist-es/commands/CreateTrafficPolicyVersionCommand.js +21 -28
  19. package/dist-es/commands/CreateVPCAssociationAuthorizationCommand.js +21 -28
  20. package/dist-es/commands/DeactivateKeySigningKeyCommand.js +21 -28
  21. package/dist-es/commands/DeleteCidrCollectionCommand.js +21 -28
  22. package/dist-es/commands/DeleteHealthCheckCommand.js +21 -28
  23. package/dist-es/commands/DeleteHostedZoneCommand.js +21 -28
  24. package/dist-es/commands/DeleteKeySigningKeyCommand.js +21 -28
  25. package/dist-es/commands/DeleteQueryLoggingConfigCommand.js +21 -28
  26. package/dist-es/commands/DeleteReusableDelegationSetCommand.js +21 -28
  27. package/dist-es/commands/DeleteTrafficPolicyCommand.js +21 -28
  28. package/dist-es/commands/DeleteTrafficPolicyInstanceCommand.js +21 -28
  29. package/dist-es/commands/DeleteVPCAssociationAuthorizationCommand.js +21 -28
  30. package/dist-es/commands/DisableHostedZoneDNSSECCommand.js +21 -28
  31. package/dist-es/commands/DisassociateVPCFromHostedZoneCommand.js +21 -28
  32. package/dist-es/commands/EnableHostedZoneDNSSECCommand.js +21 -28
  33. package/dist-es/commands/GetAccountLimitCommand.js +21 -28
  34. package/dist-es/commands/GetChangeCommand.js +21 -28
  35. package/dist-es/commands/GetCheckerIpRangesCommand.js +21 -28
  36. package/dist-es/commands/GetDNSSECCommand.js +21 -28
  37. package/dist-es/commands/GetGeoLocationCommand.js +21 -28
  38. package/dist-es/commands/GetHealthCheckCommand.js +21 -28
  39. package/dist-es/commands/GetHealthCheckCountCommand.js +21 -28
  40. package/dist-es/commands/GetHealthCheckLastFailureReasonCommand.js +21 -28
  41. package/dist-es/commands/GetHealthCheckStatusCommand.js +21 -28
  42. package/dist-es/commands/GetHostedZoneCommand.js +21 -28
  43. package/dist-es/commands/GetHostedZoneCountCommand.js +21 -28
  44. package/dist-es/commands/GetHostedZoneLimitCommand.js +21 -28
  45. package/dist-es/commands/GetQueryLoggingConfigCommand.js +21 -28
  46. package/dist-es/commands/GetReusableDelegationSetCommand.js +21 -28
  47. package/dist-es/commands/GetReusableDelegationSetLimitCommand.js +21 -28
  48. package/dist-es/commands/GetTrafficPolicyCommand.js +21 -28
  49. package/dist-es/commands/GetTrafficPolicyInstanceCommand.js +21 -28
  50. package/dist-es/commands/GetTrafficPolicyInstanceCountCommand.js +21 -28
  51. package/dist-es/commands/ListCidrBlocksCommand.js +21 -28
  52. package/dist-es/commands/ListCidrCollectionsCommand.js +21 -28
  53. package/dist-es/commands/ListCidrLocationsCommand.js +21 -28
  54. package/dist-es/commands/ListGeoLocationsCommand.js +21 -28
  55. package/dist-es/commands/ListHealthChecksCommand.js +21 -28
  56. package/dist-es/commands/ListHostedZonesByNameCommand.js +21 -28
  57. package/dist-es/commands/ListHostedZonesByVPCCommand.js +21 -28
  58. package/dist-es/commands/ListHostedZonesCommand.js +21 -28
  59. package/dist-es/commands/ListQueryLoggingConfigsCommand.js +21 -28
  60. package/dist-es/commands/ListResourceRecordSetsCommand.js +21 -28
  61. package/dist-es/commands/ListReusableDelegationSetsCommand.js +21 -28
  62. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  63. package/dist-es/commands/ListTagsForResourcesCommand.js +21 -28
  64. package/dist-es/commands/ListTrafficPoliciesCommand.js +21 -28
  65. package/dist-es/commands/ListTrafficPolicyInstancesByHostedZoneCommand.js +21 -28
  66. package/dist-es/commands/ListTrafficPolicyInstancesByPolicyCommand.js +21 -28
  67. package/dist-es/commands/ListTrafficPolicyInstancesCommand.js +21 -28
  68. package/dist-es/commands/ListTrafficPolicyVersionsCommand.js +21 -28
  69. package/dist-es/commands/ListVPCAssociationAuthorizationsCommand.js +21 -28
  70. package/dist-es/commands/TestDNSAnswerCommand.js +21 -28
  71. package/dist-es/commands/UpdateHealthCheckCommand.js +21 -28
  72. package/dist-es/commands/UpdateHostedZoneCommentCommand.js +21 -28
  73. package/dist-es/commands/UpdateTrafficPolicyCommentCommand.js +21 -28
  74. package/dist-es/commands/UpdateTrafficPolicyInstanceCommand.js +21 -28
  75. package/dist-es/endpoints.js +8 -8
  76. package/dist-es/models/Route53ServiceException.js +5 -10
  77. package/dist-es/models/models_0.js +1372 -1015
  78. package/dist-es/pagination/ListCidrBlocksPaginator.js +25 -68
  79. package/dist-es/pagination/ListCidrCollectionsPaginator.js +25 -68
  80. package/dist-es/pagination/ListCidrLocationsPaginator.js +25 -68
  81. package/dist-es/pagination/ListHealthChecksPaginator.js +25 -68
  82. package/dist-es/pagination/ListHostedZonesPaginator.js +25 -68
  83. package/dist-es/pagination/ListQueryLoggingConfigsPaginator.js +25 -68
  84. package/dist-es/protocols/Aws_restXml.js +5758 -7956
  85. package/dist-es/runtimeConfig.browser.js +26 -12
  86. package/dist-es/runtimeConfig.js +30 -12
  87. package/dist-es/runtimeConfig.native.js +8 -5
  88. package/dist-es/runtimeConfig.shared.js +8 -11
  89. package/dist-es/waiters/waitForResourceRecordSetsChanged.js +28 -48
  90. package/package.json +37 -38
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-route-53
9
+
10
+
11
+
12
+
13
+
14
+ # [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-route-53
17
+
18
+
19
+
20
+
21
+
6
22
  # [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
7
23
 
8
24
 
@@ -6,7 +6,6 @@ exports.deserializeAws_restXmlUpdateTrafficPolicyInstanceCommand = exports.deser
6
6
  const protocol_http_1 = require("@aws-sdk/protocol-http");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  const xml_builder_1 = require("@aws-sdk/xml-builder");
9
- const entities_1 = require("entities");
10
9
  const fast_xml_parser_1 = require("fast-xml-parser");
11
10
  const models_0_1 = require("../models/models_0");
12
11
  const Route53ServiceException_1 = require("../models/Route53ServiceException");
@@ -7185,13 +7184,18 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
7185
7184
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
7186
7185
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
7187
7186
  if (encoded.length) {
7188
- const parsedObj = (0, fast_xml_parser_1.parse)(encoded, {
7187
+ const parser = new fast_xml_parser_1.XMLParser({
7189
7188
  attributeNamePrefix: "",
7189
+ htmlEntities: true,
7190
7190
  ignoreAttributes: false,
7191
- parseNodeValue: false,
7191
+ ignoreDeclaration: true,
7192
+ parseTagValue: false,
7192
7193
  trimValues: false,
7193
- tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : (0, entities_1.decodeHTML)(val)),
7194
+ tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
7194
7195
  });
7196
+ parser.addEntity("#xD", "\r");
7197
+ parser.addEntity("#10", "\n");
7198
+ const parsedObj = parser.parse(encoded);
7195
7199
  const textNodeName = "#text";
7196
7200
  const key = Object.keys(parsedObj)[0];
7197
7201
  const parsedObjToReturn = parsedObj[key];