@aws-sdk/client-route-53 3.891.0 → 3.894.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.
package/dist-cjs/index.js CHANGED
@@ -3258,7 +3258,7 @@ var de_GetCheckerIpRangesCommand = /* @__PURE__ */ __name(async (output, context
3258
3258
  $metadata: deserializeMetadata(output)
3259
3259
  });
3260
3260
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
3261
- if (data.CheckerIpRanges === "") {
3261
+ if (String(data.CheckerIpRanges).trim() === "") {
3262
3262
  contents[_CIR] = [];
3263
3263
  } else if (data[_CIR] != null && data[_CIR][_me] != null) {
3264
3264
  contents[_CIR] = de_CheckerIpRanges((0, import_smithy_client.getArrayIfSingleItem)(data[_CIR][_me]), context);
@@ -3273,7 +3273,7 @@ var de_GetDNSSECCommand = /* @__PURE__ */ __name(async (output, context) => {
3273
3273
  $metadata: deserializeMetadata(output)
3274
3274
  });
3275
3275
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
3276
- if (data.KeySigningKeys === "") {
3276
+ if (String(data.KeySigningKeys).trim() === "") {
3277
3277
  contents[_KSKe] = [];
3278
3278
  } else if (data[_KSKe] != null && data[_KSKe][_me] != null) {
3279
3279
  contents[_KSKe] = de_KeySigningKeys((0, import_smithy_client.getArrayIfSingleItem)(data[_KSKe][_me]), context);
@@ -3330,7 +3330,7 @@ var de_GetHealthCheckLastFailureReasonCommand = /* @__PURE__ */ __name(async (ou
3330
3330
  $metadata: deserializeMetadata(output)
3331
3331
  });
3332
3332
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
3333
- if (data.HealthCheckObservations === "") {
3333
+ if (String(data.HealthCheckObservations).trim() === "") {
3334
3334
  contents[_HCO] = [];
3335
3335
  } else if (data[_HCO] != null && data[_HCO][_HCOe] != null) {
3336
3336
  contents[_HCO] = de_HealthCheckObservations((0, import_smithy_client.getArrayIfSingleItem)(data[_HCO][_HCOe]), context);
@@ -3345,7 +3345,7 @@ var de_GetHealthCheckStatusCommand = /* @__PURE__ */ __name(async (output, conte
3345
3345
  $metadata: deserializeMetadata(output)
3346
3346
  });
3347
3347
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
3348
- if (data.HealthCheckObservations === "") {
3348
+ if (String(data.HealthCheckObservations).trim() === "") {
3349
3349
  contents[_HCO] = [];
3350
3350
  } else if (data[_HCO] != null && data[_HCO][_HCOe] != null) {
3351
3351
  contents[_HCO] = de_HealthCheckObservations((0, import_smithy_client.getArrayIfSingleItem)(data[_HCO][_HCOe]), context);
@@ -3366,7 +3366,7 @@ var de_GetHostedZoneCommand = /* @__PURE__ */ __name(async (output, context) =>
3366
3366
  if (data[_HZ] != null) {
3367
3367
  contents[_HZ] = de_HostedZone(data[_HZ], context);
3368
3368
  }
3369
- if (data.VPCs === "") {
3369
+ if (String(data.VPCs).trim() === "") {
3370
3370
  contents[_VPCs] = [];
3371
3371
  } else if (data[_VPCs] != null && data[_VPCs][_VPC] != null) {
3372
3372
  contents[_VPCs] = de_VPCs((0, import_smithy_client.getArrayIfSingleItem)(data[_VPCs][_VPC]), context);
@@ -3491,7 +3491,7 @@ var de_ListCidrBlocksCommand = /* @__PURE__ */ __name(async (output, context) =>
3491
3491
  $metadata: deserializeMetadata(output)
3492
3492
  });
3493
3493
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
3494
- if (data.CidrBlocks === "") {
3494
+ if (String(data.CidrBlocks).trim() === "") {
3495
3495
  contents[_CBi] = [];
3496
3496
  } else if (data[_CBi] != null && data[_CBi][_me] != null) {
3497
3497
  contents[_CBi] = de_CidrBlockSummaries((0, import_smithy_client.getArrayIfSingleItem)(data[_CBi][_me]), context);
@@ -3509,7 +3509,7 @@ var de_ListCidrCollectionsCommand = /* @__PURE__ */ __name(async (output, contex
3509
3509
  $metadata: deserializeMetadata(output)
3510
3510
  });
3511
3511
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
3512
- if (data.CidrCollections === "") {
3512
+ if (String(data.CidrCollections).trim() === "") {
3513
3513
  contents[_CCi] = [];
3514
3514
  } else if (data[_CCi] != null && data[_CCi][_me] != null) {
3515
3515
  contents[_CCi] = de_CollectionSummaries((0, import_smithy_client.getArrayIfSingleItem)(data[_CCi][_me]), context);
@@ -3527,7 +3527,7 @@ var de_ListCidrLocationsCommand = /* @__PURE__ */ __name(async (output, context)
3527
3527
  $metadata: deserializeMetadata(output)
3528
3528
  });
3529
3529
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
3530
- if (data.CidrLocations === "") {
3530
+ if (String(data.CidrLocations).trim() === "") {
3531
3531
  contents[_CL] = [];
3532
3532
  } else if (data[_CL] != null && data[_CL][_me] != null) {
3533
3533
  contents[_CL] = de_LocationSummaries((0, import_smithy_client.getArrayIfSingleItem)(data[_CL][_me]), context);
@@ -3545,7 +3545,7 @@ var de_ListGeoLocationsCommand = /* @__PURE__ */ __name(async (output, context)
3545
3545
  $metadata: deserializeMetadata(output)
3546
3546
  });
3547
3547
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
3548
- if (data.GeoLocationDetailsList === "") {
3548
+ if (String(data.GeoLocationDetailsList).trim() === "") {
3549
3549
  contents[_GLDL] = [];
3550
3550
  } else if (data[_GLDL] != null && data[_GLDL][_GLD] != null) {
3551
3551
  contents[_GLDL] = de_GeoLocationDetailsList((0, import_smithy_client.getArrayIfSingleItem)(data[_GLDL][_GLD]), context);
@@ -3575,7 +3575,7 @@ var de_ListHealthChecksCommand = /* @__PURE__ */ __name(async (output, context)
3575
3575
  $metadata: deserializeMetadata(output)
3576
3576
  });
3577
3577
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
3578
- if (data.HealthChecks === "") {
3578
+ if (String(data.HealthChecks).trim() === "") {
3579
3579
  contents[_HCe] = [];
3580
3580
  } else if (data[_HCe] != null && data[_HCe][_HC] != null) {
3581
3581
  contents[_HCe] = de_HealthChecks((0, import_smithy_client.getArrayIfSingleItem)(data[_HCe][_HC]), context);
@@ -3602,7 +3602,7 @@ var de_ListHostedZonesCommand = /* @__PURE__ */ __name(async (output, context) =
3602
3602
  $metadata: deserializeMetadata(output)
3603
3603
  });
3604
3604
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
3605
- if (data.HostedZones === "") {
3605
+ if (String(data.HostedZones).trim() === "") {
3606
3606
  contents[_HZo] = [];
3607
3607
  } else if (data[_HZo] != null && data[_HZo][_HZ] != null) {
3608
3608
  contents[_HZo] = de_HostedZones((0, import_smithy_client.getArrayIfSingleItem)(data[_HZo][_HZ]), context);
@@ -3635,7 +3635,7 @@ var de_ListHostedZonesByNameCommand = /* @__PURE__ */ __name(async (output, cont
3635
3635
  if (data[_HZI] != null) {
3636
3636
  contents[_HZI] = (0, import_smithy_client.expectString)(data[_HZI]);
3637
3637
  }
3638
- if (data.HostedZones === "") {
3638
+ if (String(data.HostedZones).trim() === "") {
3639
3639
  contents[_HZo] = [];
3640
3640
  } else if (data[_HZo] != null && data[_HZo][_HZ] != null) {
3641
3641
  contents[_HZo] = de_HostedZones((0, import_smithy_client.getArrayIfSingleItem)(data[_HZo][_HZ]), context);
@@ -3662,7 +3662,7 @@ var de_ListHostedZonesByVPCCommand = /* @__PURE__ */ __name(async (output, conte
3662
3662
  $metadata: deserializeMetadata(output)
3663
3663
  });
3664
3664
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
3665
- if (data.HostedZoneSummaries === "") {
3665
+ if (String(data.HostedZoneSummaries).trim() === "") {
3666
3666
  contents[_HZS] = [];
3667
3667
  } else if (data[_HZS] != null && data[_HZS][_HZSo] != null) {
3668
3668
  contents[_HZS] = de_HostedZoneSummaries((0, import_smithy_client.getArrayIfSingleItem)(data[_HZS][_HZSo]), context);
@@ -3686,7 +3686,7 @@ var de_ListQueryLoggingConfigsCommand = /* @__PURE__ */ __name(async (output, co
3686
3686
  if (data[_NT] != null) {
3687
3687
  contents[_NT] = (0, import_smithy_client.expectString)(data[_NT]);
3688
3688
  }
3689
- if (data.QueryLoggingConfigs === "") {
3689
+ if (String(data.QueryLoggingConfigs).trim() === "") {
3690
3690
  contents[_QLCu] = [];
3691
3691
  } else if (data[_QLCu] != null && data[_QLCu][_QLC] != null) {
3692
3692
  contents[_QLCu] = de_QueryLoggingConfigs((0, import_smithy_client.getArrayIfSingleItem)(data[_QLCu][_QLC]), context);
@@ -3716,7 +3716,7 @@ var de_ListResourceRecordSetsCommand = /* @__PURE__ */ __name(async (output, con
3716
3716
  if (data[_NRT] != null) {
3717
3717
  contents[_NRT] = (0, import_smithy_client.expectString)(data[_NRT]);
3718
3718
  }
3719
- if (data.ResourceRecordSets === "") {
3719
+ if (String(data.ResourceRecordSets).trim() === "") {
3720
3720
  contents[_RRS] = [];
3721
3721
  } else if (data[_RRS] != null && data[_RRS][_RRSe] != null) {
3722
3722
  contents[_RRS] = de_ResourceRecordSets((0, import_smithy_client.getArrayIfSingleItem)(data[_RRS][_RRSe]), context);
@@ -3731,7 +3731,7 @@ var de_ListReusableDelegationSetsCommand = /* @__PURE__ */ __name(async (output,
3731
3731
  $metadata: deserializeMetadata(output)
3732
3732
  });
3733
3733
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
3734
- if (data.DelegationSets === "") {
3734
+ if (String(data.DelegationSets).trim() === "") {
3735
3735
  contents[_DSe] = [];
3736
3736
  } else if (data[_DSe] != null && data[_DSe][_DS] != null) {
3737
3737
  contents[_DSe] = de_DelegationSets((0, import_smithy_client.getArrayIfSingleItem)(data[_DSe][_DS]), context);
@@ -3771,7 +3771,7 @@ var de_ListTagsForResourcesCommand = /* @__PURE__ */ __name(async (output, conte
3771
3771
  $metadata: deserializeMetadata(output)
3772
3772
  });
3773
3773
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
3774
- if (data.ResourceTagSets === "") {
3774
+ if (String(data.ResourceTagSets).trim() === "") {
3775
3775
  contents[_RTSe] = [];
3776
3776
  } else if (data[_RTSe] != null && data[_RTSe][_RTS] != null) {
3777
3777
  contents[_RTSe] = de_ResourceTagSetList((0, import_smithy_client.getArrayIfSingleItem)(data[_RTSe][_RTS]), context);
@@ -3795,7 +3795,7 @@ var de_ListTrafficPoliciesCommand = /* @__PURE__ */ __name(async (output, contex
3795
3795
  if (data[_TPIM] != null) {
3796
3796
  contents[_TPIM] = (0, import_smithy_client.expectString)(data[_TPIM]);
3797
3797
  }
3798
- if (data.TrafficPolicySummaries === "") {
3798
+ if (String(data.TrafficPolicySummaries).trim() === "") {
3799
3799
  contents[_TPS] = [];
3800
3800
  } else if (data[_TPS] != null && data[_TPS][_TPSr] != null) {
3801
3801
  contents[_TPS] = de_TrafficPolicySummaries((0, import_smithy_client.getArrayIfSingleItem)(data[_TPS][_TPSr]), context);
@@ -3825,7 +3825,7 @@ var de_ListTrafficPolicyInstancesCommand = /* @__PURE__ */ __name(async (output,
3825
3825
  if (data[_TPITM] != null) {
3826
3826
  contents[_TPITM] = (0, import_smithy_client.expectString)(data[_TPITM]);
3827
3827
  }
3828
- if (data.TrafficPolicyInstances === "") {
3828
+ if (String(data.TrafficPolicyInstances).trim() === "") {
3829
3829
  contents[_TPIra] = [];
3830
3830
  } else if (data[_TPIra] != null && data[_TPIra][_TPIr] != null) {
3831
3831
  contents[_TPIra] = de_TrafficPolicyInstances((0, import_smithy_client.getArrayIfSingleItem)(data[_TPIra][_TPIr]), context);
@@ -3852,7 +3852,7 @@ var de_ListTrafficPolicyInstancesByHostedZoneCommand = /* @__PURE__ */ __name(as
3852
3852
  if (data[_TPITM] != null) {
3853
3853
  contents[_TPITM] = (0, import_smithy_client.expectString)(data[_TPITM]);
3854
3854
  }
3855
- if (data.TrafficPolicyInstances === "") {
3855
+ if (String(data.TrafficPolicyInstances).trim() === "") {
3856
3856
  contents[_TPIra] = [];
3857
3857
  } else if (data[_TPIra] != null && data[_TPIra][_TPIr] != null) {
3858
3858
  contents[_TPIra] = de_TrafficPolicyInstances((0, import_smithy_client.getArrayIfSingleItem)(data[_TPIra][_TPIr]), context);
@@ -3882,7 +3882,7 @@ var de_ListTrafficPolicyInstancesByPolicyCommand = /* @__PURE__ */ __name(async
3882
3882
  if (data[_TPITM] != null) {
3883
3883
  contents[_TPITM] = (0, import_smithy_client.expectString)(data[_TPITM]);
3884
3884
  }
3885
- if (data.TrafficPolicyInstances === "") {
3885
+ if (String(data.TrafficPolicyInstances).trim() === "") {
3886
3886
  contents[_TPIra] = [];
3887
3887
  } else if (data[_TPIra] != null && data[_TPIra][_TPIr] != null) {
3888
3888
  contents[_TPIra] = de_TrafficPolicyInstances((0, import_smithy_client.getArrayIfSingleItem)(data[_TPIra][_TPIr]), context);
@@ -3903,7 +3903,7 @@ var de_ListTrafficPolicyVersionsCommand = /* @__PURE__ */ __name(async (output,
3903
3903
  if (data[_MI] != null) {
3904
3904
  contents[_MI] = (0, import_smithy_client.strictParseInt32)(data[_MI]);
3905
3905
  }
3906
- if (data.TrafficPolicies === "") {
3906
+ if (String(data.TrafficPolicies).trim() === "") {
3907
3907
  contents[_TPr] = [];
3908
3908
  } else if (data[_TPr] != null && data[_TPr][_TP] != null) {
3909
3909
  contents[_TPr] = de_TrafficPolicies((0, import_smithy_client.getArrayIfSingleItem)(data[_TPr][_TP]), context);
@@ -3927,7 +3927,7 @@ var de_ListVPCAssociationAuthorizationsCommand = /* @__PURE__ */ __name(async (o
3927
3927
  if (data[_NT] != null) {
3928
3928
  contents[_NT] = (0, import_smithy_client.expectString)(data[_NT]);
3929
3929
  }
3930
- if (data.VPCs === "") {
3930
+ if (String(data.VPCs).trim() === "") {
3931
3931
  contents[_VPCs] = [];
3932
3932
  } else if (data[_VPCs] != null && data[_VPCs][_VPC] != null) {
3933
3933
  contents[_VPCs] = de_VPCs((0, import_smithy_client.getArrayIfSingleItem)(data[_VPCs][_VPC]), context);
@@ -3948,7 +3948,7 @@ var de_TestDNSAnswerCommand = /* @__PURE__ */ __name(async (output, context) =>
3948
3948
  if (data[_Pr] != null) {
3949
3949
  contents[_Pr] = (0, import_smithy_client.expectString)(data[_Pr]);
3950
3950
  }
3951
- if (data.RecordData === "") {
3951
+ if (String(data.RecordData).trim() === "") {
3952
3952
  contents[_RDe] = [];
3953
3953
  } else if (data[_RDe] != null && data[_RDe][_RDE] != null) {
3954
3954
  contents[_RDe] = de_RecordData((0, import_smithy_client.getArrayIfSingleItem)(data[_RDe][_RDE]), context);
@@ -4534,7 +4534,7 @@ var de_InvalidChangeBatchRes = /* @__PURE__ */ __name(async (parsedOutput, conte
4534
4534
  if (data[_mes] != null) {
4535
4535
  contents[_mes] = (0, import_smithy_client.expectString)(data[_mes]);
4536
4536
  }
4537
- if (data.messages === "") {
4537
+ if (String(data.messages).trim() === "") {
4538
4538
  contents[_mess] = [];
4539
4539
  } else if (data[_mess] != null && data[_mess][_Me] != null) {
4540
4540
  contents[_mess] = de_ErrorMessages((0, import_smithy_client.getArrayIfSingleItem)(data[_mess][_Me]), context);
@@ -5465,7 +5465,7 @@ var de_CloudWatchAlarmConfiguration = /* @__PURE__ */ __name((output, context) =
5465
5465
  if (output[_St] != null) {
5466
5466
  contents[_St] = (0, import_smithy_client.expectString)(output[_St]);
5467
5467
  }
5468
- if (output.Dimensions === "") {
5468
+ if (String(output.Dimensions).trim() === "") {
5469
5469
  contents[_Dim] = [];
5470
5470
  } else if (output[_Dim] != null && output[_Dim][_Dime] != null) {
5471
5471
  contents[_Dim] = de_DimensionList((0, import_smithy_client.getArrayIfSingleItem)(output[_Dim][_Dime]), context);
@@ -5511,7 +5511,7 @@ var de_DelegationSet = /* @__PURE__ */ __name((output, context) => {
5511
5511
  if (output[_CR] != null) {
5512
5512
  contents[_CR] = (0, import_smithy_client.expectString)(output[_CR]);
5513
5513
  }
5514
- if (output.NameServers === "") {
5514
+ if (String(output.NameServers).trim() === "") {
5515
5515
  contents[_NS] = [];
5516
5516
  } else if (output[_NS] != null && output[_NS][_NSa] != null) {
5517
5517
  contents[_NS] = de_DelegationSetNameServers((0, import_smithy_client.getArrayIfSingleItem)(output[_NS][_NSa]), context);
@@ -5674,7 +5674,7 @@ var de_HealthCheckConfig = /* @__PURE__ */ __name((output, context) => {
5674
5674
  if (output[_HT] != null) {
5675
5675
  contents[_HT] = (0, import_smithy_client.strictParseInt32)(output[_HT]);
5676
5676
  }
5677
- if (output.ChildHealthChecks === "") {
5677
+ if (String(output.ChildHealthChecks).trim() === "") {
5678
5678
  contents[_CHC] = [];
5679
5679
  } else if (output[_CHC] != null && output[_CHC][_CHCh] != null) {
5680
5680
  contents[_CHC] = de_ChildHealthCheckList((0, import_smithy_client.getArrayIfSingleItem)(output[_CHC][_CHCh]), context);
@@ -5682,7 +5682,7 @@ var de_HealthCheckConfig = /* @__PURE__ */ __name((output, context) => {
5682
5682
  if (output[_ESNI] != null) {
5683
5683
  contents[_ESNI] = (0, import_smithy_client.parseBoolean)(output[_ESNI]);
5684
5684
  }
5685
- if (output.Regions === "") {
5685
+ if (String(output.Regions).trim() === "") {
5686
5686
  contents[_R] = [];
5687
5687
  } else if (output[_R] != null && output[_R][_Re] != null) {
5688
5688
  contents[_R] = de_HealthCheckRegionList((0, import_smithy_client.getArrayIfSingleItem)(output[_R][_Re]), context);
@@ -5944,7 +5944,7 @@ var de_ResourceRecordSet = /* @__PURE__ */ __name((output, context) => {
5944
5944
  if (output[_TTL] != null) {
5945
5945
  contents[_TTL] = (0, import_smithy_client.strictParseLong)(output[_TTL]);
5946
5946
  }
5947
- if (output.ResourceRecords === "") {
5947
+ if (String(output.ResourceRecords).trim() === "") {
5948
5948
  contents[_RRe] = [];
5949
5949
  } else if (output[_RRe] != null && output[_RRe][_RR] != null) {
5950
5950
  contents[_RRe] = de_ResourceRecords((0, import_smithy_client.getArrayIfSingleItem)(output[_RRe][_RR]), context);
@@ -5979,7 +5979,7 @@ var de_ResourceTagSet = /* @__PURE__ */ __name((output, context) => {
5979
5979
  if (output[_RI] != null) {
5980
5980
  contents[_RI] = (0, import_smithy_client.expectString)(output[_RI]);
5981
5981
  }
5982
- if (output.Tags === "") {
5982
+ if (String(output.Tags).trim() === "") {
5983
5983
  contents[_Tag] = [];
5984
5984
  } else if (output[_Tag] != null && output[_Tag][_Ta] != null) {
5985
5985
  contents[_Tag] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_Tag][_Ta]), context);
@@ -1401,7 +1401,7 @@ export const de_GetCheckerIpRangesCommand = async (output, context) => {
1401
1401
  $metadata: deserializeMetadata(output),
1402
1402
  });
1403
1403
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1404
- if (data.CheckerIpRanges === "") {
1404
+ if (String(data.CheckerIpRanges).trim() === "") {
1405
1405
  contents[_CIR] = [];
1406
1406
  }
1407
1407
  else if (data[_CIR] != null && data[_CIR][_me] != null) {
@@ -1417,7 +1417,7 @@ export const de_GetDNSSECCommand = async (output, context) => {
1417
1417
  $metadata: deserializeMetadata(output),
1418
1418
  });
1419
1419
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1420
- if (data.KeySigningKeys === "") {
1420
+ if (String(data.KeySigningKeys).trim() === "") {
1421
1421
  contents[_KSKe] = [];
1422
1422
  }
1423
1423
  else if (data[_KSKe] != null && data[_KSKe][_me] != null) {
@@ -1475,7 +1475,7 @@ export const de_GetHealthCheckLastFailureReasonCommand = async (output, context)
1475
1475
  $metadata: deserializeMetadata(output),
1476
1476
  });
1477
1477
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1478
- if (data.HealthCheckObservations === "") {
1478
+ if (String(data.HealthCheckObservations).trim() === "") {
1479
1479
  contents[_HCO] = [];
1480
1480
  }
1481
1481
  else if (data[_HCO] != null && data[_HCO][_HCOe] != null) {
@@ -1491,7 +1491,7 @@ export const de_GetHealthCheckStatusCommand = async (output, context) => {
1491
1491
  $metadata: deserializeMetadata(output),
1492
1492
  });
1493
1493
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1494
- if (data.HealthCheckObservations === "") {
1494
+ if (String(data.HealthCheckObservations).trim() === "") {
1495
1495
  contents[_HCO] = [];
1496
1496
  }
1497
1497
  else if (data[_HCO] != null && data[_HCO][_HCOe] != null) {
@@ -1513,7 +1513,7 @@ export const de_GetHostedZoneCommand = async (output, context) => {
1513
1513
  if (data[_HZ] != null) {
1514
1514
  contents[_HZ] = de_HostedZone(data[_HZ], context);
1515
1515
  }
1516
- if (data.VPCs === "") {
1516
+ if (String(data.VPCs).trim() === "") {
1517
1517
  contents[_VPCs] = [];
1518
1518
  }
1519
1519
  else if (data[_VPCs] != null && data[_VPCs][_VPC] != null) {
@@ -1639,7 +1639,7 @@ export const de_ListCidrBlocksCommand = async (output, context) => {
1639
1639
  $metadata: deserializeMetadata(output),
1640
1640
  });
1641
1641
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1642
- if (data.CidrBlocks === "") {
1642
+ if (String(data.CidrBlocks).trim() === "") {
1643
1643
  contents[_CBi] = [];
1644
1644
  }
1645
1645
  else if (data[_CBi] != null && data[_CBi][_me] != null) {
@@ -1658,7 +1658,7 @@ export const de_ListCidrCollectionsCommand = async (output, context) => {
1658
1658
  $metadata: deserializeMetadata(output),
1659
1659
  });
1660
1660
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1661
- if (data.CidrCollections === "") {
1661
+ if (String(data.CidrCollections).trim() === "") {
1662
1662
  contents[_CCi] = [];
1663
1663
  }
1664
1664
  else if (data[_CCi] != null && data[_CCi][_me] != null) {
@@ -1677,7 +1677,7 @@ export const de_ListCidrLocationsCommand = async (output, context) => {
1677
1677
  $metadata: deserializeMetadata(output),
1678
1678
  });
1679
1679
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1680
- if (data.CidrLocations === "") {
1680
+ if (String(data.CidrLocations).trim() === "") {
1681
1681
  contents[_CL] = [];
1682
1682
  }
1683
1683
  else if (data[_CL] != null && data[_CL][_me] != null) {
@@ -1696,7 +1696,7 @@ export const de_ListGeoLocationsCommand = async (output, context) => {
1696
1696
  $metadata: deserializeMetadata(output),
1697
1697
  });
1698
1698
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1699
- if (data.GeoLocationDetailsList === "") {
1699
+ if (String(data.GeoLocationDetailsList).trim() === "") {
1700
1700
  contents[_GLDL] = [];
1701
1701
  }
1702
1702
  else if (data[_GLDL] != null && data[_GLDL][_GLD] != null) {
@@ -1727,7 +1727,7 @@ export const de_ListHealthChecksCommand = async (output, context) => {
1727
1727
  $metadata: deserializeMetadata(output),
1728
1728
  });
1729
1729
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1730
- if (data.HealthChecks === "") {
1730
+ if (String(data.HealthChecks).trim() === "") {
1731
1731
  contents[_HCe] = [];
1732
1732
  }
1733
1733
  else if (data[_HCe] != null && data[_HCe][_HC] != null) {
@@ -1755,7 +1755,7 @@ export const de_ListHostedZonesCommand = async (output, context) => {
1755
1755
  $metadata: deserializeMetadata(output),
1756
1756
  });
1757
1757
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1758
- if (data.HostedZones === "") {
1758
+ if (String(data.HostedZones).trim() === "") {
1759
1759
  contents[_HZo] = [];
1760
1760
  }
1761
1761
  else if (data[_HZo] != null && data[_HZo][_HZ] != null) {
@@ -1789,7 +1789,7 @@ export const de_ListHostedZonesByNameCommand = async (output, context) => {
1789
1789
  if (data[_HZI] != null) {
1790
1790
  contents[_HZI] = __expectString(data[_HZI]);
1791
1791
  }
1792
- if (data.HostedZones === "") {
1792
+ if (String(data.HostedZones).trim() === "") {
1793
1793
  contents[_HZo] = [];
1794
1794
  }
1795
1795
  else if (data[_HZo] != null && data[_HZo][_HZ] != null) {
@@ -1817,7 +1817,7 @@ export const de_ListHostedZonesByVPCCommand = async (output, context) => {
1817
1817
  $metadata: deserializeMetadata(output),
1818
1818
  });
1819
1819
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1820
- if (data.HostedZoneSummaries === "") {
1820
+ if (String(data.HostedZoneSummaries).trim() === "") {
1821
1821
  contents[_HZS] = [];
1822
1822
  }
1823
1823
  else if (data[_HZS] != null && data[_HZS][_HZSo] != null) {
@@ -1842,7 +1842,7 @@ export const de_ListQueryLoggingConfigsCommand = async (output, context) => {
1842
1842
  if (data[_NT] != null) {
1843
1843
  contents[_NT] = __expectString(data[_NT]);
1844
1844
  }
1845
- if (data.QueryLoggingConfigs === "") {
1845
+ if (String(data.QueryLoggingConfigs).trim() === "") {
1846
1846
  contents[_QLCu] = [];
1847
1847
  }
1848
1848
  else if (data[_QLCu] != null && data[_QLCu][_QLC] != null) {
@@ -1873,7 +1873,7 @@ export const de_ListResourceRecordSetsCommand = async (output, context) => {
1873
1873
  if (data[_NRT] != null) {
1874
1874
  contents[_NRT] = __expectString(data[_NRT]);
1875
1875
  }
1876
- if (data.ResourceRecordSets === "") {
1876
+ if (String(data.ResourceRecordSets).trim() === "") {
1877
1877
  contents[_RRS] = [];
1878
1878
  }
1879
1879
  else if (data[_RRS] != null && data[_RRS][_RRSe] != null) {
@@ -1889,7 +1889,7 @@ export const de_ListReusableDelegationSetsCommand = async (output, context) => {
1889
1889
  $metadata: deserializeMetadata(output),
1890
1890
  });
1891
1891
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1892
- if (data.DelegationSets === "") {
1892
+ if (String(data.DelegationSets).trim() === "") {
1893
1893
  contents[_DSe] = [];
1894
1894
  }
1895
1895
  else if (data[_DSe] != null && data[_DSe][_DS] != null) {
@@ -1930,7 +1930,7 @@ export const de_ListTagsForResourcesCommand = async (output, context) => {
1930
1930
  $metadata: deserializeMetadata(output),
1931
1931
  });
1932
1932
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1933
- if (data.ResourceTagSets === "") {
1933
+ if (String(data.ResourceTagSets).trim() === "") {
1934
1934
  contents[_RTSe] = [];
1935
1935
  }
1936
1936
  else if (data[_RTSe] != null && data[_RTSe][_RTS] != null) {
@@ -1955,7 +1955,7 @@ export const de_ListTrafficPoliciesCommand = async (output, context) => {
1955
1955
  if (data[_TPIM] != null) {
1956
1956
  contents[_TPIM] = __expectString(data[_TPIM]);
1957
1957
  }
1958
- if (data.TrafficPolicySummaries === "") {
1958
+ if (String(data.TrafficPolicySummaries).trim() === "") {
1959
1959
  contents[_TPS] = [];
1960
1960
  }
1961
1961
  else if (data[_TPS] != null && data[_TPS][_TPSr] != null) {
@@ -1986,7 +1986,7 @@ export const de_ListTrafficPolicyInstancesCommand = async (output, context) => {
1986
1986
  if (data[_TPITM] != null) {
1987
1987
  contents[_TPITM] = __expectString(data[_TPITM]);
1988
1988
  }
1989
- if (data.TrafficPolicyInstances === "") {
1989
+ if (String(data.TrafficPolicyInstances).trim() === "") {
1990
1990
  contents[_TPIra] = [];
1991
1991
  }
1992
1992
  else if (data[_TPIra] != null && data[_TPIra][_TPIr] != null) {
@@ -2014,7 +2014,7 @@ export const de_ListTrafficPolicyInstancesByHostedZoneCommand = async (output, c
2014
2014
  if (data[_TPITM] != null) {
2015
2015
  contents[_TPITM] = __expectString(data[_TPITM]);
2016
2016
  }
2017
- if (data.TrafficPolicyInstances === "") {
2017
+ if (String(data.TrafficPolicyInstances).trim() === "") {
2018
2018
  contents[_TPIra] = [];
2019
2019
  }
2020
2020
  else if (data[_TPIra] != null && data[_TPIra][_TPIr] != null) {
@@ -2045,7 +2045,7 @@ export const de_ListTrafficPolicyInstancesByPolicyCommand = async (output, conte
2045
2045
  if (data[_TPITM] != null) {
2046
2046
  contents[_TPITM] = __expectString(data[_TPITM]);
2047
2047
  }
2048
- if (data.TrafficPolicyInstances === "") {
2048
+ if (String(data.TrafficPolicyInstances).trim() === "") {
2049
2049
  contents[_TPIra] = [];
2050
2050
  }
2051
2051
  else if (data[_TPIra] != null && data[_TPIra][_TPIr] != null) {
@@ -2067,7 +2067,7 @@ export const de_ListTrafficPolicyVersionsCommand = async (output, context) => {
2067
2067
  if (data[_MI] != null) {
2068
2068
  contents[_MI] = __strictParseInt32(data[_MI]);
2069
2069
  }
2070
- if (data.TrafficPolicies === "") {
2070
+ if (String(data.TrafficPolicies).trim() === "") {
2071
2071
  contents[_TPr] = [];
2072
2072
  }
2073
2073
  else if (data[_TPr] != null && data[_TPr][_TP] != null) {
@@ -2092,7 +2092,7 @@ export const de_ListVPCAssociationAuthorizationsCommand = async (output, context
2092
2092
  if (data[_NT] != null) {
2093
2093
  contents[_NT] = __expectString(data[_NT]);
2094
2094
  }
2095
- if (data.VPCs === "") {
2095
+ if (String(data.VPCs).trim() === "") {
2096
2096
  contents[_VPCs] = [];
2097
2097
  }
2098
2098
  else if (data[_VPCs] != null && data[_VPCs][_VPC] != null) {
@@ -2114,7 +2114,7 @@ export const de_TestDNSAnswerCommand = async (output, context) => {
2114
2114
  if (data[_Pr] != null) {
2115
2115
  contents[_Pr] = __expectString(data[_Pr]);
2116
2116
  }
2117
- if (data.RecordData === "") {
2117
+ if (String(data.RecordData).trim() === "") {
2118
2118
  contents[_RDe] = [];
2119
2119
  }
2120
2120
  else if (data[_RDe] != null && data[_RDe][_RDE] != null) {
@@ -2701,7 +2701,7 @@ const de_InvalidChangeBatchRes = async (parsedOutput, context) => {
2701
2701
  if (data[_mes] != null) {
2702
2702
  contents[_mes] = __expectString(data[_mes]);
2703
2703
  }
2704
- if (data.messages === "") {
2704
+ if (String(data.messages).trim() === "") {
2705
2705
  contents[_mess] = [];
2706
2706
  }
2707
2707
  else if (data[_mess] != null && data[_mess][_Me] != null) {
@@ -3659,7 +3659,7 @@ const de_CloudWatchAlarmConfiguration = (output, context) => {
3659
3659
  if (output[_St] != null) {
3660
3660
  contents[_St] = __expectString(output[_St]);
3661
3661
  }
3662
- if (output.Dimensions === "") {
3662
+ if (String(output.Dimensions).trim() === "") {
3663
3663
  contents[_Dim] = [];
3664
3664
  }
3665
3665
  else if (output[_Dim] != null && output[_Dim][_Dime] != null) {
@@ -3708,7 +3708,7 @@ const de_DelegationSet = (output, context) => {
3708
3708
  if (output[_CR] != null) {
3709
3709
  contents[_CR] = __expectString(output[_CR]);
3710
3710
  }
3711
- if (output.NameServers === "") {
3711
+ if (String(output.NameServers).trim() === "") {
3712
3712
  contents[_NS] = [];
3713
3713
  }
3714
3714
  else if (output[_NS] != null && output[_NS][_NSa] != null) {
@@ -3882,7 +3882,7 @@ const de_HealthCheckConfig = (output, context) => {
3882
3882
  if (output[_HT] != null) {
3883
3883
  contents[_HT] = __strictParseInt32(output[_HT]);
3884
3884
  }
3885
- if (output.ChildHealthChecks === "") {
3885
+ if (String(output.ChildHealthChecks).trim() === "") {
3886
3886
  contents[_CHC] = [];
3887
3887
  }
3888
3888
  else if (output[_CHC] != null && output[_CHC][_CHCh] != null) {
@@ -3891,7 +3891,7 @@ const de_HealthCheckConfig = (output, context) => {
3891
3891
  if (output[_ESNI] != null) {
3892
3892
  contents[_ESNI] = __parseBoolean(output[_ESNI]);
3893
3893
  }
3894
- if (output.Regions === "") {
3894
+ if (String(output.Regions).trim() === "") {
3895
3895
  contents[_R] = [];
3896
3896
  }
3897
3897
  else if (output[_R] != null && output[_R][_Re] != null) {
@@ -4174,7 +4174,7 @@ const de_ResourceRecordSet = (output, context) => {
4174
4174
  if (output[_TTL] != null) {
4175
4175
  contents[_TTL] = __strictParseLong(output[_TTL]);
4176
4176
  }
4177
- if (output.ResourceRecords === "") {
4177
+ if (String(output.ResourceRecords).trim() === "") {
4178
4178
  contents[_RRe] = [];
4179
4179
  }
4180
4180
  else if (output[_RRe] != null && output[_RRe][_RR] != null) {
@@ -4212,7 +4212,7 @@ const de_ResourceTagSet = (output, context) => {
4212
4212
  if (output[_RI] != null) {
4213
4213
  contents[_RI] = __expectString(output[_RI]);
4214
4214
  }
4215
- if (output.Tags === "") {
4215
+ if (String(output.Tags).trim() === "") {
4216
4216
  contents[_Tag] = [];
4217
4217
  }
4218
4218
  else if (output[_Tag] != null && output[_Tag][_Ta] != null) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route-53",
3
3
  "description": "AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native",
4
- "version": "3.891.0",
4
+ "version": "3.894.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-route-53",
@@ -20,40 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.890.0",
24
- "@aws-sdk/credential-provider-node": "3.891.0",
25
- "@aws-sdk/middleware-host-header": "3.891.0",
26
- "@aws-sdk/middleware-logger": "3.891.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.891.0",
28
- "@aws-sdk/middleware-sdk-route53": "3.891.0",
29
- "@aws-sdk/middleware-user-agent": "3.891.0",
30
- "@aws-sdk/region-config-resolver": "3.890.0",
31
- "@aws-sdk/types": "3.887.0",
32
- "@aws-sdk/util-endpoints": "3.891.0",
33
- "@aws-sdk/util-user-agent-browser": "3.887.0",
34
- "@aws-sdk/util-user-agent-node": "3.891.0",
35
- "@aws-sdk/xml-builder": "3.887.0",
23
+ "@aws-sdk/core": "3.894.0",
24
+ "@aws-sdk/credential-provider-node": "3.894.0",
25
+ "@aws-sdk/middleware-host-header": "3.893.0",
26
+ "@aws-sdk/middleware-logger": "3.893.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.893.0",
28
+ "@aws-sdk/middleware-sdk-route53": "3.894.0",
29
+ "@aws-sdk/middleware-user-agent": "3.894.0",
30
+ "@aws-sdk/region-config-resolver": "3.893.0",
31
+ "@aws-sdk/types": "3.893.0",
32
+ "@aws-sdk/util-endpoints": "3.893.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.893.0",
34
+ "@aws-sdk/util-user-agent-node": "3.894.0",
35
+ "@aws-sdk/xml-builder": "3.894.0",
36
36
  "@smithy/config-resolver": "^4.2.2",
37
- "@smithy/core": "^3.11.0",
37
+ "@smithy/core": "^3.11.1",
38
38
  "@smithy/fetch-http-handler": "^5.2.1",
39
39
  "@smithy/hash-node": "^4.1.1",
40
40
  "@smithy/invalid-dependency": "^4.1.1",
41
41
  "@smithy/middleware-content-length": "^4.1.1",
42
- "@smithy/middleware-endpoint": "^4.2.2",
43
- "@smithy/middleware-retry": "^4.2.3",
42
+ "@smithy/middleware-endpoint": "^4.2.3",
43
+ "@smithy/middleware-retry": "^4.2.4",
44
44
  "@smithy/middleware-serde": "^4.1.1",
45
45
  "@smithy/middleware-stack": "^4.1.1",
46
46
  "@smithy/node-config-provider": "^4.2.2",
47
47
  "@smithy/node-http-handler": "^4.2.1",
48
48
  "@smithy/protocol-http": "^5.2.1",
49
- "@smithy/smithy-client": "^4.6.2",
49
+ "@smithy/smithy-client": "^4.6.3",
50
50
  "@smithy/types": "^4.5.0",
51
51
  "@smithy/url-parser": "^4.1.1",
52
52
  "@smithy/util-base64": "^4.1.0",
53
53
  "@smithy/util-body-length-browser": "^4.1.0",
54
54
  "@smithy/util-body-length-node": "^4.1.0",
55
- "@smithy/util-defaults-mode-browser": "^4.1.2",
56
- "@smithy/util-defaults-mode-node": "^4.1.2",
55
+ "@smithy/util-defaults-mode-browser": "^4.1.3",
56
+ "@smithy/util-defaults-mode-node": "^4.1.3",
57
57
  "@smithy/util-endpoints": "^3.1.2",
58
58
  "@smithy/util-middleware": "^4.1.1",
59
59
  "@smithy/util-retry": "^4.1.2",