@aws-sdk/client-route-53 3.53.0 → 3.55.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 (86) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/Route53Client.js +13 -13
  3. package/dist-cjs/commands/ActivateKeySigningKeyCommand.js +4 -4
  4. package/dist-cjs/commands/AssociateVPCWithHostedZoneCommand.js +4 -4
  5. package/dist-cjs/commands/ChangeResourceRecordSetsCommand.js +5 -5
  6. package/dist-cjs/commands/ChangeTagsForResourceCommand.js +3 -3
  7. package/dist-cjs/commands/CreateHealthCheckCommand.js +3 -3
  8. package/dist-cjs/commands/CreateHostedZoneCommand.js +4 -4
  9. package/dist-cjs/commands/CreateKeySigningKeyCommand.js +4 -4
  10. package/dist-cjs/commands/CreateQueryLoggingConfigCommand.js +4 -4
  11. package/dist-cjs/commands/CreateReusableDelegationSetCommand.js +4 -4
  12. package/dist-cjs/commands/CreateTrafficPolicyCommand.js +3 -3
  13. package/dist-cjs/commands/CreateTrafficPolicyInstanceCommand.js +4 -4
  14. package/dist-cjs/commands/CreateTrafficPolicyVersionCommand.js +4 -4
  15. package/dist-cjs/commands/CreateVPCAssociationAuthorizationCommand.js +4 -4
  16. package/dist-cjs/commands/DeactivateKeySigningKeyCommand.js +4 -4
  17. package/dist-cjs/commands/DeleteHealthCheckCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteHostedZoneCommand.js +4 -4
  19. package/dist-cjs/commands/DeleteKeySigningKeyCommand.js +4 -4
  20. package/dist-cjs/commands/DeleteQueryLoggingConfigCommand.js +4 -4
  21. package/dist-cjs/commands/DeleteReusableDelegationSetCommand.js +4 -4
  22. package/dist-cjs/commands/DeleteTrafficPolicyCommand.js +4 -4
  23. package/dist-cjs/commands/DeleteTrafficPolicyInstanceCommand.js +4 -4
  24. package/dist-cjs/commands/DeleteVPCAssociationAuthorizationCommand.js +4 -4
  25. package/dist-cjs/commands/DisableHostedZoneDNSSECCommand.js +4 -4
  26. package/dist-cjs/commands/DisassociateVPCFromHostedZoneCommand.js +4 -4
  27. package/dist-cjs/commands/EnableHostedZoneDNSSECCommand.js +4 -4
  28. package/dist-cjs/commands/GetAccountLimitCommand.js +3 -3
  29. package/dist-cjs/commands/GetChangeCommand.js +4 -4
  30. package/dist-cjs/commands/GetCheckerIpRangesCommand.js +3 -3
  31. package/dist-cjs/commands/GetDNSSECCommand.js +4 -4
  32. package/dist-cjs/commands/GetGeoLocationCommand.js +3 -3
  33. package/dist-cjs/commands/GetHealthCheckCommand.js +3 -3
  34. package/dist-cjs/commands/GetHealthCheckCountCommand.js +3 -3
  35. package/dist-cjs/commands/GetHealthCheckLastFailureReasonCommand.js +3 -3
  36. package/dist-cjs/commands/GetHealthCheckStatusCommand.js +3 -3
  37. package/dist-cjs/commands/GetHostedZoneCommand.js +4 -4
  38. package/dist-cjs/commands/GetHostedZoneCountCommand.js +3 -3
  39. package/dist-cjs/commands/GetHostedZoneLimitCommand.js +4 -4
  40. package/dist-cjs/commands/GetQueryLoggingConfigCommand.js +4 -4
  41. package/dist-cjs/commands/GetReusableDelegationSetCommand.js +4 -4
  42. package/dist-cjs/commands/GetReusableDelegationSetLimitCommand.js +4 -4
  43. package/dist-cjs/commands/GetTrafficPolicyCommand.js +4 -4
  44. package/dist-cjs/commands/GetTrafficPolicyInstanceCommand.js +4 -4
  45. package/dist-cjs/commands/GetTrafficPolicyInstanceCountCommand.js +3 -3
  46. package/dist-cjs/commands/ListGeoLocationsCommand.js +3 -3
  47. package/dist-cjs/commands/ListHealthChecksCommand.js +3 -3
  48. package/dist-cjs/commands/ListHostedZonesByNameCommand.js +4 -4
  49. package/dist-cjs/commands/ListHostedZonesByVPCCommand.js +3 -3
  50. package/dist-cjs/commands/ListHostedZonesCommand.js +4 -4
  51. package/dist-cjs/commands/ListQueryLoggingConfigsCommand.js +4 -4
  52. package/dist-cjs/commands/ListResourceRecordSetsCommand.js +4 -4
  53. package/dist-cjs/commands/ListReusableDelegationSetsCommand.js +3 -3
  54. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  55. package/dist-cjs/commands/ListTagsForResourcesCommand.js +3 -3
  56. package/dist-cjs/commands/ListTrafficPoliciesCommand.js +3 -3
  57. package/dist-cjs/commands/ListTrafficPolicyInstancesByHostedZoneCommand.js +4 -4
  58. package/dist-cjs/commands/ListTrafficPolicyInstancesByPolicyCommand.js +3 -3
  59. package/dist-cjs/commands/ListTrafficPolicyInstancesCommand.js +3 -3
  60. package/dist-cjs/commands/ListTrafficPolicyVersionsCommand.js +4 -4
  61. package/dist-cjs/commands/ListVPCAssociationAuthorizationsCommand.js +4 -4
  62. package/dist-cjs/commands/TestDNSAnswerCommand.js +4 -4
  63. package/dist-cjs/commands/UpdateHealthCheckCommand.js +3 -3
  64. package/dist-cjs/commands/UpdateHostedZoneCommentCommand.js +4 -4
  65. package/dist-cjs/commands/UpdateTrafficPolicyCommentCommand.js +4 -4
  66. package/dist-cjs/commands/UpdateTrafficPolicyInstanceCommand.js +4 -4
  67. package/dist-cjs/endpoints.js +1 -1
  68. package/dist-cjs/protocols/Aws_restXml.js +526 -526
  69. package/dist-cjs/runtimeConfig.browser.js +4 -4
  70. package/dist-cjs/runtimeConfig.js +9 -9
  71. package/dist-cjs/runtimeConfig.native.js +1 -1
  72. package/dist-cjs/waiters/waitForResourceRecordSetsChanged.js +3 -3
  73. package/dist-es/Route53.js +64 -64
  74. package/dist-es/pagination/ListHealthChecksPaginator.js +4 -4
  75. package/dist-es/pagination/ListHostedZonesPaginator.js +4 -4
  76. package/dist-es/pagination/ListQueryLoggingConfigsPaginator.js +4 -4
  77. package/dist-es/protocols/Aws_restXml.js +64 -64
  78. package/dist-types/Route53Client.d.ts +2 -2
  79. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  80. package/dist-types/runtimeConfig.d.ts +1 -1
  81. package/dist-types/runtimeConfig.native.d.ts +3 -3
  82. package/dist-types/ts3.4/Route53Client.d.ts +2 -2
  83. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  84. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  85. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  86. package/package.json +37 -37
@@ -20,7 +20,7 @@ const serializeAws_restXmlActivateKeySigningKeyCommand = async (input, context)
20
20
  if (labelValue.length <= 0) {
21
21
  throw new Error("Empty value provided for input HTTP label: HostedZoneId.");
22
22
  }
23
- resolvedPath = resolvedPath.replace("{HostedZoneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
23
+ resolvedPath = resolvedPath.replace("{HostedZoneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
24
24
  }
25
25
  else {
26
26
  throw new Error("No value provided for input HTTP label: HostedZoneId.");
@@ -30,7 +30,7 @@ const serializeAws_restXmlActivateKeySigningKeyCommand = async (input, context)
30
30
  if (labelValue.length <= 0) {
31
31
  throw new Error("Empty value provided for input HTTP label: Name.");
32
32
  }
33
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
33
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
34
34
  }
35
35
  else {
36
36
  throw new Error("No value provided for input HTTP label: Name.");
@@ -59,7 +59,7 @@ const serializeAws_restXmlAssociateVPCWithHostedZoneCommand = async (input, cont
59
59
  if (labelValue.length <= 0) {
60
60
  throw new Error("Empty value provided for input HTTP label: HostedZoneId.");
61
61
  }
62
- resolvedPath = resolvedPath.replace("{HostedZoneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
62
+ resolvedPath = resolvedPath.replace("{HostedZoneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
63
63
  }
64
64
  else {
65
65
  throw new Error("No value provided for input HTTP label: HostedZoneId.");
@@ -100,7 +100,7 @@ const serializeAws_restXmlChangeResourceRecordSetsCommand = async (input, contex
100
100
  if (labelValue.length <= 0) {
101
101
  throw new Error("Empty value provided for input HTTP label: HostedZoneId.");
102
102
  }
103
- resolvedPath = resolvedPath.replace("{HostedZoneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
103
+ resolvedPath = resolvedPath.replace("{HostedZoneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
104
104
  }
105
105
  else {
106
106
  throw new Error("No value provided for input HTTP label: HostedZoneId.");
@@ -137,7 +137,7 @@ const serializeAws_restXmlChangeTagsForResourceCommand = async (input, context)
137
137
  if (labelValue.length <= 0) {
138
138
  throw new Error("Empty value provided for input HTTP label: ResourceType.");
139
139
  }
140
- resolvedPath = resolvedPath.replace("{ResourceType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
140
+ resolvedPath = resolvedPath.replace("{ResourceType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
141
141
  }
142
142
  else {
143
143
  throw new Error("No value provided for input HTTP label: ResourceType.");
@@ -147,7 +147,7 @@ const serializeAws_restXmlChangeTagsForResourceCommand = async (input, context)
147
147
  if (labelValue.length <= 0) {
148
148
  throw new Error("Empty value provided for input HTTP label: ResourceId.");
149
149
  }
150
- resolvedPath = resolvedPath.replace("{ResourceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
150
+ resolvedPath = resolvedPath.replace("{ResourceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
151
151
  }
152
152
  else {
153
153
  throw new Error("No value provided for input HTTP label: ResourceId.");
@@ -459,7 +459,7 @@ const serializeAws_restXmlCreateTrafficPolicyVersionCommand = async (input, cont
459
459
  if (labelValue.length <= 0) {
460
460
  throw new Error("Empty value provided for input HTTP label: Id.");
461
461
  }
462
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
462
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
463
463
  }
464
464
  else {
465
465
  throw new Error("No value provided for input HTTP label: Id.");
@@ -502,7 +502,7 @@ const serializeAws_restXmlCreateVPCAssociationAuthorizationCommand = async (inpu
502
502
  if (labelValue.length <= 0) {
503
503
  throw new Error("Empty value provided for input HTTP label: HostedZoneId.");
504
504
  }
505
- resolvedPath = resolvedPath.replace("{HostedZoneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
505
+ resolvedPath = resolvedPath.replace("{HostedZoneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
506
506
  }
507
507
  else {
508
508
  throw new Error("No value provided for input HTTP label: HostedZoneId.");
@@ -537,7 +537,7 @@ const serializeAws_restXmlDeactivateKeySigningKeyCommand = async (input, context
537
537
  if (labelValue.length <= 0) {
538
538
  throw new Error("Empty value provided for input HTTP label: HostedZoneId.");
539
539
  }
540
- resolvedPath = resolvedPath.replace("{HostedZoneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
540
+ resolvedPath = resolvedPath.replace("{HostedZoneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
541
541
  }
542
542
  else {
543
543
  throw new Error("No value provided for input HTTP label: HostedZoneId.");
@@ -547,7 +547,7 @@ const serializeAws_restXmlDeactivateKeySigningKeyCommand = async (input, context
547
547
  if (labelValue.length <= 0) {
548
548
  throw new Error("Empty value provided for input HTTP label: Name.");
549
549
  }
550
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
550
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
551
551
  }
552
552
  else {
553
553
  throw new Error("No value provided for input HTTP label: Name.");
@@ -573,7 +573,7 @@ const serializeAws_restXmlDeleteHealthCheckCommand = async (input, context) => {
573
573
  if (labelValue.length <= 0) {
574
574
  throw new Error("Empty value provided for input HTTP label: HealthCheckId.");
575
575
  }
576
- resolvedPath = resolvedPath.replace("{HealthCheckId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
576
+ resolvedPath = resolvedPath.replace("{HealthCheckId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
577
577
  }
578
578
  else {
579
579
  throw new Error("No value provided for input HTTP label: HealthCheckId.");
@@ -599,7 +599,7 @@ const serializeAws_restXmlDeleteHostedZoneCommand = async (input, context) => {
599
599
  if (labelValue.length <= 0) {
600
600
  throw new Error("Empty value provided for input HTTP label: Id.");
601
601
  }
602
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
602
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
603
603
  }
604
604
  else {
605
605
  throw new Error("No value provided for input HTTP label: Id.");
@@ -626,7 +626,7 @@ const serializeAws_restXmlDeleteKeySigningKeyCommand = async (input, context) =>
626
626
  if (labelValue.length <= 0) {
627
627
  throw new Error("Empty value provided for input HTTP label: HostedZoneId.");
628
628
  }
629
- resolvedPath = resolvedPath.replace("{HostedZoneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
629
+ resolvedPath = resolvedPath.replace("{HostedZoneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
630
630
  }
631
631
  else {
632
632
  throw new Error("No value provided for input HTTP label: HostedZoneId.");
@@ -636,7 +636,7 @@ const serializeAws_restXmlDeleteKeySigningKeyCommand = async (input, context) =>
636
636
  if (labelValue.length <= 0) {
637
637
  throw new Error("Empty value provided for input HTTP label: Name.");
638
638
  }
639
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
639
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
640
640
  }
641
641
  else {
642
642
  throw new Error("No value provided for input HTTP label: Name.");
@@ -662,7 +662,7 @@ const serializeAws_restXmlDeleteQueryLoggingConfigCommand = async (input, contex
662
662
  if (labelValue.length <= 0) {
663
663
  throw new Error("Empty value provided for input HTTP label: Id.");
664
664
  }
665
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
665
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
666
666
  }
667
667
  else {
668
668
  throw new Error("No value provided for input HTTP label: Id.");
@@ -688,7 +688,7 @@ const serializeAws_restXmlDeleteReusableDelegationSetCommand = async (input, con
688
688
  if (labelValue.length <= 0) {
689
689
  throw new Error("Empty value provided for input HTTP label: Id.");
690
690
  }
691
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
691
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
692
692
  }
693
693
  else {
694
694
  throw new Error("No value provided for input HTTP label: Id.");
@@ -714,7 +714,7 @@ const serializeAws_restXmlDeleteTrafficPolicyCommand = async (input, context) =>
714
714
  if (labelValue.length <= 0) {
715
715
  throw new Error("Empty value provided for input HTTP label: Id.");
716
716
  }
717
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
717
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
718
718
  }
719
719
  else {
720
720
  throw new Error("No value provided for input HTTP label: Id.");
@@ -724,7 +724,7 @@ const serializeAws_restXmlDeleteTrafficPolicyCommand = async (input, context) =>
724
724
  if (labelValue.length <= 0) {
725
725
  throw new Error("Empty value provided for input HTTP label: Version.");
726
726
  }
727
- resolvedPath = resolvedPath.replace("{Version}", smithy_client_1.extendedEncodeURIComponent(labelValue));
727
+ resolvedPath = resolvedPath.replace("{Version}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
728
728
  }
729
729
  else {
730
730
  throw new Error("No value provided for input HTTP label: Version.");
@@ -750,7 +750,7 @@ const serializeAws_restXmlDeleteTrafficPolicyInstanceCommand = async (input, con
750
750
  if (labelValue.length <= 0) {
751
751
  throw new Error("Empty value provided for input HTTP label: Id.");
752
752
  }
753
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
753
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
754
754
  }
755
755
  else {
756
756
  throw new Error("No value provided for input HTTP label: Id.");
@@ -779,7 +779,7 @@ const serializeAws_restXmlDeleteVPCAssociationAuthorizationCommand = async (inpu
779
779
  if (labelValue.length <= 0) {
780
780
  throw new Error("Empty value provided for input HTTP label: HostedZoneId.");
781
781
  }
782
- resolvedPath = resolvedPath.replace("{HostedZoneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
782
+ resolvedPath = resolvedPath.replace("{HostedZoneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
783
783
  }
784
784
  else {
785
785
  throw new Error("No value provided for input HTTP label: HostedZoneId.");
@@ -814,7 +814,7 @@ const serializeAws_restXmlDisableHostedZoneDNSSECCommand = async (input, context
814
814
  if (labelValue.length <= 0) {
815
815
  throw new Error("Empty value provided for input HTTP label: HostedZoneId.");
816
816
  }
817
- resolvedPath = resolvedPath.replace("{HostedZoneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
817
+ resolvedPath = resolvedPath.replace("{HostedZoneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
818
818
  }
819
819
  else {
820
820
  throw new Error("No value provided for input HTTP label: HostedZoneId.");
@@ -843,7 +843,7 @@ const serializeAws_restXmlDisassociateVPCFromHostedZoneCommand = async (input, c
843
843
  if (labelValue.length <= 0) {
844
844
  throw new Error("Empty value provided for input HTTP label: HostedZoneId.");
845
845
  }
846
- resolvedPath = resolvedPath.replace("{HostedZoneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
846
+ resolvedPath = resolvedPath.replace("{HostedZoneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
847
847
  }
848
848
  else {
849
849
  throw new Error("No value provided for input HTTP label: HostedZoneId.");
@@ -882,7 +882,7 @@ const serializeAws_restXmlEnableHostedZoneDNSSECCommand = async (input, context)
882
882
  if (labelValue.length <= 0) {
883
883
  throw new Error("Empty value provided for input HTTP label: HostedZoneId.");
884
884
  }
885
- resolvedPath = resolvedPath.replace("{HostedZoneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
885
+ resolvedPath = resolvedPath.replace("{HostedZoneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
886
886
  }
887
887
  else {
888
888
  throw new Error("No value provided for input HTTP label: HostedZoneId.");
@@ -908,7 +908,7 @@ const serializeAws_restXmlGetAccountLimitCommand = async (input, context) => {
908
908
  if (labelValue.length <= 0) {
909
909
  throw new Error("Empty value provided for input HTTP label: Type.");
910
910
  }
911
- resolvedPath = resolvedPath.replace("{Type}", smithy_client_1.extendedEncodeURIComponent(labelValue));
911
+ resolvedPath = resolvedPath.replace("{Type}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
912
912
  }
913
913
  else {
914
914
  throw new Error("No value provided for input HTTP label: Type.");
@@ -934,7 +934,7 @@ const serializeAws_restXmlGetChangeCommand = async (input, context) => {
934
934
  if (labelValue.length <= 0) {
935
935
  throw new Error("Empty value provided for input HTTP label: Id.");
936
936
  }
937
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
937
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
938
938
  }
939
939
  else {
940
940
  throw new Error("No value provided for input HTTP label: Id.");
@@ -980,7 +980,7 @@ const serializeAws_restXmlGetDNSSECCommand = async (input, context) => {
980
980
  if (labelValue.length <= 0) {
981
981
  throw new Error("Empty value provided for input HTTP label: HostedZoneId.");
982
982
  }
983
- resolvedPath = resolvedPath.replace("{HostedZoneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
983
+ resolvedPath = resolvedPath.replace("{HostedZoneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
984
984
  }
985
985
  else {
986
986
  throw new Error("No value provided for input HTTP label: HostedZoneId.");
@@ -1028,7 +1028,7 @@ const serializeAws_restXmlGetHealthCheckCommand = async (input, context) => {
1028
1028
  if (labelValue.length <= 0) {
1029
1029
  throw new Error("Empty value provided for input HTTP label: HealthCheckId.");
1030
1030
  }
1031
- resolvedPath = resolvedPath.replace("{HealthCheckId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1031
+ resolvedPath = resolvedPath.replace("{HealthCheckId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1032
1032
  }
1033
1033
  else {
1034
1034
  throw new Error("No value provided for input HTTP label: HealthCheckId.");
@@ -1074,7 +1074,7 @@ const serializeAws_restXmlGetHealthCheckLastFailureReasonCommand = async (input,
1074
1074
  if (labelValue.length <= 0) {
1075
1075
  throw new Error("Empty value provided for input HTTP label: HealthCheckId.");
1076
1076
  }
1077
- resolvedPath = resolvedPath.replace("{HealthCheckId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1077
+ resolvedPath = resolvedPath.replace("{HealthCheckId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1078
1078
  }
1079
1079
  else {
1080
1080
  throw new Error("No value provided for input HTTP label: HealthCheckId.");
@@ -1101,7 +1101,7 @@ const serializeAws_restXmlGetHealthCheckStatusCommand = async (input, context) =
1101
1101
  if (labelValue.length <= 0) {
1102
1102
  throw new Error("Empty value provided for input HTTP label: HealthCheckId.");
1103
1103
  }
1104
- resolvedPath = resolvedPath.replace("{HealthCheckId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1104
+ resolvedPath = resolvedPath.replace("{HealthCheckId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1105
1105
  }
1106
1106
  else {
1107
1107
  throw new Error("No value provided for input HTTP label: HealthCheckId.");
@@ -1127,7 +1127,7 @@ const serializeAws_restXmlGetHostedZoneCommand = async (input, context) => {
1127
1127
  if (labelValue.length <= 0) {
1128
1128
  throw new Error("Empty value provided for input HTTP label: Id.");
1129
1129
  }
1130
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1130
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1131
1131
  }
1132
1132
  else {
1133
1133
  throw new Error("No value provided for input HTTP label: Id.");
@@ -1173,7 +1173,7 @@ const serializeAws_restXmlGetHostedZoneLimitCommand = async (input, context) =>
1173
1173
  if (labelValue.length <= 0) {
1174
1174
  throw new Error("Empty value provided for input HTTP label: Type.");
1175
1175
  }
1176
- resolvedPath = resolvedPath.replace("{Type}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1176
+ resolvedPath = resolvedPath.replace("{Type}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1177
1177
  }
1178
1178
  else {
1179
1179
  throw new Error("No value provided for input HTTP label: Type.");
@@ -1183,7 +1183,7 @@ const serializeAws_restXmlGetHostedZoneLimitCommand = async (input, context) =>
1183
1183
  if (labelValue.length <= 0) {
1184
1184
  throw new Error("Empty value provided for input HTTP label: HostedZoneId.");
1185
1185
  }
1186
- resolvedPath = resolvedPath.replace("{HostedZoneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1186
+ resolvedPath = resolvedPath.replace("{HostedZoneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1187
1187
  }
1188
1188
  else {
1189
1189
  throw new Error("No value provided for input HTTP label: HostedZoneId.");
@@ -1209,7 +1209,7 @@ const serializeAws_restXmlGetQueryLoggingConfigCommand = async (input, context)
1209
1209
  if (labelValue.length <= 0) {
1210
1210
  throw new Error("Empty value provided for input HTTP label: Id.");
1211
1211
  }
1212
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1212
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1213
1213
  }
1214
1214
  else {
1215
1215
  throw new Error("No value provided for input HTTP label: Id.");
@@ -1235,7 +1235,7 @@ const serializeAws_restXmlGetReusableDelegationSetCommand = async (input, contex
1235
1235
  if (labelValue.length <= 0) {
1236
1236
  throw new Error("Empty value provided for input HTTP label: Id.");
1237
1237
  }
1238
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1238
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1239
1239
  }
1240
1240
  else {
1241
1241
  throw new Error("No value provided for input HTTP label: Id.");
@@ -1262,7 +1262,7 @@ const serializeAws_restXmlGetReusableDelegationSetLimitCommand = async (input, c
1262
1262
  if (labelValue.length <= 0) {
1263
1263
  throw new Error("Empty value provided for input HTTP label: Type.");
1264
1264
  }
1265
- resolvedPath = resolvedPath.replace("{Type}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1265
+ resolvedPath = resolvedPath.replace("{Type}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1266
1266
  }
1267
1267
  else {
1268
1268
  throw new Error("No value provided for input HTTP label: Type.");
@@ -1272,7 +1272,7 @@ const serializeAws_restXmlGetReusableDelegationSetLimitCommand = async (input, c
1272
1272
  if (labelValue.length <= 0) {
1273
1273
  throw new Error("Empty value provided for input HTTP label: DelegationSetId.");
1274
1274
  }
1275
- resolvedPath = resolvedPath.replace("{DelegationSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1275
+ resolvedPath = resolvedPath.replace("{DelegationSetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1276
1276
  }
1277
1277
  else {
1278
1278
  throw new Error("No value provided for input HTTP label: DelegationSetId.");
@@ -1298,7 +1298,7 @@ const serializeAws_restXmlGetTrafficPolicyCommand = async (input, context) => {
1298
1298
  if (labelValue.length <= 0) {
1299
1299
  throw new Error("Empty value provided for input HTTP label: Id.");
1300
1300
  }
1301
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1301
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1302
1302
  }
1303
1303
  else {
1304
1304
  throw new Error("No value provided for input HTTP label: Id.");
@@ -1308,7 +1308,7 @@ const serializeAws_restXmlGetTrafficPolicyCommand = async (input, context) => {
1308
1308
  if (labelValue.length <= 0) {
1309
1309
  throw new Error("Empty value provided for input HTTP label: Version.");
1310
1310
  }
1311
- resolvedPath = resolvedPath.replace("{Version}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1311
+ resolvedPath = resolvedPath.replace("{Version}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1312
1312
  }
1313
1313
  else {
1314
1314
  throw new Error("No value provided for input HTTP label: Version.");
@@ -1334,7 +1334,7 @@ const serializeAws_restXmlGetTrafficPolicyInstanceCommand = async (input, contex
1334
1334
  if (labelValue.length <= 0) {
1335
1335
  throw new Error("Empty value provided for input HTTP label: Id.");
1336
1336
  }
1337
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1337
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1338
1338
  }
1339
1339
  else {
1340
1340
  throw new Error("No value provided for input HTTP label: Id.");
@@ -1513,7 +1513,7 @@ const serializeAws_restXmlListResourceRecordSetsCommand = async (input, context)
1513
1513
  if (labelValue.length <= 0) {
1514
1514
  throw new Error("Empty value provided for input HTTP label: HostedZoneId.");
1515
1515
  }
1516
- resolvedPath = resolvedPath.replace("{HostedZoneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1516
+ resolvedPath = resolvedPath.replace("{HostedZoneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1517
1517
  }
1518
1518
  else {
1519
1519
  throw new Error("No value provided for input HTTP label: HostedZoneId.");
@@ -1568,7 +1568,7 @@ const serializeAws_restXmlListTagsForResourceCommand = async (input, context) =>
1568
1568
  if (labelValue.length <= 0) {
1569
1569
  throw new Error("Empty value provided for input HTTP label: ResourceType.");
1570
1570
  }
1571
- resolvedPath = resolvedPath.replace("{ResourceType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1571
+ resolvedPath = resolvedPath.replace("{ResourceType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1572
1572
  }
1573
1573
  else {
1574
1574
  throw new Error("No value provided for input HTTP label: ResourceType.");
@@ -1578,7 +1578,7 @@ const serializeAws_restXmlListTagsForResourceCommand = async (input, context) =>
1578
1578
  if (labelValue.length <= 0) {
1579
1579
  throw new Error("Empty value provided for input HTTP label: ResourceId.");
1580
1580
  }
1581
- resolvedPath = resolvedPath.replace("{ResourceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1581
+ resolvedPath = resolvedPath.replace("{ResourceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1582
1582
  }
1583
1583
  else {
1584
1584
  throw new Error("No value provided for input HTTP label: ResourceId.");
@@ -1606,7 +1606,7 @@ const serializeAws_restXmlListTagsForResourcesCommand = async (input, context) =
1606
1606
  if (labelValue.length <= 0) {
1607
1607
  throw new Error("Empty value provided for input HTTP label: ResourceType.");
1608
1608
  }
1609
- resolvedPath = resolvedPath.replace("{ResourceType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1609
+ resolvedPath = resolvedPath.replace("{ResourceType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1610
1610
  }
1611
1611
  else {
1612
1612
  throw new Error("No value provided for input HTTP label: ResourceType.");
@@ -1750,7 +1750,7 @@ const serializeAws_restXmlListTrafficPolicyVersionsCommand = async (input, conte
1750
1750
  if (labelValue.length <= 0) {
1751
1751
  throw new Error("Empty value provided for input HTTP label: Id.");
1752
1752
  }
1753
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1753
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1754
1754
  }
1755
1755
  else {
1756
1756
  throw new Error("No value provided for input HTTP label: Id.");
@@ -1782,7 +1782,7 @@ const serializeAws_restXmlListVPCAssociationAuthorizationsCommand = async (input
1782
1782
  if (labelValue.length <= 0) {
1783
1783
  throw new Error("Empty value provided for input HTTP label: HostedZoneId.");
1784
1784
  }
1785
- resolvedPath = resolvedPath.replace("{HostedZoneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1785
+ resolvedPath = resolvedPath.replace("{HostedZoneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1786
1786
  }
1787
1787
  else {
1788
1788
  throw new Error("No value provided for input HTTP label: HostedZoneId.");
@@ -1840,7 +1840,7 @@ const serializeAws_restXmlUpdateHealthCheckCommand = async (input, context) => {
1840
1840
  if (labelValue.length <= 0) {
1841
1841
  throw new Error("Empty value provided for input HTTP label: HealthCheckId.");
1842
1842
  }
1843
- resolvedPath = resolvedPath.replace("{HealthCheckId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1843
+ resolvedPath = resolvedPath.replace("{HealthCheckId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1844
1844
  }
1845
1845
  else {
1846
1846
  throw new Error("No value provided for input HTTP label: HealthCheckId.");
@@ -1958,7 +1958,7 @@ const serializeAws_restXmlUpdateHostedZoneCommentCommand = async (input, context
1958
1958
  if (labelValue.length <= 0) {
1959
1959
  throw new Error("Empty value provided for input HTTP label: Id.");
1960
1960
  }
1961
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1961
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1962
1962
  }
1963
1963
  else {
1964
1964
  throw new Error("No value provided for input HTTP label: Id.");
@@ -1994,7 +1994,7 @@ const serializeAws_restXmlUpdateTrafficPolicyCommentCommand = async (input, cont
1994
1994
  if (labelValue.length <= 0) {
1995
1995
  throw new Error("Empty value provided for input HTTP label: Id.");
1996
1996
  }
1997
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1997
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1998
1998
  }
1999
1999
  else {
2000
2000
  throw new Error("No value provided for input HTTP label: Id.");
@@ -2004,7 +2004,7 @@ const serializeAws_restXmlUpdateTrafficPolicyCommentCommand = async (input, cont
2004
2004
  if (labelValue.length <= 0) {
2005
2005
  throw new Error("Empty value provided for input HTTP label: Version.");
2006
2006
  }
2007
- resolvedPath = resolvedPath.replace("{Version}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2007
+ resolvedPath = resolvedPath.replace("{Version}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2008
2008
  }
2009
2009
  else {
2010
2010
  throw new Error("No value provided for input HTTP label: Version.");
@@ -2040,7 +2040,7 @@ const serializeAws_restXmlUpdateTrafficPolicyInstanceCommand = async (input, con
2040
2040
  if (labelValue.length <= 0) {
2041
2041
  throw new Error("Empty value provided for input HTTP label: Id.");
2042
2042
  }
2043
- resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2043
+ resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2044
2044
  }
2045
2045
  else {
2046
2046
  throw new Error("No value provided for input HTTP label: Id.");
@@ -2085,7 +2085,7 @@ const deserializeAws_restXmlActivateKeySigningKeyCommand = async (output, contex
2085
2085
  $metadata: deserializeMetadata(output),
2086
2086
  ChangeInfo: undefined,
2087
2087
  };
2088
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2088
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2089
2089
  if (data["ChangeInfo"] !== undefined) {
2090
2090
  contents.ChangeInfo = deserializeAws_restXmlChangeInfo(data["ChangeInfo"], context);
2091
2091
  }
@@ -2126,7 +2126,7 @@ const deserializeAws_restXmlActivateKeySigningKeyCommandError = async (output, c
2126
2126
  $fault: "client",
2127
2127
  $metadata: deserializeMetadata(output),
2128
2128
  });
2129
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2129
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2130
2130
  }
2131
2131
  };
2132
2132
  const deserializeAws_restXmlAssociateVPCWithHostedZoneCommand = async (output, context) => {
@@ -2137,7 +2137,7 @@ const deserializeAws_restXmlAssociateVPCWithHostedZoneCommand = async (output, c
2137
2137
  $metadata: deserializeMetadata(output),
2138
2138
  ChangeInfo: undefined,
2139
2139
  };
2140
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2140
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2141
2141
  if (data["ChangeInfo"] !== undefined) {
2142
2142
  contents.ChangeInfo = deserializeAws_restXmlChangeInfo(data["ChangeInfo"], context);
2143
2143
  }
@@ -2184,7 +2184,7 @@ const deserializeAws_restXmlAssociateVPCWithHostedZoneCommandError = async (outp
2184
2184
  $fault: "client",
2185
2185
  $metadata: deserializeMetadata(output),
2186
2186
  });
2187
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2187
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2188
2188
  }
2189
2189
  };
2190
2190
  const deserializeAws_restXmlChangeResourceRecordSetsCommand = async (output, context) => {
@@ -2195,7 +2195,7 @@ const deserializeAws_restXmlChangeResourceRecordSetsCommand = async (output, con
2195
2195
  $metadata: deserializeMetadata(output),
2196
2196
  ChangeInfo: undefined,
2197
2197
  };
2198
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2198
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2199
2199
  if (data["ChangeInfo"] !== undefined) {
2200
2200
  contents.ChangeInfo = deserializeAws_restXmlChangeInfo(data["ChangeInfo"], context);
2201
2201
  }
@@ -2233,7 +2233,7 @@ const deserializeAws_restXmlChangeResourceRecordSetsCommandError = async (output
2233
2233
  $fault: "client",
2234
2234
  $metadata: deserializeMetadata(output),
2235
2235
  });
2236
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2236
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2237
2237
  }
2238
2238
  };
2239
2239
  const deserializeAws_restXmlChangeTagsForResourceCommand = async (output, context) => {
@@ -2278,7 +2278,7 @@ const deserializeAws_restXmlChangeTagsForResourceCommandError = async (output, c
2278
2278
  $fault: "client",
2279
2279
  $metadata: deserializeMetadata(output),
2280
2280
  });
2281
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2281
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2282
2282
  }
2283
2283
  };
2284
2284
  const deserializeAws_restXmlCreateHealthCheckCommand = async (output, context) => {
@@ -2293,7 +2293,7 @@ const deserializeAws_restXmlCreateHealthCheckCommand = async (output, context) =
2293
2293
  if (output.headers["location"] !== undefined) {
2294
2294
  contents.Location = output.headers["location"];
2295
2295
  }
2296
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2296
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2297
2297
  if (data["HealthCheck"] !== undefined) {
2298
2298
  contents.HealthCheck = deserializeAws_restXmlHealthCheck(data["HealthCheck"], context);
2299
2299
  }
@@ -2325,7 +2325,7 @@ const deserializeAws_restXmlCreateHealthCheckCommandError = async (output, conte
2325
2325
  $fault: "client",
2326
2326
  $metadata: deserializeMetadata(output),
2327
2327
  });
2328
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2328
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2329
2329
  }
2330
2330
  };
2331
2331
  const deserializeAws_restXmlCreateHostedZoneCommand = async (output, context) => {
@@ -2343,7 +2343,7 @@ const deserializeAws_restXmlCreateHostedZoneCommand = async (output, context) =>
2343
2343
  if (output.headers["location"] !== undefined) {
2344
2344
  contents.Location = output.headers["location"];
2345
2345
  }
2346
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2346
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2347
2347
  if (data["ChangeInfo"] !== undefined) {
2348
2348
  contents.ChangeInfo = deserializeAws_restXmlChangeInfo(data["ChangeInfo"], context);
2349
2349
  }
@@ -2402,7 +2402,7 @@ const deserializeAws_restXmlCreateHostedZoneCommandError = async (output, contex
2402
2402
  $fault: "client",
2403
2403
  $metadata: deserializeMetadata(output),
2404
2404
  });
2405
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2405
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2406
2406
  }
2407
2407
  };
2408
2408
  const deserializeAws_restXmlCreateKeySigningKeyCommand = async (output, context) => {
@@ -2418,7 +2418,7 @@ const deserializeAws_restXmlCreateKeySigningKeyCommand = async (output, context)
2418
2418
  if (output.headers["location"] !== undefined) {
2419
2419
  contents.Location = output.headers["location"];
2420
2420
  }
2421
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2421
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2422
2422
  if (data["ChangeInfo"] !== undefined) {
2423
2423
  contents.ChangeInfo = deserializeAws_restXmlChangeInfo(data["ChangeInfo"], context);
2424
2424
  }
@@ -2474,7 +2474,7 @@ const deserializeAws_restXmlCreateKeySigningKeyCommandError = async (output, con
2474
2474
  $fault: "client",
2475
2475
  $metadata: deserializeMetadata(output),
2476
2476
  });
2477
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2477
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2478
2478
  }
2479
2479
  };
2480
2480
  const deserializeAws_restXmlCreateQueryLoggingConfigCommand = async (output, context) => {
@@ -2489,7 +2489,7 @@ const deserializeAws_restXmlCreateQueryLoggingConfigCommand = async (output, con
2489
2489
  if (output.headers["location"] !== undefined) {
2490
2490
  contents.Location = output.headers["location"];
2491
2491
  }
2492
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2492
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2493
2493
  if (data["QueryLoggingConfig"] !== undefined) {
2494
2494
  contents.QueryLoggingConfig = deserializeAws_restXmlQueryLoggingConfig(data["QueryLoggingConfig"], context);
2495
2495
  }
@@ -2530,7 +2530,7 @@ const deserializeAws_restXmlCreateQueryLoggingConfigCommandError = async (output
2530
2530
  $fault: "client",
2531
2531
  $metadata: deserializeMetadata(output),
2532
2532
  });
2533
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2533
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2534
2534
  }
2535
2535
  };
2536
2536
  const deserializeAws_restXmlCreateReusableDelegationSetCommand = async (output, context) => {
@@ -2545,7 +2545,7 @@ const deserializeAws_restXmlCreateReusableDelegationSetCommand = async (output,
2545
2545
  if (output.headers["location"] !== undefined) {
2546
2546
  contents.Location = output.headers["location"];
2547
2547
  }
2548
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2548
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2549
2549
  if (data["DelegationSet"] !== undefined) {
2550
2550
  contents.DelegationSet = deserializeAws_restXmlDelegationSet(data["DelegationSet"], context);
2551
2551
  }
@@ -2589,7 +2589,7 @@ const deserializeAws_restXmlCreateReusableDelegationSetCommandError = async (out
2589
2589
  $fault: "client",
2590
2590
  $metadata: deserializeMetadata(output),
2591
2591
  });
2592
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2592
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2593
2593
  }
2594
2594
  };
2595
2595
  const deserializeAws_restXmlCreateTrafficPolicyCommand = async (output, context) => {
@@ -2604,7 +2604,7 @@ const deserializeAws_restXmlCreateTrafficPolicyCommand = async (output, context)
2604
2604
  if (output.headers["location"] !== undefined) {
2605
2605
  contents.Location = output.headers["location"];
2606
2606
  }
2607
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2607
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2608
2608
  if (data["TrafficPolicy"] !== undefined) {
2609
2609
  contents.TrafficPolicy = deserializeAws_restXmlTrafficPolicy(data["TrafficPolicy"], context);
2610
2610
  }
@@ -2639,7 +2639,7 @@ const deserializeAws_restXmlCreateTrafficPolicyCommandError = async (output, con
2639
2639
  $fault: "client",
2640
2640
  $metadata: deserializeMetadata(output),
2641
2641
  });
2642
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2642
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2643
2643
  }
2644
2644
  };
2645
2645
  const deserializeAws_restXmlCreateTrafficPolicyInstanceCommand = async (output, context) => {
@@ -2654,7 +2654,7 @@ const deserializeAws_restXmlCreateTrafficPolicyInstanceCommand = async (output,
2654
2654
  if (output.headers["location"] !== undefined) {
2655
2655
  contents.Location = output.headers["location"];
2656
2656
  }
2657
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2657
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2658
2658
  if (data["TrafficPolicyInstance"] !== undefined) {
2659
2659
  contents.TrafficPolicyInstance = deserializeAws_restXmlTrafficPolicyInstance(data["TrafficPolicyInstance"], context);
2660
2660
  }
@@ -2692,7 +2692,7 @@ const deserializeAws_restXmlCreateTrafficPolicyInstanceCommandError = async (out
2692
2692
  $fault: "client",
2693
2693
  $metadata: deserializeMetadata(output),
2694
2694
  });
2695
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2695
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2696
2696
  }
2697
2697
  };
2698
2698
  const deserializeAws_restXmlCreateTrafficPolicyVersionCommand = async (output, context) => {
@@ -2707,7 +2707,7 @@ const deserializeAws_restXmlCreateTrafficPolicyVersionCommand = async (output, c
2707
2707
  if (output.headers["location"] !== undefined) {
2708
2708
  contents.Location = output.headers["location"];
2709
2709
  }
2710
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2710
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2711
2711
  if (data["TrafficPolicy"] !== undefined) {
2712
2712
  contents.TrafficPolicy = deserializeAws_restXmlTrafficPolicy(data["TrafficPolicy"], context);
2713
2713
  }
@@ -2745,7 +2745,7 @@ const deserializeAws_restXmlCreateTrafficPolicyVersionCommandError = async (outp
2745
2745
  $fault: "client",
2746
2746
  $metadata: deserializeMetadata(output),
2747
2747
  });
2748
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2748
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2749
2749
  }
2750
2750
  };
2751
2751
  const deserializeAws_restXmlCreateVPCAssociationAuthorizationCommand = async (output, context) => {
@@ -2757,9 +2757,9 @@ const deserializeAws_restXmlCreateVPCAssociationAuthorizationCommand = async (ou
2757
2757
  HostedZoneId: undefined,
2758
2758
  VPC: undefined,
2759
2759
  };
2760
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2760
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2761
2761
  if (data["HostedZoneId"] !== undefined) {
2762
- contents.HostedZoneId = smithy_client_1.expectString(data["HostedZoneId"]);
2762
+ contents.HostedZoneId = (0, smithy_client_1.expectString)(data["HostedZoneId"]);
2763
2763
  }
2764
2764
  if (data["VPC"] !== undefined) {
2765
2765
  contents.VPC = deserializeAws_restXmlVPC(data["VPC"], context);
@@ -2798,7 +2798,7 @@ const deserializeAws_restXmlCreateVPCAssociationAuthorizationCommandError = asyn
2798
2798
  $fault: "client",
2799
2799
  $metadata: deserializeMetadata(output),
2800
2800
  });
2801
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2801
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2802
2802
  }
2803
2803
  };
2804
2804
  const deserializeAws_restXmlDeactivateKeySigningKeyCommand = async (output, context) => {
@@ -2809,7 +2809,7 @@ const deserializeAws_restXmlDeactivateKeySigningKeyCommand = async (output, cont
2809
2809
  $metadata: deserializeMetadata(output),
2810
2810
  ChangeInfo: undefined,
2811
2811
  };
2812
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2812
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2813
2813
  if (data["ChangeInfo"] !== undefined) {
2814
2814
  contents.ChangeInfo = deserializeAws_restXmlChangeInfo(data["ChangeInfo"], context);
2815
2815
  }
@@ -2853,7 +2853,7 @@ const deserializeAws_restXmlDeactivateKeySigningKeyCommandError = async (output,
2853
2853
  $fault: "client",
2854
2854
  $metadata: deserializeMetadata(output),
2855
2855
  });
2856
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2856
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2857
2857
  }
2858
2858
  };
2859
2859
  const deserializeAws_restXmlDeleteHealthCheckCommand = async (output, context) => {
@@ -2892,7 +2892,7 @@ const deserializeAws_restXmlDeleteHealthCheckCommandError = async (output, conte
2892
2892
  $fault: "client",
2893
2893
  $metadata: deserializeMetadata(output),
2894
2894
  });
2895
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2895
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2896
2896
  }
2897
2897
  };
2898
2898
  const deserializeAws_restXmlDeleteHostedZoneCommand = async (output, context) => {
@@ -2903,7 +2903,7 @@ const deserializeAws_restXmlDeleteHostedZoneCommand = async (output, context) =>
2903
2903
  $metadata: deserializeMetadata(output),
2904
2904
  ChangeInfo: undefined,
2905
2905
  };
2906
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2906
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2907
2907
  if (data["ChangeInfo"] !== undefined) {
2908
2908
  contents.ChangeInfo = deserializeAws_restXmlChangeInfo(data["ChangeInfo"], context);
2909
2909
  }
@@ -2941,7 +2941,7 @@ const deserializeAws_restXmlDeleteHostedZoneCommandError = async (output, contex
2941
2941
  $fault: "client",
2942
2942
  $metadata: deserializeMetadata(output),
2943
2943
  });
2944
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2944
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2945
2945
  }
2946
2946
  };
2947
2947
  const deserializeAws_restXmlDeleteKeySigningKeyCommand = async (output, context) => {
@@ -2952,7 +2952,7 @@ const deserializeAws_restXmlDeleteKeySigningKeyCommand = async (output, context)
2952
2952
  $metadata: deserializeMetadata(output),
2953
2953
  ChangeInfo: undefined,
2954
2954
  };
2955
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2955
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2956
2956
  if (data["ChangeInfo"] !== undefined) {
2957
2957
  contents.ChangeInfo = deserializeAws_restXmlChangeInfo(data["ChangeInfo"], context);
2958
2958
  }
@@ -2993,7 +2993,7 @@ const deserializeAws_restXmlDeleteKeySigningKeyCommandError = async (output, con
2993
2993
  $fault: "client",
2994
2994
  $metadata: deserializeMetadata(output),
2995
2995
  });
2996
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2996
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2997
2997
  }
2998
2998
  };
2999
2999
  const deserializeAws_restXmlDeleteQueryLoggingConfigCommand = async (output, context) => {
@@ -3032,7 +3032,7 @@ const deserializeAws_restXmlDeleteQueryLoggingConfigCommandError = async (output
3032
3032
  $fault: "client",
3033
3033
  $metadata: deserializeMetadata(output),
3034
3034
  });
3035
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3035
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3036
3036
  }
3037
3037
  };
3038
3038
  const deserializeAws_restXmlDeleteReusableDelegationSetCommand = async (output, context) => {
@@ -3074,7 +3074,7 @@ const deserializeAws_restXmlDeleteReusableDelegationSetCommandError = async (out
3074
3074
  $fault: "client",
3075
3075
  $metadata: deserializeMetadata(output),
3076
3076
  });
3077
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3077
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3078
3078
  }
3079
3079
  };
3080
3080
  const deserializeAws_restXmlDeleteTrafficPolicyCommand = async (output, context) => {
@@ -3116,7 +3116,7 @@ const deserializeAws_restXmlDeleteTrafficPolicyCommandError = async (output, con
3116
3116
  $fault: "client",
3117
3117
  $metadata: deserializeMetadata(output),
3118
3118
  });
3119
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3119
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3120
3120
  }
3121
3121
  };
3122
3122
  const deserializeAws_restXmlDeleteTrafficPolicyInstanceCommand = async (output, context) => {
@@ -3155,7 +3155,7 @@ const deserializeAws_restXmlDeleteTrafficPolicyInstanceCommandError = async (out
3155
3155
  $fault: "client",
3156
3156
  $metadata: deserializeMetadata(output),
3157
3157
  });
3158
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3158
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3159
3159
  }
3160
3160
  };
3161
3161
  const deserializeAws_restXmlDeleteVPCAssociationAuthorizationCommand = async (output, context) => {
@@ -3200,7 +3200,7 @@ const deserializeAws_restXmlDeleteVPCAssociationAuthorizationCommandError = asyn
3200
3200
  $fault: "client",
3201
3201
  $metadata: deserializeMetadata(output),
3202
3202
  });
3203
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3203
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3204
3204
  }
3205
3205
  };
3206
3206
  const deserializeAws_restXmlDisableHostedZoneDNSSECCommand = async (output, context) => {
@@ -3211,7 +3211,7 @@ const deserializeAws_restXmlDisableHostedZoneDNSSECCommand = async (output, cont
3211
3211
  $metadata: deserializeMetadata(output),
3212
3212
  ChangeInfo: undefined,
3213
3213
  };
3214
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3214
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3215
3215
  if (data["ChangeInfo"] !== undefined) {
3216
3216
  contents.ChangeInfo = deserializeAws_restXmlChangeInfo(data["ChangeInfo"], context);
3217
3217
  }
@@ -3258,7 +3258,7 @@ const deserializeAws_restXmlDisableHostedZoneDNSSECCommandError = async (output,
3258
3258
  $fault: "client",
3259
3259
  $metadata: deserializeMetadata(output),
3260
3260
  });
3261
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3261
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3262
3262
  }
3263
3263
  };
3264
3264
  const deserializeAws_restXmlDisassociateVPCFromHostedZoneCommand = async (output, context) => {
@@ -3269,7 +3269,7 @@ const deserializeAws_restXmlDisassociateVPCFromHostedZoneCommand = async (output
3269
3269
  $metadata: deserializeMetadata(output),
3270
3270
  ChangeInfo: undefined,
3271
3271
  };
3272
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3272
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3273
3273
  if (data["ChangeInfo"] !== undefined) {
3274
3274
  contents.ChangeInfo = deserializeAws_restXmlChangeInfo(data["ChangeInfo"], context);
3275
3275
  }
@@ -3307,7 +3307,7 @@ const deserializeAws_restXmlDisassociateVPCFromHostedZoneCommandError = async (o
3307
3307
  $fault: "client",
3308
3308
  $metadata: deserializeMetadata(output),
3309
3309
  });
3310
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3310
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3311
3311
  }
3312
3312
  };
3313
3313
  const deserializeAws_restXmlEnableHostedZoneDNSSECCommand = async (output, context) => {
@@ -3318,7 +3318,7 @@ const deserializeAws_restXmlEnableHostedZoneDNSSECCommand = async (output, conte
3318
3318
  $metadata: deserializeMetadata(output),
3319
3319
  ChangeInfo: undefined,
3320
3320
  };
3321
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3321
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3322
3322
  if (data["ChangeInfo"] !== undefined) {
3323
3323
  contents.ChangeInfo = deserializeAws_restXmlChangeInfo(data["ChangeInfo"], context);
3324
3324
  }
@@ -3368,7 +3368,7 @@ const deserializeAws_restXmlEnableHostedZoneDNSSECCommandError = async (output,
3368
3368
  $fault: "client",
3369
3369
  $metadata: deserializeMetadata(output),
3370
3370
  });
3371
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3371
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3372
3372
  }
3373
3373
  };
3374
3374
  const deserializeAws_restXmlGetAccountLimitCommand = async (output, context) => {
@@ -3380,9 +3380,9 @@ const deserializeAws_restXmlGetAccountLimitCommand = async (output, context) =>
3380
3380
  Count: undefined,
3381
3381
  Limit: undefined,
3382
3382
  };
3383
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3383
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3384
3384
  if (data["Count"] !== undefined) {
3385
- contents.Count = smithy_client_1.strictParseLong(data["Count"]);
3385
+ contents.Count = (0, smithy_client_1.strictParseLong)(data["Count"]);
3386
3386
  }
3387
3387
  if (data["Limit"] !== undefined) {
3388
3388
  contents.Limit = deserializeAws_restXmlAccountLimit(data["Limit"], context);
@@ -3409,7 +3409,7 @@ const deserializeAws_restXmlGetAccountLimitCommandError = async (output, context
3409
3409
  $fault: "client",
3410
3410
  $metadata: deserializeMetadata(output),
3411
3411
  });
3412
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3412
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3413
3413
  }
3414
3414
  };
3415
3415
  const deserializeAws_restXmlGetChangeCommand = async (output, context) => {
@@ -3420,7 +3420,7 @@ const deserializeAws_restXmlGetChangeCommand = async (output, context) => {
3420
3420
  $metadata: deserializeMetadata(output),
3421
3421
  ChangeInfo: undefined,
3422
3422
  };
3423
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3423
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3424
3424
  if (data["ChangeInfo"] !== undefined) {
3425
3425
  contents.ChangeInfo = deserializeAws_restXmlChangeInfo(data["ChangeInfo"], context);
3426
3426
  }
@@ -3449,7 +3449,7 @@ const deserializeAws_restXmlGetChangeCommandError = async (output, context) => {
3449
3449
  $fault: "client",
3450
3450
  $metadata: deserializeMetadata(output),
3451
3451
  });
3452
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3452
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3453
3453
  }
3454
3454
  };
3455
3455
  const deserializeAws_restXmlGetCheckerIpRangesCommand = async (output, context) => {
@@ -3460,12 +3460,12 @@ const deserializeAws_restXmlGetCheckerIpRangesCommand = async (output, context)
3460
3460
  $metadata: deserializeMetadata(output),
3461
3461
  CheckerIpRanges: undefined,
3462
3462
  };
3463
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3463
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3464
3464
  if (data.CheckerIpRanges === "") {
3465
3465
  contents.CheckerIpRanges = [];
3466
3466
  }
3467
3467
  if (data["CheckerIpRanges"] !== undefined && data["CheckerIpRanges"]["member"] !== undefined) {
3468
- contents.CheckerIpRanges = deserializeAws_restXmlCheckerIpRanges(smithy_client_1.getArrayIfSingleItem(data["CheckerIpRanges"]["member"]), context);
3468
+ contents.CheckerIpRanges = deserializeAws_restXmlCheckerIpRanges((0, smithy_client_1.getArrayIfSingleItem)(data["CheckerIpRanges"]["member"]), context);
3469
3469
  }
3470
3470
  return Promise.resolve(contents);
3471
3471
  };
@@ -3486,7 +3486,7 @@ const deserializeAws_restXmlGetCheckerIpRangesCommandError = async (output, cont
3486
3486
  $fault: "client",
3487
3487
  $metadata: deserializeMetadata(output),
3488
3488
  });
3489
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3489
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3490
3490
  }
3491
3491
  };
3492
3492
  const deserializeAws_restXmlGetDNSSECCommand = async (output, context) => {
@@ -3498,12 +3498,12 @@ const deserializeAws_restXmlGetDNSSECCommand = async (output, context) => {
3498
3498
  KeySigningKeys: undefined,
3499
3499
  Status: undefined,
3500
3500
  };
3501
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3501
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3502
3502
  if (data.KeySigningKeys === "") {
3503
3503
  contents.KeySigningKeys = [];
3504
3504
  }
3505
3505
  if (data["KeySigningKeys"] !== undefined && data["KeySigningKeys"]["member"] !== undefined) {
3506
- contents.KeySigningKeys = deserializeAws_restXmlKeySigningKeys(smithy_client_1.getArrayIfSingleItem(data["KeySigningKeys"]["member"]), context);
3506
+ contents.KeySigningKeys = deserializeAws_restXmlKeySigningKeys((0, smithy_client_1.getArrayIfSingleItem)(data["KeySigningKeys"]["member"]), context);
3507
3507
  }
3508
3508
  if (data["Status"] !== undefined) {
3509
3509
  contents.Status = deserializeAws_restXmlDNSSECStatus(data["Status"], context);
@@ -3536,7 +3536,7 @@ const deserializeAws_restXmlGetDNSSECCommandError = async (output, context) => {
3536
3536
  $fault: "client",
3537
3537
  $metadata: deserializeMetadata(output),
3538
3538
  });
3539
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3539
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3540
3540
  }
3541
3541
  };
3542
3542
  const deserializeAws_restXmlGetGeoLocationCommand = async (output, context) => {
@@ -3547,7 +3547,7 @@ const deserializeAws_restXmlGetGeoLocationCommand = async (output, context) => {
3547
3547
  $metadata: deserializeMetadata(output),
3548
3548
  GeoLocationDetails: undefined,
3549
3549
  };
3550
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3550
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3551
3551
  if (data["GeoLocationDetails"] !== undefined) {
3552
3552
  contents.GeoLocationDetails = deserializeAws_restXmlGeoLocationDetails(data["GeoLocationDetails"], context);
3553
3553
  }
@@ -3576,7 +3576,7 @@ const deserializeAws_restXmlGetGeoLocationCommandError = async (output, context)
3576
3576
  $fault: "client",
3577
3577
  $metadata: deserializeMetadata(output),
3578
3578
  });
3579
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3579
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3580
3580
  }
3581
3581
  };
3582
3582
  const deserializeAws_restXmlGetHealthCheckCommand = async (output, context) => {
@@ -3587,7 +3587,7 @@ const deserializeAws_restXmlGetHealthCheckCommand = async (output, context) => {
3587
3587
  $metadata: deserializeMetadata(output),
3588
3588
  HealthCheck: undefined,
3589
3589
  };
3590
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3590
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3591
3591
  if (data["HealthCheck"] !== undefined) {
3592
3592
  contents.HealthCheck = deserializeAws_restXmlHealthCheck(data["HealthCheck"], context);
3593
3593
  }
@@ -3619,7 +3619,7 @@ const deserializeAws_restXmlGetHealthCheckCommandError = async (output, context)
3619
3619
  $fault: "client",
3620
3620
  $metadata: deserializeMetadata(output),
3621
3621
  });
3622
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3622
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3623
3623
  }
3624
3624
  };
3625
3625
  const deserializeAws_restXmlGetHealthCheckCountCommand = async (output, context) => {
@@ -3630,9 +3630,9 @@ const deserializeAws_restXmlGetHealthCheckCountCommand = async (output, context)
3630
3630
  $metadata: deserializeMetadata(output),
3631
3631
  HealthCheckCount: undefined,
3632
3632
  };
3633
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3633
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3634
3634
  if (data["HealthCheckCount"] !== undefined) {
3635
- contents.HealthCheckCount = smithy_client_1.strictParseLong(data["HealthCheckCount"]);
3635
+ contents.HealthCheckCount = (0, smithy_client_1.strictParseLong)(data["HealthCheckCount"]);
3636
3636
  }
3637
3637
  return Promise.resolve(contents);
3638
3638
  };
@@ -3653,7 +3653,7 @@ const deserializeAws_restXmlGetHealthCheckCountCommandError = async (output, con
3653
3653
  $fault: "client",
3654
3654
  $metadata: deserializeMetadata(output),
3655
3655
  });
3656
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3656
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3657
3657
  }
3658
3658
  };
3659
3659
  const deserializeAws_restXmlGetHealthCheckLastFailureReasonCommand = async (output, context) => {
@@ -3664,13 +3664,13 @@ const deserializeAws_restXmlGetHealthCheckLastFailureReasonCommand = async (outp
3664
3664
  $metadata: deserializeMetadata(output),
3665
3665
  HealthCheckObservations: undefined,
3666
3666
  };
3667
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3667
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3668
3668
  if (data.HealthCheckObservations === "") {
3669
3669
  contents.HealthCheckObservations = [];
3670
3670
  }
3671
3671
  if (data["HealthCheckObservations"] !== undefined &&
3672
3672
  data["HealthCheckObservations"]["HealthCheckObservation"] !== undefined) {
3673
- contents.HealthCheckObservations = deserializeAws_restXmlHealthCheckObservations(smithy_client_1.getArrayIfSingleItem(data["HealthCheckObservations"]["HealthCheckObservation"]), context);
3673
+ contents.HealthCheckObservations = deserializeAws_restXmlHealthCheckObservations((0, smithy_client_1.getArrayIfSingleItem)(data["HealthCheckObservations"]["HealthCheckObservation"]), context);
3674
3674
  }
3675
3675
  return Promise.resolve(contents);
3676
3676
  };
@@ -3697,7 +3697,7 @@ const deserializeAws_restXmlGetHealthCheckLastFailureReasonCommandError = async
3697
3697
  $fault: "client",
3698
3698
  $metadata: deserializeMetadata(output),
3699
3699
  });
3700
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3700
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3701
3701
  }
3702
3702
  };
3703
3703
  const deserializeAws_restXmlGetHealthCheckStatusCommand = async (output, context) => {
@@ -3708,13 +3708,13 @@ const deserializeAws_restXmlGetHealthCheckStatusCommand = async (output, context
3708
3708
  $metadata: deserializeMetadata(output),
3709
3709
  HealthCheckObservations: undefined,
3710
3710
  };
3711
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3711
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3712
3712
  if (data.HealthCheckObservations === "") {
3713
3713
  contents.HealthCheckObservations = [];
3714
3714
  }
3715
3715
  if (data["HealthCheckObservations"] !== undefined &&
3716
3716
  data["HealthCheckObservations"]["HealthCheckObservation"] !== undefined) {
3717
- contents.HealthCheckObservations = deserializeAws_restXmlHealthCheckObservations(smithy_client_1.getArrayIfSingleItem(data["HealthCheckObservations"]["HealthCheckObservation"]), context);
3717
+ contents.HealthCheckObservations = deserializeAws_restXmlHealthCheckObservations((0, smithy_client_1.getArrayIfSingleItem)(data["HealthCheckObservations"]["HealthCheckObservation"]), context);
3718
3718
  }
3719
3719
  return Promise.resolve(contents);
3720
3720
  };
@@ -3741,7 +3741,7 @@ const deserializeAws_restXmlGetHealthCheckStatusCommandError = async (output, co
3741
3741
  $fault: "client",
3742
3742
  $metadata: deserializeMetadata(output),
3743
3743
  });
3744
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3744
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3745
3745
  }
3746
3746
  };
3747
3747
  const deserializeAws_restXmlGetHostedZoneCommand = async (output, context) => {
@@ -3754,7 +3754,7 @@ const deserializeAws_restXmlGetHostedZoneCommand = async (output, context) => {
3754
3754
  HostedZone: undefined,
3755
3755
  VPCs: undefined,
3756
3756
  };
3757
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3757
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3758
3758
  if (data["DelegationSet"] !== undefined) {
3759
3759
  contents.DelegationSet = deserializeAws_restXmlDelegationSet(data["DelegationSet"], context);
3760
3760
  }
@@ -3765,7 +3765,7 @@ const deserializeAws_restXmlGetHostedZoneCommand = async (output, context) => {
3765
3765
  contents.VPCs = [];
3766
3766
  }
3767
3767
  if (data["VPCs"] !== undefined && data["VPCs"]["VPC"] !== undefined) {
3768
- contents.VPCs = deserializeAws_restXmlVPCs(smithy_client_1.getArrayIfSingleItem(data["VPCs"]["VPC"]), context);
3768
+ contents.VPCs = deserializeAws_restXmlVPCs((0, smithy_client_1.getArrayIfSingleItem)(data["VPCs"]["VPC"]), context);
3769
3769
  }
3770
3770
  return Promise.resolve(contents);
3771
3771
  };
@@ -3792,7 +3792,7 @@ const deserializeAws_restXmlGetHostedZoneCommandError = async (output, context)
3792
3792
  $fault: "client",
3793
3793
  $metadata: deserializeMetadata(output),
3794
3794
  });
3795
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3795
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3796
3796
  }
3797
3797
  };
3798
3798
  const deserializeAws_restXmlGetHostedZoneCountCommand = async (output, context) => {
@@ -3803,9 +3803,9 @@ const deserializeAws_restXmlGetHostedZoneCountCommand = async (output, context)
3803
3803
  $metadata: deserializeMetadata(output),
3804
3804
  HostedZoneCount: undefined,
3805
3805
  };
3806
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3806
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3807
3807
  if (data["HostedZoneCount"] !== undefined) {
3808
- contents.HostedZoneCount = smithy_client_1.strictParseLong(data["HostedZoneCount"]);
3808
+ contents.HostedZoneCount = (0, smithy_client_1.strictParseLong)(data["HostedZoneCount"]);
3809
3809
  }
3810
3810
  return Promise.resolve(contents);
3811
3811
  };
@@ -3829,7 +3829,7 @@ const deserializeAws_restXmlGetHostedZoneCountCommandError = async (output, cont
3829
3829
  $fault: "client",
3830
3830
  $metadata: deserializeMetadata(output),
3831
3831
  });
3832
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3832
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3833
3833
  }
3834
3834
  };
3835
3835
  const deserializeAws_restXmlGetHostedZoneLimitCommand = async (output, context) => {
@@ -3841,9 +3841,9 @@ const deserializeAws_restXmlGetHostedZoneLimitCommand = async (output, context)
3841
3841
  Count: undefined,
3842
3842
  Limit: undefined,
3843
3843
  };
3844
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3844
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3845
3845
  if (data["Count"] !== undefined) {
3846
- contents.Count = smithy_client_1.strictParseLong(data["Count"]);
3846
+ contents.Count = (0, smithy_client_1.strictParseLong)(data["Count"]);
3847
3847
  }
3848
3848
  if (data["Limit"] !== undefined) {
3849
3849
  contents.Limit = deserializeAws_restXmlHostedZoneLimit(data["Limit"], context);
@@ -3876,7 +3876,7 @@ const deserializeAws_restXmlGetHostedZoneLimitCommandError = async (output, cont
3876
3876
  $fault: "client",
3877
3877
  $metadata: deserializeMetadata(output),
3878
3878
  });
3879
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3879
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3880
3880
  }
3881
3881
  };
3882
3882
  const deserializeAws_restXmlGetQueryLoggingConfigCommand = async (output, context) => {
@@ -3887,7 +3887,7 @@ const deserializeAws_restXmlGetQueryLoggingConfigCommand = async (output, contex
3887
3887
  $metadata: deserializeMetadata(output),
3888
3888
  QueryLoggingConfig: undefined,
3889
3889
  };
3890
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3890
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3891
3891
  if (data["QueryLoggingConfig"] !== undefined) {
3892
3892
  contents.QueryLoggingConfig = deserializeAws_restXmlQueryLoggingConfig(data["QueryLoggingConfig"], context);
3893
3893
  }
@@ -3916,7 +3916,7 @@ const deserializeAws_restXmlGetQueryLoggingConfigCommandError = async (output, c
3916
3916
  $fault: "client",
3917
3917
  $metadata: deserializeMetadata(output),
3918
3918
  });
3919
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3919
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3920
3920
  }
3921
3921
  };
3922
3922
  const deserializeAws_restXmlGetReusableDelegationSetCommand = async (output, context) => {
@@ -3927,7 +3927,7 @@ const deserializeAws_restXmlGetReusableDelegationSetCommand = async (output, con
3927
3927
  $metadata: deserializeMetadata(output),
3928
3928
  DelegationSet: undefined,
3929
3929
  };
3930
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3930
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3931
3931
  if (data["DelegationSet"] !== undefined) {
3932
3932
  contents.DelegationSet = deserializeAws_restXmlDelegationSet(data["DelegationSet"], context);
3933
3933
  }
@@ -3959,7 +3959,7 @@ const deserializeAws_restXmlGetReusableDelegationSetCommandError = async (output
3959
3959
  $fault: "client",
3960
3960
  $metadata: deserializeMetadata(output),
3961
3961
  });
3962
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3962
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3963
3963
  }
3964
3964
  };
3965
3965
  const deserializeAws_restXmlGetReusableDelegationSetLimitCommand = async (output, context) => {
@@ -3971,9 +3971,9 @@ const deserializeAws_restXmlGetReusableDelegationSetLimitCommand = async (output
3971
3971
  Count: undefined,
3972
3972
  Limit: undefined,
3973
3973
  };
3974
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3974
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3975
3975
  if (data["Count"] !== undefined) {
3976
- contents.Count = smithy_client_1.strictParseLong(data["Count"]);
3976
+ contents.Count = (0, smithy_client_1.strictParseLong)(data["Count"]);
3977
3977
  }
3978
3978
  if (data["Limit"] !== undefined) {
3979
3979
  contents.Limit = deserializeAws_restXmlReusableDelegationSetLimit(data["Limit"], context);
@@ -4003,7 +4003,7 @@ const deserializeAws_restXmlGetReusableDelegationSetLimitCommandError = async (o
4003
4003
  $fault: "client",
4004
4004
  $metadata: deserializeMetadata(output),
4005
4005
  });
4006
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4006
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4007
4007
  }
4008
4008
  };
4009
4009
  const deserializeAws_restXmlGetTrafficPolicyCommand = async (output, context) => {
@@ -4014,7 +4014,7 @@ const deserializeAws_restXmlGetTrafficPolicyCommand = async (output, context) =>
4014
4014
  $metadata: deserializeMetadata(output),
4015
4015
  TrafficPolicy: undefined,
4016
4016
  };
4017
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4017
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4018
4018
  if (data["TrafficPolicy"] !== undefined) {
4019
4019
  contents.TrafficPolicy = deserializeAws_restXmlTrafficPolicy(data["TrafficPolicy"], context);
4020
4020
  }
@@ -4043,7 +4043,7 @@ const deserializeAws_restXmlGetTrafficPolicyCommandError = async (output, contex
4043
4043
  $fault: "client",
4044
4044
  $metadata: deserializeMetadata(output),
4045
4045
  });
4046
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4046
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4047
4047
  }
4048
4048
  };
4049
4049
  const deserializeAws_restXmlGetTrafficPolicyInstanceCommand = async (output, context) => {
@@ -4054,7 +4054,7 @@ const deserializeAws_restXmlGetTrafficPolicyInstanceCommand = async (output, con
4054
4054
  $metadata: deserializeMetadata(output),
4055
4055
  TrafficPolicyInstance: undefined,
4056
4056
  };
4057
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4057
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4058
4058
  if (data["TrafficPolicyInstance"] !== undefined) {
4059
4059
  contents.TrafficPolicyInstance = deserializeAws_restXmlTrafficPolicyInstance(data["TrafficPolicyInstance"], context);
4060
4060
  }
@@ -4083,7 +4083,7 @@ const deserializeAws_restXmlGetTrafficPolicyInstanceCommandError = async (output
4083
4083
  $fault: "client",
4084
4084
  $metadata: deserializeMetadata(output),
4085
4085
  });
4086
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4086
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4087
4087
  }
4088
4088
  };
4089
4089
  const deserializeAws_restXmlGetTrafficPolicyInstanceCountCommand = async (output, context) => {
@@ -4094,9 +4094,9 @@ const deserializeAws_restXmlGetTrafficPolicyInstanceCountCommand = async (output
4094
4094
  $metadata: deserializeMetadata(output),
4095
4095
  TrafficPolicyInstanceCount: undefined,
4096
4096
  };
4097
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4097
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4098
4098
  if (data["TrafficPolicyInstanceCount"] !== undefined) {
4099
- contents.TrafficPolicyInstanceCount = smithy_client_1.strictParseInt32(data["TrafficPolicyInstanceCount"]);
4099
+ contents.TrafficPolicyInstanceCount = (0, smithy_client_1.strictParseInt32)(data["TrafficPolicyInstanceCount"]);
4100
4100
  }
4101
4101
  return Promise.resolve(contents);
4102
4102
  };
@@ -4117,7 +4117,7 @@ const deserializeAws_restXmlGetTrafficPolicyInstanceCountCommandError = async (o
4117
4117
  $fault: "client",
4118
4118
  $metadata: deserializeMetadata(output),
4119
4119
  });
4120
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4120
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4121
4121
  }
4122
4122
  };
4123
4123
  const deserializeAws_restXmlListGeoLocationsCommand = async (output, context) => {
@@ -4133,28 +4133,28 @@ const deserializeAws_restXmlListGeoLocationsCommand = async (output, context) =>
4133
4133
  NextCountryCode: undefined,
4134
4134
  NextSubdivisionCode: undefined,
4135
4135
  };
4136
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4136
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4137
4137
  if (data.GeoLocationDetailsList === "") {
4138
4138
  contents.GeoLocationDetailsList = [];
4139
4139
  }
4140
4140
  if (data["GeoLocationDetailsList"] !== undefined &&
4141
4141
  data["GeoLocationDetailsList"]["GeoLocationDetails"] !== undefined) {
4142
- contents.GeoLocationDetailsList = deserializeAws_restXmlGeoLocationDetailsList(smithy_client_1.getArrayIfSingleItem(data["GeoLocationDetailsList"]["GeoLocationDetails"]), context);
4142
+ contents.GeoLocationDetailsList = deserializeAws_restXmlGeoLocationDetailsList((0, smithy_client_1.getArrayIfSingleItem)(data["GeoLocationDetailsList"]["GeoLocationDetails"]), context);
4143
4143
  }
4144
4144
  if (data["IsTruncated"] !== undefined) {
4145
- contents.IsTruncated = smithy_client_1.parseBoolean(data["IsTruncated"]);
4145
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(data["IsTruncated"]);
4146
4146
  }
4147
4147
  if (data["MaxItems"] !== undefined) {
4148
- contents.MaxItems = smithy_client_1.strictParseInt32(data["MaxItems"]);
4148
+ contents.MaxItems = (0, smithy_client_1.strictParseInt32)(data["MaxItems"]);
4149
4149
  }
4150
4150
  if (data["NextContinentCode"] !== undefined) {
4151
- contents.NextContinentCode = smithy_client_1.expectString(data["NextContinentCode"]);
4151
+ contents.NextContinentCode = (0, smithy_client_1.expectString)(data["NextContinentCode"]);
4152
4152
  }
4153
4153
  if (data["NextCountryCode"] !== undefined) {
4154
- contents.NextCountryCode = smithy_client_1.expectString(data["NextCountryCode"]);
4154
+ contents.NextCountryCode = (0, smithy_client_1.expectString)(data["NextCountryCode"]);
4155
4155
  }
4156
4156
  if (data["NextSubdivisionCode"] !== undefined) {
4157
- contents.NextSubdivisionCode = smithy_client_1.expectString(data["NextSubdivisionCode"]);
4157
+ contents.NextSubdivisionCode = (0, smithy_client_1.expectString)(data["NextSubdivisionCode"]);
4158
4158
  }
4159
4159
  return Promise.resolve(contents);
4160
4160
  };
@@ -4178,7 +4178,7 @@ const deserializeAws_restXmlListGeoLocationsCommandError = async (output, contex
4178
4178
  $fault: "client",
4179
4179
  $metadata: deserializeMetadata(output),
4180
4180
  });
4181
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4181
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4182
4182
  }
4183
4183
  };
4184
4184
  const deserializeAws_restXmlListHealthChecksCommand = async (output, context) => {
@@ -4193,24 +4193,24 @@ const deserializeAws_restXmlListHealthChecksCommand = async (output, context) =>
4193
4193
  MaxItems: undefined,
4194
4194
  NextMarker: undefined,
4195
4195
  };
4196
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4196
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4197
4197
  if (data.HealthChecks === "") {
4198
4198
  contents.HealthChecks = [];
4199
4199
  }
4200
4200
  if (data["HealthChecks"] !== undefined && data["HealthChecks"]["HealthCheck"] !== undefined) {
4201
- contents.HealthChecks = deserializeAws_restXmlHealthChecks(smithy_client_1.getArrayIfSingleItem(data["HealthChecks"]["HealthCheck"]), context);
4201
+ contents.HealthChecks = deserializeAws_restXmlHealthChecks((0, smithy_client_1.getArrayIfSingleItem)(data["HealthChecks"]["HealthCheck"]), context);
4202
4202
  }
4203
4203
  if (data["IsTruncated"] !== undefined) {
4204
- contents.IsTruncated = smithy_client_1.parseBoolean(data["IsTruncated"]);
4204
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(data["IsTruncated"]);
4205
4205
  }
4206
4206
  if (data["Marker"] !== undefined) {
4207
- contents.Marker = smithy_client_1.expectString(data["Marker"]);
4207
+ contents.Marker = (0, smithy_client_1.expectString)(data["Marker"]);
4208
4208
  }
4209
4209
  if (data["MaxItems"] !== undefined) {
4210
- contents.MaxItems = smithy_client_1.strictParseInt32(data["MaxItems"]);
4210
+ contents.MaxItems = (0, smithy_client_1.strictParseInt32)(data["MaxItems"]);
4211
4211
  }
4212
4212
  if (data["NextMarker"] !== undefined) {
4213
- contents.NextMarker = smithy_client_1.expectString(data["NextMarker"]);
4213
+ contents.NextMarker = (0, smithy_client_1.expectString)(data["NextMarker"]);
4214
4214
  }
4215
4215
  return Promise.resolve(contents);
4216
4216
  };
@@ -4237,7 +4237,7 @@ const deserializeAws_restXmlListHealthChecksCommandError = async (output, contex
4237
4237
  $fault: "client",
4238
4238
  $metadata: deserializeMetadata(output),
4239
4239
  });
4240
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4240
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4241
4241
  }
4242
4242
  };
4243
4243
  const deserializeAws_restXmlListHostedZonesCommand = async (output, context) => {
@@ -4252,24 +4252,24 @@ const deserializeAws_restXmlListHostedZonesCommand = async (output, context) =>
4252
4252
  MaxItems: undefined,
4253
4253
  NextMarker: undefined,
4254
4254
  };
4255
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4255
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4256
4256
  if (data.HostedZones === "") {
4257
4257
  contents.HostedZones = [];
4258
4258
  }
4259
4259
  if (data["HostedZones"] !== undefined && data["HostedZones"]["HostedZone"] !== undefined) {
4260
- contents.HostedZones = deserializeAws_restXmlHostedZones(smithy_client_1.getArrayIfSingleItem(data["HostedZones"]["HostedZone"]), context);
4260
+ contents.HostedZones = deserializeAws_restXmlHostedZones((0, smithy_client_1.getArrayIfSingleItem)(data["HostedZones"]["HostedZone"]), context);
4261
4261
  }
4262
4262
  if (data["IsTruncated"] !== undefined) {
4263
- contents.IsTruncated = smithy_client_1.parseBoolean(data["IsTruncated"]);
4263
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(data["IsTruncated"]);
4264
4264
  }
4265
4265
  if (data["Marker"] !== undefined) {
4266
- contents.Marker = smithy_client_1.expectString(data["Marker"]);
4266
+ contents.Marker = (0, smithy_client_1.expectString)(data["Marker"]);
4267
4267
  }
4268
4268
  if (data["MaxItems"] !== undefined) {
4269
- contents.MaxItems = smithy_client_1.strictParseInt32(data["MaxItems"]);
4269
+ contents.MaxItems = (0, smithy_client_1.strictParseInt32)(data["MaxItems"]);
4270
4270
  }
4271
4271
  if (data["NextMarker"] !== undefined) {
4272
- contents.NextMarker = smithy_client_1.expectString(data["NextMarker"]);
4272
+ contents.NextMarker = (0, smithy_client_1.expectString)(data["NextMarker"]);
4273
4273
  }
4274
4274
  return Promise.resolve(contents);
4275
4275
  };
@@ -4299,7 +4299,7 @@ const deserializeAws_restXmlListHostedZonesCommandError = async (output, context
4299
4299
  $fault: "client",
4300
4300
  $metadata: deserializeMetadata(output),
4301
4301
  });
4302
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4302
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4303
4303
  }
4304
4304
  };
4305
4305
  const deserializeAws_restXmlListHostedZonesByNameCommand = async (output, context) => {
@@ -4316,30 +4316,30 @@ const deserializeAws_restXmlListHostedZonesByNameCommand = async (output, contex
4316
4316
  NextDNSName: undefined,
4317
4317
  NextHostedZoneId: undefined,
4318
4318
  };
4319
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4319
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4320
4320
  if (data["DNSName"] !== undefined) {
4321
- contents.DNSName = smithy_client_1.expectString(data["DNSName"]);
4321
+ contents.DNSName = (0, smithy_client_1.expectString)(data["DNSName"]);
4322
4322
  }
4323
4323
  if (data["HostedZoneId"] !== undefined) {
4324
- contents.HostedZoneId = smithy_client_1.expectString(data["HostedZoneId"]);
4324
+ contents.HostedZoneId = (0, smithy_client_1.expectString)(data["HostedZoneId"]);
4325
4325
  }
4326
4326
  if (data.HostedZones === "") {
4327
4327
  contents.HostedZones = [];
4328
4328
  }
4329
4329
  if (data["HostedZones"] !== undefined && data["HostedZones"]["HostedZone"] !== undefined) {
4330
- contents.HostedZones = deserializeAws_restXmlHostedZones(smithy_client_1.getArrayIfSingleItem(data["HostedZones"]["HostedZone"]), context);
4330
+ contents.HostedZones = deserializeAws_restXmlHostedZones((0, smithy_client_1.getArrayIfSingleItem)(data["HostedZones"]["HostedZone"]), context);
4331
4331
  }
4332
4332
  if (data["IsTruncated"] !== undefined) {
4333
- contents.IsTruncated = smithy_client_1.parseBoolean(data["IsTruncated"]);
4333
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(data["IsTruncated"]);
4334
4334
  }
4335
4335
  if (data["MaxItems"] !== undefined) {
4336
- contents.MaxItems = smithy_client_1.strictParseInt32(data["MaxItems"]);
4336
+ contents.MaxItems = (0, smithy_client_1.strictParseInt32)(data["MaxItems"]);
4337
4337
  }
4338
4338
  if (data["NextDNSName"] !== undefined) {
4339
- contents.NextDNSName = smithy_client_1.expectString(data["NextDNSName"]);
4339
+ contents.NextDNSName = (0, smithy_client_1.expectString)(data["NextDNSName"]);
4340
4340
  }
4341
4341
  if (data["NextHostedZoneId"] !== undefined) {
4342
- contents.NextHostedZoneId = smithy_client_1.expectString(data["NextHostedZoneId"]);
4342
+ contents.NextHostedZoneId = (0, smithy_client_1.expectString)(data["NextHostedZoneId"]);
4343
4343
  }
4344
4344
  return Promise.resolve(contents);
4345
4345
  };
@@ -4366,7 +4366,7 @@ const deserializeAws_restXmlListHostedZonesByNameCommandError = async (output, c
4366
4366
  $fault: "client",
4367
4367
  $metadata: deserializeMetadata(output),
4368
4368
  });
4369
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4369
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4370
4370
  }
4371
4371
  };
4372
4372
  const deserializeAws_restXmlListHostedZonesByVPCCommand = async (output, context) => {
@@ -4379,18 +4379,18 @@ const deserializeAws_restXmlListHostedZonesByVPCCommand = async (output, context
4379
4379
  MaxItems: undefined,
4380
4380
  NextToken: undefined,
4381
4381
  };
4382
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4382
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4383
4383
  if (data.HostedZoneSummaries === "") {
4384
4384
  contents.HostedZoneSummaries = [];
4385
4385
  }
4386
4386
  if (data["HostedZoneSummaries"] !== undefined && data["HostedZoneSummaries"]["HostedZoneSummary"] !== undefined) {
4387
- contents.HostedZoneSummaries = deserializeAws_restXmlHostedZoneSummaries(smithy_client_1.getArrayIfSingleItem(data["HostedZoneSummaries"]["HostedZoneSummary"]), context);
4387
+ contents.HostedZoneSummaries = deserializeAws_restXmlHostedZoneSummaries((0, smithy_client_1.getArrayIfSingleItem)(data["HostedZoneSummaries"]["HostedZoneSummary"]), context);
4388
4388
  }
4389
4389
  if (data["MaxItems"] !== undefined) {
4390
- contents.MaxItems = smithy_client_1.strictParseInt32(data["MaxItems"]);
4390
+ contents.MaxItems = (0, smithy_client_1.strictParseInt32)(data["MaxItems"]);
4391
4391
  }
4392
4392
  if (data["NextToken"] !== undefined) {
4393
- contents.NextToken = smithy_client_1.expectString(data["NextToken"]);
4393
+ contents.NextToken = (0, smithy_client_1.expectString)(data["NextToken"]);
4394
4394
  }
4395
4395
  return Promise.resolve(contents);
4396
4396
  };
@@ -4417,7 +4417,7 @@ const deserializeAws_restXmlListHostedZonesByVPCCommandError = async (output, co
4417
4417
  $fault: "client",
4418
4418
  $metadata: deserializeMetadata(output),
4419
4419
  });
4420
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4420
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4421
4421
  }
4422
4422
  };
4423
4423
  const deserializeAws_restXmlListQueryLoggingConfigsCommand = async (output, context) => {
@@ -4429,15 +4429,15 @@ const deserializeAws_restXmlListQueryLoggingConfigsCommand = async (output, cont
4429
4429
  NextToken: undefined,
4430
4430
  QueryLoggingConfigs: undefined,
4431
4431
  };
4432
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4432
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4433
4433
  if (data["NextToken"] !== undefined) {
4434
- contents.NextToken = smithy_client_1.expectString(data["NextToken"]);
4434
+ contents.NextToken = (0, smithy_client_1.expectString)(data["NextToken"]);
4435
4435
  }
4436
4436
  if (data.QueryLoggingConfigs === "") {
4437
4437
  contents.QueryLoggingConfigs = [];
4438
4438
  }
4439
4439
  if (data["QueryLoggingConfigs"] !== undefined && data["QueryLoggingConfigs"]["QueryLoggingConfig"] !== undefined) {
4440
- contents.QueryLoggingConfigs = deserializeAws_restXmlQueryLoggingConfigs(smithy_client_1.getArrayIfSingleItem(data["QueryLoggingConfigs"]["QueryLoggingConfig"]), context);
4440
+ contents.QueryLoggingConfigs = deserializeAws_restXmlQueryLoggingConfigs((0, smithy_client_1.getArrayIfSingleItem)(data["QueryLoggingConfigs"]["QueryLoggingConfig"]), context);
4441
4441
  }
4442
4442
  return Promise.resolve(contents);
4443
4443
  };
@@ -4467,7 +4467,7 @@ const deserializeAws_restXmlListQueryLoggingConfigsCommandError = async (output,
4467
4467
  $fault: "client",
4468
4468
  $metadata: deserializeMetadata(output),
4469
4469
  });
4470
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4470
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4471
4471
  }
4472
4472
  };
4473
4473
  const deserializeAws_restXmlListResourceRecordSetsCommand = async (output, context) => {
@@ -4483,27 +4483,27 @@ const deserializeAws_restXmlListResourceRecordSetsCommand = async (output, conte
4483
4483
  NextRecordType: undefined,
4484
4484
  ResourceRecordSets: undefined,
4485
4485
  };
4486
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4486
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4487
4487
  if (data["IsTruncated"] !== undefined) {
4488
- contents.IsTruncated = smithy_client_1.parseBoolean(data["IsTruncated"]);
4488
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(data["IsTruncated"]);
4489
4489
  }
4490
4490
  if (data["MaxItems"] !== undefined) {
4491
- contents.MaxItems = smithy_client_1.strictParseInt32(data["MaxItems"]);
4491
+ contents.MaxItems = (0, smithy_client_1.strictParseInt32)(data["MaxItems"]);
4492
4492
  }
4493
4493
  if (data["NextRecordIdentifier"] !== undefined) {
4494
- contents.NextRecordIdentifier = smithy_client_1.expectString(data["NextRecordIdentifier"]);
4494
+ contents.NextRecordIdentifier = (0, smithy_client_1.expectString)(data["NextRecordIdentifier"]);
4495
4495
  }
4496
4496
  if (data["NextRecordName"] !== undefined) {
4497
- contents.NextRecordName = smithy_client_1.expectString(data["NextRecordName"]);
4497
+ contents.NextRecordName = (0, smithy_client_1.expectString)(data["NextRecordName"]);
4498
4498
  }
4499
4499
  if (data["NextRecordType"] !== undefined) {
4500
- contents.NextRecordType = smithy_client_1.expectString(data["NextRecordType"]);
4500
+ contents.NextRecordType = (0, smithy_client_1.expectString)(data["NextRecordType"]);
4501
4501
  }
4502
4502
  if (data.ResourceRecordSets === "") {
4503
4503
  contents.ResourceRecordSets = [];
4504
4504
  }
4505
4505
  if (data["ResourceRecordSets"] !== undefined && data["ResourceRecordSets"]["ResourceRecordSet"] !== undefined) {
4506
- contents.ResourceRecordSets = deserializeAws_restXmlResourceRecordSets(smithy_client_1.getArrayIfSingleItem(data["ResourceRecordSets"]["ResourceRecordSet"]), context);
4506
+ contents.ResourceRecordSets = deserializeAws_restXmlResourceRecordSets((0, smithy_client_1.getArrayIfSingleItem)(data["ResourceRecordSets"]["ResourceRecordSet"]), context);
4507
4507
  }
4508
4508
  return Promise.resolve(contents);
4509
4509
  };
@@ -4530,7 +4530,7 @@ const deserializeAws_restXmlListResourceRecordSetsCommandError = async (output,
4530
4530
  $fault: "client",
4531
4531
  $metadata: deserializeMetadata(output),
4532
4532
  });
4533
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4533
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4534
4534
  }
4535
4535
  };
4536
4536
  const deserializeAws_restXmlListReusableDelegationSetsCommand = async (output, context) => {
@@ -4545,24 +4545,24 @@ const deserializeAws_restXmlListReusableDelegationSetsCommand = async (output, c
4545
4545
  MaxItems: undefined,
4546
4546
  NextMarker: undefined,
4547
4547
  };
4548
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4548
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4549
4549
  if (data.DelegationSets === "") {
4550
4550
  contents.DelegationSets = [];
4551
4551
  }
4552
4552
  if (data["DelegationSets"] !== undefined && data["DelegationSets"]["DelegationSet"] !== undefined) {
4553
- contents.DelegationSets = deserializeAws_restXmlDelegationSets(smithy_client_1.getArrayIfSingleItem(data["DelegationSets"]["DelegationSet"]), context);
4553
+ contents.DelegationSets = deserializeAws_restXmlDelegationSets((0, smithy_client_1.getArrayIfSingleItem)(data["DelegationSets"]["DelegationSet"]), context);
4554
4554
  }
4555
4555
  if (data["IsTruncated"] !== undefined) {
4556
- contents.IsTruncated = smithy_client_1.parseBoolean(data["IsTruncated"]);
4556
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(data["IsTruncated"]);
4557
4557
  }
4558
4558
  if (data["Marker"] !== undefined) {
4559
- contents.Marker = smithy_client_1.expectString(data["Marker"]);
4559
+ contents.Marker = (0, smithy_client_1.expectString)(data["Marker"]);
4560
4560
  }
4561
4561
  if (data["MaxItems"] !== undefined) {
4562
- contents.MaxItems = smithy_client_1.strictParseInt32(data["MaxItems"]);
4562
+ contents.MaxItems = (0, smithy_client_1.strictParseInt32)(data["MaxItems"]);
4563
4563
  }
4564
4564
  if (data["NextMarker"] !== undefined) {
4565
- contents.NextMarker = smithy_client_1.expectString(data["NextMarker"]);
4565
+ contents.NextMarker = (0, smithy_client_1.expectString)(data["NextMarker"]);
4566
4566
  }
4567
4567
  return Promise.resolve(contents);
4568
4568
  };
@@ -4586,7 +4586,7 @@ const deserializeAws_restXmlListReusableDelegationSetsCommandError = async (outp
4586
4586
  $fault: "client",
4587
4587
  $metadata: deserializeMetadata(output),
4588
4588
  });
4589
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4589
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4590
4590
  }
4591
4591
  };
4592
4592
  const deserializeAws_restXmlListTagsForResourceCommand = async (output, context) => {
@@ -4597,7 +4597,7 @@ const deserializeAws_restXmlListTagsForResourceCommand = async (output, context)
4597
4597
  $metadata: deserializeMetadata(output),
4598
4598
  ResourceTagSet: undefined,
4599
4599
  };
4600
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4600
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4601
4601
  if (data["ResourceTagSet"] !== undefined) {
4602
4602
  contents.ResourceTagSet = deserializeAws_restXmlResourceTagSet(data["ResourceTagSet"], context);
4603
4603
  }
@@ -4635,7 +4635,7 @@ const deserializeAws_restXmlListTagsForResourceCommandError = async (output, con
4635
4635
  $fault: "client",
4636
4636
  $metadata: deserializeMetadata(output),
4637
4637
  });
4638
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4638
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4639
4639
  }
4640
4640
  };
4641
4641
  const deserializeAws_restXmlListTagsForResourcesCommand = async (output, context) => {
@@ -4646,12 +4646,12 @@ const deserializeAws_restXmlListTagsForResourcesCommand = async (output, context
4646
4646
  $metadata: deserializeMetadata(output),
4647
4647
  ResourceTagSets: undefined,
4648
4648
  };
4649
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4649
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4650
4650
  if (data.ResourceTagSets === "") {
4651
4651
  contents.ResourceTagSets = [];
4652
4652
  }
4653
4653
  if (data["ResourceTagSets"] !== undefined && data["ResourceTagSets"]["ResourceTagSet"] !== undefined) {
4654
- contents.ResourceTagSets = deserializeAws_restXmlResourceTagSetList(smithy_client_1.getArrayIfSingleItem(data["ResourceTagSets"]["ResourceTagSet"]), context);
4654
+ contents.ResourceTagSets = deserializeAws_restXmlResourceTagSetList((0, smithy_client_1.getArrayIfSingleItem)(data["ResourceTagSets"]["ResourceTagSet"]), context);
4655
4655
  }
4656
4656
  return Promise.resolve(contents);
4657
4657
  };
@@ -4687,7 +4687,7 @@ const deserializeAws_restXmlListTagsForResourcesCommandError = async (output, co
4687
4687
  $fault: "client",
4688
4688
  $metadata: deserializeMetadata(output),
4689
4689
  });
4690
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4690
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4691
4691
  }
4692
4692
  };
4693
4693
  const deserializeAws_restXmlListTrafficPoliciesCommand = async (output, context) => {
@@ -4701,22 +4701,22 @@ const deserializeAws_restXmlListTrafficPoliciesCommand = async (output, context)
4701
4701
  TrafficPolicyIdMarker: undefined,
4702
4702
  TrafficPolicySummaries: undefined,
4703
4703
  };
4704
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4704
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4705
4705
  if (data["IsTruncated"] !== undefined) {
4706
- contents.IsTruncated = smithy_client_1.parseBoolean(data["IsTruncated"]);
4706
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(data["IsTruncated"]);
4707
4707
  }
4708
4708
  if (data["MaxItems"] !== undefined) {
4709
- contents.MaxItems = smithy_client_1.strictParseInt32(data["MaxItems"]);
4709
+ contents.MaxItems = (0, smithy_client_1.strictParseInt32)(data["MaxItems"]);
4710
4710
  }
4711
4711
  if (data["TrafficPolicyIdMarker"] !== undefined) {
4712
- contents.TrafficPolicyIdMarker = smithy_client_1.expectString(data["TrafficPolicyIdMarker"]);
4712
+ contents.TrafficPolicyIdMarker = (0, smithy_client_1.expectString)(data["TrafficPolicyIdMarker"]);
4713
4713
  }
4714
4714
  if (data.TrafficPolicySummaries === "") {
4715
4715
  contents.TrafficPolicySummaries = [];
4716
4716
  }
4717
4717
  if (data["TrafficPolicySummaries"] !== undefined &&
4718
4718
  data["TrafficPolicySummaries"]["TrafficPolicySummary"] !== undefined) {
4719
- contents.TrafficPolicySummaries = deserializeAws_restXmlTrafficPolicySummaries(smithy_client_1.getArrayIfSingleItem(data["TrafficPolicySummaries"]["TrafficPolicySummary"]), context);
4719
+ contents.TrafficPolicySummaries = deserializeAws_restXmlTrafficPolicySummaries((0, smithy_client_1.getArrayIfSingleItem)(data["TrafficPolicySummaries"]["TrafficPolicySummary"]), context);
4720
4720
  }
4721
4721
  return Promise.resolve(contents);
4722
4722
  };
@@ -4740,7 +4740,7 @@ const deserializeAws_restXmlListTrafficPoliciesCommandError = async (output, con
4740
4740
  $fault: "client",
4741
4741
  $metadata: deserializeMetadata(output),
4742
4742
  });
4743
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4743
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4744
4744
  }
4745
4745
  };
4746
4746
  const deserializeAws_restXmlListTrafficPolicyInstancesCommand = async (output, context) => {
@@ -4756,28 +4756,28 @@ const deserializeAws_restXmlListTrafficPolicyInstancesCommand = async (output, c
4756
4756
  TrafficPolicyInstanceTypeMarker: undefined,
4757
4757
  TrafficPolicyInstances: undefined,
4758
4758
  };
4759
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4759
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4760
4760
  if (data["HostedZoneIdMarker"] !== undefined) {
4761
- contents.HostedZoneIdMarker = smithy_client_1.expectString(data["HostedZoneIdMarker"]);
4761
+ contents.HostedZoneIdMarker = (0, smithy_client_1.expectString)(data["HostedZoneIdMarker"]);
4762
4762
  }
4763
4763
  if (data["IsTruncated"] !== undefined) {
4764
- contents.IsTruncated = smithy_client_1.parseBoolean(data["IsTruncated"]);
4764
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(data["IsTruncated"]);
4765
4765
  }
4766
4766
  if (data["MaxItems"] !== undefined) {
4767
- contents.MaxItems = smithy_client_1.strictParseInt32(data["MaxItems"]);
4767
+ contents.MaxItems = (0, smithy_client_1.strictParseInt32)(data["MaxItems"]);
4768
4768
  }
4769
4769
  if (data["TrafficPolicyInstanceNameMarker"] !== undefined) {
4770
- contents.TrafficPolicyInstanceNameMarker = smithy_client_1.expectString(data["TrafficPolicyInstanceNameMarker"]);
4770
+ contents.TrafficPolicyInstanceNameMarker = (0, smithy_client_1.expectString)(data["TrafficPolicyInstanceNameMarker"]);
4771
4771
  }
4772
4772
  if (data["TrafficPolicyInstanceTypeMarker"] !== undefined) {
4773
- contents.TrafficPolicyInstanceTypeMarker = smithy_client_1.expectString(data["TrafficPolicyInstanceTypeMarker"]);
4773
+ contents.TrafficPolicyInstanceTypeMarker = (0, smithy_client_1.expectString)(data["TrafficPolicyInstanceTypeMarker"]);
4774
4774
  }
4775
4775
  if (data.TrafficPolicyInstances === "") {
4776
4776
  contents.TrafficPolicyInstances = [];
4777
4777
  }
4778
4778
  if (data["TrafficPolicyInstances"] !== undefined &&
4779
4779
  data["TrafficPolicyInstances"]["TrafficPolicyInstance"] !== undefined) {
4780
- contents.TrafficPolicyInstances = deserializeAws_restXmlTrafficPolicyInstances(smithy_client_1.getArrayIfSingleItem(data["TrafficPolicyInstances"]["TrafficPolicyInstance"]), context);
4780
+ contents.TrafficPolicyInstances = deserializeAws_restXmlTrafficPolicyInstances((0, smithy_client_1.getArrayIfSingleItem)(data["TrafficPolicyInstances"]["TrafficPolicyInstance"]), context);
4781
4781
  }
4782
4782
  return Promise.resolve(contents);
4783
4783
  };
@@ -4804,7 +4804,7 @@ const deserializeAws_restXmlListTrafficPolicyInstancesCommandError = async (outp
4804
4804
  $fault: "client",
4805
4805
  $metadata: deserializeMetadata(output),
4806
4806
  });
4807
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4807
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4808
4808
  }
4809
4809
  };
4810
4810
  const deserializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommand = async (output, context) => {
@@ -4819,25 +4819,25 @@ const deserializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommand = asyn
4819
4819
  TrafficPolicyInstanceTypeMarker: undefined,
4820
4820
  TrafficPolicyInstances: undefined,
4821
4821
  };
4822
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4822
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4823
4823
  if (data["IsTruncated"] !== undefined) {
4824
- contents.IsTruncated = smithy_client_1.parseBoolean(data["IsTruncated"]);
4824
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(data["IsTruncated"]);
4825
4825
  }
4826
4826
  if (data["MaxItems"] !== undefined) {
4827
- contents.MaxItems = smithy_client_1.strictParseInt32(data["MaxItems"]);
4827
+ contents.MaxItems = (0, smithy_client_1.strictParseInt32)(data["MaxItems"]);
4828
4828
  }
4829
4829
  if (data["TrafficPolicyInstanceNameMarker"] !== undefined) {
4830
- contents.TrafficPolicyInstanceNameMarker = smithy_client_1.expectString(data["TrafficPolicyInstanceNameMarker"]);
4830
+ contents.TrafficPolicyInstanceNameMarker = (0, smithy_client_1.expectString)(data["TrafficPolicyInstanceNameMarker"]);
4831
4831
  }
4832
4832
  if (data["TrafficPolicyInstanceTypeMarker"] !== undefined) {
4833
- contents.TrafficPolicyInstanceTypeMarker = smithy_client_1.expectString(data["TrafficPolicyInstanceTypeMarker"]);
4833
+ contents.TrafficPolicyInstanceTypeMarker = (0, smithy_client_1.expectString)(data["TrafficPolicyInstanceTypeMarker"]);
4834
4834
  }
4835
4835
  if (data.TrafficPolicyInstances === "") {
4836
4836
  contents.TrafficPolicyInstances = [];
4837
4837
  }
4838
4838
  if (data["TrafficPolicyInstances"] !== undefined &&
4839
4839
  data["TrafficPolicyInstances"]["TrafficPolicyInstance"] !== undefined) {
4840
- contents.TrafficPolicyInstances = deserializeAws_restXmlTrafficPolicyInstances(smithy_client_1.getArrayIfSingleItem(data["TrafficPolicyInstances"]["TrafficPolicyInstance"]), context);
4840
+ contents.TrafficPolicyInstances = deserializeAws_restXmlTrafficPolicyInstances((0, smithy_client_1.getArrayIfSingleItem)(data["TrafficPolicyInstances"]["TrafficPolicyInstance"]), context);
4841
4841
  }
4842
4842
  return Promise.resolve(contents);
4843
4843
  };
@@ -4867,7 +4867,7 @@ const deserializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommandError =
4867
4867
  $fault: "client",
4868
4868
  $metadata: deserializeMetadata(output),
4869
4869
  });
4870
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4870
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4871
4871
  }
4872
4872
  };
4873
4873
  const deserializeAws_restXmlListTrafficPolicyInstancesByPolicyCommand = async (output, context) => {
@@ -4883,28 +4883,28 @@ const deserializeAws_restXmlListTrafficPolicyInstancesByPolicyCommand = async (o
4883
4883
  TrafficPolicyInstanceTypeMarker: undefined,
4884
4884
  TrafficPolicyInstances: undefined,
4885
4885
  };
4886
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4886
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4887
4887
  if (data["HostedZoneIdMarker"] !== undefined) {
4888
- contents.HostedZoneIdMarker = smithy_client_1.expectString(data["HostedZoneIdMarker"]);
4888
+ contents.HostedZoneIdMarker = (0, smithy_client_1.expectString)(data["HostedZoneIdMarker"]);
4889
4889
  }
4890
4890
  if (data["IsTruncated"] !== undefined) {
4891
- contents.IsTruncated = smithy_client_1.parseBoolean(data["IsTruncated"]);
4891
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(data["IsTruncated"]);
4892
4892
  }
4893
4893
  if (data["MaxItems"] !== undefined) {
4894
- contents.MaxItems = smithy_client_1.strictParseInt32(data["MaxItems"]);
4894
+ contents.MaxItems = (0, smithy_client_1.strictParseInt32)(data["MaxItems"]);
4895
4895
  }
4896
4896
  if (data["TrafficPolicyInstanceNameMarker"] !== undefined) {
4897
- contents.TrafficPolicyInstanceNameMarker = smithy_client_1.expectString(data["TrafficPolicyInstanceNameMarker"]);
4897
+ contents.TrafficPolicyInstanceNameMarker = (0, smithy_client_1.expectString)(data["TrafficPolicyInstanceNameMarker"]);
4898
4898
  }
4899
4899
  if (data["TrafficPolicyInstanceTypeMarker"] !== undefined) {
4900
- contents.TrafficPolicyInstanceTypeMarker = smithy_client_1.expectString(data["TrafficPolicyInstanceTypeMarker"]);
4900
+ contents.TrafficPolicyInstanceTypeMarker = (0, smithy_client_1.expectString)(data["TrafficPolicyInstanceTypeMarker"]);
4901
4901
  }
4902
4902
  if (data.TrafficPolicyInstances === "") {
4903
4903
  contents.TrafficPolicyInstances = [];
4904
4904
  }
4905
4905
  if (data["TrafficPolicyInstances"] !== undefined &&
4906
4906
  data["TrafficPolicyInstances"]["TrafficPolicyInstance"] !== undefined) {
4907
- contents.TrafficPolicyInstances = deserializeAws_restXmlTrafficPolicyInstances(smithy_client_1.getArrayIfSingleItem(data["TrafficPolicyInstances"]["TrafficPolicyInstance"]), context);
4907
+ contents.TrafficPolicyInstances = deserializeAws_restXmlTrafficPolicyInstances((0, smithy_client_1.getArrayIfSingleItem)(data["TrafficPolicyInstances"]["TrafficPolicyInstance"]), context);
4908
4908
  }
4909
4909
  return Promise.resolve(contents);
4910
4910
  };
@@ -4934,7 +4934,7 @@ const deserializeAws_restXmlListTrafficPolicyInstancesByPolicyCommandError = asy
4934
4934
  $fault: "client",
4935
4935
  $metadata: deserializeMetadata(output),
4936
4936
  });
4937
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4937
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4938
4938
  }
4939
4939
  };
4940
4940
  const deserializeAws_restXmlListTrafficPolicyVersionsCommand = async (output, context) => {
@@ -4948,21 +4948,21 @@ const deserializeAws_restXmlListTrafficPolicyVersionsCommand = async (output, co
4948
4948
  TrafficPolicies: undefined,
4949
4949
  TrafficPolicyVersionMarker: undefined,
4950
4950
  };
4951
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4951
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4952
4952
  if (data["IsTruncated"] !== undefined) {
4953
- contents.IsTruncated = smithy_client_1.parseBoolean(data["IsTruncated"]);
4953
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(data["IsTruncated"]);
4954
4954
  }
4955
4955
  if (data["MaxItems"] !== undefined) {
4956
- contents.MaxItems = smithy_client_1.strictParseInt32(data["MaxItems"]);
4956
+ contents.MaxItems = (0, smithy_client_1.strictParseInt32)(data["MaxItems"]);
4957
4957
  }
4958
4958
  if (data.TrafficPolicies === "") {
4959
4959
  contents.TrafficPolicies = [];
4960
4960
  }
4961
4961
  if (data["TrafficPolicies"] !== undefined && data["TrafficPolicies"]["TrafficPolicy"] !== undefined) {
4962
- contents.TrafficPolicies = deserializeAws_restXmlTrafficPolicies(smithy_client_1.getArrayIfSingleItem(data["TrafficPolicies"]["TrafficPolicy"]), context);
4962
+ contents.TrafficPolicies = deserializeAws_restXmlTrafficPolicies((0, smithy_client_1.getArrayIfSingleItem)(data["TrafficPolicies"]["TrafficPolicy"]), context);
4963
4963
  }
4964
4964
  if (data["TrafficPolicyVersionMarker"] !== undefined) {
4965
- contents.TrafficPolicyVersionMarker = smithy_client_1.expectString(data["TrafficPolicyVersionMarker"]);
4965
+ contents.TrafficPolicyVersionMarker = (0, smithy_client_1.expectString)(data["TrafficPolicyVersionMarker"]);
4966
4966
  }
4967
4967
  return Promise.resolve(contents);
4968
4968
  };
@@ -4989,7 +4989,7 @@ const deserializeAws_restXmlListTrafficPolicyVersionsCommandError = async (outpu
4989
4989
  $fault: "client",
4990
4990
  $metadata: deserializeMetadata(output),
4991
4991
  });
4992
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4992
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4993
4993
  }
4994
4994
  };
4995
4995
  const deserializeAws_restXmlListVPCAssociationAuthorizationsCommand = async (output, context) => {
@@ -5002,18 +5002,18 @@ const deserializeAws_restXmlListVPCAssociationAuthorizationsCommand = async (out
5002
5002
  NextToken: undefined,
5003
5003
  VPCs: undefined,
5004
5004
  };
5005
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5005
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5006
5006
  if (data["HostedZoneId"] !== undefined) {
5007
- contents.HostedZoneId = smithy_client_1.expectString(data["HostedZoneId"]);
5007
+ contents.HostedZoneId = (0, smithy_client_1.expectString)(data["HostedZoneId"]);
5008
5008
  }
5009
5009
  if (data["NextToken"] !== undefined) {
5010
- contents.NextToken = smithy_client_1.expectString(data["NextToken"]);
5010
+ contents.NextToken = (0, smithy_client_1.expectString)(data["NextToken"]);
5011
5011
  }
5012
5012
  if (data.VPCs === "") {
5013
5013
  contents.VPCs = [];
5014
5014
  }
5015
5015
  if (data["VPCs"] !== undefined && data["VPCs"]["VPC"] !== undefined) {
5016
- contents.VPCs = deserializeAws_restXmlVPCs(smithy_client_1.getArrayIfSingleItem(data["VPCs"]["VPC"]), context);
5016
+ contents.VPCs = deserializeAws_restXmlVPCs((0, smithy_client_1.getArrayIfSingleItem)(data["VPCs"]["VPC"]), context);
5017
5017
  }
5018
5018
  return Promise.resolve(contents);
5019
5019
  };
@@ -5043,7 +5043,7 @@ const deserializeAws_restXmlListVPCAssociationAuthorizationsCommandError = async
5043
5043
  $fault: "client",
5044
5044
  $metadata: deserializeMetadata(output),
5045
5045
  });
5046
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5046
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5047
5047
  }
5048
5048
  };
5049
5049
  const deserializeAws_restXmlTestDNSAnswerCommand = async (output, context) => {
@@ -5059,27 +5059,27 @@ const deserializeAws_restXmlTestDNSAnswerCommand = async (output, context) => {
5059
5059
  RecordType: undefined,
5060
5060
  ResponseCode: undefined,
5061
5061
  };
5062
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5062
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5063
5063
  if (data["Nameserver"] !== undefined) {
5064
- contents.Nameserver = smithy_client_1.expectString(data["Nameserver"]);
5064
+ contents.Nameserver = (0, smithy_client_1.expectString)(data["Nameserver"]);
5065
5065
  }
5066
5066
  if (data["Protocol"] !== undefined) {
5067
- contents.Protocol = smithy_client_1.expectString(data["Protocol"]);
5067
+ contents.Protocol = (0, smithy_client_1.expectString)(data["Protocol"]);
5068
5068
  }
5069
5069
  if (data.RecordData === "") {
5070
5070
  contents.RecordData = [];
5071
5071
  }
5072
5072
  if (data["RecordData"] !== undefined && data["RecordData"]["RecordDataEntry"] !== undefined) {
5073
- contents.RecordData = deserializeAws_restXmlRecordData(smithy_client_1.getArrayIfSingleItem(data["RecordData"]["RecordDataEntry"]), context);
5073
+ contents.RecordData = deserializeAws_restXmlRecordData((0, smithy_client_1.getArrayIfSingleItem)(data["RecordData"]["RecordDataEntry"]), context);
5074
5074
  }
5075
5075
  if (data["RecordName"] !== undefined) {
5076
- contents.RecordName = smithy_client_1.expectString(data["RecordName"]);
5076
+ contents.RecordName = (0, smithy_client_1.expectString)(data["RecordName"]);
5077
5077
  }
5078
5078
  if (data["RecordType"] !== undefined) {
5079
- contents.RecordType = smithy_client_1.expectString(data["RecordType"]);
5079
+ contents.RecordType = (0, smithy_client_1.expectString)(data["RecordType"]);
5080
5080
  }
5081
5081
  if (data["ResponseCode"] !== undefined) {
5082
- contents.ResponseCode = smithy_client_1.expectString(data["ResponseCode"]);
5082
+ contents.ResponseCode = (0, smithy_client_1.expectString)(data["ResponseCode"]);
5083
5083
  }
5084
5084
  return Promise.resolve(contents);
5085
5085
  };
@@ -5106,7 +5106,7 @@ const deserializeAws_restXmlTestDNSAnswerCommandError = async (output, context)
5106
5106
  $fault: "client",
5107
5107
  $metadata: deserializeMetadata(output),
5108
5108
  });
5109
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5109
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5110
5110
  }
5111
5111
  };
5112
5112
  const deserializeAws_restXmlUpdateHealthCheckCommand = async (output, context) => {
@@ -5117,7 +5117,7 @@ const deserializeAws_restXmlUpdateHealthCheckCommand = async (output, context) =
5117
5117
  $metadata: deserializeMetadata(output),
5118
5118
  HealthCheck: undefined,
5119
5119
  };
5120
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5120
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5121
5121
  if (data["HealthCheck"] !== undefined) {
5122
5122
  contents.HealthCheck = deserializeAws_restXmlHealthCheck(data["HealthCheck"], context);
5123
5123
  }
@@ -5149,7 +5149,7 @@ const deserializeAws_restXmlUpdateHealthCheckCommandError = async (output, conte
5149
5149
  $fault: "client",
5150
5150
  $metadata: deserializeMetadata(output),
5151
5151
  });
5152
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5152
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5153
5153
  }
5154
5154
  };
5155
5155
  const deserializeAws_restXmlUpdateHostedZoneCommentCommand = async (output, context) => {
@@ -5160,7 +5160,7 @@ const deserializeAws_restXmlUpdateHostedZoneCommentCommand = async (output, cont
5160
5160
  $metadata: deserializeMetadata(output),
5161
5161
  HostedZone: undefined,
5162
5162
  };
5163
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5163
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5164
5164
  if (data["HostedZone"] !== undefined) {
5165
5165
  contents.HostedZone = deserializeAws_restXmlHostedZone(data["HostedZone"], context);
5166
5166
  }
@@ -5192,7 +5192,7 @@ const deserializeAws_restXmlUpdateHostedZoneCommentCommandError = async (output,
5192
5192
  $fault: "client",
5193
5193
  $metadata: deserializeMetadata(output),
5194
5194
  });
5195
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5195
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5196
5196
  }
5197
5197
  };
5198
5198
  const deserializeAws_restXmlUpdateTrafficPolicyCommentCommand = async (output, context) => {
@@ -5203,7 +5203,7 @@ const deserializeAws_restXmlUpdateTrafficPolicyCommentCommand = async (output, c
5203
5203
  $metadata: deserializeMetadata(output),
5204
5204
  TrafficPolicy: undefined,
5205
5205
  };
5206
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5206
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5207
5207
  if (data["TrafficPolicy"] !== undefined) {
5208
5208
  contents.TrafficPolicy = deserializeAws_restXmlTrafficPolicy(data["TrafficPolicy"], context);
5209
5209
  }
@@ -5235,7 +5235,7 @@ const deserializeAws_restXmlUpdateTrafficPolicyCommentCommandError = async (outp
5235
5235
  $fault: "client",
5236
5236
  $metadata: deserializeMetadata(output),
5237
5237
  });
5238
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5238
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5239
5239
  }
5240
5240
  };
5241
5241
  const deserializeAws_restXmlUpdateTrafficPolicyInstanceCommand = async (output, context) => {
@@ -5246,7 +5246,7 @@ const deserializeAws_restXmlUpdateTrafficPolicyInstanceCommand = async (output,
5246
5246
  $metadata: deserializeMetadata(output),
5247
5247
  TrafficPolicyInstance: undefined,
5248
5248
  };
5249
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5249
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5250
5250
  if (data["TrafficPolicyInstance"] !== undefined) {
5251
5251
  contents.TrafficPolicyInstance = deserializeAws_restXmlTrafficPolicyInstance(data["TrafficPolicyInstance"], context);
5252
5252
  }
@@ -5284,770 +5284,770 @@ const deserializeAws_restXmlUpdateTrafficPolicyInstanceCommandError = async (out
5284
5284
  $fault: "client",
5285
5285
  $metadata: deserializeMetadata(output),
5286
5286
  });
5287
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5287
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5288
5288
  }
5289
5289
  };
5290
5290
  const deserializeAws_restXmlConcurrentModificationResponse = async (parsedOutput, context) => {
5291
5291
  const contents = {};
5292
5292
  const data = parsedOutput.body.Error;
5293
5293
  if (data["message"] !== undefined) {
5294
- contents.message = smithy_client_1.expectString(data["message"]);
5294
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5295
5295
  }
5296
5296
  const exception = new models_0_1.ConcurrentModification({
5297
5297
  $metadata: deserializeMetadata(parsedOutput),
5298
5298
  ...contents,
5299
5299
  });
5300
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5300
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5301
5301
  };
5302
5302
  const deserializeAws_restXmlConflictingDomainExistsResponse = async (parsedOutput, context) => {
5303
5303
  const contents = {};
5304
5304
  const data = parsedOutput.body.Error;
5305
5305
  if (data["message"] !== undefined) {
5306
- contents.message = smithy_client_1.expectString(data["message"]);
5306
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5307
5307
  }
5308
5308
  const exception = new models_0_1.ConflictingDomainExists({
5309
5309
  $metadata: deserializeMetadata(parsedOutput),
5310
5310
  ...contents,
5311
5311
  });
5312
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5312
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5313
5313
  };
5314
5314
  const deserializeAws_restXmlConflictingTypesResponse = async (parsedOutput, context) => {
5315
5315
  const contents = {};
5316
5316
  const data = parsedOutput.body.Error;
5317
5317
  if (data["message"] !== undefined) {
5318
- contents.message = smithy_client_1.expectString(data["message"]);
5318
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5319
5319
  }
5320
5320
  const exception = new models_0_1.ConflictingTypes({
5321
5321
  $metadata: deserializeMetadata(parsedOutput),
5322
5322
  ...contents,
5323
5323
  });
5324
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5324
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5325
5325
  };
5326
5326
  const deserializeAws_restXmlDelegationSetAlreadyCreatedResponse = async (parsedOutput, context) => {
5327
5327
  const contents = {};
5328
5328
  const data = parsedOutput.body.Error;
5329
5329
  if (data["message"] !== undefined) {
5330
- contents.message = smithy_client_1.expectString(data["message"]);
5330
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5331
5331
  }
5332
5332
  const exception = new models_0_1.DelegationSetAlreadyCreated({
5333
5333
  $metadata: deserializeMetadata(parsedOutput),
5334
5334
  ...contents,
5335
5335
  });
5336
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5336
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5337
5337
  };
5338
5338
  const deserializeAws_restXmlDelegationSetAlreadyReusableResponse = async (parsedOutput, context) => {
5339
5339
  const contents = {};
5340
5340
  const data = parsedOutput.body.Error;
5341
5341
  if (data["message"] !== undefined) {
5342
- contents.message = smithy_client_1.expectString(data["message"]);
5342
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5343
5343
  }
5344
5344
  const exception = new models_0_1.DelegationSetAlreadyReusable({
5345
5345
  $metadata: deserializeMetadata(parsedOutput),
5346
5346
  ...contents,
5347
5347
  });
5348
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5348
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5349
5349
  };
5350
5350
  const deserializeAws_restXmlDelegationSetInUseResponse = async (parsedOutput, context) => {
5351
5351
  const contents = {};
5352
5352
  const data = parsedOutput.body.Error;
5353
5353
  if (data["message"] !== undefined) {
5354
- contents.message = smithy_client_1.expectString(data["message"]);
5354
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5355
5355
  }
5356
5356
  const exception = new models_0_1.DelegationSetInUse({
5357
5357
  $metadata: deserializeMetadata(parsedOutput),
5358
5358
  ...contents,
5359
5359
  });
5360
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5360
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5361
5361
  };
5362
5362
  const deserializeAws_restXmlDelegationSetNotAvailableResponse = async (parsedOutput, context) => {
5363
5363
  const contents = {};
5364
5364
  const data = parsedOutput.body.Error;
5365
5365
  if (data["message"] !== undefined) {
5366
- contents.message = smithy_client_1.expectString(data["message"]);
5366
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5367
5367
  }
5368
5368
  const exception = new models_0_1.DelegationSetNotAvailable({
5369
5369
  $metadata: deserializeMetadata(parsedOutput),
5370
5370
  ...contents,
5371
5371
  });
5372
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5372
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5373
5373
  };
5374
5374
  const deserializeAws_restXmlDelegationSetNotReusableResponse = async (parsedOutput, context) => {
5375
5375
  const contents = {};
5376
5376
  const data = parsedOutput.body.Error;
5377
5377
  if (data["message"] !== undefined) {
5378
- contents.message = smithy_client_1.expectString(data["message"]);
5378
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5379
5379
  }
5380
5380
  const exception = new models_0_1.DelegationSetNotReusable({
5381
5381
  $metadata: deserializeMetadata(parsedOutput),
5382
5382
  ...contents,
5383
5383
  });
5384
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5384
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5385
5385
  };
5386
5386
  const deserializeAws_restXmlDNSSECNotFoundResponse = async (parsedOutput, context) => {
5387
5387
  const contents = {};
5388
5388
  const data = parsedOutput.body.Error;
5389
5389
  if (data["message"] !== undefined) {
5390
- contents.message = smithy_client_1.expectString(data["message"]);
5390
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5391
5391
  }
5392
5392
  const exception = new models_0_1.DNSSECNotFound({
5393
5393
  $metadata: deserializeMetadata(parsedOutput),
5394
5394
  ...contents,
5395
5395
  });
5396
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5396
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5397
5397
  };
5398
5398
  const deserializeAws_restXmlHealthCheckAlreadyExistsResponse = async (parsedOutput, context) => {
5399
5399
  const contents = {};
5400
5400
  const data = parsedOutput.body.Error;
5401
5401
  if (data["message"] !== undefined) {
5402
- contents.message = smithy_client_1.expectString(data["message"]);
5402
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5403
5403
  }
5404
5404
  const exception = new models_0_1.HealthCheckAlreadyExists({
5405
5405
  $metadata: deserializeMetadata(parsedOutput),
5406
5406
  ...contents,
5407
5407
  });
5408
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5408
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5409
5409
  };
5410
5410
  const deserializeAws_restXmlHealthCheckInUseResponse = async (parsedOutput, context) => {
5411
5411
  const contents = {};
5412
5412
  const data = parsedOutput.body.Error;
5413
5413
  if (data["message"] !== undefined) {
5414
- contents.message = smithy_client_1.expectString(data["message"]);
5414
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5415
5415
  }
5416
5416
  const exception = new models_0_1.HealthCheckInUse({
5417
5417
  $metadata: deserializeMetadata(parsedOutput),
5418
5418
  ...contents,
5419
5419
  });
5420
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5420
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5421
5421
  };
5422
5422
  const deserializeAws_restXmlHealthCheckVersionMismatchResponse = async (parsedOutput, context) => {
5423
5423
  const contents = {};
5424
5424
  const data = parsedOutput.body.Error;
5425
5425
  if (data["message"] !== undefined) {
5426
- contents.message = smithy_client_1.expectString(data["message"]);
5426
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5427
5427
  }
5428
5428
  const exception = new models_0_1.HealthCheckVersionMismatch({
5429
5429
  $metadata: deserializeMetadata(parsedOutput),
5430
5430
  ...contents,
5431
5431
  });
5432
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5432
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5433
5433
  };
5434
5434
  const deserializeAws_restXmlHostedZoneAlreadyExistsResponse = async (parsedOutput, context) => {
5435
5435
  const contents = {};
5436
5436
  const data = parsedOutput.body.Error;
5437
5437
  if (data["message"] !== undefined) {
5438
- contents.message = smithy_client_1.expectString(data["message"]);
5438
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5439
5439
  }
5440
5440
  const exception = new models_0_1.HostedZoneAlreadyExists({
5441
5441
  $metadata: deserializeMetadata(parsedOutput),
5442
5442
  ...contents,
5443
5443
  });
5444
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5444
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5445
5445
  };
5446
5446
  const deserializeAws_restXmlHostedZoneNotEmptyResponse = async (parsedOutput, context) => {
5447
5447
  const contents = {};
5448
5448
  const data = parsedOutput.body.Error;
5449
5449
  if (data["message"] !== undefined) {
5450
- contents.message = smithy_client_1.expectString(data["message"]);
5450
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5451
5451
  }
5452
5452
  const exception = new models_0_1.HostedZoneNotEmpty({
5453
5453
  $metadata: deserializeMetadata(parsedOutput),
5454
5454
  ...contents,
5455
5455
  });
5456
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5456
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5457
5457
  };
5458
5458
  const deserializeAws_restXmlHostedZoneNotFoundResponse = async (parsedOutput, context) => {
5459
5459
  const contents = {};
5460
5460
  const data = parsedOutput.body.Error;
5461
5461
  if (data["message"] !== undefined) {
5462
- contents.message = smithy_client_1.expectString(data["message"]);
5462
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5463
5463
  }
5464
5464
  const exception = new models_0_1.HostedZoneNotFound({
5465
5465
  $metadata: deserializeMetadata(parsedOutput),
5466
5466
  ...contents,
5467
5467
  });
5468
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5468
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5469
5469
  };
5470
5470
  const deserializeAws_restXmlHostedZoneNotPrivateResponse = async (parsedOutput, context) => {
5471
5471
  const contents = {};
5472
5472
  const data = parsedOutput.body.Error;
5473
5473
  if (data["message"] !== undefined) {
5474
- contents.message = smithy_client_1.expectString(data["message"]);
5474
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5475
5475
  }
5476
5476
  const exception = new models_0_1.HostedZoneNotPrivate({
5477
5477
  $metadata: deserializeMetadata(parsedOutput),
5478
5478
  ...contents,
5479
5479
  });
5480
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5480
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5481
5481
  };
5482
5482
  const deserializeAws_restXmlHostedZonePartiallyDelegatedResponse = async (parsedOutput, context) => {
5483
5483
  const contents = {};
5484
5484
  const data = parsedOutput.body.Error;
5485
5485
  if (data["message"] !== undefined) {
5486
- contents.message = smithy_client_1.expectString(data["message"]);
5486
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5487
5487
  }
5488
5488
  const exception = new models_0_1.HostedZonePartiallyDelegated({
5489
5489
  $metadata: deserializeMetadata(parsedOutput),
5490
5490
  ...contents,
5491
5491
  });
5492
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5492
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5493
5493
  };
5494
5494
  const deserializeAws_restXmlIncompatibleVersionResponse = async (parsedOutput, context) => {
5495
5495
  const contents = {};
5496
5496
  const data = parsedOutput.body.Error;
5497
5497
  if (data["message"] !== undefined) {
5498
- contents.message = smithy_client_1.expectString(data["message"]);
5498
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5499
5499
  }
5500
5500
  const exception = new models_0_1.IncompatibleVersion({
5501
5501
  $metadata: deserializeMetadata(parsedOutput),
5502
5502
  ...contents,
5503
5503
  });
5504
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5504
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5505
5505
  };
5506
5506
  const deserializeAws_restXmlInsufficientCloudWatchLogsResourcePolicyResponse = async (parsedOutput, context) => {
5507
5507
  const contents = {};
5508
5508
  const data = parsedOutput.body.Error;
5509
5509
  if (data["message"] !== undefined) {
5510
- contents.message = smithy_client_1.expectString(data["message"]);
5510
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5511
5511
  }
5512
5512
  const exception = new models_0_1.InsufficientCloudWatchLogsResourcePolicy({
5513
5513
  $metadata: deserializeMetadata(parsedOutput),
5514
5514
  ...contents,
5515
5515
  });
5516
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5516
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5517
5517
  };
5518
5518
  const deserializeAws_restXmlInvalidArgumentResponse = async (parsedOutput, context) => {
5519
5519
  const contents = {};
5520
5520
  const data = parsedOutput.body.Error;
5521
5521
  if (data["message"] !== undefined) {
5522
- contents.message = smithy_client_1.expectString(data["message"]);
5522
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5523
5523
  }
5524
5524
  const exception = new models_0_1.InvalidArgument({
5525
5525
  $metadata: deserializeMetadata(parsedOutput),
5526
5526
  ...contents,
5527
5527
  });
5528
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5528
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5529
5529
  };
5530
5530
  const deserializeAws_restXmlInvalidChangeBatchResponse = async (parsedOutput, context) => {
5531
5531
  const contents = {};
5532
5532
  const data = parsedOutput.body.Error;
5533
5533
  if (data["message"] !== undefined) {
5534
- contents.message = smithy_client_1.expectString(data["message"]);
5534
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5535
5535
  }
5536
5536
  if (data.messages === "") {
5537
5537
  contents.messages = [];
5538
5538
  }
5539
5539
  if (data["messages"] !== undefined && data["messages"]["Message"] !== undefined) {
5540
- contents.messages = deserializeAws_restXmlErrorMessages(smithy_client_1.getArrayIfSingleItem(data["messages"]["Message"]), context);
5540
+ contents.messages = deserializeAws_restXmlErrorMessages((0, smithy_client_1.getArrayIfSingleItem)(data["messages"]["Message"]), context);
5541
5541
  }
5542
5542
  const exception = new models_0_1.InvalidChangeBatch({
5543
5543
  $metadata: deserializeMetadata(parsedOutput),
5544
5544
  ...contents,
5545
5545
  });
5546
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5546
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5547
5547
  };
5548
5548
  const deserializeAws_restXmlInvalidDomainNameResponse = async (parsedOutput, context) => {
5549
5549
  const contents = {};
5550
5550
  const data = parsedOutput.body.Error;
5551
5551
  if (data["message"] !== undefined) {
5552
- contents.message = smithy_client_1.expectString(data["message"]);
5552
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5553
5553
  }
5554
5554
  const exception = new models_0_1.InvalidDomainName({
5555
5555
  $metadata: deserializeMetadata(parsedOutput),
5556
5556
  ...contents,
5557
5557
  });
5558
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5558
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5559
5559
  };
5560
5560
  const deserializeAws_restXmlInvalidInputResponse = async (parsedOutput, context) => {
5561
5561
  const contents = {};
5562
5562
  const data = parsedOutput.body.Error;
5563
5563
  if (data["message"] !== undefined) {
5564
- contents.message = smithy_client_1.expectString(data["message"]);
5564
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5565
5565
  }
5566
5566
  const exception = new models_0_1.InvalidInput({
5567
5567
  $metadata: deserializeMetadata(parsedOutput),
5568
5568
  ...contents,
5569
5569
  });
5570
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5570
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5571
5571
  };
5572
5572
  const deserializeAws_restXmlInvalidKeySigningKeyNameResponse = async (parsedOutput, context) => {
5573
5573
  const contents = {};
5574
5574
  const data = parsedOutput.body.Error;
5575
5575
  if (data["message"] !== undefined) {
5576
- contents.message = smithy_client_1.expectString(data["message"]);
5576
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5577
5577
  }
5578
5578
  const exception = new models_0_1.InvalidKeySigningKeyName({
5579
5579
  $metadata: deserializeMetadata(parsedOutput),
5580
5580
  ...contents,
5581
5581
  });
5582
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5582
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5583
5583
  };
5584
5584
  const deserializeAws_restXmlInvalidKeySigningKeyStatusResponse = async (parsedOutput, context) => {
5585
5585
  const contents = {};
5586
5586
  const data = parsedOutput.body.Error;
5587
5587
  if (data["message"] !== undefined) {
5588
- contents.message = smithy_client_1.expectString(data["message"]);
5588
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5589
5589
  }
5590
5590
  const exception = new models_0_1.InvalidKeySigningKeyStatus({
5591
5591
  $metadata: deserializeMetadata(parsedOutput),
5592
5592
  ...contents,
5593
5593
  });
5594
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5594
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5595
5595
  };
5596
5596
  const deserializeAws_restXmlInvalidKMSArnResponse = async (parsedOutput, context) => {
5597
5597
  const contents = {};
5598
5598
  const data = parsedOutput.body.Error;
5599
5599
  if (data["message"] !== undefined) {
5600
- contents.message = smithy_client_1.expectString(data["message"]);
5600
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5601
5601
  }
5602
5602
  const exception = new models_0_1.InvalidKMSArn({
5603
5603
  $metadata: deserializeMetadata(parsedOutput),
5604
5604
  ...contents,
5605
5605
  });
5606
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5606
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5607
5607
  };
5608
5608
  const deserializeAws_restXmlInvalidPaginationTokenResponse = async (parsedOutput, context) => {
5609
5609
  const contents = {};
5610
5610
  const data = parsedOutput.body.Error;
5611
5611
  if (data["message"] !== undefined) {
5612
- contents.message = smithy_client_1.expectString(data["message"]);
5612
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5613
5613
  }
5614
5614
  const exception = new models_0_1.InvalidPaginationToken({
5615
5615
  $metadata: deserializeMetadata(parsedOutput),
5616
5616
  ...contents,
5617
5617
  });
5618
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5618
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5619
5619
  };
5620
5620
  const deserializeAws_restXmlInvalidSigningStatusResponse = async (parsedOutput, context) => {
5621
5621
  const contents = {};
5622
5622
  const data = parsedOutput.body.Error;
5623
5623
  if (data["message"] !== undefined) {
5624
- contents.message = smithy_client_1.expectString(data["message"]);
5624
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5625
5625
  }
5626
5626
  const exception = new models_0_1.InvalidSigningStatus({
5627
5627
  $metadata: deserializeMetadata(parsedOutput),
5628
5628
  ...contents,
5629
5629
  });
5630
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5630
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5631
5631
  };
5632
5632
  const deserializeAws_restXmlInvalidTrafficPolicyDocumentResponse = async (parsedOutput, context) => {
5633
5633
  const contents = {};
5634
5634
  const data = parsedOutput.body.Error;
5635
5635
  if (data["message"] !== undefined) {
5636
- contents.message = smithy_client_1.expectString(data["message"]);
5636
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5637
5637
  }
5638
5638
  const exception = new models_0_1.InvalidTrafficPolicyDocument({
5639
5639
  $metadata: deserializeMetadata(parsedOutput),
5640
5640
  ...contents,
5641
5641
  });
5642
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5642
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5643
5643
  };
5644
5644
  const deserializeAws_restXmlInvalidVPCIdResponse = async (parsedOutput, context) => {
5645
5645
  const contents = {};
5646
5646
  const data = parsedOutput.body.Error;
5647
5647
  if (data["message"] !== undefined) {
5648
- contents.message = smithy_client_1.expectString(data["message"]);
5648
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5649
5649
  }
5650
5650
  const exception = new models_0_1.InvalidVPCId({
5651
5651
  $metadata: deserializeMetadata(parsedOutput),
5652
5652
  ...contents,
5653
5653
  });
5654
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5654
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5655
5655
  };
5656
5656
  const deserializeAws_restXmlKeySigningKeyAlreadyExistsResponse = async (parsedOutput, context) => {
5657
5657
  const contents = {};
5658
5658
  const data = parsedOutput.body.Error;
5659
5659
  if (data["message"] !== undefined) {
5660
- contents.message = smithy_client_1.expectString(data["message"]);
5660
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5661
5661
  }
5662
5662
  const exception = new models_0_1.KeySigningKeyAlreadyExists({
5663
5663
  $metadata: deserializeMetadata(parsedOutput),
5664
5664
  ...contents,
5665
5665
  });
5666
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5666
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5667
5667
  };
5668
5668
  const deserializeAws_restXmlKeySigningKeyInParentDSRecordResponse = async (parsedOutput, context) => {
5669
5669
  const contents = {};
5670
5670
  const data = parsedOutput.body.Error;
5671
5671
  if (data["message"] !== undefined) {
5672
- contents.message = smithy_client_1.expectString(data["message"]);
5672
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5673
5673
  }
5674
5674
  const exception = new models_0_1.KeySigningKeyInParentDSRecord({
5675
5675
  $metadata: deserializeMetadata(parsedOutput),
5676
5676
  ...contents,
5677
5677
  });
5678
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5678
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5679
5679
  };
5680
5680
  const deserializeAws_restXmlKeySigningKeyInUseResponse = async (parsedOutput, context) => {
5681
5681
  const contents = {};
5682
5682
  const data = parsedOutput.body.Error;
5683
5683
  if (data["message"] !== undefined) {
5684
- contents.message = smithy_client_1.expectString(data["message"]);
5684
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5685
5685
  }
5686
5686
  const exception = new models_0_1.KeySigningKeyInUse({
5687
5687
  $metadata: deserializeMetadata(parsedOutput),
5688
5688
  ...contents,
5689
5689
  });
5690
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5690
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5691
5691
  };
5692
5692
  const deserializeAws_restXmlKeySigningKeyWithActiveStatusNotFoundResponse = async (parsedOutput, context) => {
5693
5693
  const contents = {};
5694
5694
  const data = parsedOutput.body.Error;
5695
5695
  if (data["message"] !== undefined) {
5696
- contents.message = smithy_client_1.expectString(data["message"]);
5696
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5697
5697
  }
5698
5698
  const exception = new models_0_1.KeySigningKeyWithActiveStatusNotFound({
5699
5699
  $metadata: deserializeMetadata(parsedOutput),
5700
5700
  ...contents,
5701
5701
  });
5702
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5702
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5703
5703
  };
5704
5704
  const deserializeAws_restXmlLastVPCAssociationResponse = async (parsedOutput, context) => {
5705
5705
  const contents = {};
5706
5706
  const data = parsedOutput.body.Error;
5707
5707
  if (data["message"] !== undefined) {
5708
- contents.message = smithy_client_1.expectString(data["message"]);
5708
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5709
5709
  }
5710
5710
  const exception = new models_0_1.LastVPCAssociation({
5711
5711
  $metadata: deserializeMetadata(parsedOutput),
5712
5712
  ...contents,
5713
5713
  });
5714
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5714
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5715
5715
  };
5716
5716
  const deserializeAws_restXmlLimitsExceededResponse = async (parsedOutput, context) => {
5717
5717
  const contents = {};
5718
5718
  const data = parsedOutput.body.Error;
5719
5719
  if (data["message"] !== undefined) {
5720
- contents.message = smithy_client_1.expectString(data["message"]);
5720
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5721
5721
  }
5722
5722
  const exception = new models_0_1.LimitsExceeded({
5723
5723
  $metadata: deserializeMetadata(parsedOutput),
5724
5724
  ...contents,
5725
5725
  });
5726
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5726
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5727
5727
  };
5728
5728
  const deserializeAws_restXmlNoSuchChangeResponse = async (parsedOutput, context) => {
5729
5729
  const contents = {};
5730
5730
  const data = parsedOutput.body.Error;
5731
5731
  if (data["message"] !== undefined) {
5732
- contents.message = smithy_client_1.expectString(data["message"]);
5732
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5733
5733
  }
5734
5734
  const exception = new models_0_1.NoSuchChange({
5735
5735
  $metadata: deserializeMetadata(parsedOutput),
5736
5736
  ...contents,
5737
5737
  });
5738
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5738
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5739
5739
  };
5740
5740
  const deserializeAws_restXmlNoSuchCloudWatchLogsLogGroupResponse = async (parsedOutput, context) => {
5741
5741
  const contents = {};
5742
5742
  const data = parsedOutput.body.Error;
5743
5743
  if (data["message"] !== undefined) {
5744
- contents.message = smithy_client_1.expectString(data["message"]);
5744
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5745
5745
  }
5746
5746
  const exception = new models_0_1.NoSuchCloudWatchLogsLogGroup({
5747
5747
  $metadata: deserializeMetadata(parsedOutput),
5748
5748
  ...contents,
5749
5749
  });
5750
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5750
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5751
5751
  };
5752
5752
  const deserializeAws_restXmlNoSuchDelegationSetResponse = async (parsedOutput, context) => {
5753
5753
  const contents = {};
5754
5754
  const data = parsedOutput.body.Error;
5755
5755
  if (data["message"] !== undefined) {
5756
- contents.message = smithy_client_1.expectString(data["message"]);
5756
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5757
5757
  }
5758
5758
  const exception = new models_0_1.NoSuchDelegationSet({
5759
5759
  $metadata: deserializeMetadata(parsedOutput),
5760
5760
  ...contents,
5761
5761
  });
5762
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5762
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5763
5763
  };
5764
5764
  const deserializeAws_restXmlNoSuchGeoLocationResponse = async (parsedOutput, context) => {
5765
5765
  const contents = {};
5766
5766
  const data = parsedOutput.body.Error;
5767
5767
  if (data["message"] !== undefined) {
5768
- contents.message = smithy_client_1.expectString(data["message"]);
5768
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5769
5769
  }
5770
5770
  const exception = new models_0_1.NoSuchGeoLocation({
5771
5771
  $metadata: deserializeMetadata(parsedOutput),
5772
5772
  ...contents,
5773
5773
  });
5774
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5774
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5775
5775
  };
5776
5776
  const deserializeAws_restXmlNoSuchHealthCheckResponse = async (parsedOutput, context) => {
5777
5777
  const contents = {};
5778
5778
  const data = parsedOutput.body.Error;
5779
5779
  if (data["message"] !== undefined) {
5780
- contents.message = smithy_client_1.expectString(data["message"]);
5780
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5781
5781
  }
5782
5782
  const exception = new models_0_1.NoSuchHealthCheck({
5783
5783
  $metadata: deserializeMetadata(parsedOutput),
5784
5784
  ...contents,
5785
5785
  });
5786
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5786
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5787
5787
  };
5788
5788
  const deserializeAws_restXmlNoSuchHostedZoneResponse = async (parsedOutput, context) => {
5789
5789
  const contents = {};
5790
5790
  const data = parsedOutput.body.Error;
5791
5791
  if (data["message"] !== undefined) {
5792
- contents.message = smithy_client_1.expectString(data["message"]);
5792
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5793
5793
  }
5794
5794
  const exception = new models_0_1.NoSuchHostedZone({
5795
5795
  $metadata: deserializeMetadata(parsedOutput),
5796
5796
  ...contents,
5797
5797
  });
5798
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5798
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5799
5799
  };
5800
5800
  const deserializeAws_restXmlNoSuchKeySigningKeyResponse = async (parsedOutput, context) => {
5801
5801
  const contents = {};
5802
5802
  const data = parsedOutput.body.Error;
5803
5803
  if (data["message"] !== undefined) {
5804
- contents.message = smithy_client_1.expectString(data["message"]);
5804
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5805
5805
  }
5806
5806
  const exception = new models_0_1.NoSuchKeySigningKey({
5807
5807
  $metadata: deserializeMetadata(parsedOutput),
5808
5808
  ...contents,
5809
5809
  });
5810
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5810
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5811
5811
  };
5812
5812
  const deserializeAws_restXmlNoSuchQueryLoggingConfigResponse = async (parsedOutput, context) => {
5813
5813
  const contents = {};
5814
5814
  const data = parsedOutput.body.Error;
5815
5815
  if (data["message"] !== undefined) {
5816
- contents.message = smithy_client_1.expectString(data["message"]);
5816
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5817
5817
  }
5818
5818
  const exception = new models_0_1.NoSuchQueryLoggingConfig({
5819
5819
  $metadata: deserializeMetadata(parsedOutput),
5820
5820
  ...contents,
5821
5821
  });
5822
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5822
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5823
5823
  };
5824
5824
  const deserializeAws_restXmlNoSuchTrafficPolicyResponse = async (parsedOutput, context) => {
5825
5825
  const contents = {};
5826
5826
  const data = parsedOutput.body.Error;
5827
5827
  if (data["message"] !== undefined) {
5828
- contents.message = smithy_client_1.expectString(data["message"]);
5828
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5829
5829
  }
5830
5830
  const exception = new models_0_1.NoSuchTrafficPolicy({
5831
5831
  $metadata: deserializeMetadata(parsedOutput),
5832
5832
  ...contents,
5833
5833
  });
5834
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5834
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5835
5835
  };
5836
5836
  const deserializeAws_restXmlNoSuchTrafficPolicyInstanceResponse = async (parsedOutput, context) => {
5837
5837
  const contents = {};
5838
5838
  const data = parsedOutput.body.Error;
5839
5839
  if (data["message"] !== undefined) {
5840
- contents.message = smithy_client_1.expectString(data["message"]);
5840
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5841
5841
  }
5842
5842
  const exception = new models_0_1.NoSuchTrafficPolicyInstance({
5843
5843
  $metadata: deserializeMetadata(parsedOutput),
5844
5844
  ...contents,
5845
5845
  });
5846
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5846
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5847
5847
  };
5848
5848
  const deserializeAws_restXmlNotAuthorizedExceptionResponse = async (parsedOutput, context) => {
5849
5849
  const contents = {};
5850
5850
  const data = parsedOutput.body.Error;
5851
5851
  if (data["message"] !== undefined) {
5852
- contents.message = smithy_client_1.expectString(data["message"]);
5852
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5853
5853
  }
5854
5854
  const exception = new models_0_1.NotAuthorizedException({
5855
5855
  $metadata: deserializeMetadata(parsedOutput),
5856
5856
  ...contents,
5857
5857
  });
5858
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5858
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5859
5859
  };
5860
5860
  const deserializeAws_restXmlPriorRequestNotCompleteResponse = async (parsedOutput, context) => {
5861
5861
  const contents = {};
5862
5862
  const data = parsedOutput.body.Error;
5863
5863
  if (data["message"] !== undefined) {
5864
- contents.message = smithy_client_1.expectString(data["message"]);
5864
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5865
5865
  }
5866
5866
  const exception = new models_0_1.PriorRequestNotComplete({
5867
5867
  $metadata: deserializeMetadata(parsedOutput),
5868
5868
  ...contents,
5869
5869
  });
5870
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5870
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5871
5871
  };
5872
5872
  const deserializeAws_restXmlPublicZoneVPCAssociationResponse = async (parsedOutput, context) => {
5873
5873
  const contents = {};
5874
5874
  const data = parsedOutput.body.Error;
5875
5875
  if (data["message"] !== undefined) {
5876
- contents.message = smithy_client_1.expectString(data["message"]);
5876
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5877
5877
  }
5878
5878
  const exception = new models_0_1.PublicZoneVPCAssociation({
5879
5879
  $metadata: deserializeMetadata(parsedOutput),
5880
5880
  ...contents,
5881
5881
  });
5882
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5882
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5883
5883
  };
5884
5884
  const deserializeAws_restXmlQueryLoggingConfigAlreadyExistsResponse = async (parsedOutput, context) => {
5885
5885
  const contents = {};
5886
5886
  const data = parsedOutput.body.Error;
5887
5887
  if (data["message"] !== undefined) {
5888
- contents.message = smithy_client_1.expectString(data["message"]);
5888
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5889
5889
  }
5890
5890
  const exception = new models_0_1.QueryLoggingConfigAlreadyExists({
5891
5891
  $metadata: deserializeMetadata(parsedOutput),
5892
5892
  ...contents,
5893
5893
  });
5894
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5894
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5895
5895
  };
5896
5896
  const deserializeAws_restXmlThrottlingExceptionResponse = async (parsedOutput, context) => {
5897
5897
  const contents = {};
5898
5898
  const data = parsedOutput.body.Error;
5899
5899
  if (data["message"] !== undefined) {
5900
- contents.message = smithy_client_1.expectString(data["message"]);
5900
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5901
5901
  }
5902
5902
  const exception = new models_0_1.ThrottlingException({
5903
5903
  $metadata: deserializeMetadata(parsedOutput),
5904
5904
  ...contents,
5905
5905
  });
5906
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5906
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5907
5907
  };
5908
5908
  const deserializeAws_restXmlTooManyHealthChecksResponse = async (parsedOutput, context) => {
5909
5909
  const contents = {};
5910
5910
  const data = parsedOutput.body.Error;
5911
5911
  if (data["message"] !== undefined) {
5912
- contents.message = smithy_client_1.expectString(data["message"]);
5912
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5913
5913
  }
5914
5914
  const exception = new models_0_1.TooManyHealthChecks({
5915
5915
  $metadata: deserializeMetadata(parsedOutput),
5916
5916
  ...contents,
5917
5917
  });
5918
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5918
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5919
5919
  };
5920
5920
  const deserializeAws_restXmlTooManyHostedZonesResponse = async (parsedOutput, context) => {
5921
5921
  const contents = {};
5922
5922
  const data = parsedOutput.body.Error;
5923
5923
  if (data["message"] !== undefined) {
5924
- contents.message = smithy_client_1.expectString(data["message"]);
5924
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5925
5925
  }
5926
5926
  const exception = new models_0_1.TooManyHostedZones({
5927
5927
  $metadata: deserializeMetadata(parsedOutput),
5928
5928
  ...contents,
5929
5929
  });
5930
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5930
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5931
5931
  };
5932
5932
  const deserializeAws_restXmlTooManyKeySigningKeysResponse = async (parsedOutput, context) => {
5933
5933
  const contents = {};
5934
5934
  const data = parsedOutput.body.Error;
5935
5935
  if (data["message"] !== undefined) {
5936
- contents.message = smithy_client_1.expectString(data["message"]);
5936
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5937
5937
  }
5938
5938
  const exception = new models_0_1.TooManyKeySigningKeys({
5939
5939
  $metadata: deserializeMetadata(parsedOutput),
5940
5940
  ...contents,
5941
5941
  });
5942
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5942
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5943
5943
  };
5944
5944
  const deserializeAws_restXmlTooManyTrafficPoliciesResponse = async (parsedOutput, context) => {
5945
5945
  const contents = {};
5946
5946
  const data = parsedOutput.body.Error;
5947
5947
  if (data["message"] !== undefined) {
5948
- contents.message = smithy_client_1.expectString(data["message"]);
5948
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5949
5949
  }
5950
5950
  const exception = new models_0_1.TooManyTrafficPolicies({
5951
5951
  $metadata: deserializeMetadata(parsedOutput),
5952
5952
  ...contents,
5953
5953
  });
5954
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5954
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5955
5955
  };
5956
5956
  const deserializeAws_restXmlTooManyTrafficPolicyInstancesResponse = async (parsedOutput, context) => {
5957
5957
  const contents = {};
5958
5958
  const data = parsedOutput.body.Error;
5959
5959
  if (data["message"] !== undefined) {
5960
- contents.message = smithy_client_1.expectString(data["message"]);
5960
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5961
5961
  }
5962
5962
  const exception = new models_0_1.TooManyTrafficPolicyInstances({
5963
5963
  $metadata: deserializeMetadata(parsedOutput),
5964
5964
  ...contents,
5965
5965
  });
5966
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5966
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5967
5967
  };
5968
5968
  const deserializeAws_restXmlTooManyTrafficPolicyVersionsForCurrentPolicyResponse = async (parsedOutput, context) => {
5969
5969
  const contents = {};
5970
5970
  const data = parsedOutput.body.Error;
5971
5971
  if (data["message"] !== undefined) {
5972
- contents.message = smithy_client_1.expectString(data["message"]);
5972
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5973
5973
  }
5974
5974
  const exception = new models_0_1.TooManyTrafficPolicyVersionsForCurrentPolicy({
5975
5975
  $metadata: deserializeMetadata(parsedOutput),
5976
5976
  ...contents,
5977
5977
  });
5978
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5978
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5979
5979
  };
5980
5980
  const deserializeAws_restXmlTooManyVPCAssociationAuthorizationsResponse = async (parsedOutput, context) => {
5981
5981
  const contents = {};
5982
5982
  const data = parsedOutput.body.Error;
5983
5983
  if (data["message"] !== undefined) {
5984
- contents.message = smithy_client_1.expectString(data["message"]);
5984
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5985
5985
  }
5986
5986
  const exception = new models_0_1.TooManyVPCAssociationAuthorizations({
5987
5987
  $metadata: deserializeMetadata(parsedOutput),
5988
5988
  ...contents,
5989
5989
  });
5990
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
5990
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
5991
5991
  };
5992
5992
  const deserializeAws_restXmlTrafficPolicyAlreadyExistsResponse = async (parsedOutput, context) => {
5993
5993
  const contents = {};
5994
5994
  const data = parsedOutput.body.Error;
5995
5995
  if (data["message"] !== undefined) {
5996
- contents.message = smithy_client_1.expectString(data["message"]);
5996
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
5997
5997
  }
5998
5998
  const exception = new models_0_1.TrafficPolicyAlreadyExists({
5999
5999
  $metadata: deserializeMetadata(parsedOutput),
6000
6000
  ...contents,
6001
6001
  });
6002
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
6002
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
6003
6003
  };
6004
6004
  const deserializeAws_restXmlTrafficPolicyInstanceAlreadyExistsResponse = async (parsedOutput, context) => {
6005
6005
  const contents = {};
6006
6006
  const data = parsedOutput.body.Error;
6007
6007
  if (data["message"] !== undefined) {
6008
- contents.message = smithy_client_1.expectString(data["message"]);
6008
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
6009
6009
  }
6010
6010
  const exception = new models_0_1.TrafficPolicyInstanceAlreadyExists({
6011
6011
  $metadata: deserializeMetadata(parsedOutput),
6012
6012
  ...contents,
6013
6013
  });
6014
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
6014
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
6015
6015
  };
6016
6016
  const deserializeAws_restXmlTrafficPolicyInUseResponse = async (parsedOutput, context) => {
6017
6017
  const contents = {};
6018
6018
  const data = parsedOutput.body.Error;
6019
6019
  if (data["message"] !== undefined) {
6020
- contents.message = smithy_client_1.expectString(data["message"]);
6020
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
6021
6021
  }
6022
6022
  const exception = new models_0_1.TrafficPolicyInUse({
6023
6023
  $metadata: deserializeMetadata(parsedOutput),
6024
6024
  ...contents,
6025
6025
  });
6026
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
6026
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
6027
6027
  };
6028
6028
  const deserializeAws_restXmlVPCAssociationAuthorizationNotFoundResponse = async (parsedOutput, context) => {
6029
6029
  const contents = {};
6030
6030
  const data = parsedOutput.body.Error;
6031
6031
  if (data["message"] !== undefined) {
6032
- contents.message = smithy_client_1.expectString(data["message"]);
6032
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
6033
6033
  }
6034
6034
  const exception = new models_0_1.VPCAssociationAuthorizationNotFound({
6035
6035
  $metadata: deserializeMetadata(parsedOutput),
6036
6036
  ...contents,
6037
6037
  });
6038
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
6038
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
6039
6039
  };
6040
6040
  const deserializeAws_restXmlVPCAssociationNotFoundResponse = async (parsedOutput, context) => {
6041
6041
  const contents = {};
6042
6042
  const data = parsedOutput.body.Error;
6043
6043
  if (data["message"] !== undefined) {
6044
- contents.message = smithy_client_1.expectString(data["message"]);
6044
+ contents.message = (0, smithy_client_1.expectString)(data["message"]);
6045
6045
  }
6046
6046
  const exception = new models_0_1.VPCAssociationNotFound({
6047
6047
  $metadata: deserializeMetadata(parsedOutput),
6048
6048
  ...contents,
6049
6049
  });
6050
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
6050
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
6051
6051
  };
6052
6052
  const serializeAws_restXmlAlarmIdentifier = (input, context) => {
6053
6053
  const bodyNode = new xml_builder_1.XmlNode("AlarmIdentifier");
@@ -6439,10 +6439,10 @@ const deserializeAws_restXmlAccountLimit = (output, context) => {
6439
6439
  Value: undefined,
6440
6440
  };
6441
6441
  if (output["Type"] !== undefined) {
6442
- contents.Type = smithy_client_1.expectString(output["Type"]);
6442
+ contents.Type = (0, smithy_client_1.expectString)(output["Type"]);
6443
6443
  }
6444
6444
  if (output["Value"] !== undefined) {
6445
- contents.Value = smithy_client_1.strictParseLong(output["Value"]);
6445
+ contents.Value = (0, smithy_client_1.strictParseLong)(output["Value"]);
6446
6446
  }
6447
6447
  return contents;
6448
6448
  };
@@ -6452,10 +6452,10 @@ const deserializeAws_restXmlAlarmIdentifier = (output, context) => {
6452
6452
  Name: undefined,
6453
6453
  };
6454
6454
  if (output["Region"] !== undefined) {
6455
- contents.Region = smithy_client_1.expectString(output["Region"]);
6455
+ contents.Region = (0, smithy_client_1.expectString)(output["Region"]);
6456
6456
  }
6457
6457
  if (output["Name"] !== undefined) {
6458
- contents.Name = smithy_client_1.expectString(output["Name"]);
6458
+ contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6459
6459
  }
6460
6460
  return contents;
6461
6461
  };
@@ -6466,13 +6466,13 @@ const deserializeAws_restXmlAliasTarget = (output, context) => {
6466
6466
  EvaluateTargetHealth: undefined,
6467
6467
  };
6468
6468
  if (output["HostedZoneId"] !== undefined) {
6469
- contents.HostedZoneId = smithy_client_1.expectString(output["HostedZoneId"]);
6469
+ contents.HostedZoneId = (0, smithy_client_1.expectString)(output["HostedZoneId"]);
6470
6470
  }
6471
6471
  if (output["DNSName"] !== undefined) {
6472
- contents.DNSName = smithy_client_1.expectString(output["DNSName"]);
6472
+ contents.DNSName = (0, smithy_client_1.expectString)(output["DNSName"]);
6473
6473
  }
6474
6474
  if (output["EvaluateTargetHealth"] !== undefined) {
6475
- contents.EvaluateTargetHealth = smithy_client_1.parseBoolean(output["EvaluateTargetHealth"]);
6475
+ contents.EvaluateTargetHealth = (0, smithy_client_1.parseBoolean)(output["EvaluateTargetHealth"]);
6476
6476
  }
6477
6477
  return contents;
6478
6478
  };
@@ -6484,16 +6484,16 @@ const deserializeAws_restXmlChangeInfo = (output, context) => {
6484
6484
  Comment: undefined,
6485
6485
  };
6486
6486
  if (output["Id"] !== undefined) {
6487
- contents.Id = smithy_client_1.expectString(output["Id"]);
6487
+ contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
6488
6488
  }
6489
6489
  if (output["Status"] !== undefined) {
6490
- contents.Status = smithy_client_1.expectString(output["Status"]);
6490
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6491
6491
  }
6492
6492
  if (output["SubmittedAt"] !== undefined) {
6493
- contents.SubmittedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["SubmittedAt"]));
6493
+ contents.SubmittedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["SubmittedAt"]));
6494
6494
  }
6495
6495
  if (output["Comment"] !== undefined) {
6496
- contents.Comment = smithy_client_1.expectString(output["Comment"]);
6496
+ contents.Comment = (0, smithy_client_1.expectString)(output["Comment"]);
6497
6497
  }
6498
6498
  return contents;
6499
6499
  };
@@ -6504,7 +6504,7 @@ const deserializeAws_restXmlCheckerIpRanges = (output, context) => {
6504
6504
  if (entry === null) {
6505
6505
  return null;
6506
6506
  }
6507
- return smithy_client_1.expectString(entry);
6507
+ return (0, smithy_client_1.expectString)(entry);
6508
6508
  });
6509
6509
  };
6510
6510
  const deserializeAws_restXmlChildHealthCheckList = (output, context) => {
@@ -6514,7 +6514,7 @@ const deserializeAws_restXmlChildHealthCheckList = (output, context) => {
6514
6514
  if (entry === null) {
6515
6515
  return null;
6516
6516
  }
6517
- return smithy_client_1.expectString(entry);
6517
+ return (0, smithy_client_1.expectString)(entry);
6518
6518
  });
6519
6519
  };
6520
6520
  const deserializeAws_restXmlCloudWatchAlarmConfiguration = (output, context) => {
@@ -6529,31 +6529,31 @@ const deserializeAws_restXmlCloudWatchAlarmConfiguration = (output, context) =>
6529
6529
  Dimensions: undefined,
6530
6530
  };
6531
6531
  if (output["EvaluationPeriods"] !== undefined) {
6532
- contents.EvaluationPeriods = smithy_client_1.strictParseInt32(output["EvaluationPeriods"]);
6532
+ contents.EvaluationPeriods = (0, smithy_client_1.strictParseInt32)(output["EvaluationPeriods"]);
6533
6533
  }
6534
6534
  if (output["Threshold"] !== undefined) {
6535
- contents.Threshold = smithy_client_1.strictParseFloat(output["Threshold"]);
6535
+ contents.Threshold = (0, smithy_client_1.strictParseFloat)(output["Threshold"]);
6536
6536
  }
6537
6537
  if (output["ComparisonOperator"] !== undefined) {
6538
- contents.ComparisonOperator = smithy_client_1.expectString(output["ComparisonOperator"]);
6538
+ contents.ComparisonOperator = (0, smithy_client_1.expectString)(output["ComparisonOperator"]);
6539
6539
  }
6540
6540
  if (output["Period"] !== undefined) {
6541
- contents.Period = smithy_client_1.strictParseInt32(output["Period"]);
6541
+ contents.Period = (0, smithy_client_1.strictParseInt32)(output["Period"]);
6542
6542
  }
6543
6543
  if (output["MetricName"] !== undefined) {
6544
- contents.MetricName = smithy_client_1.expectString(output["MetricName"]);
6544
+ contents.MetricName = (0, smithy_client_1.expectString)(output["MetricName"]);
6545
6545
  }
6546
6546
  if (output["Namespace"] !== undefined) {
6547
- contents.Namespace = smithy_client_1.expectString(output["Namespace"]);
6547
+ contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
6548
6548
  }
6549
6549
  if (output["Statistic"] !== undefined) {
6550
- contents.Statistic = smithy_client_1.expectString(output["Statistic"]);
6550
+ contents.Statistic = (0, smithy_client_1.expectString)(output["Statistic"]);
6551
6551
  }
6552
6552
  if (output.Dimensions === "") {
6553
6553
  contents.Dimensions = [];
6554
6554
  }
6555
6555
  if (output["Dimensions"] !== undefined && output["Dimensions"]["Dimension"] !== undefined) {
6556
- contents.Dimensions = deserializeAws_restXmlDimensionList(smithy_client_1.getArrayIfSingleItem(output["Dimensions"]["Dimension"]), context);
6556
+ contents.Dimensions = deserializeAws_restXmlDimensionList((0, smithy_client_1.getArrayIfSingleItem)(output["Dimensions"]["Dimension"]), context);
6557
6557
  }
6558
6558
  return contents;
6559
6559
  };
@@ -6564,16 +6564,16 @@ const deserializeAws_restXmlDelegationSet = (output, context) => {
6564
6564
  NameServers: undefined,
6565
6565
  };
6566
6566
  if (output["Id"] !== undefined) {
6567
- contents.Id = smithy_client_1.expectString(output["Id"]);
6567
+ contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
6568
6568
  }
6569
6569
  if (output["CallerReference"] !== undefined) {
6570
- contents.CallerReference = smithy_client_1.expectString(output["CallerReference"]);
6570
+ contents.CallerReference = (0, smithy_client_1.expectString)(output["CallerReference"]);
6571
6571
  }
6572
6572
  if (output.NameServers === "") {
6573
6573
  contents.NameServers = [];
6574
6574
  }
6575
6575
  if (output["NameServers"] !== undefined && output["NameServers"]["NameServer"] !== undefined) {
6576
- contents.NameServers = deserializeAws_restXmlDelegationSetNameServers(smithy_client_1.getArrayIfSingleItem(output["NameServers"]["NameServer"]), context);
6576
+ contents.NameServers = deserializeAws_restXmlDelegationSetNameServers((0, smithy_client_1.getArrayIfSingleItem)(output["NameServers"]["NameServer"]), context);
6577
6577
  }
6578
6578
  return contents;
6579
6579
  };
@@ -6584,7 +6584,7 @@ const deserializeAws_restXmlDelegationSetNameServers = (output, context) => {
6584
6584
  if (entry === null) {
6585
6585
  return null;
6586
6586
  }
6587
- return smithy_client_1.expectString(entry);
6587
+ return (0, smithy_client_1.expectString)(entry);
6588
6588
  });
6589
6589
  };
6590
6590
  const deserializeAws_restXmlDelegationSets = (output, context) => {
@@ -6603,10 +6603,10 @@ const deserializeAws_restXmlDimension = (output, context) => {
6603
6603
  Value: undefined,
6604
6604
  };
6605
6605
  if (output["Name"] !== undefined) {
6606
- contents.Name = smithy_client_1.expectString(output["Name"]);
6606
+ contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6607
6607
  }
6608
6608
  if (output["Value"] !== undefined) {
6609
- contents.Value = smithy_client_1.expectString(output["Value"]);
6609
+ contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
6610
6610
  }
6611
6611
  return contents;
6612
6612
  };
@@ -6626,10 +6626,10 @@ const deserializeAws_restXmlDNSSECStatus = (output, context) => {
6626
6626
  StatusMessage: undefined,
6627
6627
  };
6628
6628
  if (output["ServeSignature"] !== undefined) {
6629
- contents.ServeSignature = smithy_client_1.expectString(output["ServeSignature"]);
6629
+ contents.ServeSignature = (0, smithy_client_1.expectString)(output["ServeSignature"]);
6630
6630
  }
6631
6631
  if (output["StatusMessage"] !== undefined) {
6632
- contents.StatusMessage = smithy_client_1.expectString(output["StatusMessage"]);
6632
+ contents.StatusMessage = (0, smithy_client_1.expectString)(output["StatusMessage"]);
6633
6633
  }
6634
6634
  return contents;
6635
6635
  };
@@ -6640,7 +6640,7 @@ const deserializeAws_restXmlErrorMessages = (output, context) => {
6640
6640
  if (entry === null) {
6641
6641
  return null;
6642
6642
  }
6643
- return smithy_client_1.expectString(entry);
6643
+ return (0, smithy_client_1.expectString)(entry);
6644
6644
  });
6645
6645
  };
6646
6646
  const deserializeAws_restXmlGeoLocation = (output, context) => {
@@ -6650,13 +6650,13 @@ const deserializeAws_restXmlGeoLocation = (output, context) => {
6650
6650
  SubdivisionCode: undefined,
6651
6651
  };
6652
6652
  if (output["ContinentCode"] !== undefined) {
6653
- contents.ContinentCode = smithy_client_1.expectString(output["ContinentCode"]);
6653
+ contents.ContinentCode = (0, smithy_client_1.expectString)(output["ContinentCode"]);
6654
6654
  }
6655
6655
  if (output["CountryCode"] !== undefined) {
6656
- contents.CountryCode = smithy_client_1.expectString(output["CountryCode"]);
6656
+ contents.CountryCode = (0, smithy_client_1.expectString)(output["CountryCode"]);
6657
6657
  }
6658
6658
  if (output["SubdivisionCode"] !== undefined) {
6659
- contents.SubdivisionCode = smithy_client_1.expectString(output["SubdivisionCode"]);
6659
+ contents.SubdivisionCode = (0, smithy_client_1.expectString)(output["SubdivisionCode"]);
6660
6660
  }
6661
6661
  return contents;
6662
6662
  };
@@ -6670,22 +6670,22 @@ const deserializeAws_restXmlGeoLocationDetails = (output, context) => {
6670
6670
  SubdivisionName: undefined,
6671
6671
  };
6672
6672
  if (output["ContinentCode"] !== undefined) {
6673
- contents.ContinentCode = smithy_client_1.expectString(output["ContinentCode"]);
6673
+ contents.ContinentCode = (0, smithy_client_1.expectString)(output["ContinentCode"]);
6674
6674
  }
6675
6675
  if (output["ContinentName"] !== undefined) {
6676
- contents.ContinentName = smithy_client_1.expectString(output["ContinentName"]);
6676
+ contents.ContinentName = (0, smithy_client_1.expectString)(output["ContinentName"]);
6677
6677
  }
6678
6678
  if (output["CountryCode"] !== undefined) {
6679
- contents.CountryCode = smithy_client_1.expectString(output["CountryCode"]);
6679
+ contents.CountryCode = (0, smithy_client_1.expectString)(output["CountryCode"]);
6680
6680
  }
6681
6681
  if (output["CountryName"] !== undefined) {
6682
- contents.CountryName = smithy_client_1.expectString(output["CountryName"]);
6682
+ contents.CountryName = (0, smithy_client_1.expectString)(output["CountryName"]);
6683
6683
  }
6684
6684
  if (output["SubdivisionCode"] !== undefined) {
6685
- contents.SubdivisionCode = smithy_client_1.expectString(output["SubdivisionCode"]);
6685
+ contents.SubdivisionCode = (0, smithy_client_1.expectString)(output["SubdivisionCode"]);
6686
6686
  }
6687
6687
  if (output["SubdivisionName"] !== undefined) {
6688
- contents.SubdivisionName = smithy_client_1.expectString(output["SubdivisionName"]);
6688
+ contents.SubdivisionName = (0, smithy_client_1.expectString)(output["SubdivisionName"]);
6689
6689
  }
6690
6690
  return contents;
6691
6691
  };
@@ -6709,10 +6709,10 @@ const deserializeAws_restXmlHealthCheck = (output, context) => {
6709
6709
  CloudWatchAlarmConfiguration: undefined,
6710
6710
  };
6711
6711
  if (output["Id"] !== undefined) {
6712
- contents.Id = smithy_client_1.expectString(output["Id"]);
6712
+ contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
6713
6713
  }
6714
6714
  if (output["CallerReference"] !== undefined) {
6715
- contents.CallerReference = smithy_client_1.expectString(output["CallerReference"]);
6715
+ contents.CallerReference = (0, smithy_client_1.expectString)(output["CallerReference"]);
6716
6716
  }
6717
6717
  if (output["LinkedService"] !== undefined) {
6718
6718
  contents.LinkedService = deserializeAws_restXmlLinkedService(output["LinkedService"], context);
@@ -6721,7 +6721,7 @@ const deserializeAws_restXmlHealthCheck = (output, context) => {
6721
6721
  contents.HealthCheckConfig = deserializeAws_restXmlHealthCheckConfig(output["HealthCheckConfig"], context);
6722
6722
  }
6723
6723
  if (output["HealthCheckVersion"] !== undefined) {
6724
- contents.HealthCheckVersion = smithy_client_1.strictParseLong(output["HealthCheckVersion"]);
6724
+ contents.HealthCheckVersion = (0, smithy_client_1.strictParseLong)(output["HealthCheckVersion"]);
6725
6725
  }
6726
6726
  if (output["CloudWatchAlarmConfiguration"] !== undefined) {
6727
6727
  contents.CloudWatchAlarmConfiguration = deserializeAws_restXmlCloudWatchAlarmConfiguration(output["CloudWatchAlarmConfiguration"], context);
@@ -6750,64 +6750,64 @@ const deserializeAws_restXmlHealthCheckConfig = (output, context) => {
6750
6750
  RoutingControlArn: undefined,
6751
6751
  };
6752
6752
  if (output["IPAddress"] !== undefined) {
6753
- contents.IPAddress = smithy_client_1.expectString(output["IPAddress"]);
6753
+ contents.IPAddress = (0, smithy_client_1.expectString)(output["IPAddress"]);
6754
6754
  }
6755
6755
  if (output["Port"] !== undefined) {
6756
- contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
6756
+ contents.Port = (0, smithy_client_1.strictParseInt32)(output["Port"]);
6757
6757
  }
6758
6758
  if (output["Type"] !== undefined) {
6759
- contents.Type = smithy_client_1.expectString(output["Type"]);
6759
+ contents.Type = (0, smithy_client_1.expectString)(output["Type"]);
6760
6760
  }
6761
6761
  if (output["ResourcePath"] !== undefined) {
6762
- contents.ResourcePath = smithy_client_1.expectString(output["ResourcePath"]);
6762
+ contents.ResourcePath = (0, smithy_client_1.expectString)(output["ResourcePath"]);
6763
6763
  }
6764
6764
  if (output["FullyQualifiedDomainName"] !== undefined) {
6765
- contents.FullyQualifiedDomainName = smithy_client_1.expectString(output["FullyQualifiedDomainName"]);
6765
+ contents.FullyQualifiedDomainName = (0, smithy_client_1.expectString)(output["FullyQualifiedDomainName"]);
6766
6766
  }
6767
6767
  if (output["SearchString"] !== undefined) {
6768
- contents.SearchString = smithy_client_1.expectString(output["SearchString"]);
6768
+ contents.SearchString = (0, smithy_client_1.expectString)(output["SearchString"]);
6769
6769
  }
6770
6770
  if (output["RequestInterval"] !== undefined) {
6771
- contents.RequestInterval = smithy_client_1.strictParseInt32(output["RequestInterval"]);
6771
+ contents.RequestInterval = (0, smithy_client_1.strictParseInt32)(output["RequestInterval"]);
6772
6772
  }
6773
6773
  if (output["FailureThreshold"] !== undefined) {
6774
- contents.FailureThreshold = smithy_client_1.strictParseInt32(output["FailureThreshold"]);
6774
+ contents.FailureThreshold = (0, smithy_client_1.strictParseInt32)(output["FailureThreshold"]);
6775
6775
  }
6776
6776
  if (output["MeasureLatency"] !== undefined) {
6777
- contents.MeasureLatency = smithy_client_1.parseBoolean(output["MeasureLatency"]);
6777
+ contents.MeasureLatency = (0, smithy_client_1.parseBoolean)(output["MeasureLatency"]);
6778
6778
  }
6779
6779
  if (output["Inverted"] !== undefined) {
6780
- contents.Inverted = smithy_client_1.parseBoolean(output["Inverted"]);
6780
+ contents.Inverted = (0, smithy_client_1.parseBoolean)(output["Inverted"]);
6781
6781
  }
6782
6782
  if (output["Disabled"] !== undefined) {
6783
- contents.Disabled = smithy_client_1.parseBoolean(output["Disabled"]);
6783
+ contents.Disabled = (0, smithy_client_1.parseBoolean)(output["Disabled"]);
6784
6784
  }
6785
6785
  if (output["HealthThreshold"] !== undefined) {
6786
- contents.HealthThreshold = smithy_client_1.strictParseInt32(output["HealthThreshold"]);
6786
+ contents.HealthThreshold = (0, smithy_client_1.strictParseInt32)(output["HealthThreshold"]);
6787
6787
  }
6788
6788
  if (output.ChildHealthChecks === "") {
6789
6789
  contents.ChildHealthChecks = [];
6790
6790
  }
6791
6791
  if (output["ChildHealthChecks"] !== undefined && output["ChildHealthChecks"]["ChildHealthCheck"] !== undefined) {
6792
- contents.ChildHealthChecks = deserializeAws_restXmlChildHealthCheckList(smithy_client_1.getArrayIfSingleItem(output["ChildHealthChecks"]["ChildHealthCheck"]), context);
6792
+ contents.ChildHealthChecks = deserializeAws_restXmlChildHealthCheckList((0, smithy_client_1.getArrayIfSingleItem)(output["ChildHealthChecks"]["ChildHealthCheck"]), context);
6793
6793
  }
6794
6794
  if (output["EnableSNI"] !== undefined) {
6795
- contents.EnableSNI = smithy_client_1.parseBoolean(output["EnableSNI"]);
6795
+ contents.EnableSNI = (0, smithy_client_1.parseBoolean)(output["EnableSNI"]);
6796
6796
  }
6797
6797
  if (output.Regions === "") {
6798
6798
  contents.Regions = [];
6799
6799
  }
6800
6800
  if (output["Regions"] !== undefined && output["Regions"]["Region"] !== undefined) {
6801
- contents.Regions = deserializeAws_restXmlHealthCheckRegionList(smithy_client_1.getArrayIfSingleItem(output["Regions"]["Region"]), context);
6801
+ contents.Regions = deserializeAws_restXmlHealthCheckRegionList((0, smithy_client_1.getArrayIfSingleItem)(output["Regions"]["Region"]), context);
6802
6802
  }
6803
6803
  if (output["AlarmIdentifier"] !== undefined) {
6804
6804
  contents.AlarmIdentifier = deserializeAws_restXmlAlarmIdentifier(output["AlarmIdentifier"], context);
6805
6805
  }
6806
6806
  if (output["InsufficientDataHealthStatus"] !== undefined) {
6807
- contents.InsufficientDataHealthStatus = smithy_client_1.expectString(output["InsufficientDataHealthStatus"]);
6807
+ contents.InsufficientDataHealthStatus = (0, smithy_client_1.expectString)(output["InsufficientDataHealthStatus"]);
6808
6808
  }
6809
6809
  if (output["RoutingControlArn"] !== undefined) {
6810
- contents.RoutingControlArn = smithy_client_1.expectString(output["RoutingControlArn"]);
6810
+ contents.RoutingControlArn = (0, smithy_client_1.expectString)(output["RoutingControlArn"]);
6811
6811
  }
6812
6812
  return contents;
6813
6813
  };
@@ -6818,10 +6818,10 @@ const deserializeAws_restXmlHealthCheckObservation = (output, context) => {
6818
6818
  StatusReport: undefined,
6819
6819
  };
6820
6820
  if (output["Region"] !== undefined) {
6821
- contents.Region = smithy_client_1.expectString(output["Region"]);
6821
+ contents.Region = (0, smithy_client_1.expectString)(output["Region"]);
6822
6822
  }
6823
6823
  if (output["IPAddress"] !== undefined) {
6824
- contents.IPAddress = smithy_client_1.expectString(output["IPAddress"]);
6824
+ contents.IPAddress = (0, smithy_client_1.expectString)(output["IPAddress"]);
6825
6825
  }
6826
6826
  if (output["StatusReport"] !== undefined) {
6827
6827
  contents.StatusReport = deserializeAws_restXmlStatusReport(output["StatusReport"], context);
@@ -6845,7 +6845,7 @@ const deserializeAws_restXmlHealthCheckRegionList = (output, context) => {
6845
6845
  if (entry === null) {
6846
6846
  return null;
6847
6847
  }
6848
- return smithy_client_1.expectString(entry);
6848
+ return (0, smithy_client_1.expectString)(entry);
6849
6849
  });
6850
6850
  };
6851
6851
  const deserializeAws_restXmlHealthChecks = (output, context) => {
@@ -6868,19 +6868,19 @@ const deserializeAws_restXmlHostedZone = (output, context) => {
6868
6868
  LinkedService: undefined,
6869
6869
  };
6870
6870
  if (output["Id"] !== undefined) {
6871
- contents.Id = smithy_client_1.expectString(output["Id"]);
6871
+ contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
6872
6872
  }
6873
6873
  if (output["Name"] !== undefined) {
6874
- contents.Name = smithy_client_1.expectString(output["Name"]);
6874
+ contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6875
6875
  }
6876
6876
  if (output["CallerReference"] !== undefined) {
6877
- contents.CallerReference = smithy_client_1.expectString(output["CallerReference"]);
6877
+ contents.CallerReference = (0, smithy_client_1.expectString)(output["CallerReference"]);
6878
6878
  }
6879
6879
  if (output["Config"] !== undefined) {
6880
6880
  contents.Config = deserializeAws_restXmlHostedZoneConfig(output["Config"], context);
6881
6881
  }
6882
6882
  if (output["ResourceRecordSetCount"] !== undefined) {
6883
- contents.ResourceRecordSetCount = smithy_client_1.strictParseLong(output["ResourceRecordSetCount"]);
6883
+ contents.ResourceRecordSetCount = (0, smithy_client_1.strictParseLong)(output["ResourceRecordSetCount"]);
6884
6884
  }
6885
6885
  if (output["LinkedService"] !== undefined) {
6886
6886
  contents.LinkedService = deserializeAws_restXmlLinkedService(output["LinkedService"], context);
@@ -6893,10 +6893,10 @@ const deserializeAws_restXmlHostedZoneConfig = (output, context) => {
6893
6893
  PrivateZone: undefined,
6894
6894
  };
6895
6895
  if (output["Comment"] !== undefined) {
6896
- contents.Comment = smithy_client_1.expectString(output["Comment"]);
6896
+ contents.Comment = (0, smithy_client_1.expectString)(output["Comment"]);
6897
6897
  }
6898
6898
  if (output["PrivateZone"] !== undefined) {
6899
- contents.PrivateZone = smithy_client_1.parseBoolean(output["PrivateZone"]);
6899
+ contents.PrivateZone = (0, smithy_client_1.parseBoolean)(output["PrivateZone"]);
6900
6900
  }
6901
6901
  return contents;
6902
6902
  };
@@ -6906,10 +6906,10 @@ const deserializeAws_restXmlHostedZoneLimit = (output, context) => {
6906
6906
  Value: undefined,
6907
6907
  };
6908
6908
  if (output["Type"] !== undefined) {
6909
- contents.Type = smithy_client_1.expectString(output["Type"]);
6909
+ contents.Type = (0, smithy_client_1.expectString)(output["Type"]);
6910
6910
  }
6911
6911
  if (output["Value"] !== undefined) {
6912
- contents.Value = smithy_client_1.strictParseLong(output["Value"]);
6912
+ contents.Value = (0, smithy_client_1.strictParseLong)(output["Value"]);
6913
6913
  }
6914
6914
  return contents;
6915
6915
  };
@@ -6919,10 +6919,10 @@ const deserializeAws_restXmlHostedZoneOwner = (output, context) => {
6919
6919
  OwningService: undefined,
6920
6920
  };
6921
6921
  if (output["OwningAccount"] !== undefined) {
6922
- contents.OwningAccount = smithy_client_1.expectString(output["OwningAccount"]);
6922
+ contents.OwningAccount = (0, smithy_client_1.expectString)(output["OwningAccount"]);
6923
6923
  }
6924
6924
  if (output["OwningService"] !== undefined) {
6925
- contents.OwningService = smithy_client_1.expectString(output["OwningService"]);
6925
+ contents.OwningService = (0, smithy_client_1.expectString)(output["OwningService"]);
6926
6926
  }
6927
6927
  return contents;
6928
6928
  };
@@ -6953,10 +6953,10 @@ const deserializeAws_restXmlHostedZoneSummary = (output, context) => {
6953
6953
  Owner: undefined,
6954
6954
  };
6955
6955
  if (output["HostedZoneId"] !== undefined) {
6956
- contents.HostedZoneId = smithy_client_1.expectString(output["HostedZoneId"]);
6956
+ contents.HostedZoneId = (0, smithy_client_1.expectString)(output["HostedZoneId"]);
6957
6957
  }
6958
6958
  if (output["Name"] !== undefined) {
6959
- contents.Name = smithy_client_1.expectString(output["Name"]);
6959
+ contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6960
6960
  }
6961
6961
  if (output["Owner"] !== undefined) {
6962
6962
  contents.Owner = deserializeAws_restXmlHostedZoneOwner(output["Owner"], context);
@@ -6983,52 +6983,52 @@ const deserializeAws_restXmlKeySigningKey = (output, context) => {
6983
6983
  LastModifiedDate: undefined,
6984
6984
  };
6985
6985
  if (output["Name"] !== undefined) {
6986
- contents.Name = smithy_client_1.expectString(output["Name"]);
6986
+ contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6987
6987
  }
6988
6988
  if (output["KmsArn"] !== undefined) {
6989
- contents.KmsArn = smithy_client_1.expectString(output["KmsArn"]);
6989
+ contents.KmsArn = (0, smithy_client_1.expectString)(output["KmsArn"]);
6990
6990
  }
6991
6991
  if (output["Flag"] !== undefined) {
6992
- contents.Flag = smithy_client_1.strictParseInt32(output["Flag"]);
6992
+ contents.Flag = (0, smithy_client_1.strictParseInt32)(output["Flag"]);
6993
6993
  }
6994
6994
  if (output["SigningAlgorithmMnemonic"] !== undefined) {
6995
- contents.SigningAlgorithmMnemonic = smithy_client_1.expectString(output["SigningAlgorithmMnemonic"]);
6995
+ contents.SigningAlgorithmMnemonic = (0, smithy_client_1.expectString)(output["SigningAlgorithmMnemonic"]);
6996
6996
  }
6997
6997
  if (output["SigningAlgorithmType"] !== undefined) {
6998
- contents.SigningAlgorithmType = smithy_client_1.strictParseInt32(output["SigningAlgorithmType"]);
6998
+ contents.SigningAlgorithmType = (0, smithy_client_1.strictParseInt32)(output["SigningAlgorithmType"]);
6999
6999
  }
7000
7000
  if (output["DigestAlgorithmMnemonic"] !== undefined) {
7001
- contents.DigestAlgorithmMnemonic = smithy_client_1.expectString(output["DigestAlgorithmMnemonic"]);
7001
+ contents.DigestAlgorithmMnemonic = (0, smithy_client_1.expectString)(output["DigestAlgorithmMnemonic"]);
7002
7002
  }
7003
7003
  if (output["DigestAlgorithmType"] !== undefined) {
7004
- contents.DigestAlgorithmType = smithy_client_1.strictParseInt32(output["DigestAlgorithmType"]);
7004
+ contents.DigestAlgorithmType = (0, smithy_client_1.strictParseInt32)(output["DigestAlgorithmType"]);
7005
7005
  }
7006
7006
  if (output["KeyTag"] !== undefined) {
7007
- contents.KeyTag = smithy_client_1.strictParseInt32(output["KeyTag"]);
7007
+ contents.KeyTag = (0, smithy_client_1.strictParseInt32)(output["KeyTag"]);
7008
7008
  }
7009
7009
  if (output["DigestValue"] !== undefined) {
7010
- contents.DigestValue = smithy_client_1.expectString(output["DigestValue"]);
7010
+ contents.DigestValue = (0, smithy_client_1.expectString)(output["DigestValue"]);
7011
7011
  }
7012
7012
  if (output["PublicKey"] !== undefined) {
7013
- contents.PublicKey = smithy_client_1.expectString(output["PublicKey"]);
7013
+ contents.PublicKey = (0, smithy_client_1.expectString)(output["PublicKey"]);
7014
7014
  }
7015
7015
  if (output["DSRecord"] !== undefined) {
7016
- contents.DSRecord = smithy_client_1.expectString(output["DSRecord"]);
7016
+ contents.DSRecord = (0, smithy_client_1.expectString)(output["DSRecord"]);
7017
7017
  }
7018
7018
  if (output["DNSKEYRecord"] !== undefined) {
7019
- contents.DNSKEYRecord = smithy_client_1.expectString(output["DNSKEYRecord"]);
7019
+ contents.DNSKEYRecord = (0, smithy_client_1.expectString)(output["DNSKEYRecord"]);
7020
7020
  }
7021
7021
  if (output["Status"] !== undefined) {
7022
- contents.Status = smithy_client_1.expectString(output["Status"]);
7022
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7023
7023
  }
7024
7024
  if (output["StatusMessage"] !== undefined) {
7025
- contents.StatusMessage = smithy_client_1.expectString(output["StatusMessage"]);
7025
+ contents.StatusMessage = (0, smithy_client_1.expectString)(output["StatusMessage"]);
7026
7026
  }
7027
7027
  if (output["CreatedDate"] !== undefined) {
7028
- contents.CreatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreatedDate"]));
7028
+ contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreatedDate"]));
7029
7029
  }
7030
7030
  if (output["LastModifiedDate"] !== undefined) {
7031
- contents.LastModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastModifiedDate"]));
7031
+ contents.LastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["LastModifiedDate"]));
7032
7032
  }
7033
7033
  return contents;
7034
7034
  };
@@ -7048,10 +7048,10 @@ const deserializeAws_restXmlLinkedService = (output, context) => {
7048
7048
  Description: undefined,
7049
7049
  };
7050
7050
  if (output["ServicePrincipal"] !== undefined) {
7051
- contents.ServicePrincipal = smithy_client_1.expectString(output["ServicePrincipal"]);
7051
+ contents.ServicePrincipal = (0, smithy_client_1.expectString)(output["ServicePrincipal"]);
7052
7052
  }
7053
7053
  if (output["Description"] !== undefined) {
7054
- contents.Description = smithy_client_1.expectString(output["Description"]);
7054
+ contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
7055
7055
  }
7056
7056
  return contents;
7057
7057
  };
@@ -7062,13 +7062,13 @@ const deserializeAws_restXmlQueryLoggingConfig = (output, context) => {
7062
7062
  CloudWatchLogsLogGroupArn: undefined,
7063
7063
  };
7064
7064
  if (output["Id"] !== undefined) {
7065
- contents.Id = smithy_client_1.expectString(output["Id"]);
7065
+ contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
7066
7066
  }
7067
7067
  if (output["HostedZoneId"] !== undefined) {
7068
- contents.HostedZoneId = smithy_client_1.expectString(output["HostedZoneId"]);
7068
+ contents.HostedZoneId = (0, smithy_client_1.expectString)(output["HostedZoneId"]);
7069
7069
  }
7070
7070
  if (output["CloudWatchLogsLogGroupArn"] !== undefined) {
7071
- contents.CloudWatchLogsLogGroupArn = smithy_client_1.expectString(output["CloudWatchLogsLogGroupArn"]);
7071
+ contents.CloudWatchLogsLogGroupArn = (0, smithy_client_1.expectString)(output["CloudWatchLogsLogGroupArn"]);
7072
7072
  }
7073
7073
  return contents;
7074
7074
  };
@@ -7089,7 +7089,7 @@ const deserializeAws_restXmlRecordData = (output, context) => {
7089
7089
  if (entry === null) {
7090
7090
  return null;
7091
7091
  }
7092
- return smithy_client_1.expectString(entry);
7092
+ return (0, smithy_client_1.expectString)(entry);
7093
7093
  });
7094
7094
  };
7095
7095
  const deserializeAws_restXmlResourceRecord = (output, context) => {
@@ -7097,7 +7097,7 @@ const deserializeAws_restXmlResourceRecord = (output, context) => {
7097
7097
  Value: undefined,
7098
7098
  };
7099
7099
  if (output["Value"] !== undefined) {
7100
- contents.Value = smithy_client_1.expectString(output["Value"]);
7100
+ contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
7101
7101
  }
7102
7102
  return contents;
7103
7103
  };
@@ -7128,46 +7128,46 @@ const deserializeAws_restXmlResourceRecordSet = (output, context) => {
7128
7128
  TrafficPolicyInstanceId: undefined,
7129
7129
  };
7130
7130
  if (output["Name"] !== undefined) {
7131
- contents.Name = smithy_client_1.expectString(output["Name"]);
7131
+ contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
7132
7132
  }
7133
7133
  if (output["Type"] !== undefined) {
7134
- contents.Type = smithy_client_1.expectString(output["Type"]);
7134
+ contents.Type = (0, smithy_client_1.expectString)(output["Type"]);
7135
7135
  }
7136
7136
  if (output["SetIdentifier"] !== undefined) {
7137
- contents.SetIdentifier = smithy_client_1.expectString(output["SetIdentifier"]);
7137
+ contents.SetIdentifier = (0, smithy_client_1.expectString)(output["SetIdentifier"]);
7138
7138
  }
7139
7139
  if (output["Weight"] !== undefined) {
7140
- contents.Weight = smithy_client_1.strictParseLong(output["Weight"]);
7140
+ contents.Weight = (0, smithy_client_1.strictParseLong)(output["Weight"]);
7141
7141
  }
7142
7142
  if (output["Region"] !== undefined) {
7143
- contents.Region = smithy_client_1.expectString(output["Region"]);
7143
+ contents.Region = (0, smithy_client_1.expectString)(output["Region"]);
7144
7144
  }
7145
7145
  if (output["GeoLocation"] !== undefined) {
7146
7146
  contents.GeoLocation = deserializeAws_restXmlGeoLocation(output["GeoLocation"], context);
7147
7147
  }
7148
7148
  if (output["Failover"] !== undefined) {
7149
- contents.Failover = smithy_client_1.expectString(output["Failover"]);
7149
+ contents.Failover = (0, smithy_client_1.expectString)(output["Failover"]);
7150
7150
  }
7151
7151
  if (output["MultiValueAnswer"] !== undefined) {
7152
- contents.MultiValueAnswer = smithy_client_1.parseBoolean(output["MultiValueAnswer"]);
7152
+ contents.MultiValueAnswer = (0, smithy_client_1.parseBoolean)(output["MultiValueAnswer"]);
7153
7153
  }
7154
7154
  if (output["TTL"] !== undefined) {
7155
- contents.TTL = smithy_client_1.strictParseLong(output["TTL"]);
7155
+ contents.TTL = (0, smithy_client_1.strictParseLong)(output["TTL"]);
7156
7156
  }
7157
7157
  if (output.ResourceRecords === "") {
7158
7158
  contents.ResourceRecords = [];
7159
7159
  }
7160
7160
  if (output["ResourceRecords"] !== undefined && output["ResourceRecords"]["ResourceRecord"] !== undefined) {
7161
- contents.ResourceRecords = deserializeAws_restXmlResourceRecords(smithy_client_1.getArrayIfSingleItem(output["ResourceRecords"]["ResourceRecord"]), context);
7161
+ contents.ResourceRecords = deserializeAws_restXmlResourceRecords((0, smithy_client_1.getArrayIfSingleItem)(output["ResourceRecords"]["ResourceRecord"]), context);
7162
7162
  }
7163
7163
  if (output["AliasTarget"] !== undefined) {
7164
7164
  contents.AliasTarget = deserializeAws_restXmlAliasTarget(output["AliasTarget"], context);
7165
7165
  }
7166
7166
  if (output["HealthCheckId"] !== undefined) {
7167
- contents.HealthCheckId = smithy_client_1.expectString(output["HealthCheckId"]);
7167
+ contents.HealthCheckId = (0, smithy_client_1.expectString)(output["HealthCheckId"]);
7168
7168
  }
7169
7169
  if (output["TrafficPolicyInstanceId"] !== undefined) {
7170
- contents.TrafficPolicyInstanceId = smithy_client_1.expectString(output["TrafficPolicyInstanceId"]);
7170
+ contents.TrafficPolicyInstanceId = (0, smithy_client_1.expectString)(output["TrafficPolicyInstanceId"]);
7171
7171
  }
7172
7172
  return contents;
7173
7173
  };
@@ -7188,16 +7188,16 @@ const deserializeAws_restXmlResourceTagSet = (output, context) => {
7188
7188
  Tags: undefined,
7189
7189
  };
7190
7190
  if (output["ResourceType"] !== undefined) {
7191
- contents.ResourceType = smithy_client_1.expectString(output["ResourceType"]);
7191
+ contents.ResourceType = (0, smithy_client_1.expectString)(output["ResourceType"]);
7192
7192
  }
7193
7193
  if (output["ResourceId"] !== undefined) {
7194
- contents.ResourceId = smithy_client_1.expectString(output["ResourceId"]);
7194
+ contents.ResourceId = (0, smithy_client_1.expectString)(output["ResourceId"]);
7195
7195
  }
7196
7196
  if (output.Tags === "") {
7197
7197
  contents.Tags = [];
7198
7198
  }
7199
7199
  if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
7200
- contents.Tags = deserializeAws_restXmlTagList(smithy_client_1.getArrayIfSingleItem(output["Tags"]["Tag"]), context);
7200
+ contents.Tags = deserializeAws_restXmlTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
7201
7201
  }
7202
7202
  return contents;
7203
7203
  };
@@ -7217,10 +7217,10 @@ const deserializeAws_restXmlReusableDelegationSetLimit = (output, context) => {
7217
7217
  Value: undefined,
7218
7218
  };
7219
7219
  if (output["Type"] !== undefined) {
7220
- contents.Type = smithy_client_1.expectString(output["Type"]);
7220
+ contents.Type = (0, smithy_client_1.expectString)(output["Type"]);
7221
7221
  }
7222
7222
  if (output["Value"] !== undefined) {
7223
- contents.Value = smithy_client_1.strictParseLong(output["Value"]);
7223
+ contents.Value = (0, smithy_client_1.strictParseLong)(output["Value"]);
7224
7224
  }
7225
7225
  return contents;
7226
7226
  };
@@ -7230,10 +7230,10 @@ const deserializeAws_restXmlStatusReport = (output, context) => {
7230
7230
  CheckedTime: undefined,
7231
7231
  };
7232
7232
  if (output["Status"] !== undefined) {
7233
- contents.Status = smithy_client_1.expectString(output["Status"]);
7233
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7234
7234
  }
7235
7235
  if (output["CheckedTime"] !== undefined) {
7236
- contents.CheckedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CheckedTime"]));
7236
+ contents.CheckedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CheckedTime"]));
7237
7237
  }
7238
7238
  return contents;
7239
7239
  };
@@ -7243,10 +7243,10 @@ const deserializeAws_restXmlTag = (output, context) => {
7243
7243
  Value: undefined,
7244
7244
  };
7245
7245
  if (output["Key"] !== undefined) {
7246
- contents.Key = smithy_client_1.expectString(output["Key"]);
7246
+ contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
7247
7247
  }
7248
7248
  if (output["Value"] !== undefined) {
7249
- contents.Value = smithy_client_1.expectString(output["Value"]);
7249
+ contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
7250
7250
  }
7251
7251
  return contents;
7252
7252
  };
@@ -7280,22 +7280,22 @@ const deserializeAws_restXmlTrafficPolicy = (output, context) => {
7280
7280
  Comment: undefined,
7281
7281
  };
7282
7282
  if (output["Id"] !== undefined) {
7283
- contents.Id = smithy_client_1.expectString(output["Id"]);
7283
+ contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
7284
7284
  }
7285
7285
  if (output["Version"] !== undefined) {
7286
- contents.Version = smithy_client_1.strictParseInt32(output["Version"]);
7286
+ contents.Version = (0, smithy_client_1.strictParseInt32)(output["Version"]);
7287
7287
  }
7288
7288
  if (output["Name"] !== undefined) {
7289
- contents.Name = smithy_client_1.expectString(output["Name"]);
7289
+ contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
7290
7290
  }
7291
7291
  if (output["Type"] !== undefined) {
7292
- contents.Type = smithy_client_1.expectString(output["Type"]);
7292
+ contents.Type = (0, smithy_client_1.expectString)(output["Type"]);
7293
7293
  }
7294
7294
  if (output["Document"] !== undefined) {
7295
- contents.Document = smithy_client_1.expectString(output["Document"]);
7295
+ contents.Document = (0, smithy_client_1.expectString)(output["Document"]);
7296
7296
  }
7297
7297
  if (output["Comment"] !== undefined) {
7298
- contents.Comment = smithy_client_1.expectString(output["Comment"]);
7298
+ contents.Comment = (0, smithy_client_1.expectString)(output["Comment"]);
7299
7299
  }
7300
7300
  return contents;
7301
7301
  };
@@ -7312,31 +7312,31 @@ const deserializeAws_restXmlTrafficPolicyInstance = (output, context) => {
7312
7312
  TrafficPolicyType: undefined,
7313
7313
  };
7314
7314
  if (output["Id"] !== undefined) {
7315
- contents.Id = smithy_client_1.expectString(output["Id"]);
7315
+ contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
7316
7316
  }
7317
7317
  if (output["HostedZoneId"] !== undefined) {
7318
- contents.HostedZoneId = smithy_client_1.expectString(output["HostedZoneId"]);
7318
+ contents.HostedZoneId = (0, smithy_client_1.expectString)(output["HostedZoneId"]);
7319
7319
  }
7320
7320
  if (output["Name"] !== undefined) {
7321
- contents.Name = smithy_client_1.expectString(output["Name"]);
7321
+ contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
7322
7322
  }
7323
7323
  if (output["TTL"] !== undefined) {
7324
- contents.TTL = smithy_client_1.strictParseLong(output["TTL"]);
7324
+ contents.TTL = (0, smithy_client_1.strictParseLong)(output["TTL"]);
7325
7325
  }
7326
7326
  if (output["State"] !== undefined) {
7327
- contents.State = smithy_client_1.expectString(output["State"]);
7327
+ contents.State = (0, smithy_client_1.expectString)(output["State"]);
7328
7328
  }
7329
7329
  if (output["Message"] !== undefined) {
7330
- contents.Message = smithy_client_1.expectString(output["Message"]);
7330
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
7331
7331
  }
7332
7332
  if (output["TrafficPolicyId"] !== undefined) {
7333
- contents.TrafficPolicyId = smithy_client_1.expectString(output["TrafficPolicyId"]);
7333
+ contents.TrafficPolicyId = (0, smithy_client_1.expectString)(output["TrafficPolicyId"]);
7334
7334
  }
7335
7335
  if (output["TrafficPolicyVersion"] !== undefined) {
7336
- contents.TrafficPolicyVersion = smithy_client_1.strictParseInt32(output["TrafficPolicyVersion"]);
7336
+ contents.TrafficPolicyVersion = (0, smithy_client_1.strictParseInt32)(output["TrafficPolicyVersion"]);
7337
7337
  }
7338
7338
  if (output["TrafficPolicyType"] !== undefined) {
7339
- contents.TrafficPolicyType = smithy_client_1.expectString(output["TrafficPolicyType"]);
7339
+ contents.TrafficPolicyType = (0, smithy_client_1.expectString)(output["TrafficPolicyType"]);
7340
7340
  }
7341
7341
  return contents;
7342
7342
  };
@@ -7369,19 +7369,19 @@ const deserializeAws_restXmlTrafficPolicySummary = (output, context) => {
7369
7369
  TrafficPolicyCount: undefined,
7370
7370
  };
7371
7371
  if (output["Id"] !== undefined) {
7372
- contents.Id = smithy_client_1.expectString(output["Id"]);
7372
+ contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
7373
7373
  }
7374
7374
  if (output["Name"] !== undefined) {
7375
- contents.Name = smithy_client_1.expectString(output["Name"]);
7375
+ contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
7376
7376
  }
7377
7377
  if (output["Type"] !== undefined) {
7378
- contents.Type = smithy_client_1.expectString(output["Type"]);
7378
+ contents.Type = (0, smithy_client_1.expectString)(output["Type"]);
7379
7379
  }
7380
7380
  if (output["LatestVersion"] !== undefined) {
7381
- contents.LatestVersion = smithy_client_1.strictParseInt32(output["LatestVersion"]);
7381
+ contents.LatestVersion = (0, smithy_client_1.strictParseInt32)(output["LatestVersion"]);
7382
7382
  }
7383
7383
  if (output["TrafficPolicyCount"] !== undefined) {
7384
- contents.TrafficPolicyCount = smithy_client_1.strictParseInt32(output["TrafficPolicyCount"]);
7384
+ contents.TrafficPolicyCount = (0, smithy_client_1.strictParseInt32)(output["TrafficPolicyCount"]);
7385
7385
  }
7386
7386
  return contents;
7387
7387
  };
@@ -7391,10 +7391,10 @@ const deserializeAws_restXmlVPC = (output, context) => {
7391
7391
  VPCId: undefined,
7392
7392
  };
7393
7393
  if (output["VPCRegion"] !== undefined) {
7394
- contents.VPCRegion = smithy_client_1.expectString(output["VPCRegion"]);
7394
+ contents.VPCRegion = (0, smithy_client_1.expectString)(output["VPCRegion"]);
7395
7395
  }
7396
7396
  if (output["VPCId"] !== undefined) {
7397
- contents.VPCId = smithy_client_1.expectString(output["VPCId"]);
7397
+ contents.VPCId = (0, smithy_client_1.expectString)(output["VPCId"]);
7398
7398
  }
7399
7399
  return contents;
7400
7400
  };
@@ -7431,12 +7431,12 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
7431
7431
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
7432
7432
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
7433
7433
  if (encoded.length) {
7434
- const parsedObj = fast_xml_parser_1.parse(encoded, {
7434
+ const parsedObj = (0, fast_xml_parser_1.parse)(encoded, {
7435
7435
  attributeNamePrefix: "",
7436
7436
  ignoreAttributes: false,
7437
7437
  parseNodeValue: false,
7438
7438
  trimValues: false,
7439
- tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
7439
+ tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : (0, entities_1.decodeHTML)(val)),
7440
7440
  });
7441
7441
  const textNodeName = "#text";
7442
7442
  const key = Object.keys(parsedObj)[0];
@@ -7445,7 +7445,7 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
7445
7445
  parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
7446
7446
  delete parsedObjToReturn[textNodeName];
7447
7447
  }
7448
- return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
7448
+ return (0, smithy_client_1.getValueFromTextNode)(parsedObjToReturn);
7449
7449
  }
7450
7450
  return {};
7451
7451
  });