@aws-sdk/client-redshift 3.296.0 → 3.297.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 (160) hide show
  1. package/dist-cjs/protocols/Aws_query.js +281 -1226
  2. package/dist-es/protocols/Aws_query.js +281 -1226
  3. package/dist-types/Redshift.d.ts +120 -0
  4. package/dist-types/RedshiftClient.d.ts +24 -4
  5. package/dist-types/commands/AcceptReservedNodeExchangeCommand.d.ts +16 -0
  6. package/dist-types/commands/AddPartnerCommand.d.ts +16 -0
  7. package/dist-types/commands/AssociateDataShareConsumerCommand.d.ts +16 -0
  8. package/dist-types/commands/AuthorizeClusterSecurityGroupIngressCommand.d.ts +16 -0
  9. package/dist-types/commands/AuthorizeDataShareCommand.d.ts +16 -0
  10. package/dist-types/commands/AuthorizeEndpointAccessCommand.d.ts +16 -0
  11. package/dist-types/commands/AuthorizeSnapshotAccessCommand.d.ts +16 -0
  12. package/dist-types/commands/BatchDeleteClusterSnapshotsCommand.d.ts +16 -0
  13. package/dist-types/commands/BatchModifyClusterSnapshotsCommand.d.ts +16 -0
  14. package/dist-types/commands/CancelResizeCommand.d.ts +16 -0
  15. package/dist-types/commands/CopyClusterSnapshotCommand.d.ts +16 -0
  16. package/dist-types/commands/CreateAuthenticationProfileCommand.d.ts +16 -0
  17. package/dist-types/commands/CreateClusterCommand.d.ts +16 -0
  18. package/dist-types/commands/CreateClusterParameterGroupCommand.d.ts +16 -0
  19. package/dist-types/commands/CreateClusterSecurityGroupCommand.d.ts +16 -0
  20. package/dist-types/commands/CreateClusterSnapshotCommand.d.ts +16 -0
  21. package/dist-types/commands/CreateClusterSubnetGroupCommand.d.ts +16 -0
  22. package/dist-types/commands/CreateEndpointAccessCommand.d.ts +16 -0
  23. package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +16 -0
  24. package/dist-types/commands/CreateHsmClientCertificateCommand.d.ts +16 -0
  25. package/dist-types/commands/CreateHsmConfigurationCommand.d.ts +16 -0
  26. package/dist-types/commands/CreateScheduledActionCommand.d.ts +16 -0
  27. package/dist-types/commands/CreateSnapshotCopyGrantCommand.d.ts +16 -0
  28. package/dist-types/commands/CreateSnapshotScheduleCommand.d.ts +16 -0
  29. package/dist-types/commands/CreateTagsCommand.d.ts +16 -0
  30. package/dist-types/commands/CreateUsageLimitCommand.d.ts +16 -0
  31. package/dist-types/commands/DeauthorizeDataShareCommand.d.ts +16 -0
  32. package/dist-types/commands/DeleteAuthenticationProfileCommand.d.ts +16 -0
  33. package/dist-types/commands/DeleteClusterCommand.d.ts +16 -0
  34. package/dist-types/commands/DeleteClusterParameterGroupCommand.d.ts +16 -0
  35. package/dist-types/commands/DeleteClusterSecurityGroupCommand.d.ts +16 -0
  36. package/dist-types/commands/DeleteClusterSnapshotCommand.d.ts +16 -0
  37. package/dist-types/commands/DeleteClusterSubnetGroupCommand.d.ts +16 -0
  38. package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +16 -0
  39. package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +16 -0
  40. package/dist-types/commands/DeleteHsmClientCertificateCommand.d.ts +16 -0
  41. package/dist-types/commands/DeleteHsmConfigurationCommand.d.ts +16 -0
  42. package/dist-types/commands/DeletePartnerCommand.d.ts +16 -0
  43. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +16 -0
  44. package/dist-types/commands/DeleteSnapshotCopyGrantCommand.d.ts +16 -0
  45. package/dist-types/commands/DeleteSnapshotScheduleCommand.d.ts +16 -0
  46. package/dist-types/commands/DeleteTagsCommand.d.ts +16 -0
  47. package/dist-types/commands/DeleteUsageLimitCommand.d.ts +16 -0
  48. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +16 -0
  49. package/dist-types/commands/DescribeAuthenticationProfilesCommand.d.ts +16 -0
  50. package/dist-types/commands/DescribeClusterDbRevisionsCommand.d.ts +16 -0
  51. package/dist-types/commands/DescribeClusterParameterGroupsCommand.d.ts +16 -0
  52. package/dist-types/commands/DescribeClusterParametersCommand.d.ts +16 -0
  53. package/dist-types/commands/DescribeClusterSecurityGroupsCommand.d.ts +16 -0
  54. package/dist-types/commands/DescribeClusterSnapshotsCommand.d.ts +16 -0
  55. package/dist-types/commands/DescribeClusterSubnetGroupsCommand.d.ts +16 -0
  56. package/dist-types/commands/DescribeClusterTracksCommand.d.ts +16 -0
  57. package/dist-types/commands/DescribeClusterVersionsCommand.d.ts +16 -0
  58. package/dist-types/commands/DescribeClustersCommand.d.ts +16 -0
  59. package/dist-types/commands/DescribeDataSharesCommand.d.ts +16 -0
  60. package/dist-types/commands/DescribeDataSharesForConsumerCommand.d.ts +16 -0
  61. package/dist-types/commands/DescribeDataSharesForProducerCommand.d.ts +16 -0
  62. package/dist-types/commands/DescribeDefaultClusterParametersCommand.d.ts +16 -0
  63. package/dist-types/commands/DescribeEndpointAccessCommand.d.ts +16 -0
  64. package/dist-types/commands/DescribeEndpointAuthorizationCommand.d.ts +16 -0
  65. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +16 -0
  66. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +16 -0
  67. package/dist-types/commands/DescribeEventsCommand.d.ts +16 -0
  68. package/dist-types/commands/DescribeHsmClientCertificatesCommand.d.ts +16 -0
  69. package/dist-types/commands/DescribeHsmConfigurationsCommand.d.ts +16 -0
  70. package/dist-types/commands/DescribeLoggingStatusCommand.d.ts +16 -0
  71. package/dist-types/commands/DescribeNodeConfigurationOptionsCommand.d.ts +16 -0
  72. package/dist-types/commands/DescribeOrderableClusterOptionsCommand.d.ts +16 -0
  73. package/dist-types/commands/DescribePartnersCommand.d.ts +16 -0
  74. package/dist-types/commands/DescribeReservedNodeExchangeStatusCommand.d.ts +16 -0
  75. package/dist-types/commands/DescribeReservedNodeOfferingsCommand.d.ts +16 -0
  76. package/dist-types/commands/DescribeReservedNodesCommand.d.ts +16 -0
  77. package/dist-types/commands/DescribeResizeCommand.d.ts +16 -0
  78. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +16 -0
  79. package/dist-types/commands/DescribeSnapshotCopyGrantsCommand.d.ts +16 -0
  80. package/dist-types/commands/DescribeSnapshotSchedulesCommand.d.ts +16 -0
  81. package/dist-types/commands/DescribeStorageCommand.d.ts +16 -0
  82. package/dist-types/commands/DescribeTableRestoreStatusCommand.d.ts +16 -0
  83. package/dist-types/commands/DescribeTagsCommand.d.ts +16 -0
  84. package/dist-types/commands/DescribeUsageLimitsCommand.d.ts +16 -0
  85. package/dist-types/commands/DisableLoggingCommand.d.ts +16 -0
  86. package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +16 -0
  87. package/dist-types/commands/DisassociateDataShareConsumerCommand.d.ts +16 -0
  88. package/dist-types/commands/EnableLoggingCommand.d.ts +16 -0
  89. package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +16 -0
  90. package/dist-types/commands/GetClusterCredentialsCommand.d.ts +16 -0
  91. package/dist-types/commands/GetClusterCredentialsWithIAMCommand.d.ts +16 -0
  92. package/dist-types/commands/GetReservedNodeExchangeConfigurationOptionsCommand.d.ts +16 -0
  93. package/dist-types/commands/GetReservedNodeExchangeOfferingsCommand.d.ts +16 -0
  94. package/dist-types/commands/ModifyAquaConfigurationCommand.d.ts +16 -0
  95. package/dist-types/commands/ModifyAuthenticationProfileCommand.d.ts +16 -0
  96. package/dist-types/commands/ModifyClusterCommand.d.ts +16 -0
  97. package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +16 -0
  98. package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +16 -0
  99. package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +16 -0
  100. package/dist-types/commands/ModifyClusterParameterGroupCommand.d.ts +16 -0
  101. package/dist-types/commands/ModifyClusterSnapshotCommand.d.ts +16 -0
  102. package/dist-types/commands/ModifyClusterSnapshotScheduleCommand.d.ts +16 -0
  103. package/dist-types/commands/ModifyClusterSubnetGroupCommand.d.ts +16 -0
  104. package/dist-types/commands/ModifyEndpointAccessCommand.d.ts +16 -0
  105. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +16 -0
  106. package/dist-types/commands/ModifyScheduledActionCommand.d.ts +16 -0
  107. package/dist-types/commands/ModifySnapshotCopyRetentionPeriodCommand.d.ts +16 -0
  108. package/dist-types/commands/ModifySnapshotScheduleCommand.d.ts +16 -0
  109. package/dist-types/commands/ModifyUsageLimitCommand.d.ts +16 -0
  110. package/dist-types/commands/PauseClusterCommand.d.ts +16 -0
  111. package/dist-types/commands/PurchaseReservedNodeOfferingCommand.d.ts +16 -0
  112. package/dist-types/commands/RebootClusterCommand.d.ts +16 -0
  113. package/dist-types/commands/RejectDataShareCommand.d.ts +16 -0
  114. package/dist-types/commands/ResetClusterParameterGroupCommand.d.ts +16 -0
  115. package/dist-types/commands/ResizeClusterCommand.d.ts +16 -0
  116. package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +16 -0
  117. package/dist-types/commands/RestoreTableFromClusterSnapshotCommand.d.ts +16 -0
  118. package/dist-types/commands/ResumeClusterCommand.d.ts +16 -0
  119. package/dist-types/commands/RevokeClusterSecurityGroupIngressCommand.d.ts +16 -0
  120. package/dist-types/commands/RevokeEndpointAccessCommand.d.ts +16 -0
  121. package/dist-types/commands/RevokeSnapshotAccessCommand.d.ts +16 -0
  122. package/dist-types/commands/RotateEncryptionKeyCommand.d.ts +16 -0
  123. package/dist-types/commands/UpdatePartnerStatusCommand.d.ts +16 -0
  124. package/dist-types/models/RedshiftServiceException.d.ts +2 -0
  125. package/dist-types/models/models_0.d.ts +462 -2
  126. package/dist-types/models/models_1.d.ts +248 -0
  127. package/dist-types/pagination/DescribeClusterDbRevisionsPaginator.d.ts +3 -0
  128. package/dist-types/pagination/DescribeClusterParameterGroupsPaginator.d.ts +3 -0
  129. package/dist-types/pagination/DescribeClusterParametersPaginator.d.ts +3 -0
  130. package/dist-types/pagination/DescribeClusterSecurityGroupsPaginator.d.ts +3 -0
  131. package/dist-types/pagination/DescribeClusterSnapshotsPaginator.d.ts +3 -0
  132. package/dist-types/pagination/DescribeClusterSubnetGroupsPaginator.d.ts +3 -0
  133. package/dist-types/pagination/DescribeClusterTracksPaginator.d.ts +3 -0
  134. package/dist-types/pagination/DescribeClusterVersionsPaginator.d.ts +3 -0
  135. package/dist-types/pagination/DescribeClustersPaginator.d.ts +3 -0
  136. package/dist-types/pagination/DescribeDataSharesForConsumerPaginator.d.ts +3 -0
  137. package/dist-types/pagination/DescribeDataSharesForProducerPaginator.d.ts +3 -0
  138. package/dist-types/pagination/DescribeDataSharesPaginator.d.ts +3 -0
  139. package/dist-types/pagination/DescribeDefaultClusterParametersPaginator.d.ts +3 -0
  140. package/dist-types/pagination/DescribeEndpointAccessPaginator.d.ts +3 -0
  141. package/dist-types/pagination/DescribeEndpointAuthorizationPaginator.d.ts +3 -0
  142. package/dist-types/pagination/DescribeEventSubscriptionsPaginator.d.ts +3 -0
  143. package/dist-types/pagination/DescribeEventsPaginator.d.ts +3 -0
  144. package/dist-types/pagination/DescribeHsmClientCertificatesPaginator.d.ts +3 -0
  145. package/dist-types/pagination/DescribeHsmConfigurationsPaginator.d.ts +3 -0
  146. package/dist-types/pagination/DescribeNodeConfigurationOptionsPaginator.d.ts +3 -0
  147. package/dist-types/pagination/DescribeOrderableClusterOptionsPaginator.d.ts +3 -0
  148. package/dist-types/pagination/DescribeReservedNodeExchangeStatusPaginator.d.ts +3 -0
  149. package/dist-types/pagination/DescribeReservedNodeOfferingsPaginator.d.ts +3 -0
  150. package/dist-types/pagination/DescribeReservedNodesPaginator.d.ts +3 -0
  151. package/dist-types/pagination/DescribeScheduledActionsPaginator.d.ts +3 -0
  152. package/dist-types/pagination/DescribeSnapshotCopyGrantsPaginator.d.ts +3 -0
  153. package/dist-types/pagination/DescribeSnapshotSchedulesPaginator.d.ts +3 -0
  154. package/dist-types/pagination/DescribeTableRestoreStatusPaginator.d.ts +3 -0
  155. package/dist-types/pagination/DescribeTagsPaginator.d.ts +3 -0
  156. package/dist-types/pagination/DescribeUsageLimitsPaginator.d.ts +3 -0
  157. package/dist-types/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.d.ts +3 -0
  158. package/dist-types/pagination/GetReservedNodeExchangeOfferingsPaginator.d.ts +3 -0
  159. package/dist-types/pagination/Interfaces.d.ts +3 -0
  160. package/package.json +3 -3
@@ -10536,37 +10536,28 @@ const serializeAws_queryVpcSecurityGroupIdList = (input, context) => {
10536
10536
  return entries;
10537
10537
  };
10538
10538
  const deserializeAws_queryAcceptReservedNodeExchangeOutputMessage = (output, context) => {
10539
- const contents = {
10540
- ExchangedReservedNode: undefined,
10541
- };
10539
+ const contents = {};
10542
10540
  if (output["ExchangedReservedNode"] !== undefined) {
10543
10541
  contents.ExchangedReservedNode = deserializeAws_queryReservedNode(output["ExchangedReservedNode"], context);
10544
10542
  }
10545
10543
  return contents;
10546
10544
  };
10547
10545
  const deserializeAws_queryAccessToClusterDeniedFault = (output, context) => {
10548
- const contents = {
10549
- message: undefined,
10550
- };
10546
+ const contents = {};
10551
10547
  if (output["message"] !== undefined) {
10552
10548
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10553
10549
  }
10554
10550
  return contents;
10555
10551
  };
10556
10552
  const deserializeAws_queryAccessToSnapshotDeniedFault = (output, context) => {
10557
- const contents = {
10558
- message: undefined,
10559
- };
10553
+ const contents = {};
10560
10554
  if (output["message"] !== undefined) {
10561
10555
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10562
10556
  }
10563
10557
  return contents;
10564
10558
  };
10565
10559
  const deserializeAws_queryAccountAttribute = (output, context) => {
10566
- const contents = {
10567
- AttributeName: undefined,
10568
- AttributeValues: undefined,
10569
- };
10560
+ const contents = {};
10570
10561
  if (output["AttributeName"] !== undefined) {
10571
10562
  contents.AttributeName = (0, smithy_client_1.expectString)(output["AttributeName"]);
10572
10563
  }
@@ -10580,9 +10571,7 @@ const deserializeAws_queryAccountAttribute = (output, context) => {
10580
10571
  return contents;
10581
10572
  };
10582
10573
  const deserializeAws_queryAccountAttributeList = (output, context) => {
10583
- const contents = {
10584
- AccountAttributes: undefined,
10585
- };
10574
+ const contents = {};
10586
10575
  if (output.AccountAttributes === "") {
10587
10576
  contents.AccountAttributes = [];
10588
10577
  }
@@ -10600,10 +10589,7 @@ const deserializeAws_queryAccountsWithRestoreAccessList = (output, context) => {
10600
10589
  });
10601
10590
  };
10602
10591
  const deserializeAws_queryAccountWithRestoreAccess = (output, context) => {
10603
- const contents = {
10604
- AccountId: undefined,
10605
- AccountAlias: undefined,
10606
- };
10592
+ const contents = {};
10607
10593
  if (output["AccountId"] !== undefined) {
10608
10594
  contents.AccountId = (0, smithy_client_1.expectString)(output["AccountId"]);
10609
10595
  }
@@ -10613,10 +10599,7 @@ const deserializeAws_queryAccountWithRestoreAccess = (output, context) => {
10613
10599
  return contents;
10614
10600
  };
10615
10601
  const deserializeAws_queryAquaConfiguration = (output, context) => {
10616
- const contents = {
10617
- AquaStatus: undefined,
10618
- AquaConfigurationStatus: undefined,
10619
- };
10602
+ const contents = {};
10620
10603
  if (output["AquaStatus"] !== undefined) {
10621
10604
  contents.AquaStatus = (0, smithy_client_1.expectString)(output["AquaStatus"]);
10622
10605
  }
@@ -10647,19 +10630,14 @@ const deserializeAws_queryAttributeValueList = (output, context) => {
10647
10630
  });
10648
10631
  };
10649
10632
  const deserializeAws_queryAttributeValueTarget = (output, context) => {
10650
- const contents = {
10651
- AttributeValue: undefined,
10652
- };
10633
+ const contents = {};
10653
10634
  if (output["AttributeValue"] !== undefined) {
10654
10635
  contents.AttributeValue = (0, smithy_client_1.expectString)(output["AttributeValue"]);
10655
10636
  }
10656
10637
  return contents;
10657
10638
  };
10658
10639
  const deserializeAws_queryAuthenticationProfile = (output, context) => {
10659
- const contents = {
10660
- AuthenticationProfileName: undefined,
10661
- AuthenticationProfileContent: undefined,
10662
- };
10640
+ const contents = {};
10663
10641
  if (output["AuthenticationProfileName"] !== undefined) {
10664
10642
  contents.AuthenticationProfileName = (0, smithy_client_1.expectString)(output["AuthenticationProfileName"]);
10665
10643
  }
@@ -10669,9 +10647,7 @@ const deserializeAws_queryAuthenticationProfile = (output, context) => {
10669
10647
  return contents;
10670
10648
  };
10671
10649
  const deserializeAws_queryAuthenticationProfileAlreadyExistsFault = (output, context) => {
10672
- const contents = {
10673
- message: undefined,
10674
- };
10650
+ const contents = {};
10675
10651
  if (output["message"] !== undefined) {
10676
10652
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10677
10653
  }
@@ -10685,73 +10661,56 @@ const deserializeAws_queryAuthenticationProfileList = (output, context) => {
10685
10661
  });
10686
10662
  };
10687
10663
  const deserializeAws_queryAuthenticationProfileNotFoundFault = (output, context) => {
10688
- const contents = {
10689
- message: undefined,
10690
- };
10664
+ const contents = {};
10691
10665
  if (output["message"] !== undefined) {
10692
10666
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10693
10667
  }
10694
10668
  return contents;
10695
10669
  };
10696
10670
  const deserializeAws_queryAuthenticationProfileQuotaExceededFault = (output, context) => {
10697
- const contents = {
10698
- message: undefined,
10699
- };
10671
+ const contents = {};
10700
10672
  if (output["message"] !== undefined) {
10701
10673
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10702
10674
  }
10703
10675
  return contents;
10704
10676
  };
10705
10677
  const deserializeAws_queryAuthorizationAlreadyExistsFault = (output, context) => {
10706
- const contents = {
10707
- message: undefined,
10708
- };
10678
+ const contents = {};
10709
10679
  if (output["message"] !== undefined) {
10710
10680
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10711
10681
  }
10712
10682
  return contents;
10713
10683
  };
10714
10684
  const deserializeAws_queryAuthorizationNotFoundFault = (output, context) => {
10715
- const contents = {
10716
- message: undefined,
10717
- };
10685
+ const contents = {};
10718
10686
  if (output["message"] !== undefined) {
10719
10687
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10720
10688
  }
10721
10689
  return contents;
10722
10690
  };
10723
10691
  const deserializeAws_queryAuthorizationQuotaExceededFault = (output, context) => {
10724
- const contents = {
10725
- message: undefined,
10726
- };
10692
+ const contents = {};
10727
10693
  if (output["message"] !== undefined) {
10728
10694
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10729
10695
  }
10730
10696
  return contents;
10731
10697
  };
10732
10698
  const deserializeAws_queryAuthorizeClusterSecurityGroupIngressResult = (output, context) => {
10733
- const contents = {
10734
- ClusterSecurityGroup: undefined,
10735
- };
10699
+ const contents = {};
10736
10700
  if (output["ClusterSecurityGroup"] !== undefined) {
10737
10701
  contents.ClusterSecurityGroup = deserializeAws_queryClusterSecurityGroup(output["ClusterSecurityGroup"], context);
10738
10702
  }
10739
10703
  return contents;
10740
10704
  };
10741
10705
  const deserializeAws_queryAuthorizeSnapshotAccessResult = (output, context) => {
10742
- const contents = {
10743
- Snapshot: undefined,
10744
- };
10706
+ const contents = {};
10745
10707
  if (output["Snapshot"] !== undefined) {
10746
10708
  contents.Snapshot = deserializeAws_querySnapshot(output["Snapshot"], context);
10747
10709
  }
10748
10710
  return contents;
10749
10711
  };
10750
10712
  const deserializeAws_queryAvailabilityZone = (output, context) => {
10751
- const contents = {
10752
- Name: undefined,
10753
- SupportedPlatforms: undefined,
10754
- };
10713
+ const contents = {};
10755
10714
  if (output["Name"] !== undefined) {
10756
10715
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
10757
10716
  }
@@ -10772,10 +10731,7 @@ const deserializeAws_queryAvailabilityZoneList = (output, context) => {
10772
10731
  });
10773
10732
  };
10774
10733
  const deserializeAws_queryBatchDeleteClusterSnapshotsResult = (output, context) => {
10775
- const contents = {
10776
- Resources: undefined,
10777
- Errors: undefined,
10778
- };
10734
+ const contents = {};
10779
10735
  if (output.Resources === "") {
10780
10736
  contents.Resources = [];
10781
10737
  }
@@ -10791,28 +10747,21 @@ const deserializeAws_queryBatchDeleteClusterSnapshotsResult = (output, context)
10791
10747
  return contents;
10792
10748
  };
10793
10749
  const deserializeAws_queryBatchDeleteRequestSizeExceededFault = (output, context) => {
10794
- const contents = {
10795
- message: undefined,
10796
- };
10750
+ const contents = {};
10797
10751
  if (output["message"] !== undefined) {
10798
10752
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10799
10753
  }
10800
10754
  return contents;
10801
10755
  };
10802
10756
  const deserializeAws_queryBatchModifyClusterSnapshotsLimitExceededFault = (output, context) => {
10803
- const contents = {
10804
- message: undefined,
10805
- };
10757
+ const contents = {};
10806
10758
  if (output["message"] !== undefined) {
10807
10759
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10808
10760
  }
10809
10761
  return contents;
10810
10762
  };
10811
10763
  const deserializeAws_queryBatchModifyClusterSnapshotsOutputMessage = (output, context) => {
10812
- const contents = {
10813
- Resources: undefined,
10814
- Errors: undefined,
10815
- };
10764
+ const contents = {};
10816
10765
  if (output.Resources === "") {
10817
10766
  contents.Resources = [];
10818
10767
  }
@@ -10842,69 +10791,14 @@ const deserializeAws_queryBatchSnapshotOperationErrors = (output, context) => {
10842
10791
  });
10843
10792
  };
10844
10793
  const deserializeAws_queryBucketNotFoundFault = (output, context) => {
10845
- const contents = {
10846
- message: undefined,
10847
- };
10794
+ const contents = {};
10848
10795
  if (output["message"] !== undefined) {
10849
10796
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10850
10797
  }
10851
10798
  return contents;
10852
10799
  };
10853
10800
  const deserializeAws_queryCluster = (output, context) => {
10854
- const contents = {
10855
- ClusterIdentifier: undefined,
10856
- NodeType: undefined,
10857
- ClusterStatus: undefined,
10858
- ClusterAvailabilityStatus: undefined,
10859
- ModifyStatus: undefined,
10860
- MasterUsername: undefined,
10861
- DBName: undefined,
10862
- Endpoint: undefined,
10863
- ClusterCreateTime: undefined,
10864
- AutomatedSnapshotRetentionPeriod: undefined,
10865
- ManualSnapshotRetentionPeriod: undefined,
10866
- ClusterSecurityGroups: undefined,
10867
- VpcSecurityGroups: undefined,
10868
- ClusterParameterGroups: undefined,
10869
- ClusterSubnetGroupName: undefined,
10870
- VpcId: undefined,
10871
- AvailabilityZone: undefined,
10872
- PreferredMaintenanceWindow: undefined,
10873
- PendingModifiedValues: undefined,
10874
- ClusterVersion: undefined,
10875
- AllowVersionUpgrade: undefined,
10876
- NumberOfNodes: undefined,
10877
- PubliclyAccessible: undefined,
10878
- Encrypted: undefined,
10879
- RestoreStatus: undefined,
10880
- DataTransferProgress: undefined,
10881
- HsmStatus: undefined,
10882
- ClusterSnapshotCopyStatus: undefined,
10883
- ClusterPublicKey: undefined,
10884
- ClusterNodes: undefined,
10885
- ElasticIpStatus: undefined,
10886
- ClusterRevisionNumber: undefined,
10887
- Tags: undefined,
10888
- KmsKeyId: undefined,
10889
- EnhancedVpcRouting: undefined,
10890
- IamRoles: undefined,
10891
- PendingActions: undefined,
10892
- MaintenanceTrackName: undefined,
10893
- ElasticResizeNumberOfNodeOptions: undefined,
10894
- DeferredMaintenanceWindows: undefined,
10895
- SnapshotScheduleIdentifier: undefined,
10896
- SnapshotScheduleState: undefined,
10897
- ExpectedNextSnapshotScheduleTime: undefined,
10898
- ExpectedNextSnapshotScheduleTimeStatus: undefined,
10899
- NextMaintenanceWindowStartTime: undefined,
10900
- ResizeInfo: undefined,
10901
- AvailabilityZoneRelocationStatus: undefined,
10902
- ClusterNamespaceArn: undefined,
10903
- TotalStorageCapacityInMegaBytes: undefined,
10904
- AquaConfiguration: undefined,
10905
- DefaultIamRoleArn: undefined,
10906
- ReservedNodeExchangeStatus: undefined,
10907
- };
10801
+ const contents = {};
10908
10802
  if (output["ClusterIdentifier"] !== undefined) {
10909
10803
  contents.ClusterIdentifier = (0, smithy_client_1.expectString)(output["ClusterIdentifier"]);
10910
10804
  }
@@ -11092,19 +10986,14 @@ const deserializeAws_queryCluster = (output, context) => {
11092
10986
  return contents;
11093
10987
  };
11094
10988
  const deserializeAws_queryClusterAlreadyExistsFault = (output, context) => {
11095
- const contents = {
11096
- message: undefined,
11097
- };
10989
+ const contents = {};
11098
10990
  if (output["message"] !== undefined) {
11099
10991
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11100
10992
  }
11101
10993
  return contents;
11102
10994
  };
11103
10995
  const deserializeAws_queryClusterAssociatedToSchedule = (output, context) => {
11104
- const contents = {
11105
- ClusterIdentifier: undefined,
11106
- ScheduleAssociationState: undefined,
11107
- };
10996
+ const contents = {};
11108
10997
  if (output["ClusterIdentifier"] !== undefined) {
11109
10998
  contents.ClusterIdentifier = (0, smithy_client_1.expectString)(output["ClusterIdentifier"]);
11110
10999
  }
@@ -11114,11 +11003,7 @@ const deserializeAws_queryClusterAssociatedToSchedule = (output, context) => {
11114
11003
  return contents;
11115
11004
  };
11116
11005
  const deserializeAws_queryClusterCredentials = (output, context) => {
11117
- const contents = {
11118
- DbUser: undefined,
11119
- DbPassword: undefined,
11120
- Expiration: undefined,
11121
- };
11006
+ const contents = {};
11122
11007
  if (output["DbUser"] !== undefined) {
11123
11008
  contents.DbUser = (0, smithy_client_1.expectString)(output["DbUser"]);
11124
11009
  }
@@ -11131,12 +11016,7 @@ const deserializeAws_queryClusterCredentials = (output, context) => {
11131
11016
  return contents;
11132
11017
  };
11133
11018
  const deserializeAws_queryClusterDbRevision = (output, context) => {
11134
- const contents = {
11135
- ClusterIdentifier: undefined,
11136
- CurrentDatabaseRevision: undefined,
11137
- DatabaseRevisionReleaseDate: undefined,
11138
- RevisionTargets: undefined,
11139
- };
11019
+ const contents = {};
11140
11020
  if (output["ClusterIdentifier"] !== undefined) {
11141
11021
  contents.ClusterIdentifier = (0, smithy_client_1.expectString)(output["ClusterIdentifier"]);
11142
11022
  }
@@ -11162,10 +11042,7 @@ const deserializeAws_queryClusterDbRevisionsList = (output, context) => {
11162
11042
  });
11163
11043
  };
11164
11044
  const deserializeAws_queryClusterDbRevisionsMessage = (output, context) => {
11165
- const contents = {
11166
- Marker: undefined,
11167
- ClusterDbRevisions: undefined,
11168
- };
11045
+ const contents = {};
11169
11046
  if (output["Marker"] !== undefined) {
11170
11047
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
11171
11048
  }
@@ -11179,12 +11056,7 @@ const deserializeAws_queryClusterDbRevisionsMessage = (output, context) => {
11179
11056
  return contents;
11180
11057
  };
11181
11058
  const deserializeAws_queryClusterExtendedCredentials = (output, context) => {
11182
- const contents = {
11183
- DbUser: undefined,
11184
- DbPassword: undefined,
11185
- Expiration: undefined,
11186
- NextRefreshTime: undefined,
11187
- };
11059
+ const contents = {};
11188
11060
  if (output["DbUser"] !== undefined) {
11189
11061
  contents.DbUser = (0, smithy_client_1.expectString)(output["DbUser"]);
11190
11062
  }
@@ -11200,10 +11072,7 @@ const deserializeAws_queryClusterExtendedCredentials = (output, context) => {
11200
11072
  return contents;
11201
11073
  };
11202
11074
  const deserializeAws_queryClusterIamRole = (output, context) => {
11203
- const contents = {
11204
- IamRoleArn: undefined,
11205
- ApplyStatus: undefined,
11206
- };
11075
+ const contents = {};
11207
11076
  if (output["IamRoleArn"] !== undefined) {
11208
11077
  contents.IamRoleArn = (0, smithy_client_1.expectString)(output["IamRoleArn"]);
11209
11078
  }
@@ -11227,11 +11096,7 @@ const deserializeAws_queryClusterList = (output, context) => {
11227
11096
  });
11228
11097
  };
11229
11098
  const deserializeAws_queryClusterNode = (output, context) => {
11230
- const contents = {
11231
- NodeRole: undefined,
11232
- PrivateIPAddress: undefined,
11233
- PublicIPAddress: undefined,
11234
- };
11099
+ const contents = {};
11235
11100
  if (output["NodeRole"] !== undefined) {
11236
11101
  contents.NodeRole = (0, smithy_client_1.expectString)(output["NodeRole"]);
11237
11102
  }
@@ -11251,30 +11116,21 @@ const deserializeAws_queryClusterNodesList = (output, context) => {
11251
11116
  });
11252
11117
  };
11253
11118
  const deserializeAws_queryClusterNotFoundFault = (output, context) => {
11254
- const contents = {
11255
- message: undefined,
11256
- };
11119
+ const contents = {};
11257
11120
  if (output["message"] !== undefined) {
11258
11121
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11259
11122
  }
11260
11123
  return contents;
11261
11124
  };
11262
11125
  const deserializeAws_queryClusterOnLatestRevisionFault = (output, context) => {
11263
- const contents = {
11264
- message: undefined,
11265
- };
11126
+ const contents = {};
11266
11127
  if (output["message"] !== undefined) {
11267
11128
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11268
11129
  }
11269
11130
  return contents;
11270
11131
  };
11271
11132
  const deserializeAws_queryClusterParameterGroup = (output, context) => {
11272
- const contents = {
11273
- ParameterGroupName: undefined,
11274
- ParameterGroupFamily: undefined,
11275
- Description: undefined,
11276
- Tags: undefined,
11277
- };
11133
+ const contents = {};
11278
11134
  if (output["ParameterGroupName"] !== undefined) {
11279
11135
  contents.ParameterGroupName = (0, smithy_client_1.expectString)(output["ParameterGroupName"]);
11280
11136
  }
@@ -11293,19 +11149,14 @@ const deserializeAws_queryClusterParameterGroup = (output, context) => {
11293
11149
  return contents;
11294
11150
  };
11295
11151
  const deserializeAws_queryClusterParameterGroupAlreadyExistsFault = (output, context) => {
11296
- const contents = {
11297
- message: undefined,
11298
- };
11152
+ const contents = {};
11299
11153
  if (output["message"] !== undefined) {
11300
11154
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11301
11155
  }
11302
11156
  return contents;
11303
11157
  };
11304
11158
  const deserializeAws_queryClusterParameterGroupDetails = (output, context) => {
11305
- const contents = {
11306
- Parameters: undefined,
11307
- Marker: undefined,
11308
- };
11159
+ const contents = {};
11309
11160
  if (output.Parameters === "") {
11310
11161
  contents.Parameters = [];
11311
11162
  }
@@ -11318,10 +11169,7 @@ const deserializeAws_queryClusterParameterGroupDetails = (output, context) => {
11318
11169
  return contents;
11319
11170
  };
11320
11171
  const deserializeAws_queryClusterParameterGroupNameMessage = (output, context) => {
11321
- const contents = {
11322
- ParameterGroupName: undefined,
11323
- ParameterGroupStatus: undefined,
11324
- };
11172
+ const contents = {};
11325
11173
  if (output["ParameterGroupName"] !== undefined) {
11326
11174
  contents.ParameterGroupName = (0, smithy_client_1.expectString)(output["ParameterGroupName"]);
11327
11175
  }
@@ -11331,28 +11179,21 @@ const deserializeAws_queryClusterParameterGroupNameMessage = (output, context) =
11331
11179
  return contents;
11332
11180
  };
11333
11181
  const deserializeAws_queryClusterParameterGroupNotFoundFault = (output, context) => {
11334
- const contents = {
11335
- message: undefined,
11336
- };
11182
+ const contents = {};
11337
11183
  if (output["message"] !== undefined) {
11338
11184
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11339
11185
  }
11340
11186
  return contents;
11341
11187
  };
11342
11188
  const deserializeAws_queryClusterParameterGroupQuotaExceededFault = (output, context) => {
11343
- const contents = {
11344
- message: undefined,
11345
- };
11189
+ const contents = {};
11346
11190
  if (output["message"] !== undefined) {
11347
11191
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11348
11192
  }
11349
11193
  return contents;
11350
11194
  };
11351
11195
  const deserializeAws_queryClusterParameterGroupsMessage = (output, context) => {
11352
- const contents = {
11353
- Marker: undefined,
11354
- ParameterGroups: undefined,
11355
- };
11196
+ const contents = {};
11356
11197
  if (output["Marker"] !== undefined) {
11357
11198
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
11358
11199
  }
@@ -11366,11 +11207,7 @@ const deserializeAws_queryClusterParameterGroupsMessage = (output, context) => {
11366
11207
  return contents;
11367
11208
  };
11368
11209
  const deserializeAws_queryClusterParameterGroupStatus = (output, context) => {
11369
- const contents = {
11370
- ParameterGroupName: undefined,
11371
- ParameterApplyStatus: undefined,
11372
- ClusterParameterStatusList: undefined,
11373
- };
11210
+ const contents = {};
11374
11211
  if (output["ParameterGroupName"] !== undefined) {
11375
11212
  contents.ParameterGroupName = (0, smithy_client_1.expectString)(output["ParameterGroupName"]);
11376
11213
  }
@@ -11394,11 +11231,7 @@ const deserializeAws_queryClusterParameterGroupStatusList = (output, context) =>
11394
11231
  });
11395
11232
  };
11396
11233
  const deserializeAws_queryClusterParameterStatus = (output, context) => {
11397
- const contents = {
11398
- ParameterName: undefined,
11399
- ParameterApplyStatus: undefined,
11400
- ParameterApplyErrorDescription: undefined,
11401
- };
11234
+ const contents = {};
11402
11235
  if (output["ParameterName"] !== undefined) {
11403
11236
  contents.ParameterName = (0, smithy_client_1.expectString)(output["ParameterName"]);
11404
11237
  }
@@ -11418,22 +11251,14 @@ const deserializeAws_queryClusterParameterStatusList = (output, context) => {
11418
11251
  });
11419
11252
  };
11420
11253
  const deserializeAws_queryClusterQuotaExceededFault = (output, context) => {
11421
- const contents = {
11422
- message: undefined,
11423
- };
11254
+ const contents = {};
11424
11255
  if (output["message"] !== undefined) {
11425
11256
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11426
11257
  }
11427
11258
  return contents;
11428
11259
  };
11429
11260
  const deserializeAws_queryClusterSecurityGroup = (output, context) => {
11430
- const contents = {
11431
- ClusterSecurityGroupName: undefined,
11432
- Description: undefined,
11433
- EC2SecurityGroups: undefined,
11434
- IPRanges: undefined,
11435
- Tags: undefined,
11436
- };
11261
+ const contents = {};
11437
11262
  if (output["ClusterSecurityGroupName"] !== undefined) {
11438
11263
  contents.ClusterSecurityGroupName = (0, smithy_client_1.expectString)(output["ClusterSecurityGroupName"]);
11439
11264
  }
@@ -11462,19 +11287,14 @@ const deserializeAws_queryClusterSecurityGroup = (output, context) => {
11462
11287
  return contents;
11463
11288
  };
11464
11289
  const deserializeAws_queryClusterSecurityGroupAlreadyExistsFault = (output, context) => {
11465
- const contents = {
11466
- message: undefined,
11467
- };
11290
+ const contents = {};
11468
11291
  if (output["message"] !== undefined) {
11469
11292
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11470
11293
  }
11471
11294
  return contents;
11472
11295
  };
11473
11296
  const deserializeAws_queryClusterSecurityGroupMembership = (output, context) => {
11474
- const contents = {
11475
- ClusterSecurityGroupName: undefined,
11476
- Status: undefined,
11477
- };
11297
+ const contents = {};
11478
11298
  if (output["ClusterSecurityGroupName"] !== undefined) {
11479
11299
  contents.ClusterSecurityGroupName = (0, smithy_client_1.expectString)(output["ClusterSecurityGroupName"]);
11480
11300
  }
@@ -11491,10 +11311,7 @@ const deserializeAws_queryClusterSecurityGroupMembershipList = (output, context)
11491
11311
  });
11492
11312
  };
11493
11313
  const deserializeAws_queryClusterSecurityGroupMessage = (output, context) => {
11494
- const contents = {
11495
- Marker: undefined,
11496
- ClusterSecurityGroups: undefined,
11497
- };
11314
+ const contents = {};
11498
11315
  if (output["Marker"] !== undefined) {
11499
11316
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
11500
11317
  }
@@ -11508,18 +11325,14 @@ const deserializeAws_queryClusterSecurityGroupMessage = (output, context) => {
11508
11325
  return contents;
11509
11326
  };
11510
11327
  const deserializeAws_queryClusterSecurityGroupNotFoundFault = (output, context) => {
11511
- const contents = {
11512
- message: undefined,
11513
- };
11328
+ const contents = {};
11514
11329
  if (output["message"] !== undefined) {
11515
11330
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11516
11331
  }
11517
11332
  return contents;
11518
11333
  };
11519
11334
  const deserializeAws_queryClusterSecurityGroupQuotaExceededFault = (output, context) => {
11520
- const contents = {
11521
- message: undefined,
11522
- };
11335
+ const contents = {};
11523
11336
  if (output["message"] !== undefined) {
11524
11337
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11525
11338
  }
@@ -11533,10 +11346,7 @@ const deserializeAws_queryClusterSecurityGroups = (output, context) => {
11533
11346
  });
11534
11347
  };
11535
11348
  const deserializeAws_queryClustersMessage = (output, context) => {
11536
- const contents = {
11537
- Marker: undefined,
11538
- Clusters: undefined,
11539
- };
11349
+ const contents = {};
11540
11350
  if (output["Marker"] !== undefined) {
11541
11351
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
11542
11352
  }
@@ -11549,21 +11359,14 @@ const deserializeAws_queryClustersMessage = (output, context) => {
11549
11359
  return contents;
11550
11360
  };
11551
11361
  const deserializeAws_queryClusterSnapshotAlreadyExistsFault = (output, context) => {
11552
- const contents = {
11553
- message: undefined,
11554
- };
11362
+ const contents = {};
11555
11363
  if (output["message"] !== undefined) {
11556
11364
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11557
11365
  }
11558
11366
  return contents;
11559
11367
  };
11560
11368
  const deserializeAws_queryClusterSnapshotCopyStatus = (output, context) => {
11561
- const contents = {
11562
- DestinationRegion: undefined,
11563
- RetentionPeriod: undefined,
11564
- ManualSnapshotRetentionPeriod: undefined,
11565
- SnapshotCopyGrantName: undefined,
11566
- };
11369
+ const contents = {};
11567
11370
  if (output["DestinationRegion"] !== undefined) {
11568
11371
  contents.DestinationRegion = (0, smithy_client_1.expectString)(output["DestinationRegion"]);
11569
11372
  }
@@ -11579,32 +11382,21 @@ const deserializeAws_queryClusterSnapshotCopyStatus = (output, context) => {
11579
11382
  return contents;
11580
11383
  };
11581
11384
  const deserializeAws_queryClusterSnapshotNotFoundFault = (output, context) => {
11582
- const contents = {
11583
- message: undefined,
11584
- };
11385
+ const contents = {};
11585
11386
  if (output["message"] !== undefined) {
11586
11387
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11587
11388
  }
11588
11389
  return contents;
11589
11390
  };
11590
11391
  const deserializeAws_queryClusterSnapshotQuotaExceededFault = (output, context) => {
11591
- const contents = {
11592
- message: undefined,
11593
- };
11392
+ const contents = {};
11594
11393
  if (output["message"] !== undefined) {
11595
11394
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11596
11395
  }
11597
11396
  return contents;
11598
11397
  };
11599
11398
  const deserializeAws_queryClusterSubnetGroup = (output, context) => {
11600
- const contents = {
11601
- ClusterSubnetGroupName: undefined,
11602
- Description: undefined,
11603
- VpcId: undefined,
11604
- SubnetGroupStatus: undefined,
11605
- Subnets: undefined,
11606
- Tags: undefined,
11607
- };
11399
+ const contents = {};
11608
11400
  if (output["ClusterSubnetGroupName"] !== undefined) {
11609
11401
  contents.ClusterSubnetGroupName = (0, smithy_client_1.expectString)(output["ClusterSubnetGroupName"]);
11610
11402
  }
@@ -11632,19 +11424,14 @@ const deserializeAws_queryClusterSubnetGroup = (output, context) => {
11632
11424
  return contents;
11633
11425
  };
11634
11426
  const deserializeAws_queryClusterSubnetGroupAlreadyExistsFault = (output, context) => {
11635
- const contents = {
11636
- message: undefined,
11637
- };
11427
+ const contents = {};
11638
11428
  if (output["message"] !== undefined) {
11639
11429
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11640
11430
  }
11641
11431
  return contents;
11642
11432
  };
11643
11433
  const deserializeAws_queryClusterSubnetGroupMessage = (output, context) => {
11644
- const contents = {
11645
- Marker: undefined,
11646
- ClusterSubnetGroups: undefined,
11647
- };
11434
+ const contents = {};
11648
11435
  if (output["Marker"] !== undefined) {
11649
11436
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
11650
11437
  }
@@ -11658,18 +11445,14 @@ const deserializeAws_queryClusterSubnetGroupMessage = (output, context) => {
11658
11445
  return contents;
11659
11446
  };
11660
11447
  const deserializeAws_queryClusterSubnetGroupNotFoundFault = (output, context) => {
11661
- const contents = {
11662
- message: undefined,
11663
- };
11448
+ const contents = {};
11664
11449
  if (output["message"] !== undefined) {
11665
11450
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11666
11451
  }
11667
11452
  return contents;
11668
11453
  };
11669
11454
  const deserializeAws_queryClusterSubnetGroupQuotaExceededFault = (output, context) => {
11670
- const contents = {
11671
- message: undefined,
11672
- };
11455
+ const contents = {};
11673
11456
  if (output["message"] !== undefined) {
11674
11457
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11675
11458
  }
@@ -11683,20 +11466,14 @@ const deserializeAws_queryClusterSubnetGroups = (output, context) => {
11683
11466
  });
11684
11467
  };
11685
11468
  const deserializeAws_queryClusterSubnetQuotaExceededFault = (output, context) => {
11686
- const contents = {
11687
- message: undefined,
11688
- };
11469
+ const contents = {};
11689
11470
  if (output["message"] !== undefined) {
11690
11471
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11691
11472
  }
11692
11473
  return contents;
11693
11474
  };
11694
11475
  const deserializeAws_queryClusterVersion = (output, context) => {
11695
- const contents = {
11696
- ClusterVersion: undefined,
11697
- ClusterParameterGroupFamily: undefined,
11698
- Description: undefined,
11699
- };
11476
+ const contents = {};
11700
11477
  if (output["ClusterVersion"] !== undefined) {
11701
11478
  contents.ClusterVersion = (0, smithy_client_1.expectString)(output["ClusterVersion"]);
11702
11479
  }
@@ -11716,10 +11493,7 @@ const deserializeAws_queryClusterVersionList = (output, context) => {
11716
11493
  });
11717
11494
  };
11718
11495
  const deserializeAws_queryClusterVersionsMessage = (output, context) => {
11719
- const contents = {
11720
- Marker: undefined,
11721
- ClusterVersions: undefined,
11722
- };
11496
+ const contents = {};
11723
11497
  if (output["Marker"] !== undefined) {
11724
11498
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
11725
11499
  }
@@ -11732,28 +11506,21 @@ const deserializeAws_queryClusterVersionsMessage = (output, context) => {
11732
11506
  return contents;
11733
11507
  };
11734
11508
  const deserializeAws_queryCopyClusterSnapshotResult = (output, context) => {
11735
- const contents = {
11736
- Snapshot: undefined,
11737
- };
11509
+ const contents = {};
11738
11510
  if (output["Snapshot"] !== undefined) {
11739
11511
  contents.Snapshot = deserializeAws_querySnapshot(output["Snapshot"], context);
11740
11512
  }
11741
11513
  return contents;
11742
11514
  };
11743
11515
  const deserializeAws_queryCopyToRegionDisabledFault = (output, context) => {
11744
- const contents = {
11745
- message: undefined,
11746
- };
11516
+ const contents = {};
11747
11517
  if (output["message"] !== undefined) {
11748
11518
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11749
11519
  }
11750
11520
  return contents;
11751
11521
  };
11752
11522
  const deserializeAws_queryCreateAuthenticationProfileResult = (output, context) => {
11753
- const contents = {
11754
- AuthenticationProfileName: undefined,
11755
- AuthenticationProfileContent: undefined,
11756
- };
11523
+ const contents = {};
11757
11524
  if (output["AuthenticationProfileName"] !== undefined) {
11758
11525
  contents.AuthenticationProfileName = (0, smithy_client_1.expectString)(output["AuthenticationProfileName"]);
11759
11526
  }
@@ -11763,91 +11530,70 @@ const deserializeAws_queryCreateAuthenticationProfileResult = (output, context)
11763
11530
  return contents;
11764
11531
  };
11765
11532
  const deserializeAws_queryCreateClusterParameterGroupResult = (output, context) => {
11766
- const contents = {
11767
- ClusterParameterGroup: undefined,
11768
- };
11533
+ const contents = {};
11769
11534
  if (output["ClusterParameterGroup"] !== undefined) {
11770
11535
  contents.ClusterParameterGroup = deserializeAws_queryClusterParameterGroup(output["ClusterParameterGroup"], context);
11771
11536
  }
11772
11537
  return contents;
11773
11538
  };
11774
11539
  const deserializeAws_queryCreateClusterResult = (output, context) => {
11775
- const contents = {
11776
- Cluster: undefined,
11777
- };
11540
+ const contents = {};
11778
11541
  if (output["Cluster"] !== undefined) {
11779
11542
  contents.Cluster = deserializeAws_queryCluster(output["Cluster"], context);
11780
11543
  }
11781
11544
  return contents;
11782
11545
  };
11783
11546
  const deserializeAws_queryCreateClusterSecurityGroupResult = (output, context) => {
11784
- const contents = {
11785
- ClusterSecurityGroup: undefined,
11786
- };
11547
+ const contents = {};
11787
11548
  if (output["ClusterSecurityGroup"] !== undefined) {
11788
11549
  contents.ClusterSecurityGroup = deserializeAws_queryClusterSecurityGroup(output["ClusterSecurityGroup"], context);
11789
11550
  }
11790
11551
  return contents;
11791
11552
  };
11792
11553
  const deserializeAws_queryCreateClusterSnapshotResult = (output, context) => {
11793
- const contents = {
11794
- Snapshot: undefined,
11795
- };
11554
+ const contents = {};
11796
11555
  if (output["Snapshot"] !== undefined) {
11797
11556
  contents.Snapshot = deserializeAws_querySnapshot(output["Snapshot"], context);
11798
11557
  }
11799
11558
  return contents;
11800
11559
  };
11801
11560
  const deserializeAws_queryCreateClusterSubnetGroupResult = (output, context) => {
11802
- const contents = {
11803
- ClusterSubnetGroup: undefined,
11804
- };
11561
+ const contents = {};
11805
11562
  if (output["ClusterSubnetGroup"] !== undefined) {
11806
11563
  contents.ClusterSubnetGroup = deserializeAws_queryClusterSubnetGroup(output["ClusterSubnetGroup"], context);
11807
11564
  }
11808
11565
  return contents;
11809
11566
  };
11810
11567
  const deserializeAws_queryCreateEventSubscriptionResult = (output, context) => {
11811
- const contents = {
11812
- EventSubscription: undefined,
11813
- };
11568
+ const contents = {};
11814
11569
  if (output["EventSubscription"] !== undefined) {
11815
11570
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
11816
11571
  }
11817
11572
  return contents;
11818
11573
  };
11819
11574
  const deserializeAws_queryCreateHsmClientCertificateResult = (output, context) => {
11820
- const contents = {
11821
- HsmClientCertificate: undefined,
11822
- };
11575
+ const contents = {};
11823
11576
  if (output["HsmClientCertificate"] !== undefined) {
11824
11577
  contents.HsmClientCertificate = deserializeAws_queryHsmClientCertificate(output["HsmClientCertificate"], context);
11825
11578
  }
11826
11579
  return contents;
11827
11580
  };
11828
11581
  const deserializeAws_queryCreateHsmConfigurationResult = (output, context) => {
11829
- const contents = {
11830
- HsmConfiguration: undefined,
11831
- };
11582
+ const contents = {};
11832
11583
  if (output["HsmConfiguration"] !== undefined) {
11833
11584
  contents.HsmConfiguration = deserializeAws_queryHsmConfiguration(output["HsmConfiguration"], context);
11834
11585
  }
11835
11586
  return contents;
11836
11587
  };
11837
11588
  const deserializeAws_queryCreateSnapshotCopyGrantResult = (output, context) => {
11838
- const contents = {
11839
- SnapshotCopyGrant: undefined,
11840
- };
11589
+ const contents = {};
11841
11590
  if (output["SnapshotCopyGrant"] !== undefined) {
11842
11591
  contents.SnapshotCopyGrant = deserializeAws_querySnapshotCopyGrant(output["SnapshotCopyGrant"], context);
11843
11592
  }
11844
11593
  return contents;
11845
11594
  };
11846
11595
  const deserializeAws_queryCustomerStorageMessage = (output, context) => {
11847
- const contents = {
11848
- TotalBackupSizeInMegaBytes: undefined,
11849
- TotalProvisionedStorageInMegaBytes: undefined,
11850
- };
11596
+ const contents = {};
11851
11597
  if (output["TotalBackupSizeInMegaBytes"] !== undefined) {
11852
11598
  contents.TotalBackupSizeInMegaBytes = (0, smithy_client_1.strictParseFloat)(output["TotalBackupSizeInMegaBytes"]);
11853
11599
  }
@@ -11857,13 +11603,7 @@ const deserializeAws_queryCustomerStorageMessage = (output, context) => {
11857
11603
  return contents;
11858
11604
  };
11859
11605
  const deserializeAws_queryDataShare = (output, context) => {
11860
- const contents = {
11861
- DataShareArn: undefined,
11862
- ProducerArn: undefined,
11863
- AllowPubliclyAccessibleConsumers: undefined,
11864
- DataShareAssociations: undefined,
11865
- ManagedBy: undefined,
11866
- };
11606
+ const contents = {};
11867
11607
  if (output["DataShareArn"] !== undefined) {
11868
11608
  contents.DataShareArn = (0, smithy_client_1.expectString)(output["DataShareArn"]);
11869
11609
  }
@@ -11885,13 +11625,7 @@ const deserializeAws_queryDataShare = (output, context) => {
11885
11625
  return contents;
11886
11626
  };
11887
11627
  const deserializeAws_queryDataShareAssociation = (output, context) => {
11888
- const contents = {
11889
- ConsumerIdentifier: undefined,
11890
- Status: undefined,
11891
- ConsumerRegion: undefined,
11892
- CreatedDate: undefined,
11893
- StatusChangeDate: undefined,
11894
- };
11628
+ const contents = {};
11895
11629
  if (output["ConsumerIdentifier"] !== undefined) {
11896
11630
  contents.ConsumerIdentifier = (0, smithy_client_1.expectString)(output["ConsumerIdentifier"]);
11897
11631
  }
@@ -11924,14 +11658,7 @@ const deserializeAws_queryDataShareList = (output, context) => {
11924
11658
  });
11925
11659
  };
11926
11660
  const deserializeAws_queryDataTransferProgress = (output, context) => {
11927
- const contents = {
11928
- Status: undefined,
11929
- CurrentRateInMegaBytesPerSecond: undefined,
11930
- TotalDataInMegaBytes: undefined,
11931
- DataTransferredInMegaBytes: undefined,
11932
- EstimatedTimeToCompletionInSeconds: undefined,
11933
- ElapsedTimeInSeconds: undefined,
11934
- };
11661
+ const contents = {};
11935
11662
  if (output["Status"] !== undefined) {
11936
11663
  contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
11937
11664
  }
@@ -11953,11 +11680,7 @@ const deserializeAws_queryDataTransferProgress = (output, context) => {
11953
11680
  return contents;
11954
11681
  };
11955
11682
  const deserializeAws_queryDefaultClusterParameters = (output, context) => {
11956
- const contents = {
11957
- ParameterGroupFamily: undefined,
11958
- Marker: undefined,
11959
- Parameters: undefined,
11960
- };
11683
+ const contents = {};
11961
11684
  if (output["ParameterGroupFamily"] !== undefined) {
11962
11685
  contents.ParameterGroupFamily = (0, smithy_client_1.expectString)(output["ParameterGroupFamily"]);
11963
11686
  }
@@ -11973,11 +11696,7 @@ const deserializeAws_queryDefaultClusterParameters = (output, context) => {
11973
11696
  return contents;
11974
11697
  };
11975
11698
  const deserializeAws_queryDeferredMaintenanceWindow = (output, context) => {
11976
- const contents = {
11977
- DeferMaintenanceIdentifier: undefined,
11978
- DeferMaintenanceStartTime: undefined,
11979
- DeferMaintenanceEndTime: undefined,
11980
- };
11699
+ const contents = {};
11981
11700
  if (output["DeferMaintenanceIdentifier"] !== undefined) {
11982
11701
  contents.DeferMaintenanceIdentifier = (0, smithy_client_1.expectString)(output["DeferMaintenanceIdentifier"]);
11983
11702
  }
@@ -11997,54 +11716,42 @@ const deserializeAws_queryDeferredMaintenanceWindowsList = (output, context) =>
11997
11716
  });
11998
11717
  };
11999
11718
  const deserializeAws_queryDeleteAuthenticationProfileResult = (output, context) => {
12000
- const contents = {
12001
- AuthenticationProfileName: undefined,
12002
- };
11719
+ const contents = {};
12003
11720
  if (output["AuthenticationProfileName"] !== undefined) {
12004
11721
  contents.AuthenticationProfileName = (0, smithy_client_1.expectString)(output["AuthenticationProfileName"]);
12005
11722
  }
12006
11723
  return contents;
12007
11724
  };
12008
11725
  const deserializeAws_queryDeleteClusterResult = (output, context) => {
12009
- const contents = {
12010
- Cluster: undefined,
12011
- };
11726
+ const contents = {};
12012
11727
  if (output["Cluster"] !== undefined) {
12013
11728
  contents.Cluster = deserializeAws_queryCluster(output["Cluster"], context);
12014
11729
  }
12015
11730
  return contents;
12016
11731
  };
12017
11732
  const deserializeAws_queryDeleteClusterSnapshotResult = (output, context) => {
12018
- const contents = {
12019
- Snapshot: undefined,
12020
- };
11733
+ const contents = {};
12021
11734
  if (output["Snapshot"] !== undefined) {
12022
11735
  contents.Snapshot = deserializeAws_querySnapshot(output["Snapshot"], context);
12023
11736
  }
12024
11737
  return contents;
12025
11738
  };
12026
11739
  const deserializeAws_queryDependentServiceRequestThrottlingFault = (output, context) => {
12027
- const contents = {
12028
- message: undefined,
12029
- };
11740
+ const contents = {};
12030
11741
  if (output["message"] !== undefined) {
12031
11742
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12032
11743
  }
12033
11744
  return contents;
12034
11745
  };
12035
11746
  const deserializeAws_queryDependentServiceUnavailableFault = (output, context) => {
12036
- const contents = {
12037
- message: undefined,
12038
- };
11747
+ const contents = {};
12039
11748
  if (output["message"] !== undefined) {
12040
11749
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12041
11750
  }
12042
11751
  return contents;
12043
11752
  };
12044
11753
  const deserializeAws_queryDescribeAuthenticationProfilesResult = (output, context) => {
12045
- const contents = {
12046
- AuthenticationProfiles: undefined,
12047
- };
11754
+ const contents = {};
12048
11755
  if (output.AuthenticationProfiles === "") {
12049
11756
  contents.AuthenticationProfiles = [];
12050
11757
  }
@@ -12055,10 +11762,7 @@ const deserializeAws_queryDescribeAuthenticationProfilesResult = (output, contex
12055
11762
  return contents;
12056
11763
  };
12057
11764
  const deserializeAws_queryDescribeDataSharesForConsumerResult = (output, context) => {
12058
- const contents = {
12059
- DataShares: undefined,
12060
- Marker: undefined,
12061
- };
11765
+ const contents = {};
12062
11766
  if (output.DataShares === "") {
12063
11767
  contents.DataShares = [];
12064
11768
  }
@@ -12071,10 +11775,7 @@ const deserializeAws_queryDescribeDataSharesForConsumerResult = (output, context
12071
11775
  return contents;
12072
11776
  };
12073
11777
  const deserializeAws_queryDescribeDataSharesForProducerResult = (output, context) => {
12074
- const contents = {
12075
- DataShares: undefined,
12076
- Marker: undefined,
12077
- };
11778
+ const contents = {};
12078
11779
  if (output.DataShares === "") {
12079
11780
  contents.DataShares = [];
12080
11781
  }
@@ -12087,10 +11788,7 @@ const deserializeAws_queryDescribeDataSharesForProducerResult = (output, context
12087
11788
  return contents;
12088
11789
  };
12089
11790
  const deserializeAws_queryDescribeDataSharesResult = (output, context) => {
12090
- const contents = {
12091
- DataShares: undefined,
12092
- Marker: undefined,
12093
- };
11791
+ const contents = {};
12094
11792
  if (output.DataShares === "") {
12095
11793
  contents.DataShares = [];
12096
11794
  }
@@ -12103,18 +11801,14 @@ const deserializeAws_queryDescribeDataSharesResult = (output, context) => {
12103
11801
  return contents;
12104
11802
  };
12105
11803
  const deserializeAws_queryDescribeDefaultClusterParametersResult = (output, context) => {
12106
- const contents = {
12107
- DefaultClusterParameters: undefined,
12108
- };
11804
+ const contents = {};
12109
11805
  if (output["DefaultClusterParameters"] !== undefined) {
12110
11806
  contents.DefaultClusterParameters = deserializeAws_queryDefaultClusterParameters(output["DefaultClusterParameters"], context);
12111
11807
  }
12112
11808
  return contents;
12113
11809
  };
12114
11810
  const deserializeAws_queryDescribePartnersOutputMessage = (output, context) => {
12115
- const contents = {
12116
- PartnerIntegrationInfoList: undefined,
12117
- };
11811
+ const contents = {};
12118
11812
  if (output.PartnerIntegrationInfoList === "") {
12119
11813
  contents.PartnerIntegrationInfoList = [];
12120
11814
  }
@@ -12125,10 +11819,7 @@ const deserializeAws_queryDescribePartnersOutputMessage = (output, context) => {
12125
11819
  return contents;
12126
11820
  };
12127
11821
  const deserializeAws_queryDescribeReservedNodeExchangeStatusOutputMessage = (output, context) => {
12128
- const contents = {
12129
- ReservedNodeExchangeStatusDetails: undefined,
12130
- Marker: undefined,
12131
- };
11822
+ const contents = {};
12132
11823
  if (output.ReservedNodeExchangeStatusDetails === "") {
12133
11824
  contents.ReservedNodeExchangeStatusDetails = [];
12134
11825
  }
@@ -12142,10 +11833,7 @@ const deserializeAws_queryDescribeReservedNodeExchangeStatusOutputMessage = (out
12142
11833
  return contents;
12143
11834
  };
12144
11835
  const deserializeAws_queryDescribeSnapshotSchedulesOutputMessage = (output, context) => {
12145
- const contents = {
12146
- SnapshotSchedules: undefined,
12147
- Marker: undefined,
12148
- };
11836
+ const contents = {};
12149
11837
  if (output.SnapshotSchedules === "") {
12150
11838
  contents.SnapshotSchedules = [];
12151
11839
  }
@@ -12159,21 +11847,14 @@ const deserializeAws_queryDescribeSnapshotSchedulesOutputMessage = (output, cont
12159
11847
  return contents;
12160
11848
  };
12161
11849
  const deserializeAws_queryDisableSnapshotCopyResult = (output, context) => {
12162
- const contents = {
12163
- Cluster: undefined,
12164
- };
11850
+ const contents = {};
12165
11851
  if (output["Cluster"] !== undefined) {
12166
11852
  contents.Cluster = deserializeAws_queryCluster(output["Cluster"], context);
12167
11853
  }
12168
11854
  return contents;
12169
11855
  };
12170
11856
  const deserializeAws_queryEC2SecurityGroup = (output, context) => {
12171
- const contents = {
12172
- Status: undefined,
12173
- EC2SecurityGroupName: undefined,
12174
- EC2SecurityGroupOwnerId: undefined,
12175
- Tags: undefined,
12176
- };
11857
+ const contents = {};
12177
11858
  if (output["Status"] !== undefined) {
12178
11859
  contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
12179
11860
  }
@@ -12199,10 +11880,7 @@ const deserializeAws_queryEC2SecurityGroupList = (output, context) => {
12199
11880
  });
12200
11881
  };
12201
11882
  const deserializeAws_queryElasticIpStatus = (output, context) => {
12202
- const contents = {
12203
- ElasticIp: undefined,
12204
- Status: undefined,
12205
- };
11883
+ const contents = {};
12206
11884
  if (output["ElasticIp"] !== undefined) {
12207
11885
  contents.ElasticIp = (0, smithy_client_1.expectString)(output["ElasticIp"]);
12208
11886
  }
@@ -12219,20 +11897,14 @@ const deserializeAws_queryEligibleTracksToUpdateList = (output, context) => {
12219
11897
  });
12220
11898
  };
12221
11899
  const deserializeAws_queryEnableSnapshotCopyResult = (output, context) => {
12222
- const contents = {
12223
- Cluster: undefined,
12224
- };
11900
+ const contents = {};
12225
11901
  if (output["Cluster"] !== undefined) {
12226
11902
  contents.Cluster = deserializeAws_queryCluster(output["Cluster"], context);
12227
11903
  }
12228
11904
  return contents;
12229
11905
  };
12230
11906
  const deserializeAws_queryEndpoint = (output, context) => {
12231
- const contents = {
12232
- Address: undefined,
12233
- Port: undefined,
12234
- VpcEndpoints: undefined,
12235
- };
11907
+ const contents = {};
12236
11908
  if (output["Address"] !== undefined) {
12237
11909
  contents.Address = (0, smithy_client_1.expectString)(output["Address"]);
12238
11910
  }
@@ -12248,18 +11920,7 @@ const deserializeAws_queryEndpoint = (output, context) => {
12248
11920
  return contents;
12249
11921
  };
12250
11922
  const deserializeAws_queryEndpointAccess = (output, context) => {
12251
- const contents = {
12252
- ClusterIdentifier: undefined,
12253
- ResourceOwner: undefined,
12254
- SubnetGroupName: undefined,
12255
- EndpointStatus: undefined,
12256
- EndpointName: undefined,
12257
- EndpointCreateTime: undefined,
12258
- Port: undefined,
12259
- Address: undefined,
12260
- VpcSecurityGroups: undefined,
12261
- VpcEndpoint: undefined,
12262
- };
11923
+ const contents = {};
12263
11924
  if (output["ClusterIdentifier"] !== undefined) {
12264
11925
  contents.ClusterIdentifier = (0, smithy_client_1.expectString)(output["ClusterIdentifier"]);
12265
11926
  }
@@ -12304,10 +11965,7 @@ const deserializeAws_queryEndpointAccesses = (output, context) => {
12304
11965
  });
12305
11966
  };
12306
11967
  const deserializeAws_queryEndpointAccessList = (output, context) => {
12307
- const contents = {
12308
- EndpointAccessList: undefined,
12309
- Marker: undefined,
12310
- };
11968
+ const contents = {};
12311
11969
  if (output.EndpointAccessList === "") {
12312
11970
  contents.EndpointAccessList = [];
12313
11971
  }
@@ -12320,26 +11978,14 @@ const deserializeAws_queryEndpointAccessList = (output, context) => {
12320
11978
  return contents;
12321
11979
  };
12322
11980
  const deserializeAws_queryEndpointAlreadyExistsFault = (output, context) => {
12323
- const contents = {
12324
- message: undefined,
12325
- };
11981
+ const contents = {};
12326
11982
  if (output["message"] !== undefined) {
12327
11983
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12328
11984
  }
12329
11985
  return contents;
12330
11986
  };
12331
11987
  const deserializeAws_queryEndpointAuthorization = (output, context) => {
12332
- const contents = {
12333
- Grantor: undefined,
12334
- Grantee: undefined,
12335
- ClusterIdentifier: undefined,
12336
- AuthorizeTime: undefined,
12337
- ClusterStatus: undefined,
12338
- Status: undefined,
12339
- AllowedAllVPCs: undefined,
12340
- AllowedVPCs: undefined,
12341
- EndpointCount: undefined,
12342
- };
11988
+ const contents = {};
12343
11989
  if (output["Grantor"] !== undefined) {
12344
11990
  contents.Grantor = (0, smithy_client_1.expectString)(output["Grantor"]);
12345
11991
  }
@@ -12373,19 +12019,14 @@ const deserializeAws_queryEndpointAuthorization = (output, context) => {
12373
12019
  return contents;
12374
12020
  };
12375
12021
  const deserializeAws_queryEndpointAuthorizationAlreadyExistsFault = (output, context) => {
12376
- const contents = {
12377
- message: undefined,
12378
- };
12022
+ const contents = {};
12379
12023
  if (output["message"] !== undefined) {
12380
12024
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12381
12025
  }
12382
12026
  return contents;
12383
12027
  };
12384
12028
  const deserializeAws_queryEndpointAuthorizationList = (output, context) => {
12385
- const contents = {
12386
- EndpointAuthorizationList: undefined,
12387
- Marker: undefined,
12388
- };
12029
+ const contents = {};
12389
12030
  if (output.EndpointAuthorizationList === "") {
12390
12031
  contents.EndpointAuthorizationList = [];
12391
12032
  }
@@ -12399,9 +12040,7 @@ const deserializeAws_queryEndpointAuthorizationList = (output, context) => {
12399
12040
  return contents;
12400
12041
  };
12401
12042
  const deserializeAws_queryEndpointAuthorizationNotFoundFault = (output, context) => {
12402
- const contents = {
12403
- message: undefined,
12404
- };
12043
+ const contents = {};
12405
12044
  if (output["message"] !== undefined) {
12406
12045
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12407
12046
  }
@@ -12415,51 +12054,35 @@ const deserializeAws_queryEndpointAuthorizations = (output, context) => {
12415
12054
  });
12416
12055
  };
12417
12056
  const deserializeAws_queryEndpointAuthorizationsPerClusterLimitExceededFault = (output, context) => {
12418
- const contents = {
12419
- message: undefined,
12420
- };
12057
+ const contents = {};
12421
12058
  if (output["message"] !== undefined) {
12422
12059
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12423
12060
  }
12424
12061
  return contents;
12425
12062
  };
12426
12063
  const deserializeAws_queryEndpointNotFoundFault = (output, context) => {
12427
- const contents = {
12428
- message: undefined,
12429
- };
12064
+ const contents = {};
12430
12065
  if (output["message"] !== undefined) {
12431
12066
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12432
12067
  }
12433
12068
  return contents;
12434
12069
  };
12435
12070
  const deserializeAws_queryEndpointsPerAuthorizationLimitExceededFault = (output, context) => {
12436
- const contents = {
12437
- message: undefined,
12438
- };
12071
+ const contents = {};
12439
12072
  if (output["message"] !== undefined) {
12440
12073
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12441
12074
  }
12442
12075
  return contents;
12443
12076
  };
12444
12077
  const deserializeAws_queryEndpointsPerClusterLimitExceededFault = (output, context) => {
12445
- const contents = {
12446
- message: undefined,
12447
- };
12078
+ const contents = {};
12448
12079
  if (output["message"] !== undefined) {
12449
12080
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12450
12081
  }
12451
12082
  return contents;
12452
12083
  };
12453
12084
  const deserializeAws_queryEvent = (output, context) => {
12454
- const contents = {
12455
- SourceIdentifier: undefined,
12456
- SourceType: undefined,
12457
- Message: undefined,
12458
- EventCategories: undefined,
12459
- Severity: undefined,
12460
- Date: undefined,
12461
- EventId: undefined,
12462
- };
12085
+ const contents = {};
12463
12086
  if (output["SourceIdentifier"] !== undefined) {
12464
12087
  contents.SourceIdentifier = (0, smithy_client_1.expectString)(output["SourceIdentifier"]);
12465
12088
  }
@@ -12494,10 +12117,7 @@ const deserializeAws_queryEventCategoriesList = (output, context) => {
12494
12117
  });
12495
12118
  };
12496
12119
  const deserializeAws_queryEventCategoriesMap = (output, context) => {
12497
- const contents = {
12498
- SourceType: undefined,
12499
- Events: undefined,
12500
- };
12120
+ const contents = {};
12501
12121
  if (output["SourceType"] !== undefined) {
12502
12122
  contents.SourceType = (0, smithy_client_1.expectString)(output["SourceType"]);
12503
12123
  }
@@ -12517,9 +12137,7 @@ const deserializeAws_queryEventCategoriesMapList = (output, context) => {
12517
12137
  });
12518
12138
  };
12519
12139
  const deserializeAws_queryEventCategoriesMessage = (output, context) => {
12520
- const contents = {
12521
- EventCategoriesMapList: undefined,
12522
- };
12140
+ const contents = {};
12523
12141
  if (output.EventCategoriesMapList === "") {
12524
12142
  contents.EventCategoriesMapList = [];
12525
12143
  }
@@ -12530,12 +12148,7 @@ const deserializeAws_queryEventCategoriesMessage = (output, context) => {
12530
12148
  return contents;
12531
12149
  };
12532
12150
  const deserializeAws_queryEventInfoMap = (output, context) => {
12533
- const contents = {
12534
- EventId: undefined,
12535
- EventCategories: undefined,
12536
- EventDescription: undefined,
12537
- Severity: undefined,
12538
- };
12151
+ const contents = {};
12539
12152
  if (output["EventId"] !== undefined) {
12540
12153
  contents.EventId = (0, smithy_client_1.expectString)(output["EventId"]);
12541
12154
  }
@@ -12568,10 +12181,7 @@ const deserializeAws_queryEventList = (output, context) => {
12568
12181
  });
12569
12182
  };
12570
12183
  const deserializeAws_queryEventsMessage = (output, context) => {
12571
- const contents = {
12572
- Marker: undefined,
12573
- Events: undefined,
12574
- };
12184
+ const contents = {};
12575
12185
  if (output["Marker"] !== undefined) {
12576
12186
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12577
12187
  }
@@ -12584,19 +12194,7 @@ const deserializeAws_queryEventsMessage = (output, context) => {
12584
12194
  return contents;
12585
12195
  };
12586
12196
  const deserializeAws_queryEventSubscription = (output, context) => {
12587
- const contents = {
12588
- CustomerAwsId: undefined,
12589
- CustSubscriptionId: undefined,
12590
- SnsTopicArn: undefined,
12591
- Status: undefined,
12592
- SubscriptionCreationTime: undefined,
12593
- SourceType: undefined,
12594
- SourceIdsList: undefined,
12595
- EventCategoriesList: undefined,
12596
- Severity: undefined,
12597
- Enabled: undefined,
12598
- Tags: undefined,
12599
- };
12197
+ const contents = {};
12600
12198
  if (output["CustomerAwsId"] !== undefined) {
12601
12199
  contents.CustomerAwsId = (0, smithy_client_1.expectString)(output["CustomerAwsId"]);
12602
12200
  }
@@ -12643,9 +12241,7 @@ const deserializeAws_queryEventSubscription = (output, context) => {
12643
12241
  return contents;
12644
12242
  };
12645
12243
  const deserializeAws_queryEventSubscriptionQuotaExceededFault = (output, context) => {
12646
- const contents = {
12647
- message: undefined,
12648
- };
12244
+ const contents = {};
12649
12245
  if (output["message"] !== undefined) {
12650
12246
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12651
12247
  }
@@ -12659,10 +12255,7 @@ const deserializeAws_queryEventSubscriptionsList = (output, context) => {
12659
12255
  });
12660
12256
  };
12661
12257
  const deserializeAws_queryEventSubscriptionsMessage = (output, context) => {
12662
- const contents = {
12663
- Marker: undefined,
12664
- EventSubscriptionsList: undefined,
12665
- };
12258
+ const contents = {};
12666
12259
  if (output["Marker"] !== undefined) {
12667
12260
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12668
12261
  }
@@ -12676,10 +12269,7 @@ const deserializeAws_queryEventSubscriptionsMessage = (output, context) => {
12676
12269
  return contents;
12677
12270
  };
12678
12271
  const deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsOutputMessage = (output, context) => {
12679
- const contents = {
12680
- Marker: undefined,
12681
- ReservedNodeConfigurationOptionList: undefined,
12682
- };
12272
+ const contents = {};
12683
12273
  if (output["Marker"] !== undefined) {
12684
12274
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12685
12275
  }
@@ -12693,10 +12283,7 @@ const deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsOutputMessa
12693
12283
  return contents;
12694
12284
  };
12695
12285
  const deserializeAws_queryGetReservedNodeExchangeOfferingsOutputMessage = (output, context) => {
12696
- const contents = {
12697
- Marker: undefined,
12698
- ReservedNodeOfferings: undefined,
12699
- };
12286
+ const contents = {};
12700
12287
  if (output["Marker"] !== undefined) {
12701
12288
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12702
12289
  }
@@ -12710,11 +12297,7 @@ const deserializeAws_queryGetReservedNodeExchangeOfferingsOutputMessage = (outpu
12710
12297
  return contents;
12711
12298
  };
12712
12299
  const deserializeAws_queryHsmClientCertificate = (output, context) => {
12713
- const contents = {
12714
- HsmClientCertificateIdentifier: undefined,
12715
- HsmClientCertificatePublicKey: undefined,
12716
- Tags: undefined,
12717
- };
12300
+ const contents = {};
12718
12301
  if (output["HsmClientCertificateIdentifier"] !== undefined) {
12719
12302
  contents.HsmClientCertificateIdentifier = (0, smithy_client_1.expectString)(output["HsmClientCertificateIdentifier"]);
12720
12303
  }
@@ -12730,9 +12313,7 @@ const deserializeAws_queryHsmClientCertificate = (output, context) => {
12730
12313
  return contents;
12731
12314
  };
12732
12315
  const deserializeAws_queryHsmClientCertificateAlreadyExistsFault = (output, context) => {
12733
- const contents = {
12734
- message: undefined,
12735
- };
12316
+ const contents = {};
12736
12317
  if (output["message"] !== undefined) {
12737
12318
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12738
12319
  }
@@ -12746,10 +12327,7 @@ const deserializeAws_queryHsmClientCertificateList = (output, context) => {
12746
12327
  });
12747
12328
  };
12748
12329
  const deserializeAws_queryHsmClientCertificateMessage = (output, context) => {
12749
- const contents = {
12750
- Marker: undefined,
12751
- HsmClientCertificates: undefined,
12752
- };
12330
+ const contents = {};
12753
12331
  if (output["Marker"] !== undefined) {
12754
12332
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12755
12333
  }
@@ -12763,31 +12341,21 @@ const deserializeAws_queryHsmClientCertificateMessage = (output, context) => {
12763
12341
  return contents;
12764
12342
  };
12765
12343
  const deserializeAws_queryHsmClientCertificateNotFoundFault = (output, context) => {
12766
- const contents = {
12767
- message: undefined,
12768
- };
12344
+ const contents = {};
12769
12345
  if (output["message"] !== undefined) {
12770
12346
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12771
12347
  }
12772
12348
  return contents;
12773
12349
  };
12774
12350
  const deserializeAws_queryHsmClientCertificateQuotaExceededFault = (output, context) => {
12775
- const contents = {
12776
- message: undefined,
12777
- };
12351
+ const contents = {};
12778
12352
  if (output["message"] !== undefined) {
12779
12353
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12780
12354
  }
12781
12355
  return contents;
12782
12356
  };
12783
12357
  const deserializeAws_queryHsmConfiguration = (output, context) => {
12784
- const contents = {
12785
- HsmConfigurationIdentifier: undefined,
12786
- Description: undefined,
12787
- HsmIpAddress: undefined,
12788
- HsmPartitionName: undefined,
12789
- Tags: undefined,
12790
- };
12358
+ const contents = {};
12791
12359
  if (output["HsmConfigurationIdentifier"] !== undefined) {
12792
12360
  contents.HsmConfigurationIdentifier = (0, smithy_client_1.expectString)(output["HsmConfigurationIdentifier"]);
12793
12361
  }
@@ -12809,9 +12377,7 @@ const deserializeAws_queryHsmConfiguration = (output, context) => {
12809
12377
  return contents;
12810
12378
  };
12811
12379
  const deserializeAws_queryHsmConfigurationAlreadyExistsFault = (output, context) => {
12812
- const contents = {
12813
- message: undefined,
12814
- };
12380
+ const contents = {};
12815
12381
  if (output["message"] !== undefined) {
12816
12382
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12817
12383
  }
@@ -12825,10 +12391,7 @@ const deserializeAws_queryHsmConfigurationList = (output, context) => {
12825
12391
  });
12826
12392
  };
12827
12393
  const deserializeAws_queryHsmConfigurationMessage = (output, context) => {
12828
- const contents = {
12829
- Marker: undefined,
12830
- HsmConfigurations: undefined,
12831
- };
12394
+ const contents = {};
12832
12395
  if (output["Marker"] !== undefined) {
12833
12396
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12834
12397
  }
@@ -12842,29 +12405,21 @@ const deserializeAws_queryHsmConfigurationMessage = (output, context) => {
12842
12405
  return contents;
12843
12406
  };
12844
12407
  const deserializeAws_queryHsmConfigurationNotFoundFault = (output, context) => {
12845
- const contents = {
12846
- message: undefined,
12847
- };
12408
+ const contents = {};
12848
12409
  if (output["message"] !== undefined) {
12849
12410
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12850
12411
  }
12851
12412
  return contents;
12852
12413
  };
12853
12414
  const deserializeAws_queryHsmConfigurationQuotaExceededFault = (output, context) => {
12854
- const contents = {
12855
- message: undefined,
12856
- };
12415
+ const contents = {};
12857
12416
  if (output["message"] !== undefined) {
12858
12417
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12859
12418
  }
12860
12419
  return contents;
12861
12420
  };
12862
12421
  const deserializeAws_queryHsmStatus = (output, context) => {
12863
- const contents = {
12864
- HsmClientCertificateIdentifier: undefined,
12865
- HsmConfigurationIdentifier: undefined,
12866
- Status: undefined,
12867
- };
12422
+ const contents = {};
12868
12423
  if (output["HsmClientCertificateIdentifier"] !== undefined) {
12869
12424
  contents.HsmClientCertificateIdentifier = (0, smithy_client_1.expectString)(output["HsmClientCertificateIdentifier"]);
12870
12425
  }
@@ -12898,317 +12453,245 @@ const deserializeAws_queryImportTablesNotStarted = (output, context) => {
12898
12453
  });
12899
12454
  };
12900
12455
  const deserializeAws_queryIncompatibleOrderableOptions = (output, context) => {
12901
- const contents = {
12902
- message: undefined,
12903
- };
12456
+ const contents = {};
12904
12457
  if (output["message"] !== undefined) {
12905
12458
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12906
12459
  }
12907
12460
  return contents;
12908
12461
  };
12909
12462
  const deserializeAws_queryInProgressTableRestoreQuotaExceededFault = (output, context) => {
12910
- const contents = {
12911
- message: undefined,
12912
- };
12463
+ const contents = {};
12913
12464
  if (output["message"] !== undefined) {
12914
12465
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12915
12466
  }
12916
12467
  return contents;
12917
12468
  };
12918
12469
  const deserializeAws_queryInsufficientClusterCapacityFault = (output, context) => {
12919
- const contents = {
12920
- message: undefined,
12921
- };
12470
+ const contents = {};
12922
12471
  if (output["message"] !== undefined) {
12923
12472
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12924
12473
  }
12925
12474
  return contents;
12926
12475
  };
12927
12476
  const deserializeAws_queryInsufficientS3BucketPolicyFault = (output, context) => {
12928
- const contents = {
12929
- message: undefined,
12930
- };
12477
+ const contents = {};
12931
12478
  if (output["message"] !== undefined) {
12932
12479
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12933
12480
  }
12934
12481
  return contents;
12935
12482
  };
12936
12483
  const deserializeAws_queryInvalidAuthenticationProfileRequestFault = (output, context) => {
12937
- const contents = {
12938
- message: undefined,
12939
- };
12484
+ const contents = {};
12940
12485
  if (output["message"] !== undefined) {
12941
12486
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12942
12487
  }
12943
12488
  return contents;
12944
12489
  };
12945
12490
  const deserializeAws_queryInvalidAuthorizationStateFault = (output, context) => {
12946
- const contents = {
12947
- message: undefined,
12948
- };
12491
+ const contents = {};
12949
12492
  if (output["message"] !== undefined) {
12950
12493
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12951
12494
  }
12952
12495
  return contents;
12953
12496
  };
12954
12497
  const deserializeAws_queryInvalidClusterParameterGroupStateFault = (output, context) => {
12955
- const contents = {
12956
- message: undefined,
12957
- };
12498
+ const contents = {};
12958
12499
  if (output["message"] !== undefined) {
12959
12500
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12960
12501
  }
12961
12502
  return contents;
12962
12503
  };
12963
12504
  const deserializeAws_queryInvalidClusterSecurityGroupStateFault = (output, context) => {
12964
- const contents = {
12965
- message: undefined,
12966
- };
12505
+ const contents = {};
12967
12506
  if (output["message"] !== undefined) {
12968
12507
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12969
12508
  }
12970
12509
  return contents;
12971
12510
  };
12972
12511
  const deserializeAws_queryInvalidClusterSnapshotScheduleStateFault = (output, context) => {
12973
- const contents = {
12974
- message: undefined,
12975
- };
12512
+ const contents = {};
12976
12513
  if (output["message"] !== undefined) {
12977
12514
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12978
12515
  }
12979
12516
  return contents;
12980
12517
  };
12981
12518
  const deserializeAws_queryInvalidClusterSnapshotStateFault = (output, context) => {
12982
- const contents = {
12983
- message: undefined,
12984
- };
12519
+ const contents = {};
12985
12520
  if (output["message"] !== undefined) {
12986
12521
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12987
12522
  }
12988
12523
  return contents;
12989
12524
  };
12990
12525
  const deserializeAws_queryInvalidClusterStateFault = (output, context) => {
12991
- const contents = {
12992
- message: undefined,
12993
- };
12526
+ const contents = {};
12994
12527
  if (output["message"] !== undefined) {
12995
12528
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12996
12529
  }
12997
12530
  return contents;
12998
12531
  };
12999
12532
  const deserializeAws_queryInvalidClusterSubnetGroupStateFault = (output, context) => {
13000
- const contents = {
13001
- message: undefined,
13002
- };
12533
+ const contents = {};
13003
12534
  if (output["message"] !== undefined) {
13004
12535
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13005
12536
  }
13006
12537
  return contents;
13007
12538
  };
13008
12539
  const deserializeAws_queryInvalidClusterSubnetStateFault = (output, context) => {
13009
- const contents = {
13010
- message: undefined,
13011
- };
12540
+ const contents = {};
13012
12541
  if (output["message"] !== undefined) {
13013
12542
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13014
12543
  }
13015
12544
  return contents;
13016
12545
  };
13017
12546
  const deserializeAws_queryInvalidClusterTrackFault = (output, context) => {
13018
- const contents = {
13019
- message: undefined,
13020
- };
12547
+ const contents = {};
13021
12548
  if (output["message"] !== undefined) {
13022
12549
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13023
12550
  }
13024
12551
  return contents;
13025
12552
  };
13026
12553
  const deserializeAws_queryInvalidDataShareFault = (output, context) => {
13027
- const contents = {
13028
- message: undefined,
13029
- };
12554
+ const contents = {};
13030
12555
  if (output["message"] !== undefined) {
13031
12556
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13032
12557
  }
13033
12558
  return contents;
13034
12559
  };
13035
12560
  const deserializeAws_queryInvalidElasticIpFault = (output, context) => {
13036
- const contents = {
13037
- message: undefined,
13038
- };
12561
+ const contents = {};
13039
12562
  if (output["message"] !== undefined) {
13040
12563
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13041
12564
  }
13042
12565
  return contents;
13043
12566
  };
13044
12567
  const deserializeAws_queryInvalidEndpointStateFault = (output, context) => {
13045
- const contents = {
13046
- message: undefined,
13047
- };
12568
+ const contents = {};
13048
12569
  if (output["message"] !== undefined) {
13049
12570
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13050
12571
  }
13051
12572
  return contents;
13052
12573
  };
13053
12574
  const deserializeAws_queryInvalidHsmClientCertificateStateFault = (output, context) => {
13054
- const contents = {
13055
- message: undefined,
13056
- };
12575
+ const contents = {};
13057
12576
  if (output["message"] !== undefined) {
13058
12577
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13059
12578
  }
13060
12579
  return contents;
13061
12580
  };
13062
12581
  const deserializeAws_queryInvalidHsmConfigurationStateFault = (output, context) => {
13063
- const contents = {
13064
- message: undefined,
13065
- };
12582
+ const contents = {};
13066
12583
  if (output["message"] !== undefined) {
13067
12584
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13068
12585
  }
13069
12586
  return contents;
13070
12587
  };
13071
12588
  const deserializeAws_queryInvalidNamespaceFault = (output, context) => {
13072
- const contents = {
13073
- message: undefined,
13074
- };
12589
+ const contents = {};
13075
12590
  if (output["message"] !== undefined) {
13076
12591
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13077
12592
  }
13078
12593
  return contents;
13079
12594
  };
13080
12595
  const deserializeAws_queryInvalidReservedNodeStateFault = (output, context) => {
13081
- const contents = {
13082
- message: undefined,
13083
- };
12596
+ const contents = {};
13084
12597
  if (output["message"] !== undefined) {
13085
12598
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13086
12599
  }
13087
12600
  return contents;
13088
12601
  };
13089
12602
  const deserializeAws_queryInvalidRestoreFault = (output, context) => {
13090
- const contents = {
13091
- message: undefined,
13092
- };
12603
+ const contents = {};
13093
12604
  if (output["message"] !== undefined) {
13094
12605
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13095
12606
  }
13096
12607
  return contents;
13097
12608
  };
13098
12609
  const deserializeAws_queryInvalidRetentionPeriodFault = (output, context) => {
13099
- const contents = {
13100
- message: undefined,
13101
- };
12610
+ const contents = {};
13102
12611
  if (output["message"] !== undefined) {
13103
12612
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13104
12613
  }
13105
12614
  return contents;
13106
12615
  };
13107
12616
  const deserializeAws_queryInvalidS3BucketNameFault = (output, context) => {
13108
- const contents = {
13109
- message: undefined,
13110
- };
12617
+ const contents = {};
13111
12618
  if (output["message"] !== undefined) {
13112
12619
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13113
12620
  }
13114
12621
  return contents;
13115
12622
  };
13116
12623
  const deserializeAws_queryInvalidS3KeyPrefixFault = (output, context) => {
13117
- const contents = {
13118
- message: undefined,
13119
- };
12624
+ const contents = {};
13120
12625
  if (output["message"] !== undefined) {
13121
12626
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13122
12627
  }
13123
12628
  return contents;
13124
12629
  };
13125
12630
  const deserializeAws_queryInvalidScheduledActionFault = (output, context) => {
13126
- const contents = {
13127
- message: undefined,
13128
- };
12631
+ const contents = {};
13129
12632
  if (output["message"] !== undefined) {
13130
12633
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13131
12634
  }
13132
12635
  return contents;
13133
12636
  };
13134
12637
  const deserializeAws_queryInvalidScheduleFault = (output, context) => {
13135
- const contents = {
13136
- message: undefined,
13137
- };
12638
+ const contents = {};
13138
12639
  if (output["message"] !== undefined) {
13139
12640
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13140
12641
  }
13141
12642
  return contents;
13142
12643
  };
13143
12644
  const deserializeAws_queryInvalidSnapshotCopyGrantStateFault = (output, context) => {
13144
- const contents = {
13145
- message: undefined,
13146
- };
12645
+ const contents = {};
13147
12646
  if (output["message"] !== undefined) {
13148
12647
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13149
12648
  }
13150
12649
  return contents;
13151
12650
  };
13152
12651
  const deserializeAws_queryInvalidSubnet = (output, context) => {
13153
- const contents = {
13154
- message: undefined,
13155
- };
12652
+ const contents = {};
13156
12653
  if (output["message"] !== undefined) {
13157
12654
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13158
12655
  }
13159
12656
  return contents;
13160
12657
  };
13161
12658
  const deserializeAws_queryInvalidSubscriptionStateFault = (output, context) => {
13162
- const contents = {
13163
- message: undefined,
13164
- };
12659
+ const contents = {};
13165
12660
  if (output["message"] !== undefined) {
13166
12661
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13167
12662
  }
13168
12663
  return contents;
13169
12664
  };
13170
12665
  const deserializeAws_queryInvalidTableRestoreArgumentFault = (output, context) => {
13171
- const contents = {
13172
- message: undefined,
13173
- };
12666
+ const contents = {};
13174
12667
  if (output["message"] !== undefined) {
13175
12668
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13176
12669
  }
13177
12670
  return contents;
13178
12671
  };
13179
12672
  const deserializeAws_queryInvalidTagFault = (output, context) => {
13180
- const contents = {
13181
- message: undefined,
13182
- };
12673
+ const contents = {};
13183
12674
  if (output["message"] !== undefined) {
13184
12675
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13185
12676
  }
13186
12677
  return contents;
13187
12678
  };
13188
12679
  const deserializeAws_queryInvalidUsageLimitFault = (output, context) => {
13189
- const contents = {
13190
- message: undefined,
13191
- };
12680
+ const contents = {};
13192
12681
  if (output["message"] !== undefined) {
13193
12682
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13194
12683
  }
13195
12684
  return contents;
13196
12685
  };
13197
12686
  const deserializeAws_queryInvalidVPCNetworkStateFault = (output, context) => {
13198
- const contents = {
13199
- message: undefined,
13200
- };
12687
+ const contents = {};
13201
12688
  if (output["message"] !== undefined) {
13202
12689
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13203
12690
  }
13204
12691
  return contents;
13205
12692
  };
13206
12693
  const deserializeAws_queryIPRange = (output, context) => {
13207
- const contents = {
13208
- Status: undefined,
13209
- CIDRIP: undefined,
13210
- Tags: undefined,
13211
- };
12694
+ const contents = {};
13212
12695
  if (output["Status"] !== undefined) {
13213
12696
  contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
13214
12697
  }
@@ -13231,25 +12714,14 @@ const deserializeAws_queryIPRangeList = (output, context) => {
13231
12714
  });
13232
12715
  };
13233
12716
  const deserializeAws_queryLimitExceededFault = (output, context) => {
13234
- const contents = {
13235
- message: undefined,
13236
- };
12717
+ const contents = {};
13237
12718
  if (output["message"] !== undefined) {
13238
12719
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13239
12720
  }
13240
12721
  return contents;
13241
12722
  };
13242
12723
  const deserializeAws_queryLoggingStatus = (output, context) => {
13243
- const contents = {
13244
- LoggingEnabled: undefined,
13245
- BucketName: undefined,
13246
- S3KeyPrefix: undefined,
13247
- LastSuccessfulDeliveryTime: undefined,
13248
- LastFailureTime: undefined,
13249
- LastFailureMessage: undefined,
13250
- LogDestinationType: undefined,
13251
- LogExports: undefined,
13252
- };
12724
+ const contents = {};
13253
12725
  if (output["LoggingEnabled"] !== undefined) {
13254
12726
  contents.LoggingEnabled = (0, smithy_client_1.parseBoolean)(output["LoggingEnabled"]);
13255
12727
  }
@@ -13287,11 +12759,7 @@ const deserializeAws_queryLogTypeList = (output, context) => {
13287
12759
  });
13288
12760
  };
13289
12761
  const deserializeAws_queryMaintenanceTrack = (output, context) => {
13290
- const contents = {
13291
- MaintenanceTrackName: undefined,
13292
- DatabaseVersion: undefined,
13293
- UpdateTargets: undefined,
13294
- };
12762
+ const contents = {};
13295
12763
  if (output["MaintenanceTrackName"] !== undefined) {
13296
12764
  contents.MaintenanceTrackName = (0, smithy_client_1.expectString)(output["MaintenanceTrackName"]);
13297
12765
  }
@@ -13307,19 +12775,14 @@ const deserializeAws_queryMaintenanceTrack = (output, context) => {
13307
12775
  return contents;
13308
12776
  };
13309
12777
  const deserializeAws_queryModifyAquaOutputMessage = (output, context) => {
13310
- const contents = {
13311
- AquaConfiguration: undefined,
13312
- };
12778
+ const contents = {};
13313
12779
  if (output["AquaConfiguration"] !== undefined) {
13314
12780
  contents.AquaConfiguration = deserializeAws_queryAquaConfiguration(output["AquaConfiguration"], context);
13315
12781
  }
13316
12782
  return contents;
13317
12783
  };
13318
12784
  const deserializeAws_queryModifyAuthenticationProfileResult = (output, context) => {
13319
- const contents = {
13320
- AuthenticationProfileName: undefined,
13321
- AuthenticationProfileContent: undefined,
13322
- };
12785
+ const contents = {};
13323
12786
  if (output["AuthenticationProfileName"] !== undefined) {
13324
12787
  contents.AuthenticationProfileName = (0, smithy_client_1.expectString)(output["AuthenticationProfileName"]);
13325
12788
  }
@@ -13329,84 +12792,63 @@ const deserializeAws_queryModifyAuthenticationProfileResult = (output, context)
13329
12792
  return contents;
13330
12793
  };
13331
12794
  const deserializeAws_queryModifyClusterDbRevisionResult = (output, context) => {
13332
- const contents = {
13333
- Cluster: undefined,
13334
- };
12795
+ const contents = {};
13335
12796
  if (output["Cluster"] !== undefined) {
13336
12797
  contents.Cluster = deserializeAws_queryCluster(output["Cluster"], context);
13337
12798
  }
13338
12799
  return contents;
13339
12800
  };
13340
12801
  const deserializeAws_queryModifyClusterIamRolesResult = (output, context) => {
13341
- const contents = {
13342
- Cluster: undefined,
13343
- };
12802
+ const contents = {};
13344
12803
  if (output["Cluster"] !== undefined) {
13345
12804
  contents.Cluster = deserializeAws_queryCluster(output["Cluster"], context);
13346
12805
  }
13347
12806
  return contents;
13348
12807
  };
13349
12808
  const deserializeAws_queryModifyClusterMaintenanceResult = (output, context) => {
13350
- const contents = {
13351
- Cluster: undefined,
13352
- };
12809
+ const contents = {};
13353
12810
  if (output["Cluster"] !== undefined) {
13354
12811
  contents.Cluster = deserializeAws_queryCluster(output["Cluster"], context);
13355
12812
  }
13356
12813
  return contents;
13357
12814
  };
13358
12815
  const deserializeAws_queryModifyClusterResult = (output, context) => {
13359
- const contents = {
13360
- Cluster: undefined,
13361
- };
12816
+ const contents = {};
13362
12817
  if (output["Cluster"] !== undefined) {
13363
12818
  contents.Cluster = deserializeAws_queryCluster(output["Cluster"], context);
13364
12819
  }
13365
12820
  return contents;
13366
12821
  };
13367
12822
  const deserializeAws_queryModifyClusterSnapshotResult = (output, context) => {
13368
- const contents = {
13369
- Snapshot: undefined,
13370
- };
12823
+ const contents = {};
13371
12824
  if (output["Snapshot"] !== undefined) {
13372
12825
  contents.Snapshot = deserializeAws_querySnapshot(output["Snapshot"], context);
13373
12826
  }
13374
12827
  return contents;
13375
12828
  };
13376
12829
  const deserializeAws_queryModifyClusterSubnetGroupResult = (output, context) => {
13377
- const contents = {
13378
- ClusterSubnetGroup: undefined,
13379
- };
12830
+ const contents = {};
13380
12831
  if (output["ClusterSubnetGroup"] !== undefined) {
13381
12832
  contents.ClusterSubnetGroup = deserializeAws_queryClusterSubnetGroup(output["ClusterSubnetGroup"], context);
13382
12833
  }
13383
12834
  return contents;
13384
12835
  };
13385
12836
  const deserializeAws_queryModifyEventSubscriptionResult = (output, context) => {
13386
- const contents = {
13387
- EventSubscription: undefined,
13388
- };
12837
+ const contents = {};
13389
12838
  if (output["EventSubscription"] !== undefined) {
13390
12839
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
13391
12840
  }
13392
12841
  return contents;
13393
12842
  };
13394
12843
  const deserializeAws_queryModifySnapshotCopyRetentionPeriodResult = (output, context) => {
13395
- const contents = {
13396
- Cluster: undefined,
13397
- };
12844
+ const contents = {};
13398
12845
  if (output["Cluster"] !== undefined) {
13399
12846
  contents.Cluster = deserializeAws_queryCluster(output["Cluster"], context);
13400
12847
  }
13401
12848
  return contents;
13402
12849
  };
13403
12850
  const deserializeAws_queryNetworkInterface = (output, context) => {
13404
- const contents = {
13405
- NetworkInterfaceId: undefined,
13406
- SubnetId: undefined,
13407
- PrivateIpAddress: undefined,
13408
- AvailabilityZone: undefined,
13409
- };
12851
+ const contents = {};
13410
12852
  if (output["NetworkInterfaceId"] !== undefined) {
13411
12853
  contents.NetworkInterfaceId = (0, smithy_client_1.expectString)(output["NetworkInterfaceId"]);
13412
12854
  }
@@ -13429,12 +12871,7 @@ const deserializeAws_queryNetworkInterfaceList = (output, context) => {
13429
12871
  });
13430
12872
  };
13431
12873
  const deserializeAws_queryNodeConfigurationOption = (output, context) => {
13432
- const contents = {
13433
- NodeType: undefined,
13434
- NumberOfNodes: undefined,
13435
- EstimatedDiskUtilizationPercent: undefined,
13436
- Mode: undefined,
13437
- };
12874
+ const contents = {};
13438
12875
  if (output["NodeType"] !== undefined) {
13439
12876
  contents.NodeType = (0, smithy_client_1.expectString)(output["NodeType"]);
13440
12877
  }
@@ -13457,10 +12894,7 @@ const deserializeAws_queryNodeConfigurationOptionList = (output, context) => {
13457
12894
  });
13458
12895
  };
13459
12896
  const deserializeAws_queryNodeConfigurationOptionsMessage = (output, context) => {
13460
- const contents = {
13461
- NodeConfigurationOptionList: undefined,
13462
- Marker: undefined,
13463
- };
12897
+ const contents = {};
13464
12898
  if (output.NodeConfigurationOptionList === "") {
13465
12899
  contents.NodeConfigurationOptionList = [];
13466
12900
  }
@@ -13474,30 +12908,21 @@ const deserializeAws_queryNodeConfigurationOptionsMessage = (output, context) =>
13474
12908
  return contents;
13475
12909
  };
13476
12910
  const deserializeAws_queryNumberOfNodesPerClusterLimitExceededFault = (output, context) => {
13477
- const contents = {
13478
- message: undefined,
13479
- };
12911
+ const contents = {};
13480
12912
  if (output["message"] !== undefined) {
13481
12913
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13482
12914
  }
13483
12915
  return contents;
13484
12916
  };
13485
12917
  const deserializeAws_queryNumberOfNodesQuotaExceededFault = (output, context) => {
13486
- const contents = {
13487
- message: undefined,
13488
- };
12918
+ const contents = {};
13489
12919
  if (output["message"] !== undefined) {
13490
12920
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13491
12921
  }
13492
12922
  return contents;
13493
12923
  };
13494
12924
  const deserializeAws_queryOrderableClusterOption = (output, context) => {
13495
- const contents = {
13496
- ClusterVersion: undefined,
13497
- ClusterType: undefined,
13498
- NodeType: undefined,
13499
- AvailabilityZones: undefined,
13500
- };
12925
+ const contents = {};
13501
12926
  if (output["ClusterVersion"] !== undefined) {
13502
12927
  contents.ClusterVersion = (0, smithy_client_1.expectString)(output["ClusterVersion"]);
13503
12928
  }
@@ -13524,10 +12949,7 @@ const deserializeAws_queryOrderableClusterOptionsList = (output, context) => {
13524
12949
  });
13525
12950
  };
13526
12951
  const deserializeAws_queryOrderableClusterOptionsMessage = (output, context) => {
13527
- const contents = {
13528
- OrderableClusterOptions: undefined,
13529
- Marker: undefined,
13530
- };
12952
+ const contents = {};
13531
12953
  if (output.OrderableClusterOptions === "") {
13532
12954
  contents.OrderableClusterOptions = [];
13533
12955
  }
@@ -13541,17 +12963,7 @@ const deserializeAws_queryOrderableClusterOptionsMessage = (output, context) =>
13541
12963
  return contents;
13542
12964
  };
13543
12965
  const deserializeAws_queryParameter = (output, context) => {
13544
- const contents = {
13545
- ParameterName: undefined,
13546
- ParameterValue: undefined,
13547
- Description: undefined,
13548
- Source: undefined,
13549
- DataType: undefined,
13550
- AllowedValues: undefined,
13551
- ApplyType: undefined,
13552
- IsModifiable: undefined,
13553
- MinimumEngineVersion: undefined,
13554
- };
12966
+ const contents = {};
13555
12967
  if (output["ParameterName"] !== undefined) {
13556
12968
  contents.ParameterName = (0, smithy_client_1.expectString)(output["ParameterName"]);
13557
12969
  }
@@ -13596,14 +13008,7 @@ const deserializeAws_queryParametersList = (output, context) => {
13596
13008
  });
13597
13009
  };
13598
13010
  const deserializeAws_queryPartnerIntegrationInfo = (output, context) => {
13599
- const contents = {
13600
- DatabaseName: undefined,
13601
- PartnerName: undefined,
13602
- Status: undefined,
13603
- StatusMessage: undefined,
13604
- CreatedAt: undefined,
13605
- UpdatedAt: undefined,
13606
- };
13011
+ const contents = {};
13607
13012
  if (output["DatabaseName"] !== undefined) {
13608
13013
  contents.DatabaseName = (0, smithy_client_1.expectString)(output["DatabaseName"]);
13609
13014
  }
@@ -13632,10 +13037,7 @@ const deserializeAws_queryPartnerIntegrationInfoList = (output, context) => {
13632
13037
  });
13633
13038
  };
13634
13039
  const deserializeAws_queryPartnerIntegrationOutputMessage = (output, context) => {
13635
- const contents = {
13636
- DatabaseName: undefined,
13637
- PartnerName: undefined,
13638
- };
13040
+ const contents = {};
13639
13041
  if (output["DatabaseName"] !== undefined) {
13640
13042
  contents.DatabaseName = (0, smithy_client_1.expectString)(output["DatabaseName"]);
13641
13043
  }
@@ -13645,27 +13047,21 @@ const deserializeAws_queryPartnerIntegrationOutputMessage = (output, context) =>
13645
13047
  return contents;
13646
13048
  };
13647
13049
  const deserializeAws_queryPartnerNotFoundFault = (output, context) => {
13648
- const contents = {
13649
- message: undefined,
13650
- };
13050
+ const contents = {};
13651
13051
  if (output["message"] !== undefined) {
13652
13052
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13653
13053
  }
13654
13054
  return contents;
13655
13055
  };
13656
13056
  const deserializeAws_queryPauseClusterMessage = (output, context) => {
13657
- const contents = {
13658
- ClusterIdentifier: undefined,
13659
- };
13057
+ const contents = {};
13660
13058
  if (output["ClusterIdentifier"] !== undefined) {
13661
13059
  contents.ClusterIdentifier = (0, smithy_client_1.expectString)(output["ClusterIdentifier"]);
13662
13060
  }
13663
13061
  return contents;
13664
13062
  };
13665
13063
  const deserializeAws_queryPauseClusterResult = (output, context) => {
13666
- const contents = {
13667
- Cluster: undefined,
13668
- };
13064
+ const contents = {};
13669
13065
  if (output["Cluster"] !== undefined) {
13670
13066
  contents.Cluster = deserializeAws_queryCluster(output["Cluster"], context);
13671
13067
  }
@@ -13679,19 +13075,7 @@ const deserializeAws_queryPendingActionsList = (output, context) => {
13679
13075
  });
13680
13076
  };
13681
13077
  const deserializeAws_queryPendingModifiedValues = (output, context) => {
13682
- const contents = {
13683
- MasterUserPassword: undefined,
13684
- NodeType: undefined,
13685
- NumberOfNodes: undefined,
13686
- ClusterType: undefined,
13687
- ClusterVersion: undefined,
13688
- AutomatedSnapshotRetentionPeriod: undefined,
13689
- ClusterIdentifier: undefined,
13690
- PubliclyAccessible: undefined,
13691
- EnhancedVpcRouting: undefined,
13692
- MaintenanceTrackName: undefined,
13693
- EncryptionType: undefined,
13694
- };
13078
+ const contents = {};
13695
13079
  if (output["MasterUserPassword"] !== undefined) {
13696
13080
  contents.MasterUserPassword = (0, smithy_client_1.expectString)(output["MasterUserPassword"]);
13697
13081
  }
@@ -13728,28 +13112,21 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
13728
13112
  return contents;
13729
13113
  };
13730
13114
  const deserializeAws_queryPurchaseReservedNodeOfferingResult = (output, context) => {
13731
- const contents = {
13732
- ReservedNode: undefined,
13733
- };
13115
+ const contents = {};
13734
13116
  if (output["ReservedNode"] !== undefined) {
13735
13117
  contents.ReservedNode = deserializeAws_queryReservedNode(output["ReservedNode"], context);
13736
13118
  }
13737
13119
  return contents;
13738
13120
  };
13739
13121
  const deserializeAws_queryRebootClusterResult = (output, context) => {
13740
- const contents = {
13741
- Cluster: undefined,
13742
- };
13122
+ const contents = {};
13743
13123
  if (output["Cluster"] !== undefined) {
13744
13124
  contents.Cluster = deserializeAws_queryCluster(output["Cluster"], context);
13745
13125
  }
13746
13126
  return contents;
13747
13127
  };
13748
13128
  const deserializeAws_queryRecurringCharge = (output, context) => {
13749
- const contents = {
13750
- RecurringChargeAmount: undefined,
13751
- RecurringChargeFrequency: undefined,
13752
- };
13129
+ const contents = {};
13753
13130
  if (output["RecurringChargeAmount"] !== undefined) {
13754
13131
  contents.RecurringChargeAmount = (0, smithy_client_1.strictParseFloat)(output["RecurringChargeAmount"]);
13755
13132
  }
@@ -13766,21 +13143,7 @@ const deserializeAws_queryRecurringChargeList = (output, context) => {
13766
13143
  });
13767
13144
  };
13768
13145
  const deserializeAws_queryReservedNode = (output, context) => {
13769
- const contents = {
13770
- ReservedNodeId: undefined,
13771
- ReservedNodeOfferingId: undefined,
13772
- NodeType: undefined,
13773
- StartTime: undefined,
13774
- Duration: undefined,
13775
- FixedPrice: undefined,
13776
- UsagePrice: undefined,
13777
- CurrencyCode: undefined,
13778
- NodeCount: undefined,
13779
- State: undefined,
13780
- OfferingType: undefined,
13781
- RecurringCharges: undefined,
13782
- ReservedNodeOfferingType: undefined,
13783
- };
13146
+ const contents = {};
13784
13147
  if (output["ReservedNodeId"] !== undefined) {
13785
13148
  contents.ReservedNodeId = (0, smithy_client_1.expectString)(output["ReservedNodeId"]);
13786
13149
  }
@@ -13826,29 +13189,21 @@ const deserializeAws_queryReservedNode = (output, context) => {
13826
13189
  return contents;
13827
13190
  };
13828
13191
  const deserializeAws_queryReservedNodeAlreadyExistsFault = (output, context) => {
13829
- const contents = {
13830
- message: undefined,
13831
- };
13192
+ const contents = {};
13832
13193
  if (output["message"] !== undefined) {
13833
13194
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13834
13195
  }
13835
13196
  return contents;
13836
13197
  };
13837
13198
  const deserializeAws_queryReservedNodeAlreadyMigratedFault = (output, context) => {
13838
- const contents = {
13839
- message: undefined,
13840
- };
13199
+ const contents = {};
13841
13200
  if (output["message"] !== undefined) {
13842
13201
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13843
13202
  }
13844
13203
  return contents;
13845
13204
  };
13846
13205
  const deserializeAws_queryReservedNodeConfigurationOption = (output, context) => {
13847
- const contents = {
13848
- SourceReservedNode: undefined,
13849
- TargetReservedNodeCount: undefined,
13850
- TargetReservedNodeOffering: undefined,
13851
- };
13206
+ const contents = {};
13852
13207
  if (output["SourceReservedNode"] !== undefined) {
13853
13208
  contents.SourceReservedNode = deserializeAws_queryReservedNode(output["SourceReservedNode"], context);
13854
13209
  }
@@ -13868,26 +13223,14 @@ const deserializeAws_queryReservedNodeConfigurationOptionList = (output, context
13868
13223
  });
13869
13224
  };
13870
13225
  const deserializeAws_queryReservedNodeExchangeNotFoundFault = (output, context) => {
13871
- const contents = {
13872
- message: undefined,
13873
- };
13226
+ const contents = {};
13874
13227
  if (output["message"] !== undefined) {
13875
13228
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13876
13229
  }
13877
13230
  return contents;
13878
13231
  };
13879
13232
  const deserializeAws_queryReservedNodeExchangeStatus = (output, context) => {
13880
- const contents = {
13881
- ReservedNodeExchangeRequestId: undefined,
13882
- Status: undefined,
13883
- RequestTime: undefined,
13884
- SourceReservedNodeId: undefined,
13885
- SourceReservedNodeType: undefined,
13886
- SourceReservedNodeCount: undefined,
13887
- TargetReservedNodeOfferingId: undefined,
13888
- TargetReservedNodeType: undefined,
13889
- TargetReservedNodeCount: undefined,
13890
- };
13233
+ const contents = {};
13891
13234
  if (output["ReservedNodeExchangeRequestId"] !== undefined) {
13892
13235
  contents.ReservedNodeExchangeRequestId = (0, smithy_client_1.expectString)(output["ReservedNodeExchangeRequestId"]);
13893
13236
  }
@@ -13932,26 +13275,14 @@ const deserializeAws_queryReservedNodeList = (output, context) => {
13932
13275
  });
13933
13276
  };
13934
13277
  const deserializeAws_queryReservedNodeNotFoundFault = (output, context) => {
13935
- const contents = {
13936
- message: undefined,
13937
- };
13278
+ const contents = {};
13938
13279
  if (output["message"] !== undefined) {
13939
13280
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13940
13281
  }
13941
13282
  return contents;
13942
13283
  };
13943
13284
  const deserializeAws_queryReservedNodeOffering = (output, context) => {
13944
- const contents = {
13945
- ReservedNodeOfferingId: undefined,
13946
- NodeType: undefined,
13947
- Duration: undefined,
13948
- FixedPrice: undefined,
13949
- UsagePrice: undefined,
13950
- CurrencyCode: undefined,
13951
- OfferingType: undefined,
13952
- RecurringCharges: undefined,
13953
- ReservedNodeOfferingType: undefined,
13954
- };
13285
+ const contents = {};
13955
13286
  if (output["ReservedNodeOfferingId"] !== undefined) {
13956
13287
  contents.ReservedNodeOfferingId = (0, smithy_client_1.expectString)(output["ReservedNodeOfferingId"]);
13957
13288
  }
@@ -13992,19 +13323,14 @@ const deserializeAws_queryReservedNodeOfferingList = (output, context) => {
13992
13323
  });
13993
13324
  };
13994
13325
  const deserializeAws_queryReservedNodeOfferingNotFoundFault = (output, context) => {
13995
- const contents = {
13996
- message: undefined,
13997
- };
13326
+ const contents = {};
13998
13327
  if (output["message"] !== undefined) {
13999
13328
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14000
13329
  }
14001
13330
  return contents;
14002
13331
  };
14003
13332
  const deserializeAws_queryReservedNodeOfferingsMessage = (output, context) => {
14004
- const contents = {
14005
- Marker: undefined,
14006
- ReservedNodeOfferings: undefined,
14007
- };
13333
+ const contents = {};
14008
13334
  if (output["Marker"] !== undefined) {
14009
13335
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
14010
13336
  }
@@ -14018,19 +13344,14 @@ const deserializeAws_queryReservedNodeOfferingsMessage = (output, context) => {
14018
13344
  return contents;
14019
13345
  };
14020
13346
  const deserializeAws_queryReservedNodeQuotaExceededFault = (output, context) => {
14021
- const contents = {
14022
- message: undefined,
14023
- };
13347
+ const contents = {};
14024
13348
  if (output["message"] !== undefined) {
14025
13349
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14026
13350
  }
14027
13351
  return contents;
14028
13352
  };
14029
13353
  const deserializeAws_queryReservedNodesMessage = (output, context) => {
14030
- const contents = {
14031
- Marker: undefined,
14032
- ReservedNodes: undefined,
14033
- };
13354
+ const contents = {};
14034
13355
  if (output["Marker"] !== undefined) {
14035
13356
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
14036
13357
  }
@@ -14043,15 +13364,7 @@ const deserializeAws_queryReservedNodesMessage = (output, context) => {
14043
13364
  return contents;
14044
13365
  };
14045
13366
  const deserializeAws_queryResizeClusterMessage = (output, context) => {
14046
- const contents = {
14047
- ClusterIdentifier: undefined,
14048
- ClusterType: undefined,
14049
- NodeType: undefined,
14050
- NumberOfNodes: undefined,
14051
- Classic: undefined,
14052
- ReservedNodeId: undefined,
14053
- TargetReservedNodeOfferingId: undefined,
14054
- };
13367
+ const contents = {};
14055
13368
  if (output["ClusterIdentifier"] !== undefined) {
14056
13369
  contents.ClusterIdentifier = (0, smithy_client_1.expectString)(output["ClusterIdentifier"]);
14057
13370
  }
@@ -14076,19 +13389,14 @@ const deserializeAws_queryResizeClusterMessage = (output, context) => {
14076
13389
  return contents;
14077
13390
  };
14078
13391
  const deserializeAws_queryResizeClusterResult = (output, context) => {
14079
- const contents = {
14080
- Cluster: undefined,
14081
- };
13392
+ const contents = {};
14082
13393
  if (output["Cluster"] !== undefined) {
14083
13394
  contents.Cluster = deserializeAws_queryCluster(output["Cluster"], context);
14084
13395
  }
14085
13396
  return contents;
14086
13397
  };
14087
13398
  const deserializeAws_queryResizeInfo = (output, context) => {
14088
- const contents = {
14089
- ResizeType: undefined,
14090
- AllowCancelResize: undefined,
14091
- };
13399
+ const contents = {};
14092
13400
  if (output["ResizeType"] !== undefined) {
14093
13401
  contents.ResizeType = (0, smithy_client_1.expectString)(output["ResizeType"]);
14094
13402
  }
@@ -14098,33 +13406,14 @@ const deserializeAws_queryResizeInfo = (output, context) => {
14098
13406
  return contents;
14099
13407
  };
14100
13408
  const deserializeAws_queryResizeNotFoundFault = (output, context) => {
14101
- const contents = {
14102
- message: undefined,
14103
- };
13409
+ const contents = {};
14104
13410
  if (output["message"] !== undefined) {
14105
13411
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14106
13412
  }
14107
13413
  return contents;
14108
13414
  };
14109
13415
  const deserializeAws_queryResizeProgressMessage = (output, context) => {
14110
- const contents = {
14111
- TargetNodeType: undefined,
14112
- TargetNumberOfNodes: undefined,
14113
- TargetClusterType: undefined,
14114
- Status: undefined,
14115
- ImportTablesCompleted: undefined,
14116
- ImportTablesInProgress: undefined,
14117
- ImportTablesNotStarted: undefined,
14118
- AvgResizeRateInMegaBytesPerSecond: undefined,
14119
- TotalResizeDataInMegaBytes: undefined,
14120
- ProgressInMegaBytes: undefined,
14121
- ElapsedTimeInSeconds: undefined,
14122
- EstimatedTimeToCompletionInSeconds: undefined,
14123
- ResizeType: undefined,
14124
- Message: undefined,
14125
- TargetEncryptionType: undefined,
14126
- DataTransferProgressPercent: undefined,
14127
- };
13416
+ const contents = {};
14128
13417
  if (output["TargetNodeType"] !== undefined) {
14129
13418
  contents.TargetNodeType = (0, smithy_client_1.expectString)(output["TargetNodeType"]);
14130
13419
  }
@@ -14187,9 +13476,7 @@ const deserializeAws_queryResizeProgressMessage = (output, context) => {
14187
13476
  return contents;
14188
13477
  };
14189
13478
  const deserializeAws_queryResourceNotFoundFault = (output, context) => {
14190
- const contents = {
14191
- message: undefined,
14192
- };
13479
+ const contents = {};
14193
13480
  if (output["message"] !== undefined) {
14194
13481
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14195
13482
  }
@@ -14203,23 +13490,14 @@ const deserializeAws_queryRestorableNodeTypeList = (output, context) => {
14203
13490
  });
14204
13491
  };
14205
13492
  const deserializeAws_queryRestoreFromClusterSnapshotResult = (output, context) => {
14206
- const contents = {
14207
- Cluster: undefined,
14208
- };
13493
+ const contents = {};
14209
13494
  if (output["Cluster"] !== undefined) {
14210
13495
  contents.Cluster = deserializeAws_queryCluster(output["Cluster"], context);
14211
13496
  }
14212
13497
  return contents;
14213
13498
  };
14214
13499
  const deserializeAws_queryRestoreStatus = (output, context) => {
14215
- const contents = {
14216
- Status: undefined,
14217
- CurrentRestoreRateInMegaBytesPerSecond: undefined,
14218
- SnapshotSizeInMegaBytes: undefined,
14219
- ProgressInMegaBytes: undefined,
14220
- ElapsedTimeInSeconds: undefined,
14221
- EstimatedTimeToCompletionInSeconds: undefined,
14222
- };
13500
+ const contents = {};
14223
13501
  if (output["Status"] !== undefined) {
14224
13502
  contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
14225
13503
  }
@@ -14241,38 +13519,28 @@ const deserializeAws_queryRestoreStatus = (output, context) => {
14241
13519
  return contents;
14242
13520
  };
14243
13521
  const deserializeAws_queryRestoreTableFromClusterSnapshotResult = (output, context) => {
14244
- const contents = {
14245
- TableRestoreStatus: undefined,
14246
- };
13522
+ const contents = {};
14247
13523
  if (output["TableRestoreStatus"] !== undefined) {
14248
13524
  contents.TableRestoreStatus = deserializeAws_queryTableRestoreStatus(output["TableRestoreStatus"], context);
14249
13525
  }
14250
13526
  return contents;
14251
13527
  };
14252
13528
  const deserializeAws_queryResumeClusterMessage = (output, context) => {
14253
- const contents = {
14254
- ClusterIdentifier: undefined,
14255
- };
13529
+ const contents = {};
14256
13530
  if (output["ClusterIdentifier"] !== undefined) {
14257
13531
  contents.ClusterIdentifier = (0, smithy_client_1.expectString)(output["ClusterIdentifier"]);
14258
13532
  }
14259
13533
  return contents;
14260
13534
  };
14261
13535
  const deserializeAws_queryResumeClusterResult = (output, context) => {
14262
- const contents = {
14263
- Cluster: undefined,
14264
- };
13536
+ const contents = {};
14265
13537
  if (output["Cluster"] !== undefined) {
14266
13538
  contents.Cluster = deserializeAws_queryCluster(output["Cluster"], context);
14267
13539
  }
14268
13540
  return contents;
14269
13541
  };
14270
13542
  const deserializeAws_queryRevisionTarget = (output, context) => {
14271
- const contents = {
14272
- DatabaseRevision: undefined,
14273
- Description: undefined,
14274
- DatabaseRevisionReleaseDate: undefined,
14275
- };
13543
+ const contents = {};
14276
13544
  if (output["DatabaseRevision"] !== undefined) {
14277
13545
  contents.DatabaseRevision = (0, smithy_client_1.expectString)(output["DatabaseRevision"]);
14278
13546
  }
@@ -14292,44 +13560,28 @@ const deserializeAws_queryRevisionTargetsList = (output, context) => {
14292
13560
  });
14293
13561
  };
14294
13562
  const deserializeAws_queryRevokeClusterSecurityGroupIngressResult = (output, context) => {
14295
- const contents = {
14296
- ClusterSecurityGroup: undefined,
14297
- };
13563
+ const contents = {};
14298
13564
  if (output["ClusterSecurityGroup"] !== undefined) {
14299
13565
  contents.ClusterSecurityGroup = deserializeAws_queryClusterSecurityGroup(output["ClusterSecurityGroup"], context);
14300
13566
  }
14301
13567
  return contents;
14302
13568
  };
14303
13569
  const deserializeAws_queryRevokeSnapshotAccessResult = (output, context) => {
14304
- const contents = {
14305
- Snapshot: undefined,
14306
- };
13570
+ const contents = {};
14307
13571
  if (output["Snapshot"] !== undefined) {
14308
13572
  contents.Snapshot = deserializeAws_querySnapshot(output["Snapshot"], context);
14309
13573
  }
14310
13574
  return contents;
14311
13575
  };
14312
13576
  const deserializeAws_queryRotateEncryptionKeyResult = (output, context) => {
14313
- const contents = {
14314
- Cluster: undefined,
14315
- };
13577
+ const contents = {};
14316
13578
  if (output["Cluster"] !== undefined) {
14317
13579
  contents.Cluster = deserializeAws_queryCluster(output["Cluster"], context);
14318
13580
  }
14319
13581
  return contents;
14320
13582
  };
14321
13583
  const deserializeAws_queryScheduledAction = (output, context) => {
14322
- const contents = {
14323
- ScheduledActionName: undefined,
14324
- TargetAction: undefined,
14325
- Schedule: undefined,
14326
- IamRole: undefined,
14327
- ScheduledActionDescription: undefined,
14328
- State: undefined,
14329
- NextInvocations: undefined,
14330
- StartTime: undefined,
14331
- EndTime: undefined,
14332
- };
13584
+ const contents = {};
14333
13585
  if (output["ScheduledActionName"] !== undefined) {
14334
13586
  contents.ScheduledActionName = (0, smithy_client_1.expectString)(output["ScheduledActionName"]);
14335
13587
  }
@@ -14364,9 +13616,7 @@ const deserializeAws_queryScheduledAction = (output, context) => {
14364
13616
  return contents;
14365
13617
  };
14366
13618
  const deserializeAws_queryScheduledActionAlreadyExistsFault = (output, context) => {
14367
- const contents = {
14368
- message: undefined,
14369
- };
13619
+ const contents = {};
14370
13620
  if (output["message"] !== undefined) {
14371
13621
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14372
13622
  }
@@ -14380,28 +13630,21 @@ const deserializeAws_queryScheduledActionList = (output, context) => {
14380
13630
  });
14381
13631
  };
14382
13632
  const deserializeAws_queryScheduledActionNotFoundFault = (output, context) => {
14383
- const contents = {
14384
- message: undefined,
14385
- };
13633
+ const contents = {};
14386
13634
  if (output["message"] !== undefined) {
14387
13635
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14388
13636
  }
14389
13637
  return contents;
14390
13638
  };
14391
13639
  const deserializeAws_queryScheduledActionQuotaExceededFault = (output, context) => {
14392
- const contents = {
14393
- message: undefined,
14394
- };
13640
+ const contents = {};
14395
13641
  if (output["message"] !== undefined) {
14396
13642
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14397
13643
  }
14398
13644
  return contents;
14399
13645
  };
14400
13646
  const deserializeAws_queryScheduledActionsMessage = (output, context) => {
14401
- const contents = {
14402
- Marker: undefined,
14403
- ScheduledActions: undefined,
14404
- };
13647
+ const contents = {};
14405
13648
  if (output["Marker"] !== undefined) {
14406
13649
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
14407
13650
  }
@@ -14421,11 +13664,7 @@ const deserializeAws_queryScheduledActionTimeList = (output, context) => {
14421
13664
  });
14422
13665
  };
14423
13666
  const deserializeAws_queryScheduledActionType = (output, context) => {
14424
- const contents = {
14425
- ResizeCluster: undefined,
14426
- PauseCluster: undefined,
14427
- ResumeCluster: undefined,
14428
- };
13667
+ const contents = {};
14429
13668
  if (output["ResizeCluster"] !== undefined) {
14430
13669
  contents.ResizeCluster = deserializeAws_queryResizeClusterMessage(output["ResizeCluster"], context);
14431
13670
  }
@@ -14438,9 +13677,7 @@ const deserializeAws_queryScheduledActionType = (output, context) => {
14438
13677
  return contents;
14439
13678
  };
14440
13679
  const deserializeAws_queryScheduledActionTypeUnsupportedFault = (output, context) => {
14441
- const contents = {
14442
- message: undefined,
14443
- };
13680
+ const contents = {};
14444
13681
  if (output["message"] !== undefined) {
14445
13682
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14446
13683
  }
@@ -14454,9 +13691,7 @@ const deserializeAws_queryScheduleDefinitionList = (output, context) => {
14454
13691
  });
14455
13692
  };
14456
13693
  const deserializeAws_queryScheduleDefinitionTypeUnsupportedFault = (output, context) => {
14457
- const contents = {
14458
- message: undefined,
14459
- };
13694
+ const contents = {};
14460
13695
  if (output["message"] !== undefined) {
14461
13696
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14462
13697
  }
@@ -14470,42 +13705,7 @@ const deserializeAws_queryScheduledSnapshotTimeList = (output, context) => {
14470
13705
  });
14471
13706
  };
14472
13707
  const deserializeAws_querySnapshot = (output, context) => {
14473
- const contents = {
14474
- SnapshotIdentifier: undefined,
14475
- ClusterIdentifier: undefined,
14476
- SnapshotCreateTime: undefined,
14477
- Status: undefined,
14478
- Port: undefined,
14479
- AvailabilityZone: undefined,
14480
- ClusterCreateTime: undefined,
14481
- MasterUsername: undefined,
14482
- ClusterVersion: undefined,
14483
- EngineFullVersion: undefined,
14484
- SnapshotType: undefined,
14485
- NodeType: undefined,
14486
- NumberOfNodes: undefined,
14487
- DBName: undefined,
14488
- VpcId: undefined,
14489
- Encrypted: undefined,
14490
- KmsKeyId: undefined,
14491
- EncryptedWithHSM: undefined,
14492
- AccountsWithRestoreAccess: undefined,
14493
- OwnerAccount: undefined,
14494
- TotalBackupSizeInMegaBytes: undefined,
14495
- ActualIncrementalBackupSizeInMegaBytes: undefined,
14496
- BackupProgressInMegaBytes: undefined,
14497
- CurrentBackupRateInMegaBytesPerSecond: undefined,
14498
- EstimatedSecondsToCompletion: undefined,
14499
- ElapsedTimeInSeconds: undefined,
14500
- SourceRegion: undefined,
14501
- Tags: undefined,
14502
- RestorableNodeTypes: undefined,
14503
- EnhancedVpcRouting: undefined,
14504
- MaintenanceTrackName: undefined,
14505
- ManualSnapshotRetentionPeriod: undefined,
14506
- ManualSnapshotRemainingDays: undefined,
14507
- SnapshotRetentionStartTime: undefined,
14508
- };
13708
+ const contents = {};
14509
13709
  if (output["SnapshotIdentifier"] !== undefined) {
14510
13710
  contents.SnapshotIdentifier = (0, smithy_client_1.expectString)(output["SnapshotIdentifier"]);
14511
13711
  }
@@ -14621,38 +13821,28 @@ const deserializeAws_querySnapshot = (output, context) => {
14621
13821
  return contents;
14622
13822
  };
14623
13823
  const deserializeAws_querySnapshotCopyAlreadyDisabledFault = (output, context) => {
14624
- const contents = {
14625
- message: undefined,
14626
- };
13824
+ const contents = {};
14627
13825
  if (output["message"] !== undefined) {
14628
13826
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14629
13827
  }
14630
13828
  return contents;
14631
13829
  };
14632
13830
  const deserializeAws_querySnapshotCopyAlreadyEnabledFault = (output, context) => {
14633
- const contents = {
14634
- message: undefined,
14635
- };
13831
+ const contents = {};
14636
13832
  if (output["message"] !== undefined) {
14637
13833
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14638
13834
  }
14639
13835
  return contents;
14640
13836
  };
14641
13837
  const deserializeAws_querySnapshotCopyDisabledFault = (output, context) => {
14642
- const contents = {
14643
- message: undefined,
14644
- };
13838
+ const contents = {};
14645
13839
  if (output["message"] !== undefined) {
14646
13840
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14647
13841
  }
14648
13842
  return contents;
14649
13843
  };
14650
13844
  const deserializeAws_querySnapshotCopyGrant = (output, context) => {
14651
- const contents = {
14652
- SnapshotCopyGrantName: undefined,
14653
- KmsKeyId: undefined,
14654
- Tags: undefined,
14655
- };
13845
+ const contents = {};
14656
13846
  if (output["SnapshotCopyGrantName"] !== undefined) {
14657
13847
  contents.SnapshotCopyGrantName = (0, smithy_client_1.expectString)(output["SnapshotCopyGrantName"]);
14658
13848
  }
@@ -14668,9 +13858,7 @@ const deserializeAws_querySnapshotCopyGrant = (output, context) => {
14668
13858
  return contents;
14669
13859
  };
14670
13860
  const deserializeAws_querySnapshotCopyGrantAlreadyExistsFault = (output, context) => {
14671
- const contents = {
14672
- message: undefined,
14673
- };
13861
+ const contents = {};
14674
13862
  if (output["message"] !== undefined) {
14675
13863
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14676
13864
  }
@@ -14684,10 +13872,7 @@ const deserializeAws_querySnapshotCopyGrantList = (output, context) => {
14684
13872
  });
14685
13873
  };
14686
13874
  const deserializeAws_querySnapshotCopyGrantMessage = (output, context) => {
14687
- const contents = {
14688
- Marker: undefined,
14689
- SnapshotCopyGrants: undefined,
14690
- };
13875
+ const contents = {};
14691
13876
  if (output["Marker"] !== undefined) {
14692
13877
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
14693
13878
  }
@@ -14701,30 +13886,21 @@ const deserializeAws_querySnapshotCopyGrantMessage = (output, context) => {
14701
13886
  return contents;
14702
13887
  };
14703
13888
  const deserializeAws_querySnapshotCopyGrantNotFoundFault = (output, context) => {
14704
- const contents = {
14705
- message: undefined,
14706
- };
13889
+ const contents = {};
14707
13890
  if (output["message"] !== undefined) {
14708
13891
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14709
13892
  }
14710
13893
  return contents;
14711
13894
  };
14712
13895
  const deserializeAws_querySnapshotCopyGrantQuotaExceededFault = (output, context) => {
14713
- const contents = {
14714
- message: undefined,
14715
- };
13896
+ const contents = {};
14716
13897
  if (output["message"] !== undefined) {
14717
13898
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14718
13899
  }
14719
13900
  return contents;
14720
13901
  };
14721
13902
  const deserializeAws_querySnapshotErrorMessage = (output, context) => {
14722
- const contents = {
14723
- SnapshotIdentifier: undefined,
14724
- SnapshotClusterIdentifier: undefined,
14725
- FailureCode: undefined,
14726
- FailureReason: undefined,
14727
- };
13903
+ const contents = {};
14728
13904
  if (output["SnapshotIdentifier"] !== undefined) {
14729
13905
  contents.SnapshotIdentifier = (0, smithy_client_1.expectString)(output["SnapshotIdentifier"]);
14730
13906
  }
@@ -14754,10 +13930,7 @@ const deserializeAws_querySnapshotList = (output, context) => {
14754
13930
  });
14755
13931
  };
14756
13932
  const deserializeAws_querySnapshotMessage = (output, context) => {
14757
- const contents = {
14758
- Marker: undefined,
14759
- Snapshots: undefined,
14760
- };
13933
+ const contents = {};
14761
13934
  if (output["Marker"] !== undefined) {
14762
13935
  contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
14763
13936
  }
@@ -14770,15 +13943,7 @@ const deserializeAws_querySnapshotMessage = (output, context) => {
14770
13943
  return contents;
14771
13944
  };
14772
13945
  const deserializeAws_querySnapshotSchedule = (output, context) => {
14773
- const contents = {
14774
- ScheduleDefinitions: undefined,
14775
- ScheduleIdentifier: undefined,
14776
- ScheduleDescription: undefined,
14777
- Tags: undefined,
14778
- NextInvocations: undefined,
14779
- AssociatedClusterCount: undefined,
14780
- AssociatedClusters: undefined,
14781
- };
13946
+ const contents = {};
14782
13947
  if (output.ScheduleDefinitions === "") {
14783
13948
  contents.ScheduleDefinitions = [];
14784
13949
  }
@@ -14817,9 +13982,7 @@ const deserializeAws_querySnapshotSchedule = (output, context) => {
14817
13982
  return contents;
14818
13983
  };
14819
13984
  const deserializeAws_querySnapshotScheduleAlreadyExistsFault = (output, context) => {
14820
- const contents = {
14821
- message: undefined,
14822
- };
13985
+ const contents = {};
14823
13986
  if (output["message"] !== undefined) {
14824
13987
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14825
13988
  }
@@ -14833,54 +13996,42 @@ const deserializeAws_querySnapshotScheduleList = (output, context) => {
14833
13996
  });
14834
13997
  };
14835
13998
  const deserializeAws_querySnapshotScheduleNotFoundFault = (output, context) => {
14836
- const contents = {
14837
- message: undefined,
14838
- };
13999
+ const contents = {};
14839
14000
  if (output["message"] !== undefined) {
14840
14001
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14841
14002
  }
14842
14003
  return contents;
14843
14004
  };
14844
14005
  const deserializeAws_querySnapshotScheduleQuotaExceededFault = (output, context) => {
14845
- const contents = {
14846
- message: undefined,
14847
- };
14006
+ const contents = {};
14848
14007
  if (output["message"] !== undefined) {
14849
14008
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14850
14009
  }
14851
14010
  return contents;
14852
14011
  };
14853
14012
  const deserializeAws_querySnapshotScheduleUpdateInProgressFault = (output, context) => {
14854
- const contents = {
14855
- message: undefined,
14856
- };
14013
+ const contents = {};
14857
14014
  if (output["message"] !== undefined) {
14858
14015
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14859
14016
  }
14860
14017
  return contents;
14861
14018
  };
14862
14019
  const deserializeAws_querySNSInvalidTopicFault = (output, context) => {
14863
- const contents = {
14864
- message: undefined,
14865
- };
14020
+ const contents = {};
14866
14021
  if (output["message"] !== undefined) {
14867
14022
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14868
14023
  }
14869
14024
  return contents;
14870
14025
  };
14871
14026
  const deserializeAws_querySNSNoAuthorizationFault = (output, context) => {
14872
- const contents = {
14873
- message: undefined,
14874
- };
14027
+ const contents = {};
14875
14028
  if (output["message"] !== undefined) {
14876
14029
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14877
14030
  }
14878
14031
  return contents;
14879
14032
  };
14880
14033
  const deserializeAws_querySNSTopicArnNotFoundFault = (output, context) => {
14881
- const contents = {
14882
- message: undefined,
14883
- };
14034
+ const contents = {};
14884
14035
  if (output["message"] !== undefined) {
14885
14036
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14886
14037
  }
@@ -14894,20 +14045,14 @@ const deserializeAws_querySourceIdsList = (output, context) => {
14894
14045
  });
14895
14046
  };
14896
14047
  const deserializeAws_querySourceNotFoundFault = (output, context) => {
14897
- const contents = {
14898
- message: undefined,
14899
- };
14048
+ const contents = {};
14900
14049
  if (output["message"] !== undefined) {
14901
14050
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14902
14051
  }
14903
14052
  return contents;
14904
14053
  };
14905
14054
  const deserializeAws_querySubnet = (output, context) => {
14906
- const contents = {
14907
- SubnetIdentifier: undefined,
14908
- SubnetAvailabilityZone: undefined,
14909
- SubnetStatus: undefined,
14910
- };
14055
+ const contents = {};
14911
14056
  if (output["SubnetIdentifier"] !== undefined) {
14912
14057
  contents.SubnetIdentifier = (0, smithy_client_1.expectString)(output["SubnetIdentifier"]);
14913
14058
  }
@@ -14920,9 +14065,7 @@ const deserializeAws_querySubnet = (output, context) => {
14920
14065
  return contents;
14921
14066
  };
14922
14067
  const deserializeAws_querySubnetAlreadyInUse = (output, context) => {
14923
- const contents = {
14924
- message: undefined,
14925
- };
14068
+ const contents = {};
14926
14069
  if (output["message"] !== undefined) {
14927
14070
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14928
14071
  }
@@ -14936,54 +14079,42 @@ const deserializeAws_querySubnetList = (output, context) => {
14936
14079
  });
14937
14080
  };
14938
14081
  const deserializeAws_querySubscriptionAlreadyExistFault = (output, context) => {
14939
- const contents = {
14940
- message: undefined,
14941
- };
14082
+ const contents = {};
14942
14083
  if (output["message"] !== undefined) {
14943
14084
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14944
14085
  }
14945
14086
  return contents;
14946
14087
  };
14947
14088
  const deserializeAws_querySubscriptionCategoryNotFoundFault = (output, context) => {
14948
- const contents = {
14949
- message: undefined,
14950
- };
14089
+ const contents = {};
14951
14090
  if (output["message"] !== undefined) {
14952
14091
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14953
14092
  }
14954
14093
  return contents;
14955
14094
  };
14956
14095
  const deserializeAws_querySubscriptionEventIdNotFoundFault = (output, context) => {
14957
- const contents = {
14958
- message: undefined,
14959
- };
14096
+ const contents = {};
14960
14097
  if (output["message"] !== undefined) {
14961
14098
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14962
14099
  }
14963
14100
  return contents;
14964
14101
  };
14965
14102
  const deserializeAws_querySubscriptionNotFoundFault = (output, context) => {
14966
- const contents = {
14967
- message: undefined,
14968
- };
14103
+ const contents = {};
14969
14104
  if (output["message"] !== undefined) {
14970
14105
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14971
14106
  }
14972
14107
  return contents;
14973
14108
  };
14974
14109
  const deserializeAws_querySubscriptionSeverityNotFoundFault = (output, context) => {
14975
- const contents = {
14976
- message: undefined,
14977
- };
14110
+ const contents = {};
14978
14111
  if (output["message"] !== undefined) {
14979
14112
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
14980
14113
  }
14981
14114
  return contents;
14982
14115
  };
14983
14116
  const deserializeAws_querySupportedOperation = (output, context) => {
14984
- const contents = {
14985
- OperationName: undefined,
14986
- };
14117
+ const contents = {};
14987
14118
  if (output["OperationName"] !== undefined) {
14988
14119
  contents.OperationName = (0, smithy_client_1.expectString)(output["OperationName"]);
14989
14120
  }
@@ -14997,9 +14128,7 @@ const deserializeAws_querySupportedOperationList = (output, context) => {
14997
14128
  });
14998
14129
  };
14999
14130
  const deserializeAws_querySupportedPlatform = (output, context) => {
15000
- const contents = {
15001
- Name: undefined,
15002
- };
14131
+ const contents = {};
15003
14132
  if (output["Name"] !== undefined) {
15004
14133
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
15005
14134
  }
@@ -15013,40 +14142,21 @@ const deserializeAws_querySupportedPlatformsList = (output, context) => {
15013
14142
  });
15014
14143
  };
15015
14144
  const deserializeAws_queryTableLimitExceededFault = (output, context) => {
15016
- const contents = {
15017
- message: undefined,
15018
- };
14145
+ const contents = {};
15019
14146
  if (output["message"] !== undefined) {
15020
14147
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
15021
14148
  }
15022
14149
  return contents;
15023
14150
  };
15024
14151
  const deserializeAws_queryTableRestoreNotFoundFault = (output, context) => {
15025
- const contents = {
15026
- message: undefined,
15027
- };
14152
+ const contents = {};
15028
14153
  if (output["message"] !== undefined) {
15029
14154
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
15030
14155
  }
15031
14156
  return contents;
15032
14157
  };
15033
14158
  const deserializeAws_queryTableRestoreStatus = (output, context) => {
15034
- const contents = {
15035
- TableRestoreRequestId: undefined,
15036
- Status: undefined,
15037
- Message: undefined,
15038
- RequestTime: undefined,
15039
- ProgressInMegaBytes: undefined,
15040
- TotalDataInMegaBytes: undefined,
15041
- ClusterIdentifier: undefined,
15042
- SnapshotIdentifier: undefined,
15043
- SourceDatabaseName: undefined,
15044
- SourceSchemaName: undefined,
15045
- SourceTableName: undefined,
15046
- TargetDatabaseName: undefined,
15047
- TargetSchemaName: undefined,
15048
- NewTableName: undefined,
15049
- };
14159
+ const contents = {};
15050
14160
  if (output["TableRestoreRequestId"] !== undefined) {
15051
14161
  contents.TableRestoreRequestId = (0, smithy_client_1.expectString)(output["TableRestoreRequestId"]);
15052
14162
  }
@@ -15099,10 +14209,7 @@ const deserializeAws_queryTableRestoreStatusList = (output, context) => {
15099
14209
  });
15100
14210
  };
15101
14211
  const deserializeAws_queryTableRestoreStatusMessage = (output, context) => {
15102
- const contents = {
15103
- TableRestoreStatusDetails: undefined,
15104
- Marker: undefined,
15105
- };
14212
+ const contents = {};
15106
14213
  if (output.TableRestoreStatusDetails === "") {
15107
14214
  contents.TableRestoreStatusDetails = [];
15108
14215
  }
@@ -15116,10 +14223,7 @@ const deserializeAws_queryTableRestoreStatusMessage = (output, context) => {
15116
14223
  return contents;
15117
14224
  };
15118
14225
  const deserializeAws_queryTag = (output, context) => {
15119
- const contents = {
15120
- Key: undefined,
15121
- Value: undefined,
15122
- };
14226
+ const contents = {};
15123
14227
  if (output["Key"] !== undefined) {
15124
14228
  contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
15125
14229
  }
@@ -15129,11 +14233,7 @@ const deserializeAws_queryTag = (output, context) => {
15129
14233
  return contents;
15130
14234
  };
15131
14235
  const deserializeAws_queryTaggedResource = (output, context) => {
15132
- const contents = {
15133
- Tag: undefined,
15134
- ResourceName: undefined,
15135
- ResourceType: undefined,
15136
- };
14236
+ const contents = {};
15137
14237
  if (output["Tag"] !== undefined) {
15138
14238
  contents.Tag = deserializeAws_queryTag(output["Tag"], context);
15139
14239
  }
@@ -15153,10 +14253,7 @@ const deserializeAws_queryTaggedResourceList = (output, context) => {
15153
14253
  });
15154
14254
  };
15155
14255
  const deserializeAws_queryTaggedResourceListMessage = (output, context) => {
15156
- const contents = {
15157
- TaggedResources: undefined,
15158
- Marker: undefined,
15159
- };
14256
+ const contents = {};
15160
14257
  if (output.TaggedResources === "") {
15161
14258
  contents.TaggedResources = [];
15162
14259
  }
@@ -15169,9 +14266,7 @@ const deserializeAws_queryTaggedResourceListMessage = (output, context) => {
15169
14266
  return contents;
15170
14267
  };
15171
14268
  const deserializeAws_queryTagLimitExceededFault = (output, context) => {
15172
- const contents = {
15173
- message: undefined,
15174
- };
14269
+ const contents = {};
15175
14270
  if (output["message"] !== undefined) {
15176
14271
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
15177
14272
  }
@@ -15192,10 +14287,7 @@ const deserializeAws_queryTrackList = (output, context) => {
15192
14287
  });
15193
14288
  };
15194
14289
  const deserializeAws_queryTrackListMessage = (output, context) => {
15195
- const contents = {
15196
- MaintenanceTracks: undefined,
15197
- Marker: undefined,
15198
- };
14290
+ const contents = {};
15199
14291
  if (output.MaintenanceTracks === "") {
15200
14292
  contents.MaintenanceTracks = [];
15201
14293
  }
@@ -15209,56 +14301,42 @@ const deserializeAws_queryTrackListMessage = (output, context) => {
15209
14301
  return contents;
15210
14302
  };
15211
14303
  const deserializeAws_queryUnauthorizedOperation = (output, context) => {
15212
- const contents = {
15213
- message: undefined,
15214
- };
14304
+ const contents = {};
15215
14305
  if (output["message"] !== undefined) {
15216
14306
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
15217
14307
  }
15218
14308
  return contents;
15219
14309
  };
15220
14310
  const deserializeAws_queryUnauthorizedPartnerIntegrationFault = (output, context) => {
15221
- const contents = {
15222
- message: undefined,
15223
- };
14311
+ const contents = {};
15224
14312
  if (output["message"] !== undefined) {
15225
14313
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
15226
14314
  }
15227
14315
  return contents;
15228
14316
  };
15229
14317
  const deserializeAws_queryUnknownSnapshotCopyRegionFault = (output, context) => {
15230
- const contents = {
15231
- message: undefined,
15232
- };
14318
+ const contents = {};
15233
14319
  if (output["message"] !== undefined) {
15234
14320
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
15235
14321
  }
15236
14322
  return contents;
15237
14323
  };
15238
14324
  const deserializeAws_queryUnsupportedOperationFault = (output, context) => {
15239
- const contents = {
15240
- message: undefined,
15241
- };
14325
+ const contents = {};
15242
14326
  if (output["message"] !== undefined) {
15243
14327
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
15244
14328
  }
15245
14329
  return contents;
15246
14330
  };
15247
14331
  const deserializeAws_queryUnsupportedOptionFault = (output, context) => {
15248
- const contents = {
15249
- message: undefined,
15250
- };
14332
+ const contents = {};
15251
14333
  if (output["message"] !== undefined) {
15252
14334
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
15253
14335
  }
15254
14336
  return contents;
15255
14337
  };
15256
14338
  const deserializeAws_queryUpdateTarget = (output, context) => {
15257
- const contents = {
15258
- MaintenanceTrackName: undefined,
15259
- DatabaseVersion: undefined,
15260
- SupportedOperations: undefined,
15261
- };
14339
+ const contents = {};
15262
14340
  if (output["MaintenanceTrackName"] !== undefined) {
15263
14341
  contents.MaintenanceTrackName = (0, smithy_client_1.expectString)(output["MaintenanceTrackName"]);
15264
14342
  }
@@ -15275,16 +14353,7 @@ const deserializeAws_queryUpdateTarget = (output, context) => {
15275
14353
  return contents;
15276
14354
  };
15277
14355
  const deserializeAws_queryUsageLimit = (output, context) => {
15278
- const contents = {
15279
- UsageLimitId: undefined,
15280
- ClusterIdentifier: undefined,
15281
- FeatureType: undefined,
15282
- LimitType: undefined,
15283
- Amount: undefined,
15284
- Period: undefined,
15285
- BreachAction: undefined,
15286
- Tags: undefined,
15287
- };
14356
+ const contents = {};
15288
14357
  if (output["UsageLimitId"] !== undefined) {
15289
14358
  contents.UsageLimitId = (0, smithy_client_1.expectString)(output["UsageLimitId"]);
15290
14359
  }
@@ -15315,19 +14384,14 @@ const deserializeAws_queryUsageLimit = (output, context) => {
15315
14384
  return contents;
15316
14385
  };
15317
14386
  const deserializeAws_queryUsageLimitAlreadyExistsFault = (output, context) => {
15318
- const contents = {
15319
- message: undefined,
15320
- };
14387
+ const contents = {};
15321
14388
  if (output["message"] !== undefined) {
15322
14389
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
15323
14390
  }
15324
14391
  return contents;
15325
14392
  };
15326
14393
  const deserializeAws_queryUsageLimitList = (output, context) => {
15327
- const contents = {
15328
- UsageLimits: undefined,
15329
- Marker: undefined,
15330
- };
14394
+ const contents = {};
15331
14395
  if (output.UsageLimits === "") {
15332
14396
  contents.UsageLimits = [];
15333
14397
  }
@@ -15340,9 +14404,7 @@ const deserializeAws_queryUsageLimitList = (output, context) => {
15340
14404
  return contents;
15341
14405
  };
15342
14406
  const deserializeAws_queryUsageLimitNotFoundFault = (output, context) => {
15343
- const contents = {
15344
- message: undefined,
15345
- };
14407
+ const contents = {};
15346
14408
  if (output["message"] !== undefined) {
15347
14409
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
15348
14410
  }
@@ -15356,11 +14418,7 @@ const deserializeAws_queryUsageLimits = (output, context) => {
15356
14418
  });
15357
14419
  };
15358
14420
  const deserializeAws_queryVpcEndpoint = (output, context) => {
15359
- const contents = {
15360
- VpcEndpointId: undefined,
15361
- VpcId: undefined,
15362
- NetworkInterfaces: undefined,
15363
- };
14421
+ const contents = {};
15364
14422
  if (output["VpcEndpointId"] !== undefined) {
15365
14423
  contents.VpcEndpointId = (0, smithy_client_1.expectString)(output["VpcEndpointId"]);
15366
14424
  }
@@ -15391,10 +14449,7 @@ const deserializeAws_queryVpcIdentifierList = (output, context) => {
15391
14449
  });
15392
14450
  };
15393
14451
  const deserializeAws_queryVpcSecurityGroupMembership = (output, context) => {
15394
- const contents = {
15395
- VpcSecurityGroupId: undefined,
15396
- Status: undefined,
15397
- };
14452
+ const contents = {};
15398
14453
  if (output["VpcSecurityGroupId"] !== undefined) {
15399
14454
  contents.VpcSecurityGroupId = (0, smithy_client_1.expectString)(output["VpcSecurityGroupId"]);
15400
14455
  }