@aws-sdk/client-docdb 3.53.0 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/DocDBClient.js +13 -13
  3. package/dist-cjs/commands/AddSourceIdentifierToSubscriptionCommand.js +3 -3
  4. package/dist-cjs/commands/AddTagsToResourceCommand.js +3 -3
  5. package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js +3 -3
  6. package/dist-cjs/commands/CopyDBClusterParameterGroupCommand.js +3 -3
  7. package/dist-cjs/commands/CopyDBClusterSnapshotCommand.js +4 -4
  8. package/dist-cjs/commands/CreateDBClusterCommand.js +3 -3
  9. package/dist-cjs/commands/CreateDBClusterParameterGroupCommand.js +3 -3
  10. package/dist-cjs/commands/CreateDBClusterSnapshotCommand.js +3 -3
  11. package/dist-cjs/commands/CreateDBInstanceCommand.js +3 -3
  12. package/dist-cjs/commands/CreateDBSubnetGroupCommand.js +3 -3
  13. package/dist-cjs/commands/CreateEventSubscriptionCommand.js +3 -3
  14. package/dist-cjs/commands/CreateGlobalClusterCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteDBClusterCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteDBClusterParameterGroupCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteDBClusterSnapshotCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteDBInstanceCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteDBSubnetGroupCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteEventSubscriptionCommand.js +3 -3
  21. package/dist-cjs/commands/DeleteGlobalClusterCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeCertificatesCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeDBClusterParameterGroupsCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeDBClusterParametersCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeDBClusterSnapshotsCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeDBClustersCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeDBEngineVersionsCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeDBInstancesCommand.js +3 -3
  30. package/dist-cjs/commands/DescribeDBSubnetGroupsCommand.js +3 -3
  31. package/dist-cjs/commands/DescribeEngineDefaultClusterParametersCommand.js +3 -3
  32. package/dist-cjs/commands/DescribeEventCategoriesCommand.js +3 -3
  33. package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js +3 -3
  34. package/dist-cjs/commands/DescribeEventsCommand.js +3 -3
  35. package/dist-cjs/commands/DescribeGlobalClustersCommand.js +3 -3
  36. package/dist-cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js +3 -3
  37. package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js +3 -3
  38. package/dist-cjs/commands/FailoverDBClusterCommand.js +3 -3
  39. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  40. package/dist-cjs/commands/ModifyDBClusterCommand.js +3 -3
  41. package/dist-cjs/commands/ModifyDBClusterParameterGroupCommand.js +3 -3
  42. package/dist-cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js +3 -3
  43. package/dist-cjs/commands/ModifyDBInstanceCommand.js +3 -3
  44. package/dist-cjs/commands/ModifyDBSubnetGroupCommand.js +3 -3
  45. package/dist-cjs/commands/ModifyEventSubscriptionCommand.js +3 -3
  46. package/dist-cjs/commands/ModifyGlobalClusterCommand.js +3 -3
  47. package/dist-cjs/commands/RebootDBInstanceCommand.js +3 -3
  48. package/dist-cjs/commands/RemoveFromGlobalClusterCommand.js +3 -3
  49. package/dist-cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +3 -3
  50. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +3 -3
  51. package/dist-cjs/commands/ResetDBClusterParameterGroupCommand.js +3 -3
  52. package/dist-cjs/commands/RestoreDBClusterFromSnapshotCommand.js +3 -3
  53. package/dist-cjs/commands/RestoreDBClusterToPointInTimeCommand.js +3 -3
  54. package/dist-cjs/commands/StartDBClusterCommand.js +3 -3
  55. package/dist-cjs/commands/StopDBClusterCommand.js +3 -3
  56. package/dist-cjs/endpoints.js +1 -1
  57. package/dist-cjs/protocols/Aws_query.js +404 -404
  58. package/dist-cjs/runtimeConfig.browser.js +4 -4
  59. package/dist-cjs/runtimeConfig.js +9 -9
  60. package/dist-cjs/runtimeConfig.native.js +1 -1
  61. package/dist-cjs/waiters/waitForDBInstanceAvailable.js +3 -3
  62. package/dist-es/DocDB.js +53 -53
  63. package/dist-es/pagination/DescribeCertificatesPaginator.js +4 -4
  64. package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +4 -4
  65. package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +4 -4
  66. package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +4 -4
  67. package/dist-es/pagination/DescribeDBClustersPaginator.js +4 -4
  68. package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +4 -4
  69. package/dist-es/pagination/DescribeDBInstancesPaginator.js +4 -4
  70. package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +4 -4
  71. package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +4 -4
  72. package/dist-es/pagination/DescribeEventsPaginator.js +4 -4
  73. package/dist-es/pagination/DescribeGlobalClustersPaginator.js +4 -4
  74. package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +4 -4
  75. package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +4 -4
  76. package/dist-es/protocols/Aws_query.js +63 -63
  77. package/dist-es/waiters/waitForDBInstanceAvailable.js +6 -6
  78. package/dist-types/DocDBClient.d.ts +2 -2
  79. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  80. package/dist-types/runtimeConfig.d.ts +1 -1
  81. package/dist-types/runtimeConfig.native.d.ts +3 -3
  82. package/dist-types/ts3.4/DocDBClient.d.ts +2 -2
  83. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  84. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  85. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  86. package/package.json +36 -36
@@ -734,7 +734,7 @@ const deserializeAws_queryAddSourceIdentifierToSubscriptionCommandError = async
734
734
  $fault: "client",
735
735
  $metadata: deserializeMetadata(output),
736
736
  });
737
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
737
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
738
738
  }
739
739
  };
740
740
  const deserializeAws_queryAddTagsToResourceCommand = async (output, context) => {
@@ -773,7 +773,7 @@ const deserializeAws_queryAddTagsToResourceCommandError = async (output, context
773
773
  $fault: "client",
774
774
  $metadata: deserializeMetadata(output),
775
775
  });
776
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
776
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
777
777
  }
778
778
  };
779
779
  const deserializeAws_queryApplyPendingMaintenanceActionCommand = async (output, context) => {
@@ -815,7 +815,7 @@ const deserializeAws_queryApplyPendingMaintenanceActionCommandError = async (out
815
815
  $fault: "client",
816
816
  $metadata: deserializeMetadata(output),
817
817
  });
818
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
818
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
819
819
  }
820
820
  };
821
821
  const deserializeAws_queryCopyDBClusterParameterGroupCommand = async (output, context) => {
@@ -857,7 +857,7 @@ const deserializeAws_queryCopyDBClusterParameterGroupCommandError = async (outpu
857
857
  $fault: "client",
858
858
  $metadata: deserializeMetadata(output),
859
859
  });
860
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
860
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
861
861
  }
862
862
  };
863
863
  const deserializeAws_queryCopyDBClusterSnapshotCommand = async (output, context) => {
@@ -908,7 +908,7 @@ const deserializeAws_queryCopyDBClusterSnapshotCommandError = async (output, con
908
908
  $fault: "client",
909
909
  $metadata: deserializeMetadata(output),
910
910
  });
911
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
911
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
912
912
  }
913
913
  };
914
914
  const deserializeAws_queryCreateDBClusterCommand = async (output, context) => {
@@ -992,7 +992,7 @@ const deserializeAws_queryCreateDBClusterCommandError = async (output, context)
992
992
  $fault: "client",
993
993
  $metadata: deserializeMetadata(output),
994
994
  });
995
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
995
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
996
996
  }
997
997
  };
998
998
  const deserializeAws_queryCreateDBClusterParameterGroupCommand = async (output, context) => {
@@ -1031,7 +1031,7 @@ const deserializeAws_queryCreateDBClusterParameterGroupCommandError = async (out
1031
1031
  $fault: "client",
1032
1032
  $metadata: deserializeMetadata(output),
1033
1033
  });
1034
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1034
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1035
1035
  }
1036
1036
  };
1037
1037
  const deserializeAws_queryCreateDBClusterSnapshotCommand = async (output, context) => {
@@ -1079,7 +1079,7 @@ const deserializeAws_queryCreateDBClusterSnapshotCommandError = async (output, c
1079
1079
  $fault: "client",
1080
1080
  $metadata: deserializeMetadata(output),
1081
1081
  });
1082
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1082
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1083
1083
  }
1084
1084
  };
1085
1085
  const deserializeAws_queryCreateDBInstanceCommand = async (output, context) => {
@@ -1157,7 +1157,7 @@ const deserializeAws_queryCreateDBInstanceCommandError = async (output, context)
1157
1157
  $fault: "client",
1158
1158
  $metadata: deserializeMetadata(output),
1159
1159
  });
1160
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1160
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1161
1161
  }
1162
1162
  };
1163
1163
  const deserializeAws_queryCreateDBSubnetGroupCommand = async (output, context) => {
@@ -1205,7 +1205,7 @@ const deserializeAws_queryCreateDBSubnetGroupCommandError = async (output, conte
1205
1205
  $fault: "client",
1206
1206
  $metadata: deserializeMetadata(output),
1207
1207
  });
1208
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1208
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1209
1209
  }
1210
1210
  };
1211
1211
  const deserializeAws_queryCreateEventSubscriptionCommand = async (output, context) => {
@@ -1259,7 +1259,7 @@ const deserializeAws_queryCreateEventSubscriptionCommandError = async (output, c
1259
1259
  $fault: "client",
1260
1260
  $metadata: deserializeMetadata(output),
1261
1261
  });
1262
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1262
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1263
1263
  }
1264
1264
  };
1265
1265
  const deserializeAws_queryCreateGlobalClusterCommand = async (output, context) => {
@@ -1304,7 +1304,7 @@ const deserializeAws_queryCreateGlobalClusterCommandError = async (output, conte
1304
1304
  $fault: "client",
1305
1305
  $metadata: deserializeMetadata(output),
1306
1306
  });
1307
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1307
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1308
1308
  }
1309
1309
  };
1310
1310
  const deserializeAws_queryDeleteDBClusterCommand = async (output, context) => {
@@ -1352,7 +1352,7 @@ const deserializeAws_queryDeleteDBClusterCommandError = async (output, context)
1352
1352
  $fault: "client",
1353
1353
  $metadata: deserializeMetadata(output),
1354
1354
  });
1355
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1355
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1356
1356
  }
1357
1357
  };
1358
1358
  const deserializeAws_queryDeleteDBClusterParameterGroupCommand = async (output, context) => {
@@ -1388,7 +1388,7 @@ const deserializeAws_queryDeleteDBClusterParameterGroupCommandError = async (out
1388
1388
  $fault: "client",
1389
1389
  $metadata: deserializeMetadata(output),
1390
1390
  });
1391
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1391
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1392
1392
  }
1393
1393
  };
1394
1394
  const deserializeAws_queryDeleteDBClusterSnapshotCommand = async (output, context) => {
@@ -1427,7 +1427,7 @@ const deserializeAws_queryDeleteDBClusterSnapshotCommandError = async (output, c
1427
1427
  $fault: "client",
1428
1428
  $metadata: deserializeMetadata(output),
1429
1429
  });
1430
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1430
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1431
1431
  }
1432
1432
  };
1433
1433
  const deserializeAws_queryDeleteDBInstanceCommand = async (output, context) => {
@@ -1475,7 +1475,7 @@ const deserializeAws_queryDeleteDBInstanceCommandError = async (output, context)
1475
1475
  $fault: "client",
1476
1476
  $metadata: deserializeMetadata(output),
1477
1477
  });
1478
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1478
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1479
1479
  }
1480
1480
  };
1481
1481
  const deserializeAws_queryDeleteDBSubnetGroupCommand = async (output, context) => {
@@ -1514,7 +1514,7 @@ const deserializeAws_queryDeleteDBSubnetGroupCommandError = async (output, conte
1514
1514
  $fault: "client",
1515
1515
  $metadata: deserializeMetadata(output),
1516
1516
  });
1517
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1517
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1518
1518
  }
1519
1519
  };
1520
1520
  const deserializeAws_queryDeleteEventSubscriptionCommand = async (output, context) => {
@@ -1553,7 +1553,7 @@ const deserializeAws_queryDeleteEventSubscriptionCommandError = async (output, c
1553
1553
  $fault: "client",
1554
1554
  $metadata: deserializeMetadata(output),
1555
1555
  });
1556
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1556
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1557
1557
  }
1558
1558
  };
1559
1559
  const deserializeAws_queryDeleteGlobalClusterCommand = async (output, context) => {
@@ -1592,7 +1592,7 @@ const deserializeAws_queryDeleteGlobalClusterCommandError = async (output, conte
1592
1592
  $fault: "client",
1593
1593
  $metadata: deserializeMetadata(output),
1594
1594
  });
1595
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1595
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1596
1596
  }
1597
1597
  };
1598
1598
  const deserializeAws_queryDescribeCertificatesCommand = async (output, context) => {
@@ -1628,7 +1628,7 @@ const deserializeAws_queryDescribeCertificatesCommandError = async (output, cont
1628
1628
  $fault: "client",
1629
1629
  $metadata: deserializeMetadata(output),
1630
1630
  });
1631
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1631
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1632
1632
  }
1633
1633
  };
1634
1634
  const deserializeAws_queryDescribeDBClusterParameterGroupsCommand = async (output, context) => {
@@ -1664,7 +1664,7 @@ const deserializeAws_queryDescribeDBClusterParameterGroupsCommandError = async (
1664
1664
  $fault: "client",
1665
1665
  $metadata: deserializeMetadata(output),
1666
1666
  });
1667
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1667
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1668
1668
  }
1669
1669
  };
1670
1670
  const deserializeAws_queryDescribeDBClusterParametersCommand = async (output, context) => {
@@ -1700,7 +1700,7 @@ const deserializeAws_queryDescribeDBClusterParametersCommandError = async (outpu
1700
1700
  $fault: "client",
1701
1701
  $metadata: deserializeMetadata(output),
1702
1702
  });
1703
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1703
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1704
1704
  }
1705
1705
  };
1706
1706
  const deserializeAws_queryDescribeDBClustersCommand = async (output, context) => {
@@ -1736,7 +1736,7 @@ const deserializeAws_queryDescribeDBClustersCommandError = async (output, contex
1736
1736
  $fault: "client",
1737
1737
  $metadata: deserializeMetadata(output),
1738
1738
  });
1739
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1739
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1740
1740
  }
1741
1741
  };
1742
1742
  const deserializeAws_queryDescribeDBClusterSnapshotAttributesCommand = async (output, context) => {
@@ -1772,7 +1772,7 @@ const deserializeAws_queryDescribeDBClusterSnapshotAttributesCommandError = asyn
1772
1772
  $fault: "client",
1773
1773
  $metadata: deserializeMetadata(output),
1774
1774
  });
1775
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1775
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1776
1776
  }
1777
1777
  };
1778
1778
  const deserializeAws_queryDescribeDBClusterSnapshotsCommand = async (output, context) => {
@@ -1808,7 +1808,7 @@ const deserializeAws_queryDescribeDBClusterSnapshotsCommandError = async (output
1808
1808
  $fault: "client",
1809
1809
  $metadata: deserializeMetadata(output),
1810
1810
  });
1811
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1811
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1812
1812
  }
1813
1813
  };
1814
1814
  const deserializeAws_queryDescribeDBEngineVersionsCommand = async (output, context) => {
@@ -1841,7 +1841,7 @@ const deserializeAws_queryDescribeDBEngineVersionsCommandError = async (output,
1841
1841
  $fault: "client",
1842
1842
  $metadata: deserializeMetadata(output),
1843
1843
  });
1844
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1844
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1845
1845
  }
1846
1846
  };
1847
1847
  const deserializeAws_queryDescribeDBInstancesCommand = async (output, context) => {
@@ -1877,7 +1877,7 @@ const deserializeAws_queryDescribeDBInstancesCommandError = async (output, conte
1877
1877
  $fault: "client",
1878
1878
  $metadata: deserializeMetadata(output),
1879
1879
  });
1880
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1880
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1881
1881
  }
1882
1882
  };
1883
1883
  const deserializeAws_queryDescribeDBSubnetGroupsCommand = async (output, context) => {
@@ -1913,7 +1913,7 @@ const deserializeAws_queryDescribeDBSubnetGroupsCommandError = async (output, co
1913
1913
  $fault: "client",
1914
1914
  $metadata: deserializeMetadata(output),
1915
1915
  });
1916
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1916
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1917
1917
  }
1918
1918
  };
1919
1919
  const deserializeAws_queryDescribeEngineDefaultClusterParametersCommand = async (output, context) => {
@@ -1946,7 +1946,7 @@ const deserializeAws_queryDescribeEngineDefaultClusterParametersCommandError = a
1946
1946
  $fault: "client",
1947
1947
  $metadata: deserializeMetadata(output),
1948
1948
  });
1949
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1949
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1950
1950
  }
1951
1951
  };
1952
1952
  const deserializeAws_queryDescribeEventCategoriesCommand = async (output, context) => {
@@ -1979,7 +1979,7 @@ const deserializeAws_queryDescribeEventCategoriesCommandError = async (output, c
1979
1979
  $fault: "client",
1980
1980
  $metadata: deserializeMetadata(output),
1981
1981
  });
1982
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
1982
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
1983
1983
  }
1984
1984
  };
1985
1985
  const deserializeAws_queryDescribeEventsCommand = async (output, context) => {
@@ -2012,7 +2012,7 @@ const deserializeAws_queryDescribeEventsCommandError = async (output, context) =
2012
2012
  $fault: "client",
2013
2013
  $metadata: deserializeMetadata(output),
2014
2014
  });
2015
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2015
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2016
2016
  }
2017
2017
  };
2018
2018
  const deserializeAws_queryDescribeEventSubscriptionsCommand = async (output, context) => {
@@ -2048,7 +2048,7 @@ const deserializeAws_queryDescribeEventSubscriptionsCommandError = async (output
2048
2048
  $fault: "client",
2049
2049
  $metadata: deserializeMetadata(output),
2050
2050
  });
2051
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2051
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2052
2052
  }
2053
2053
  };
2054
2054
  const deserializeAws_queryDescribeGlobalClustersCommand = async (output, context) => {
@@ -2084,7 +2084,7 @@ const deserializeAws_queryDescribeGlobalClustersCommandError = async (output, co
2084
2084
  $fault: "client",
2085
2085
  $metadata: deserializeMetadata(output),
2086
2086
  });
2087
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2087
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2088
2088
  }
2089
2089
  };
2090
2090
  const deserializeAws_queryDescribeOrderableDBInstanceOptionsCommand = async (output, context) => {
@@ -2117,7 +2117,7 @@ const deserializeAws_queryDescribeOrderableDBInstanceOptionsCommandError = async
2117
2117
  $fault: "client",
2118
2118
  $metadata: deserializeMetadata(output),
2119
2119
  });
2120
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2120
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2121
2121
  }
2122
2122
  };
2123
2123
  const deserializeAws_queryDescribePendingMaintenanceActionsCommand = async (output, context) => {
@@ -2153,7 +2153,7 @@ const deserializeAws_queryDescribePendingMaintenanceActionsCommandError = async
2153
2153
  $fault: "client",
2154
2154
  $metadata: deserializeMetadata(output),
2155
2155
  });
2156
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2156
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2157
2157
  }
2158
2158
  };
2159
2159
  const deserializeAws_queryFailoverDBClusterCommand = async (output, context) => {
@@ -2195,7 +2195,7 @@ const deserializeAws_queryFailoverDBClusterCommandError = async (output, context
2195
2195
  $fault: "client",
2196
2196
  $metadata: deserializeMetadata(output),
2197
2197
  });
2198
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2198
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2199
2199
  }
2200
2200
  };
2201
2201
  const deserializeAws_queryListTagsForResourceCommand = async (output, context) => {
@@ -2237,7 +2237,7 @@ const deserializeAws_queryListTagsForResourceCommandError = async (output, conte
2237
2237
  $fault: "client",
2238
2238
  $metadata: deserializeMetadata(output),
2239
2239
  });
2240
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2240
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2241
2241
  }
2242
2242
  };
2243
2243
  const deserializeAws_queryModifyDBClusterCommand = async (output, context) => {
@@ -2303,7 +2303,7 @@ const deserializeAws_queryModifyDBClusterCommandError = async (output, context)
2303
2303
  $fault: "client",
2304
2304
  $metadata: deserializeMetadata(output),
2305
2305
  });
2306
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2306
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2307
2307
  }
2308
2308
  };
2309
2309
  const deserializeAws_queryModifyDBClusterParameterGroupCommand = async (output, context) => {
@@ -2342,7 +2342,7 @@ const deserializeAws_queryModifyDBClusterParameterGroupCommandError = async (out
2342
2342
  $fault: "client",
2343
2343
  $metadata: deserializeMetadata(output),
2344
2344
  });
2345
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2345
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2346
2346
  }
2347
2347
  };
2348
2348
  const deserializeAws_queryModifyDBClusterSnapshotAttributeCommand = async (output, context) => {
@@ -2384,7 +2384,7 @@ const deserializeAws_queryModifyDBClusterSnapshotAttributeCommandError = async (
2384
2384
  $fault: "client",
2385
2385
  $metadata: deserializeMetadata(output),
2386
2386
  });
2387
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2387
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2388
2388
  }
2389
2389
  };
2390
2390
  const deserializeAws_queryModifyDBInstanceCommand = async (output, context) => {
@@ -2456,7 +2456,7 @@ const deserializeAws_queryModifyDBInstanceCommandError = async (output, context)
2456
2456
  $fault: "client",
2457
2457
  $metadata: deserializeMetadata(output),
2458
2458
  });
2459
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2459
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2460
2460
  }
2461
2461
  };
2462
2462
  const deserializeAws_queryModifyDBSubnetGroupCommand = async (output, context) => {
@@ -2504,7 +2504,7 @@ const deserializeAws_queryModifyDBSubnetGroupCommandError = async (output, conte
2504
2504
  $fault: "client",
2505
2505
  $metadata: deserializeMetadata(output),
2506
2506
  });
2507
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2507
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2508
2508
  }
2509
2509
  };
2510
2510
  const deserializeAws_queryModifyEventSubscriptionCommand = async (output, context) => {
@@ -2555,7 +2555,7 @@ const deserializeAws_queryModifyEventSubscriptionCommandError = async (output, c
2555
2555
  $fault: "client",
2556
2556
  $metadata: deserializeMetadata(output),
2557
2557
  });
2558
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2558
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2559
2559
  }
2560
2560
  };
2561
2561
  const deserializeAws_queryModifyGlobalClusterCommand = async (output, context) => {
@@ -2594,7 +2594,7 @@ const deserializeAws_queryModifyGlobalClusterCommandError = async (output, conte
2594
2594
  $fault: "client",
2595
2595
  $metadata: deserializeMetadata(output),
2596
2596
  });
2597
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2597
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2598
2598
  }
2599
2599
  };
2600
2600
  const deserializeAws_queryRebootDBInstanceCommand = async (output, context) => {
@@ -2633,7 +2633,7 @@ const deserializeAws_queryRebootDBInstanceCommandError = async (output, context)
2633
2633
  $fault: "client",
2634
2634
  $metadata: deserializeMetadata(output),
2635
2635
  });
2636
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2636
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2637
2637
  }
2638
2638
  };
2639
2639
  const deserializeAws_queryRemoveFromGlobalClusterCommand = async (output, context) => {
@@ -2675,7 +2675,7 @@ const deserializeAws_queryRemoveFromGlobalClusterCommandError = async (output, c
2675
2675
  $fault: "client",
2676
2676
  $metadata: deserializeMetadata(output),
2677
2677
  });
2678
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2678
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2679
2679
  }
2680
2680
  };
2681
2681
  const deserializeAws_queryRemoveSourceIdentifierFromSubscriptionCommand = async (output, context) => {
@@ -2714,7 +2714,7 @@ const deserializeAws_queryRemoveSourceIdentifierFromSubscriptionCommandError = a
2714
2714
  $fault: "client",
2715
2715
  $metadata: deserializeMetadata(output),
2716
2716
  });
2717
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2717
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2718
2718
  }
2719
2719
  };
2720
2720
  const deserializeAws_queryRemoveTagsFromResourceCommand = async (output, context) => {
@@ -2753,7 +2753,7 @@ const deserializeAws_queryRemoveTagsFromResourceCommandError = async (output, co
2753
2753
  $fault: "client",
2754
2754
  $metadata: deserializeMetadata(output),
2755
2755
  });
2756
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2756
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2757
2757
  }
2758
2758
  };
2759
2759
  const deserializeAws_queryResetDBClusterParameterGroupCommand = async (output, context) => {
@@ -2792,7 +2792,7 @@ const deserializeAws_queryResetDBClusterParameterGroupCommandError = async (outp
2792
2792
  $fault: "client",
2793
2793
  $metadata: deserializeMetadata(output),
2794
2794
  });
2795
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2795
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2796
2796
  }
2797
2797
  };
2798
2798
  const deserializeAws_queryRestoreDBClusterFromSnapshotCommand = async (output, context) => {
@@ -2867,7 +2867,7 @@ const deserializeAws_queryRestoreDBClusterFromSnapshotCommandError = async (outp
2867
2867
  $fault: "client",
2868
2868
  $metadata: deserializeMetadata(output),
2869
2869
  });
2870
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2870
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2871
2871
  }
2872
2872
  };
2873
2873
  const deserializeAws_queryRestoreDBClusterToPointInTimeCommand = async (output, context) => {
@@ -2945,7 +2945,7 @@ const deserializeAws_queryRestoreDBClusterToPointInTimeCommandError = async (out
2945
2945
  $fault: "client",
2946
2946
  $metadata: deserializeMetadata(output),
2947
2947
  });
2948
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2948
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2949
2949
  }
2950
2950
  };
2951
2951
  const deserializeAws_queryStartDBClusterCommand = async (output, context) => {
@@ -2987,7 +2987,7 @@ const deserializeAws_queryStartDBClusterCommandError = async (output, context) =
2987
2987
  $fault: "client",
2988
2988
  $metadata: deserializeMetadata(output),
2989
2989
  });
2990
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2990
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2991
2991
  }
2992
2992
  };
2993
2993
  const deserializeAws_queryStopDBClusterCommand = async (output, context) => {
@@ -3029,7 +3029,7 @@ const deserializeAws_queryStopDBClusterCommandError = async (output, context) =>
3029
3029
  $fault: "client",
3030
3030
  $metadata: deserializeMetadata(output),
3031
3031
  });
3032
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3032
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3033
3033
  }
3034
3034
  };
3035
3035
  const deserializeAws_queryAuthorizationNotFoundFaultResponse = async (parsedOutput, context) => {
@@ -3039,7 +3039,7 @@ const deserializeAws_queryAuthorizationNotFoundFaultResponse = async (parsedOutp
3039
3039
  $metadata: deserializeMetadata(parsedOutput),
3040
3040
  ...deserialized,
3041
3041
  });
3042
- return smithy_client_1.decorateServiceException(exception, body);
3042
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3043
3043
  };
3044
3044
  const deserializeAws_queryCertificateNotFoundFaultResponse = async (parsedOutput, context) => {
3045
3045
  const body = parsedOutput.body;
@@ -3048,7 +3048,7 @@ const deserializeAws_queryCertificateNotFoundFaultResponse = async (parsedOutput
3048
3048
  $metadata: deserializeMetadata(parsedOutput),
3049
3049
  ...deserialized,
3050
3050
  });
3051
- return smithy_client_1.decorateServiceException(exception, body);
3051
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3052
3052
  };
3053
3053
  const deserializeAws_queryDBClusterAlreadyExistsFaultResponse = async (parsedOutput, context) => {
3054
3054
  const body = parsedOutput.body;
@@ -3057,7 +3057,7 @@ const deserializeAws_queryDBClusterAlreadyExistsFaultResponse = async (parsedOut
3057
3057
  $metadata: deserializeMetadata(parsedOutput),
3058
3058
  ...deserialized,
3059
3059
  });
3060
- return smithy_client_1.decorateServiceException(exception, body);
3060
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3061
3061
  };
3062
3062
  const deserializeAws_queryDBClusterNotFoundFaultResponse = async (parsedOutput, context) => {
3063
3063
  const body = parsedOutput.body;
@@ -3066,7 +3066,7 @@ const deserializeAws_queryDBClusterNotFoundFaultResponse = async (parsedOutput,
3066
3066
  $metadata: deserializeMetadata(parsedOutput),
3067
3067
  ...deserialized,
3068
3068
  });
3069
- return smithy_client_1.decorateServiceException(exception, body);
3069
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3070
3070
  };
3071
3071
  const deserializeAws_queryDBClusterParameterGroupNotFoundFaultResponse = async (parsedOutput, context) => {
3072
3072
  const body = parsedOutput.body;
@@ -3075,7 +3075,7 @@ const deserializeAws_queryDBClusterParameterGroupNotFoundFaultResponse = async (
3075
3075
  $metadata: deserializeMetadata(parsedOutput),
3076
3076
  ...deserialized,
3077
3077
  });
3078
- return smithy_client_1.decorateServiceException(exception, body);
3078
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3079
3079
  };
3080
3080
  const deserializeAws_queryDBClusterQuotaExceededFaultResponse = async (parsedOutput, context) => {
3081
3081
  const body = parsedOutput.body;
@@ -3084,7 +3084,7 @@ const deserializeAws_queryDBClusterQuotaExceededFaultResponse = async (parsedOut
3084
3084
  $metadata: deserializeMetadata(parsedOutput),
3085
3085
  ...deserialized,
3086
3086
  });
3087
- return smithy_client_1.decorateServiceException(exception, body);
3087
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3088
3088
  };
3089
3089
  const deserializeAws_queryDBClusterSnapshotAlreadyExistsFaultResponse = async (parsedOutput, context) => {
3090
3090
  const body = parsedOutput.body;
@@ -3093,7 +3093,7 @@ const deserializeAws_queryDBClusterSnapshotAlreadyExistsFaultResponse = async (p
3093
3093
  $metadata: deserializeMetadata(parsedOutput),
3094
3094
  ...deserialized,
3095
3095
  });
3096
- return smithy_client_1.decorateServiceException(exception, body);
3096
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3097
3097
  };
3098
3098
  const deserializeAws_queryDBClusterSnapshotNotFoundFaultResponse = async (parsedOutput, context) => {
3099
3099
  const body = parsedOutput.body;
@@ -3102,7 +3102,7 @@ const deserializeAws_queryDBClusterSnapshotNotFoundFaultResponse = async (parsed
3102
3102
  $metadata: deserializeMetadata(parsedOutput),
3103
3103
  ...deserialized,
3104
3104
  });
3105
- return smithy_client_1.decorateServiceException(exception, body);
3105
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3106
3106
  };
3107
3107
  const deserializeAws_queryDBInstanceAlreadyExistsFaultResponse = async (parsedOutput, context) => {
3108
3108
  const body = parsedOutput.body;
@@ -3111,7 +3111,7 @@ const deserializeAws_queryDBInstanceAlreadyExistsFaultResponse = async (parsedOu
3111
3111
  $metadata: deserializeMetadata(parsedOutput),
3112
3112
  ...deserialized,
3113
3113
  });
3114
- return smithy_client_1.decorateServiceException(exception, body);
3114
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3115
3115
  };
3116
3116
  const deserializeAws_queryDBInstanceNotFoundFaultResponse = async (parsedOutput, context) => {
3117
3117
  const body = parsedOutput.body;
@@ -3120,7 +3120,7 @@ const deserializeAws_queryDBInstanceNotFoundFaultResponse = async (parsedOutput,
3120
3120
  $metadata: deserializeMetadata(parsedOutput),
3121
3121
  ...deserialized,
3122
3122
  });
3123
- return smithy_client_1.decorateServiceException(exception, body);
3123
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3124
3124
  };
3125
3125
  const deserializeAws_queryDBParameterGroupAlreadyExistsFaultResponse = async (parsedOutput, context) => {
3126
3126
  const body = parsedOutput.body;
@@ -3129,7 +3129,7 @@ const deserializeAws_queryDBParameterGroupAlreadyExistsFaultResponse = async (pa
3129
3129
  $metadata: deserializeMetadata(parsedOutput),
3130
3130
  ...deserialized,
3131
3131
  });
3132
- return smithy_client_1.decorateServiceException(exception, body);
3132
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3133
3133
  };
3134
3134
  const deserializeAws_queryDBParameterGroupNotFoundFaultResponse = async (parsedOutput, context) => {
3135
3135
  const body = parsedOutput.body;
@@ -3138,7 +3138,7 @@ const deserializeAws_queryDBParameterGroupNotFoundFaultResponse = async (parsedO
3138
3138
  $metadata: deserializeMetadata(parsedOutput),
3139
3139
  ...deserialized,
3140
3140
  });
3141
- return smithy_client_1.decorateServiceException(exception, body);
3141
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3142
3142
  };
3143
3143
  const deserializeAws_queryDBParameterGroupQuotaExceededFaultResponse = async (parsedOutput, context) => {
3144
3144
  const body = parsedOutput.body;
@@ -3147,7 +3147,7 @@ const deserializeAws_queryDBParameterGroupQuotaExceededFaultResponse = async (pa
3147
3147
  $metadata: deserializeMetadata(parsedOutput),
3148
3148
  ...deserialized,
3149
3149
  });
3150
- return smithy_client_1.decorateServiceException(exception, body);
3150
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3151
3151
  };
3152
3152
  const deserializeAws_queryDBSecurityGroupNotFoundFaultResponse = async (parsedOutput, context) => {
3153
3153
  const body = parsedOutput.body;
@@ -3156,7 +3156,7 @@ const deserializeAws_queryDBSecurityGroupNotFoundFaultResponse = async (parsedOu
3156
3156
  $metadata: deserializeMetadata(parsedOutput),
3157
3157
  ...deserialized,
3158
3158
  });
3159
- return smithy_client_1.decorateServiceException(exception, body);
3159
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3160
3160
  };
3161
3161
  const deserializeAws_queryDBSnapshotAlreadyExistsFaultResponse = async (parsedOutput, context) => {
3162
3162
  const body = parsedOutput.body;
@@ -3165,7 +3165,7 @@ const deserializeAws_queryDBSnapshotAlreadyExistsFaultResponse = async (parsedOu
3165
3165
  $metadata: deserializeMetadata(parsedOutput),
3166
3166
  ...deserialized,
3167
3167
  });
3168
- return smithy_client_1.decorateServiceException(exception, body);
3168
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3169
3169
  };
3170
3170
  const deserializeAws_queryDBSnapshotNotFoundFaultResponse = async (parsedOutput, context) => {
3171
3171
  const body = parsedOutput.body;
@@ -3174,7 +3174,7 @@ const deserializeAws_queryDBSnapshotNotFoundFaultResponse = async (parsedOutput,
3174
3174
  $metadata: deserializeMetadata(parsedOutput),
3175
3175
  ...deserialized,
3176
3176
  });
3177
- return smithy_client_1.decorateServiceException(exception, body);
3177
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3178
3178
  };
3179
3179
  const deserializeAws_queryDBSubnetGroupAlreadyExistsFaultResponse = async (parsedOutput, context) => {
3180
3180
  const body = parsedOutput.body;
@@ -3183,7 +3183,7 @@ const deserializeAws_queryDBSubnetGroupAlreadyExistsFaultResponse = async (parse
3183
3183
  $metadata: deserializeMetadata(parsedOutput),
3184
3184
  ...deserialized,
3185
3185
  });
3186
- return smithy_client_1.decorateServiceException(exception, body);
3186
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3187
3187
  };
3188
3188
  const deserializeAws_queryDBSubnetGroupDoesNotCoverEnoughAZsResponse = async (parsedOutput, context) => {
3189
3189
  const body = parsedOutput.body;
@@ -3192,7 +3192,7 @@ const deserializeAws_queryDBSubnetGroupDoesNotCoverEnoughAZsResponse = async (pa
3192
3192
  $metadata: deserializeMetadata(parsedOutput),
3193
3193
  ...deserialized,
3194
3194
  });
3195
- return smithy_client_1.decorateServiceException(exception, body);
3195
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3196
3196
  };
3197
3197
  const deserializeAws_queryDBSubnetGroupNotFoundFaultResponse = async (parsedOutput, context) => {
3198
3198
  const body = parsedOutput.body;
@@ -3201,7 +3201,7 @@ const deserializeAws_queryDBSubnetGroupNotFoundFaultResponse = async (parsedOutp
3201
3201
  $metadata: deserializeMetadata(parsedOutput),
3202
3202
  ...deserialized,
3203
3203
  });
3204
- return smithy_client_1.decorateServiceException(exception, body);
3204
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3205
3205
  };
3206
3206
  const deserializeAws_queryDBSubnetGroupQuotaExceededFaultResponse = async (parsedOutput, context) => {
3207
3207
  const body = parsedOutput.body;
@@ -3210,7 +3210,7 @@ const deserializeAws_queryDBSubnetGroupQuotaExceededFaultResponse = async (parse
3210
3210
  $metadata: deserializeMetadata(parsedOutput),
3211
3211
  ...deserialized,
3212
3212
  });
3213
- return smithy_client_1.decorateServiceException(exception, body);
3213
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3214
3214
  };
3215
3215
  const deserializeAws_queryDBSubnetQuotaExceededFaultResponse = async (parsedOutput, context) => {
3216
3216
  const body = parsedOutput.body;
@@ -3219,7 +3219,7 @@ const deserializeAws_queryDBSubnetQuotaExceededFaultResponse = async (parsedOutp
3219
3219
  $metadata: deserializeMetadata(parsedOutput),
3220
3220
  ...deserialized,
3221
3221
  });
3222
- return smithy_client_1.decorateServiceException(exception, body);
3222
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3223
3223
  };
3224
3224
  const deserializeAws_queryDBUpgradeDependencyFailureFaultResponse = async (parsedOutput, context) => {
3225
3225
  const body = parsedOutput.body;
@@ -3228,7 +3228,7 @@ const deserializeAws_queryDBUpgradeDependencyFailureFaultResponse = async (parse
3228
3228
  $metadata: deserializeMetadata(parsedOutput),
3229
3229
  ...deserialized,
3230
3230
  });
3231
- return smithy_client_1.decorateServiceException(exception, body);
3231
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3232
3232
  };
3233
3233
  const deserializeAws_queryEventSubscriptionQuotaExceededFaultResponse = async (parsedOutput, context) => {
3234
3234
  const body = parsedOutput.body;
@@ -3237,7 +3237,7 @@ const deserializeAws_queryEventSubscriptionQuotaExceededFaultResponse = async (p
3237
3237
  $metadata: deserializeMetadata(parsedOutput),
3238
3238
  ...deserialized,
3239
3239
  });
3240
- return smithy_client_1.decorateServiceException(exception, body);
3240
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3241
3241
  };
3242
3242
  const deserializeAws_queryGlobalClusterAlreadyExistsFaultResponse = async (parsedOutput, context) => {
3243
3243
  const body = parsedOutput.body;
@@ -3246,7 +3246,7 @@ const deserializeAws_queryGlobalClusterAlreadyExistsFaultResponse = async (parse
3246
3246
  $metadata: deserializeMetadata(parsedOutput),
3247
3247
  ...deserialized,
3248
3248
  });
3249
- return smithy_client_1.decorateServiceException(exception, body);
3249
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3250
3250
  };
3251
3251
  const deserializeAws_queryGlobalClusterNotFoundFaultResponse = async (parsedOutput, context) => {
3252
3252
  const body = parsedOutput.body;
@@ -3255,7 +3255,7 @@ const deserializeAws_queryGlobalClusterNotFoundFaultResponse = async (parsedOutp
3255
3255
  $metadata: deserializeMetadata(parsedOutput),
3256
3256
  ...deserialized,
3257
3257
  });
3258
- return smithy_client_1.decorateServiceException(exception, body);
3258
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3259
3259
  };
3260
3260
  const deserializeAws_queryGlobalClusterQuotaExceededFaultResponse = async (parsedOutput, context) => {
3261
3261
  const body = parsedOutput.body;
@@ -3264,7 +3264,7 @@ const deserializeAws_queryGlobalClusterQuotaExceededFaultResponse = async (parse
3264
3264
  $metadata: deserializeMetadata(parsedOutput),
3265
3265
  ...deserialized,
3266
3266
  });
3267
- return smithy_client_1.decorateServiceException(exception, body);
3267
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3268
3268
  };
3269
3269
  const deserializeAws_queryInstanceQuotaExceededFaultResponse = async (parsedOutput, context) => {
3270
3270
  const body = parsedOutput.body;
@@ -3273,7 +3273,7 @@ const deserializeAws_queryInstanceQuotaExceededFaultResponse = async (parsedOutp
3273
3273
  $metadata: deserializeMetadata(parsedOutput),
3274
3274
  ...deserialized,
3275
3275
  });
3276
- return smithy_client_1.decorateServiceException(exception, body);
3276
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3277
3277
  };
3278
3278
  const deserializeAws_queryInsufficientDBClusterCapacityFaultResponse = async (parsedOutput, context) => {
3279
3279
  const body = parsedOutput.body;
@@ -3282,7 +3282,7 @@ const deserializeAws_queryInsufficientDBClusterCapacityFaultResponse = async (pa
3282
3282
  $metadata: deserializeMetadata(parsedOutput),
3283
3283
  ...deserialized,
3284
3284
  });
3285
- return smithy_client_1.decorateServiceException(exception, body);
3285
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3286
3286
  };
3287
3287
  const deserializeAws_queryInsufficientDBInstanceCapacityFaultResponse = async (parsedOutput, context) => {
3288
3288
  const body = parsedOutput.body;
@@ -3291,7 +3291,7 @@ const deserializeAws_queryInsufficientDBInstanceCapacityFaultResponse = async (p
3291
3291
  $metadata: deserializeMetadata(parsedOutput),
3292
3292
  ...deserialized,
3293
3293
  });
3294
- return smithy_client_1.decorateServiceException(exception, body);
3294
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3295
3295
  };
3296
3296
  const deserializeAws_queryInsufficientStorageClusterCapacityFaultResponse = async (parsedOutput, context) => {
3297
3297
  const body = parsedOutput.body;
@@ -3300,7 +3300,7 @@ const deserializeAws_queryInsufficientStorageClusterCapacityFaultResponse = asyn
3300
3300
  $metadata: deserializeMetadata(parsedOutput),
3301
3301
  ...deserialized,
3302
3302
  });
3303
- return smithy_client_1.decorateServiceException(exception, body);
3303
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3304
3304
  };
3305
3305
  const deserializeAws_queryInvalidDBClusterSnapshotStateFaultResponse = async (parsedOutput, context) => {
3306
3306
  const body = parsedOutput.body;
@@ -3309,7 +3309,7 @@ const deserializeAws_queryInvalidDBClusterSnapshotStateFaultResponse = async (pa
3309
3309
  $metadata: deserializeMetadata(parsedOutput),
3310
3310
  ...deserialized,
3311
3311
  });
3312
- return smithy_client_1.decorateServiceException(exception, body);
3312
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3313
3313
  };
3314
3314
  const deserializeAws_queryInvalidDBClusterStateFaultResponse = async (parsedOutput, context) => {
3315
3315
  const body = parsedOutput.body;
@@ -3318,7 +3318,7 @@ const deserializeAws_queryInvalidDBClusterStateFaultResponse = async (parsedOutp
3318
3318
  $metadata: deserializeMetadata(parsedOutput),
3319
3319
  ...deserialized,
3320
3320
  });
3321
- return smithy_client_1.decorateServiceException(exception, body);
3321
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3322
3322
  };
3323
3323
  const deserializeAws_queryInvalidDBInstanceStateFaultResponse = async (parsedOutput, context) => {
3324
3324
  const body = parsedOutput.body;
@@ -3327,7 +3327,7 @@ const deserializeAws_queryInvalidDBInstanceStateFaultResponse = async (parsedOut
3327
3327
  $metadata: deserializeMetadata(parsedOutput),
3328
3328
  ...deserialized,
3329
3329
  });
3330
- return smithy_client_1.decorateServiceException(exception, body);
3330
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3331
3331
  };
3332
3332
  const deserializeAws_queryInvalidDBParameterGroupStateFaultResponse = async (parsedOutput, context) => {
3333
3333
  const body = parsedOutput.body;
@@ -3336,7 +3336,7 @@ const deserializeAws_queryInvalidDBParameterGroupStateFaultResponse = async (par
3336
3336
  $metadata: deserializeMetadata(parsedOutput),
3337
3337
  ...deserialized,
3338
3338
  });
3339
- return smithy_client_1.decorateServiceException(exception, body);
3339
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3340
3340
  };
3341
3341
  const deserializeAws_queryInvalidDBSecurityGroupStateFaultResponse = async (parsedOutput, context) => {
3342
3342
  const body = parsedOutput.body;
@@ -3345,7 +3345,7 @@ const deserializeAws_queryInvalidDBSecurityGroupStateFaultResponse = async (pars
3345
3345
  $metadata: deserializeMetadata(parsedOutput),
3346
3346
  ...deserialized,
3347
3347
  });
3348
- return smithy_client_1.decorateServiceException(exception, body);
3348
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3349
3349
  };
3350
3350
  const deserializeAws_queryInvalidDBSnapshotStateFaultResponse = async (parsedOutput, context) => {
3351
3351
  const body = parsedOutput.body;
@@ -3354,7 +3354,7 @@ const deserializeAws_queryInvalidDBSnapshotStateFaultResponse = async (parsedOut
3354
3354
  $metadata: deserializeMetadata(parsedOutput),
3355
3355
  ...deserialized,
3356
3356
  });
3357
- return smithy_client_1.decorateServiceException(exception, body);
3357
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3358
3358
  };
3359
3359
  const deserializeAws_queryInvalidDBSubnetGroupStateFaultResponse = async (parsedOutput, context) => {
3360
3360
  const body = parsedOutput.body;
@@ -3363,7 +3363,7 @@ const deserializeAws_queryInvalidDBSubnetGroupStateFaultResponse = async (parsed
3363
3363
  $metadata: deserializeMetadata(parsedOutput),
3364
3364
  ...deserialized,
3365
3365
  });
3366
- return smithy_client_1.decorateServiceException(exception, body);
3366
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3367
3367
  };
3368
3368
  const deserializeAws_queryInvalidDBSubnetStateFaultResponse = async (parsedOutput, context) => {
3369
3369
  const body = parsedOutput.body;
@@ -3372,7 +3372,7 @@ const deserializeAws_queryInvalidDBSubnetStateFaultResponse = async (parsedOutpu
3372
3372
  $metadata: deserializeMetadata(parsedOutput),
3373
3373
  ...deserialized,
3374
3374
  });
3375
- return smithy_client_1.decorateServiceException(exception, body);
3375
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3376
3376
  };
3377
3377
  const deserializeAws_queryInvalidEventSubscriptionStateFaultResponse = async (parsedOutput, context) => {
3378
3378
  const body = parsedOutput.body;
@@ -3381,7 +3381,7 @@ const deserializeAws_queryInvalidEventSubscriptionStateFaultResponse = async (pa
3381
3381
  $metadata: deserializeMetadata(parsedOutput),
3382
3382
  ...deserialized,
3383
3383
  });
3384
- return smithy_client_1.decorateServiceException(exception, body);
3384
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3385
3385
  };
3386
3386
  const deserializeAws_queryInvalidGlobalClusterStateFaultResponse = async (parsedOutput, context) => {
3387
3387
  const body = parsedOutput.body;
@@ -3390,7 +3390,7 @@ const deserializeAws_queryInvalidGlobalClusterStateFaultResponse = async (parsed
3390
3390
  $metadata: deserializeMetadata(parsedOutput),
3391
3391
  ...deserialized,
3392
3392
  });
3393
- return smithy_client_1.decorateServiceException(exception, body);
3393
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3394
3394
  };
3395
3395
  const deserializeAws_queryInvalidRestoreFaultResponse = async (parsedOutput, context) => {
3396
3396
  const body = parsedOutput.body;
@@ -3399,7 +3399,7 @@ const deserializeAws_queryInvalidRestoreFaultResponse = async (parsedOutput, con
3399
3399
  $metadata: deserializeMetadata(parsedOutput),
3400
3400
  ...deserialized,
3401
3401
  });
3402
- return smithy_client_1.decorateServiceException(exception, body);
3402
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3403
3403
  };
3404
3404
  const deserializeAws_queryInvalidSubnetResponse = async (parsedOutput, context) => {
3405
3405
  const body = parsedOutput.body;
@@ -3408,7 +3408,7 @@ const deserializeAws_queryInvalidSubnetResponse = async (parsedOutput, context)
3408
3408
  $metadata: deserializeMetadata(parsedOutput),
3409
3409
  ...deserialized,
3410
3410
  });
3411
- return smithy_client_1.decorateServiceException(exception, body);
3411
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3412
3412
  };
3413
3413
  const deserializeAws_queryInvalidVPCNetworkStateFaultResponse = async (parsedOutput, context) => {
3414
3414
  const body = parsedOutput.body;
@@ -3417,7 +3417,7 @@ const deserializeAws_queryInvalidVPCNetworkStateFaultResponse = async (parsedOut
3417
3417
  $metadata: deserializeMetadata(parsedOutput),
3418
3418
  ...deserialized,
3419
3419
  });
3420
- return smithy_client_1.decorateServiceException(exception, body);
3420
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3421
3421
  };
3422
3422
  const deserializeAws_queryKMSKeyNotAccessibleFaultResponse = async (parsedOutput, context) => {
3423
3423
  const body = parsedOutput.body;
@@ -3426,7 +3426,7 @@ const deserializeAws_queryKMSKeyNotAccessibleFaultResponse = async (parsedOutput
3426
3426
  $metadata: deserializeMetadata(parsedOutput),
3427
3427
  ...deserialized,
3428
3428
  });
3429
- return smithy_client_1.decorateServiceException(exception, body);
3429
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3430
3430
  };
3431
3431
  const deserializeAws_queryResourceNotFoundFaultResponse = async (parsedOutput, context) => {
3432
3432
  const body = parsedOutput.body;
@@ -3435,7 +3435,7 @@ const deserializeAws_queryResourceNotFoundFaultResponse = async (parsedOutput, c
3435
3435
  $metadata: deserializeMetadata(parsedOutput),
3436
3436
  ...deserialized,
3437
3437
  });
3438
- return smithy_client_1.decorateServiceException(exception, body);
3438
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3439
3439
  };
3440
3440
  const deserializeAws_querySharedSnapshotQuotaExceededFaultResponse = async (parsedOutput, context) => {
3441
3441
  const body = parsedOutput.body;
@@ -3444,7 +3444,7 @@ const deserializeAws_querySharedSnapshotQuotaExceededFaultResponse = async (pars
3444
3444
  $metadata: deserializeMetadata(parsedOutput),
3445
3445
  ...deserialized,
3446
3446
  });
3447
- return smithy_client_1.decorateServiceException(exception, body);
3447
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3448
3448
  };
3449
3449
  const deserializeAws_querySnapshotQuotaExceededFaultResponse = async (parsedOutput, context) => {
3450
3450
  const body = parsedOutput.body;
@@ -3453,7 +3453,7 @@ const deserializeAws_querySnapshotQuotaExceededFaultResponse = async (parsedOutp
3453
3453
  $metadata: deserializeMetadata(parsedOutput),
3454
3454
  ...deserialized,
3455
3455
  });
3456
- return smithy_client_1.decorateServiceException(exception, body);
3456
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3457
3457
  };
3458
3458
  const deserializeAws_querySNSInvalidTopicFaultResponse = async (parsedOutput, context) => {
3459
3459
  const body = parsedOutput.body;
@@ -3462,7 +3462,7 @@ const deserializeAws_querySNSInvalidTopicFaultResponse = async (parsedOutput, co
3462
3462
  $metadata: deserializeMetadata(parsedOutput),
3463
3463
  ...deserialized,
3464
3464
  });
3465
- return smithy_client_1.decorateServiceException(exception, body);
3465
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3466
3466
  };
3467
3467
  const deserializeAws_querySNSNoAuthorizationFaultResponse = async (parsedOutput, context) => {
3468
3468
  const body = parsedOutput.body;
@@ -3471,7 +3471,7 @@ const deserializeAws_querySNSNoAuthorizationFaultResponse = async (parsedOutput,
3471
3471
  $metadata: deserializeMetadata(parsedOutput),
3472
3472
  ...deserialized,
3473
3473
  });
3474
- return smithy_client_1.decorateServiceException(exception, body);
3474
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3475
3475
  };
3476
3476
  const deserializeAws_querySNSTopicArnNotFoundFaultResponse = async (parsedOutput, context) => {
3477
3477
  const body = parsedOutput.body;
@@ -3480,7 +3480,7 @@ const deserializeAws_querySNSTopicArnNotFoundFaultResponse = async (parsedOutput
3480
3480
  $metadata: deserializeMetadata(parsedOutput),
3481
3481
  ...deserialized,
3482
3482
  });
3483
- return smithy_client_1.decorateServiceException(exception, body);
3483
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3484
3484
  };
3485
3485
  const deserializeAws_querySourceNotFoundFaultResponse = async (parsedOutput, context) => {
3486
3486
  const body = parsedOutput.body;
@@ -3489,7 +3489,7 @@ const deserializeAws_querySourceNotFoundFaultResponse = async (parsedOutput, con
3489
3489
  $metadata: deserializeMetadata(parsedOutput),
3490
3490
  ...deserialized,
3491
3491
  });
3492
- return smithy_client_1.decorateServiceException(exception, body);
3492
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3493
3493
  };
3494
3494
  const deserializeAws_queryStorageQuotaExceededFaultResponse = async (parsedOutput, context) => {
3495
3495
  const body = parsedOutput.body;
@@ -3498,7 +3498,7 @@ const deserializeAws_queryStorageQuotaExceededFaultResponse = async (parsedOutpu
3498
3498
  $metadata: deserializeMetadata(parsedOutput),
3499
3499
  ...deserialized,
3500
3500
  });
3501
- return smithy_client_1.decorateServiceException(exception, body);
3501
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3502
3502
  };
3503
3503
  const deserializeAws_queryStorageTypeNotSupportedFaultResponse = async (parsedOutput, context) => {
3504
3504
  const body = parsedOutput.body;
@@ -3507,7 +3507,7 @@ const deserializeAws_queryStorageTypeNotSupportedFaultResponse = async (parsedOu
3507
3507
  $metadata: deserializeMetadata(parsedOutput),
3508
3508
  ...deserialized,
3509
3509
  });
3510
- return smithy_client_1.decorateServiceException(exception, body);
3510
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3511
3511
  };
3512
3512
  const deserializeAws_querySubnetAlreadyInUseResponse = async (parsedOutput, context) => {
3513
3513
  const body = parsedOutput.body;
@@ -3516,7 +3516,7 @@ const deserializeAws_querySubnetAlreadyInUseResponse = async (parsedOutput, cont
3516
3516
  $metadata: deserializeMetadata(parsedOutput),
3517
3517
  ...deserialized,
3518
3518
  });
3519
- return smithy_client_1.decorateServiceException(exception, body);
3519
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3520
3520
  };
3521
3521
  const deserializeAws_querySubscriptionAlreadyExistFaultResponse = async (parsedOutput, context) => {
3522
3522
  const body = parsedOutput.body;
@@ -3525,7 +3525,7 @@ const deserializeAws_querySubscriptionAlreadyExistFaultResponse = async (parsedO
3525
3525
  $metadata: deserializeMetadata(parsedOutput),
3526
3526
  ...deserialized,
3527
3527
  });
3528
- return smithy_client_1.decorateServiceException(exception, body);
3528
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3529
3529
  };
3530
3530
  const deserializeAws_querySubscriptionCategoryNotFoundFaultResponse = async (parsedOutput, context) => {
3531
3531
  const body = parsedOutput.body;
@@ -3534,7 +3534,7 @@ const deserializeAws_querySubscriptionCategoryNotFoundFaultResponse = async (par
3534
3534
  $metadata: deserializeMetadata(parsedOutput),
3535
3535
  ...deserialized,
3536
3536
  });
3537
- return smithy_client_1.decorateServiceException(exception, body);
3537
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3538
3538
  };
3539
3539
  const deserializeAws_querySubscriptionNotFoundFaultResponse = async (parsedOutput, context) => {
3540
3540
  const body = parsedOutput.body;
@@ -3543,7 +3543,7 @@ const deserializeAws_querySubscriptionNotFoundFaultResponse = async (parsedOutpu
3543
3543
  $metadata: deserializeMetadata(parsedOutput),
3544
3544
  ...deserialized,
3545
3545
  });
3546
- return smithy_client_1.decorateServiceException(exception, body);
3546
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3547
3547
  };
3548
3548
  const serializeAws_queryAddSourceIdentifierToSubscriptionMessage = (input, context) => {
3549
3549
  const entries = {};
@@ -4914,7 +4914,7 @@ const deserializeAws_queryAttributeValueList = (output, context) => {
4914
4914
  if (entry === null) {
4915
4915
  return null;
4916
4916
  }
4917
- return smithy_client_1.expectString(entry);
4917
+ return (0, smithy_client_1.expectString)(entry);
4918
4918
  });
4919
4919
  };
4920
4920
  const deserializeAws_queryAuthorizationNotFoundFault = (output, context) => {
@@ -4922,7 +4922,7 @@ const deserializeAws_queryAuthorizationNotFoundFault = (output, context) => {
4922
4922
  message: undefined,
4923
4923
  };
4924
4924
  if (output["message"] !== undefined) {
4925
- contents.message = smithy_client_1.expectString(output["message"]);
4925
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
4926
4926
  }
4927
4927
  return contents;
4928
4928
  };
@@ -4931,7 +4931,7 @@ const deserializeAws_queryAvailabilityZone = (output, context) => {
4931
4931
  Name: undefined,
4932
4932
  };
4933
4933
  if (output["Name"] !== undefined) {
4934
- contents.Name = smithy_client_1.expectString(output["Name"]);
4934
+ contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
4935
4935
  }
4936
4936
  return contents;
4937
4937
  };
@@ -4952,7 +4952,7 @@ const deserializeAws_queryAvailabilityZones = (output, context) => {
4952
4952
  if (entry === null) {
4953
4953
  return null;
4954
4954
  }
4955
- return smithy_client_1.expectString(entry);
4955
+ return (0, smithy_client_1.expectString)(entry);
4956
4956
  });
4957
4957
  };
4958
4958
  const deserializeAws_queryCertificate = (output, context) => {
@@ -4965,22 +4965,22 @@ const deserializeAws_queryCertificate = (output, context) => {
4965
4965
  CertificateArn: undefined,
4966
4966
  };
4967
4967
  if (output["CertificateIdentifier"] !== undefined) {
4968
- contents.CertificateIdentifier = smithy_client_1.expectString(output["CertificateIdentifier"]);
4968
+ contents.CertificateIdentifier = (0, smithy_client_1.expectString)(output["CertificateIdentifier"]);
4969
4969
  }
4970
4970
  if (output["CertificateType"] !== undefined) {
4971
- contents.CertificateType = smithy_client_1.expectString(output["CertificateType"]);
4971
+ contents.CertificateType = (0, smithy_client_1.expectString)(output["CertificateType"]);
4972
4972
  }
4973
4973
  if (output["Thumbprint"] !== undefined) {
4974
- contents.Thumbprint = smithy_client_1.expectString(output["Thumbprint"]);
4974
+ contents.Thumbprint = (0, smithy_client_1.expectString)(output["Thumbprint"]);
4975
4975
  }
4976
4976
  if (output["ValidFrom"] !== undefined) {
4977
- contents.ValidFrom = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ValidFrom"]));
4977
+ contents.ValidFrom = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ValidFrom"]));
4978
4978
  }
4979
4979
  if (output["ValidTill"] !== undefined) {
4980
- contents.ValidTill = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ValidTill"]));
4980
+ contents.ValidTill = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ValidTill"]));
4981
4981
  }
4982
4982
  if (output["CertificateArn"] !== undefined) {
4983
- contents.CertificateArn = smithy_client_1.expectString(output["CertificateArn"]);
4983
+ contents.CertificateArn = (0, smithy_client_1.expectString)(output["CertificateArn"]);
4984
4984
  }
4985
4985
  return contents;
4986
4986
  };
@@ -5003,10 +5003,10 @@ const deserializeAws_queryCertificateMessage = (output, context) => {
5003
5003
  contents.Certificates = [];
5004
5004
  }
5005
5005
  if (output["Certificates"] !== undefined && output["Certificates"]["Certificate"] !== undefined) {
5006
- contents.Certificates = deserializeAws_queryCertificateList(smithy_client_1.getArrayIfSingleItem(output["Certificates"]["Certificate"]), context);
5006
+ contents.Certificates = deserializeAws_queryCertificateList((0, smithy_client_1.getArrayIfSingleItem)(output["Certificates"]["Certificate"]), context);
5007
5007
  }
5008
5008
  if (output["Marker"] !== undefined) {
5009
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
5009
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
5010
5010
  }
5011
5011
  return contents;
5012
5012
  };
@@ -5015,7 +5015,7 @@ const deserializeAws_queryCertificateNotFoundFault = (output, context) => {
5015
5015
  message: undefined,
5016
5016
  };
5017
5017
  if (output["message"] !== undefined) {
5018
- contents.message = smithy_client_1.expectString(output["message"]);
5018
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5019
5019
  }
5020
5020
  return contents;
5021
5021
  };
@@ -5138,115 +5138,115 @@ const deserializeAws_queryDBCluster = (output, context) => {
5138
5138
  contents.AvailabilityZones = [];
5139
5139
  }
5140
5140
  if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
5141
- contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(smithy_client_1.getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
5141
+ contents.AvailabilityZones = deserializeAws_queryAvailabilityZones((0, smithy_client_1.getArrayIfSingleItem)(output["AvailabilityZones"]["AvailabilityZone"]), context);
5142
5142
  }
5143
5143
  if (output["BackupRetentionPeriod"] !== undefined) {
5144
- contents.BackupRetentionPeriod = smithy_client_1.strictParseInt32(output["BackupRetentionPeriod"]);
5144
+ contents.BackupRetentionPeriod = (0, smithy_client_1.strictParseInt32)(output["BackupRetentionPeriod"]);
5145
5145
  }
5146
5146
  if (output["DBClusterIdentifier"] !== undefined) {
5147
- contents.DBClusterIdentifier = smithy_client_1.expectString(output["DBClusterIdentifier"]);
5147
+ contents.DBClusterIdentifier = (0, smithy_client_1.expectString)(output["DBClusterIdentifier"]);
5148
5148
  }
5149
5149
  if (output["DBClusterParameterGroup"] !== undefined) {
5150
- contents.DBClusterParameterGroup = smithy_client_1.expectString(output["DBClusterParameterGroup"]);
5150
+ contents.DBClusterParameterGroup = (0, smithy_client_1.expectString)(output["DBClusterParameterGroup"]);
5151
5151
  }
5152
5152
  if (output["DBSubnetGroup"] !== undefined) {
5153
- contents.DBSubnetGroup = smithy_client_1.expectString(output["DBSubnetGroup"]);
5153
+ contents.DBSubnetGroup = (0, smithy_client_1.expectString)(output["DBSubnetGroup"]);
5154
5154
  }
5155
5155
  if (output["Status"] !== undefined) {
5156
- contents.Status = smithy_client_1.expectString(output["Status"]);
5156
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
5157
5157
  }
5158
5158
  if (output["PercentProgress"] !== undefined) {
5159
- contents.PercentProgress = smithy_client_1.expectString(output["PercentProgress"]);
5159
+ contents.PercentProgress = (0, smithy_client_1.expectString)(output["PercentProgress"]);
5160
5160
  }
5161
5161
  if (output["EarliestRestorableTime"] !== undefined) {
5162
- contents.EarliestRestorableTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EarliestRestorableTime"]));
5162
+ contents.EarliestRestorableTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["EarliestRestorableTime"]));
5163
5163
  }
5164
5164
  if (output["Endpoint"] !== undefined) {
5165
- contents.Endpoint = smithy_client_1.expectString(output["Endpoint"]);
5165
+ contents.Endpoint = (0, smithy_client_1.expectString)(output["Endpoint"]);
5166
5166
  }
5167
5167
  if (output["ReaderEndpoint"] !== undefined) {
5168
- contents.ReaderEndpoint = smithy_client_1.expectString(output["ReaderEndpoint"]);
5168
+ contents.ReaderEndpoint = (0, smithy_client_1.expectString)(output["ReaderEndpoint"]);
5169
5169
  }
5170
5170
  if (output["MultiAZ"] !== undefined) {
5171
- contents.MultiAZ = smithy_client_1.parseBoolean(output["MultiAZ"]);
5171
+ contents.MultiAZ = (0, smithy_client_1.parseBoolean)(output["MultiAZ"]);
5172
5172
  }
5173
5173
  if (output["Engine"] !== undefined) {
5174
- contents.Engine = smithy_client_1.expectString(output["Engine"]);
5174
+ contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
5175
5175
  }
5176
5176
  if (output["EngineVersion"] !== undefined) {
5177
- contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
5177
+ contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
5178
5178
  }
5179
5179
  if (output["LatestRestorableTime"] !== undefined) {
5180
- contents.LatestRestorableTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LatestRestorableTime"]));
5180
+ contents.LatestRestorableTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["LatestRestorableTime"]));
5181
5181
  }
5182
5182
  if (output["Port"] !== undefined) {
5183
- contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
5183
+ contents.Port = (0, smithy_client_1.strictParseInt32)(output["Port"]);
5184
5184
  }
5185
5185
  if (output["MasterUsername"] !== undefined) {
5186
- contents.MasterUsername = smithy_client_1.expectString(output["MasterUsername"]);
5186
+ contents.MasterUsername = (0, smithy_client_1.expectString)(output["MasterUsername"]);
5187
5187
  }
5188
5188
  if (output["PreferredBackupWindow"] !== undefined) {
5189
- contents.PreferredBackupWindow = smithy_client_1.expectString(output["PreferredBackupWindow"]);
5189
+ contents.PreferredBackupWindow = (0, smithy_client_1.expectString)(output["PreferredBackupWindow"]);
5190
5190
  }
5191
5191
  if (output["PreferredMaintenanceWindow"] !== undefined) {
5192
- contents.PreferredMaintenanceWindow = smithy_client_1.expectString(output["PreferredMaintenanceWindow"]);
5192
+ contents.PreferredMaintenanceWindow = (0, smithy_client_1.expectString)(output["PreferredMaintenanceWindow"]);
5193
5193
  }
5194
5194
  if (output["ReplicationSourceIdentifier"] !== undefined) {
5195
- contents.ReplicationSourceIdentifier = smithy_client_1.expectString(output["ReplicationSourceIdentifier"]);
5195
+ contents.ReplicationSourceIdentifier = (0, smithy_client_1.expectString)(output["ReplicationSourceIdentifier"]);
5196
5196
  }
5197
5197
  if (output.ReadReplicaIdentifiers === "") {
5198
5198
  contents.ReadReplicaIdentifiers = [];
5199
5199
  }
5200
5200
  if (output["ReadReplicaIdentifiers"] !== undefined &&
5201
5201
  output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"] !== undefined) {
5202
- contents.ReadReplicaIdentifiers = deserializeAws_queryReadReplicaIdentifierList(smithy_client_1.getArrayIfSingleItem(output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"]), context);
5202
+ contents.ReadReplicaIdentifiers = deserializeAws_queryReadReplicaIdentifierList((0, smithy_client_1.getArrayIfSingleItem)(output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"]), context);
5203
5203
  }
5204
5204
  if (output.DBClusterMembers === "") {
5205
5205
  contents.DBClusterMembers = [];
5206
5206
  }
5207
5207
  if (output["DBClusterMembers"] !== undefined && output["DBClusterMembers"]["DBClusterMember"] !== undefined) {
5208
- contents.DBClusterMembers = deserializeAws_queryDBClusterMemberList(smithy_client_1.getArrayIfSingleItem(output["DBClusterMembers"]["DBClusterMember"]), context);
5208
+ contents.DBClusterMembers = deserializeAws_queryDBClusterMemberList((0, smithy_client_1.getArrayIfSingleItem)(output["DBClusterMembers"]["DBClusterMember"]), context);
5209
5209
  }
5210
5210
  if (output.VpcSecurityGroups === "") {
5211
5211
  contents.VpcSecurityGroups = [];
5212
5212
  }
5213
5213
  if (output["VpcSecurityGroups"] !== undefined &&
5214
5214
  output["VpcSecurityGroups"]["VpcSecurityGroupMembership"] !== undefined) {
5215
- contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList(smithy_client_1.getArrayIfSingleItem(output["VpcSecurityGroups"]["VpcSecurityGroupMembership"]), context);
5215
+ contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList((0, smithy_client_1.getArrayIfSingleItem)(output["VpcSecurityGroups"]["VpcSecurityGroupMembership"]), context);
5216
5216
  }
5217
5217
  if (output["HostedZoneId"] !== undefined) {
5218
- contents.HostedZoneId = smithy_client_1.expectString(output["HostedZoneId"]);
5218
+ contents.HostedZoneId = (0, smithy_client_1.expectString)(output["HostedZoneId"]);
5219
5219
  }
5220
5220
  if (output["StorageEncrypted"] !== undefined) {
5221
- contents.StorageEncrypted = smithy_client_1.parseBoolean(output["StorageEncrypted"]);
5221
+ contents.StorageEncrypted = (0, smithy_client_1.parseBoolean)(output["StorageEncrypted"]);
5222
5222
  }
5223
5223
  if (output["KmsKeyId"] !== undefined) {
5224
- contents.KmsKeyId = smithy_client_1.expectString(output["KmsKeyId"]);
5224
+ contents.KmsKeyId = (0, smithy_client_1.expectString)(output["KmsKeyId"]);
5225
5225
  }
5226
5226
  if (output["DbClusterResourceId"] !== undefined) {
5227
- contents.DbClusterResourceId = smithy_client_1.expectString(output["DbClusterResourceId"]);
5227
+ contents.DbClusterResourceId = (0, smithy_client_1.expectString)(output["DbClusterResourceId"]);
5228
5228
  }
5229
5229
  if (output["DBClusterArn"] !== undefined) {
5230
- contents.DBClusterArn = smithy_client_1.expectString(output["DBClusterArn"]);
5230
+ contents.DBClusterArn = (0, smithy_client_1.expectString)(output["DBClusterArn"]);
5231
5231
  }
5232
5232
  if (output.AssociatedRoles === "") {
5233
5233
  contents.AssociatedRoles = [];
5234
5234
  }
5235
5235
  if (output["AssociatedRoles"] !== undefined && output["AssociatedRoles"]["DBClusterRole"] !== undefined) {
5236
- contents.AssociatedRoles = deserializeAws_queryDBClusterRoles(smithy_client_1.getArrayIfSingleItem(output["AssociatedRoles"]["DBClusterRole"]), context);
5236
+ contents.AssociatedRoles = deserializeAws_queryDBClusterRoles((0, smithy_client_1.getArrayIfSingleItem)(output["AssociatedRoles"]["DBClusterRole"]), context);
5237
5237
  }
5238
5238
  if (output["ClusterCreateTime"] !== undefined) {
5239
- contents.ClusterCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ClusterCreateTime"]));
5239
+ contents.ClusterCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ClusterCreateTime"]));
5240
5240
  }
5241
5241
  if (output.EnabledCloudwatchLogsExports === "") {
5242
5242
  contents.EnabledCloudwatchLogsExports = [];
5243
5243
  }
5244
5244
  if (output["EnabledCloudwatchLogsExports"] !== undefined &&
5245
5245
  output["EnabledCloudwatchLogsExports"]["member"] !== undefined) {
5246
- contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList(smithy_client_1.getArrayIfSingleItem(output["EnabledCloudwatchLogsExports"]["member"]), context);
5246
+ contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["EnabledCloudwatchLogsExports"]["member"]), context);
5247
5247
  }
5248
5248
  if (output["DeletionProtection"] !== undefined) {
5249
- contents.DeletionProtection = smithy_client_1.parseBoolean(output["DeletionProtection"]);
5249
+ contents.DeletionProtection = (0, smithy_client_1.parseBoolean)(output["DeletionProtection"]);
5250
5250
  }
5251
5251
  return contents;
5252
5252
  };
@@ -5255,7 +5255,7 @@ const deserializeAws_queryDBClusterAlreadyExistsFault = (output, context) => {
5255
5255
  message: undefined,
5256
5256
  };
5257
5257
  if (output["message"] !== undefined) {
5258
- contents.message = smithy_client_1.expectString(output["message"]);
5258
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5259
5259
  }
5260
5260
  return contents;
5261
5261
  };
@@ -5277,16 +5277,16 @@ const deserializeAws_queryDBClusterMember = (output, context) => {
5277
5277
  PromotionTier: undefined,
5278
5278
  };
5279
5279
  if (output["DBInstanceIdentifier"] !== undefined) {
5280
- contents.DBInstanceIdentifier = smithy_client_1.expectString(output["DBInstanceIdentifier"]);
5280
+ contents.DBInstanceIdentifier = (0, smithy_client_1.expectString)(output["DBInstanceIdentifier"]);
5281
5281
  }
5282
5282
  if (output["IsClusterWriter"] !== undefined) {
5283
- contents.IsClusterWriter = smithy_client_1.parseBoolean(output["IsClusterWriter"]);
5283
+ contents.IsClusterWriter = (0, smithy_client_1.parseBoolean)(output["IsClusterWriter"]);
5284
5284
  }
5285
5285
  if (output["DBClusterParameterGroupStatus"] !== undefined) {
5286
- contents.DBClusterParameterGroupStatus = smithy_client_1.expectString(output["DBClusterParameterGroupStatus"]);
5286
+ contents.DBClusterParameterGroupStatus = (0, smithy_client_1.expectString)(output["DBClusterParameterGroupStatus"]);
5287
5287
  }
5288
5288
  if (output["PromotionTier"] !== undefined) {
5289
- contents.PromotionTier = smithy_client_1.strictParseInt32(output["PromotionTier"]);
5289
+ contents.PromotionTier = (0, smithy_client_1.strictParseInt32)(output["PromotionTier"]);
5290
5290
  }
5291
5291
  return contents;
5292
5292
  };
@@ -5306,13 +5306,13 @@ const deserializeAws_queryDBClusterMessage = (output, context) => {
5306
5306
  DBClusters: undefined,
5307
5307
  };
5308
5308
  if (output["Marker"] !== undefined) {
5309
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
5309
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
5310
5310
  }
5311
5311
  if (output.DBClusters === "") {
5312
5312
  contents.DBClusters = [];
5313
5313
  }
5314
5314
  if (output["DBClusters"] !== undefined && output["DBClusters"]["DBCluster"] !== undefined) {
5315
- contents.DBClusters = deserializeAws_queryDBClusterList(smithy_client_1.getArrayIfSingleItem(output["DBClusters"]["DBCluster"]), context);
5315
+ contents.DBClusters = deserializeAws_queryDBClusterList((0, smithy_client_1.getArrayIfSingleItem)(output["DBClusters"]["DBCluster"]), context);
5316
5316
  }
5317
5317
  return contents;
5318
5318
  };
@@ -5321,7 +5321,7 @@ const deserializeAws_queryDBClusterNotFoundFault = (output, context) => {
5321
5321
  message: undefined,
5322
5322
  };
5323
5323
  if (output["message"] !== undefined) {
5324
- contents.message = smithy_client_1.expectString(output["message"]);
5324
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5325
5325
  }
5326
5326
  return contents;
5327
5327
  };
@@ -5333,16 +5333,16 @@ const deserializeAws_queryDBClusterParameterGroup = (output, context) => {
5333
5333
  DBClusterParameterGroupArn: undefined,
5334
5334
  };
5335
5335
  if (output["DBClusterParameterGroupName"] !== undefined) {
5336
- contents.DBClusterParameterGroupName = smithy_client_1.expectString(output["DBClusterParameterGroupName"]);
5336
+ contents.DBClusterParameterGroupName = (0, smithy_client_1.expectString)(output["DBClusterParameterGroupName"]);
5337
5337
  }
5338
5338
  if (output["DBParameterGroupFamily"] !== undefined) {
5339
- contents.DBParameterGroupFamily = smithy_client_1.expectString(output["DBParameterGroupFamily"]);
5339
+ contents.DBParameterGroupFamily = (0, smithy_client_1.expectString)(output["DBParameterGroupFamily"]);
5340
5340
  }
5341
5341
  if (output["Description"] !== undefined) {
5342
- contents.Description = smithy_client_1.expectString(output["Description"]);
5342
+ contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
5343
5343
  }
5344
5344
  if (output["DBClusterParameterGroupArn"] !== undefined) {
5345
- contents.DBClusterParameterGroupArn = smithy_client_1.expectString(output["DBClusterParameterGroupArn"]);
5345
+ contents.DBClusterParameterGroupArn = (0, smithy_client_1.expectString)(output["DBClusterParameterGroupArn"]);
5346
5346
  }
5347
5347
  return contents;
5348
5348
  };
@@ -5355,10 +5355,10 @@ const deserializeAws_queryDBClusterParameterGroupDetails = (output, context) =>
5355
5355
  contents.Parameters = [];
5356
5356
  }
5357
5357
  if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
5358
- contents.Parameters = deserializeAws_queryParametersList(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["Parameter"]), context);
5358
+ contents.Parameters = deserializeAws_queryParametersList((0, smithy_client_1.getArrayIfSingleItem)(output["Parameters"]["Parameter"]), context);
5359
5359
  }
5360
5360
  if (output["Marker"] !== undefined) {
5361
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
5361
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
5362
5362
  }
5363
5363
  return contents;
5364
5364
  };
@@ -5377,7 +5377,7 @@ const deserializeAws_queryDBClusterParameterGroupNameMessage = (output, context)
5377
5377
  DBClusterParameterGroupName: undefined,
5378
5378
  };
5379
5379
  if (output["DBClusterParameterGroupName"] !== undefined) {
5380
- contents.DBClusterParameterGroupName = smithy_client_1.expectString(output["DBClusterParameterGroupName"]);
5380
+ contents.DBClusterParameterGroupName = (0, smithy_client_1.expectString)(output["DBClusterParameterGroupName"]);
5381
5381
  }
5382
5382
  return contents;
5383
5383
  };
@@ -5386,7 +5386,7 @@ const deserializeAws_queryDBClusterParameterGroupNotFoundFault = (output, contex
5386
5386
  message: undefined,
5387
5387
  };
5388
5388
  if (output["message"] !== undefined) {
5389
- contents.message = smithy_client_1.expectString(output["message"]);
5389
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5390
5390
  }
5391
5391
  return contents;
5392
5392
  };
@@ -5396,14 +5396,14 @@ const deserializeAws_queryDBClusterParameterGroupsMessage = (output, context) =>
5396
5396
  DBClusterParameterGroups: undefined,
5397
5397
  };
5398
5398
  if (output["Marker"] !== undefined) {
5399
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
5399
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
5400
5400
  }
5401
5401
  if (output.DBClusterParameterGroups === "") {
5402
5402
  contents.DBClusterParameterGroups = [];
5403
5403
  }
5404
5404
  if (output["DBClusterParameterGroups"] !== undefined &&
5405
5405
  output["DBClusterParameterGroups"]["DBClusterParameterGroup"] !== undefined) {
5406
- contents.DBClusterParameterGroups = deserializeAws_queryDBClusterParameterGroupList(smithy_client_1.getArrayIfSingleItem(output["DBClusterParameterGroups"]["DBClusterParameterGroup"]), context);
5406
+ contents.DBClusterParameterGroups = deserializeAws_queryDBClusterParameterGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["DBClusterParameterGroups"]["DBClusterParameterGroup"]), context);
5407
5407
  }
5408
5408
  return contents;
5409
5409
  };
@@ -5412,7 +5412,7 @@ const deserializeAws_queryDBClusterQuotaExceededFault = (output, context) => {
5412
5412
  message: undefined,
5413
5413
  };
5414
5414
  if (output["message"] !== undefined) {
5415
- contents.message = smithy_client_1.expectString(output["message"]);
5415
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5416
5416
  }
5417
5417
  return contents;
5418
5418
  };
@@ -5422,10 +5422,10 @@ const deserializeAws_queryDBClusterRole = (output, context) => {
5422
5422
  Status: undefined,
5423
5423
  };
5424
5424
  if (output["RoleArn"] !== undefined) {
5425
- contents.RoleArn = smithy_client_1.expectString(output["RoleArn"]);
5425
+ contents.RoleArn = (0, smithy_client_1.expectString)(output["RoleArn"]);
5426
5426
  }
5427
5427
  if (output["Status"] !== undefined) {
5428
- contents.Status = smithy_client_1.expectString(output["Status"]);
5428
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
5429
5429
  }
5430
5430
  return contents;
5431
5431
  };
@@ -5463,55 +5463,55 @@ const deserializeAws_queryDBClusterSnapshot = (output, context) => {
5463
5463
  contents.AvailabilityZones = [];
5464
5464
  }
5465
5465
  if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
5466
- contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(smithy_client_1.getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
5466
+ contents.AvailabilityZones = deserializeAws_queryAvailabilityZones((0, smithy_client_1.getArrayIfSingleItem)(output["AvailabilityZones"]["AvailabilityZone"]), context);
5467
5467
  }
5468
5468
  if (output["DBClusterSnapshotIdentifier"] !== undefined) {
5469
- contents.DBClusterSnapshotIdentifier = smithy_client_1.expectString(output["DBClusterSnapshotIdentifier"]);
5469
+ contents.DBClusterSnapshotIdentifier = (0, smithy_client_1.expectString)(output["DBClusterSnapshotIdentifier"]);
5470
5470
  }
5471
5471
  if (output["DBClusterIdentifier"] !== undefined) {
5472
- contents.DBClusterIdentifier = smithy_client_1.expectString(output["DBClusterIdentifier"]);
5472
+ contents.DBClusterIdentifier = (0, smithy_client_1.expectString)(output["DBClusterIdentifier"]);
5473
5473
  }
5474
5474
  if (output["SnapshotCreateTime"] !== undefined) {
5475
- contents.SnapshotCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["SnapshotCreateTime"]));
5475
+ contents.SnapshotCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["SnapshotCreateTime"]));
5476
5476
  }
5477
5477
  if (output["Engine"] !== undefined) {
5478
- contents.Engine = smithy_client_1.expectString(output["Engine"]);
5478
+ contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
5479
5479
  }
5480
5480
  if (output["Status"] !== undefined) {
5481
- contents.Status = smithy_client_1.expectString(output["Status"]);
5481
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
5482
5482
  }
5483
5483
  if (output["Port"] !== undefined) {
5484
- contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
5484
+ contents.Port = (0, smithy_client_1.strictParseInt32)(output["Port"]);
5485
5485
  }
5486
5486
  if (output["VpcId"] !== undefined) {
5487
- contents.VpcId = smithy_client_1.expectString(output["VpcId"]);
5487
+ contents.VpcId = (0, smithy_client_1.expectString)(output["VpcId"]);
5488
5488
  }
5489
5489
  if (output["ClusterCreateTime"] !== undefined) {
5490
- contents.ClusterCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ClusterCreateTime"]));
5490
+ contents.ClusterCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ClusterCreateTime"]));
5491
5491
  }
5492
5492
  if (output["MasterUsername"] !== undefined) {
5493
- contents.MasterUsername = smithy_client_1.expectString(output["MasterUsername"]);
5493
+ contents.MasterUsername = (0, smithy_client_1.expectString)(output["MasterUsername"]);
5494
5494
  }
5495
5495
  if (output["EngineVersion"] !== undefined) {
5496
- contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
5496
+ contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
5497
5497
  }
5498
5498
  if (output["SnapshotType"] !== undefined) {
5499
- contents.SnapshotType = smithy_client_1.expectString(output["SnapshotType"]);
5499
+ contents.SnapshotType = (0, smithy_client_1.expectString)(output["SnapshotType"]);
5500
5500
  }
5501
5501
  if (output["PercentProgress"] !== undefined) {
5502
- contents.PercentProgress = smithy_client_1.strictParseInt32(output["PercentProgress"]);
5502
+ contents.PercentProgress = (0, smithy_client_1.strictParseInt32)(output["PercentProgress"]);
5503
5503
  }
5504
5504
  if (output["StorageEncrypted"] !== undefined) {
5505
- contents.StorageEncrypted = smithy_client_1.parseBoolean(output["StorageEncrypted"]);
5505
+ contents.StorageEncrypted = (0, smithy_client_1.parseBoolean)(output["StorageEncrypted"]);
5506
5506
  }
5507
5507
  if (output["KmsKeyId"] !== undefined) {
5508
- contents.KmsKeyId = smithy_client_1.expectString(output["KmsKeyId"]);
5508
+ contents.KmsKeyId = (0, smithy_client_1.expectString)(output["KmsKeyId"]);
5509
5509
  }
5510
5510
  if (output["DBClusterSnapshotArn"] !== undefined) {
5511
- contents.DBClusterSnapshotArn = smithy_client_1.expectString(output["DBClusterSnapshotArn"]);
5511
+ contents.DBClusterSnapshotArn = (0, smithy_client_1.expectString)(output["DBClusterSnapshotArn"]);
5512
5512
  }
5513
5513
  if (output["SourceDBClusterSnapshotArn"] !== undefined) {
5514
- contents.SourceDBClusterSnapshotArn = smithy_client_1.expectString(output["SourceDBClusterSnapshotArn"]);
5514
+ contents.SourceDBClusterSnapshotArn = (0, smithy_client_1.expectString)(output["SourceDBClusterSnapshotArn"]);
5515
5515
  }
5516
5516
  return contents;
5517
5517
  };
@@ -5520,7 +5520,7 @@ const deserializeAws_queryDBClusterSnapshotAlreadyExistsFault = (output, context
5520
5520
  message: undefined,
5521
5521
  };
5522
5522
  if (output["message"] !== undefined) {
5523
- contents.message = smithy_client_1.expectString(output["message"]);
5523
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5524
5524
  }
5525
5525
  return contents;
5526
5526
  };
@@ -5530,13 +5530,13 @@ const deserializeAws_queryDBClusterSnapshotAttribute = (output, context) => {
5530
5530
  AttributeValues: undefined,
5531
5531
  };
5532
5532
  if (output["AttributeName"] !== undefined) {
5533
- contents.AttributeName = smithy_client_1.expectString(output["AttributeName"]);
5533
+ contents.AttributeName = (0, smithy_client_1.expectString)(output["AttributeName"]);
5534
5534
  }
5535
5535
  if (output.AttributeValues === "") {
5536
5536
  contents.AttributeValues = [];
5537
5537
  }
5538
5538
  if (output["AttributeValues"] !== undefined && output["AttributeValues"]["AttributeValue"] !== undefined) {
5539
- contents.AttributeValues = deserializeAws_queryAttributeValueList(smithy_client_1.getArrayIfSingleItem(output["AttributeValues"]["AttributeValue"]), context);
5539
+ contents.AttributeValues = deserializeAws_queryAttributeValueList((0, smithy_client_1.getArrayIfSingleItem)(output["AttributeValues"]["AttributeValue"]), context);
5540
5540
  }
5541
5541
  return contents;
5542
5542
  };
@@ -5556,14 +5556,14 @@ const deserializeAws_queryDBClusterSnapshotAttributesResult = (output, context)
5556
5556
  DBClusterSnapshotAttributes: undefined,
5557
5557
  };
5558
5558
  if (output["DBClusterSnapshotIdentifier"] !== undefined) {
5559
- contents.DBClusterSnapshotIdentifier = smithy_client_1.expectString(output["DBClusterSnapshotIdentifier"]);
5559
+ contents.DBClusterSnapshotIdentifier = (0, smithy_client_1.expectString)(output["DBClusterSnapshotIdentifier"]);
5560
5560
  }
5561
5561
  if (output.DBClusterSnapshotAttributes === "") {
5562
5562
  contents.DBClusterSnapshotAttributes = [];
5563
5563
  }
5564
5564
  if (output["DBClusterSnapshotAttributes"] !== undefined &&
5565
5565
  output["DBClusterSnapshotAttributes"]["DBClusterSnapshotAttribute"] !== undefined) {
5566
- contents.DBClusterSnapshotAttributes = deserializeAws_queryDBClusterSnapshotAttributeList(smithy_client_1.getArrayIfSingleItem(output["DBClusterSnapshotAttributes"]["DBClusterSnapshotAttribute"]), context);
5566
+ contents.DBClusterSnapshotAttributes = deserializeAws_queryDBClusterSnapshotAttributeList((0, smithy_client_1.getArrayIfSingleItem)(output["DBClusterSnapshotAttributes"]["DBClusterSnapshotAttribute"]), context);
5567
5567
  }
5568
5568
  return contents;
5569
5569
  };
@@ -5583,13 +5583,13 @@ const deserializeAws_queryDBClusterSnapshotMessage = (output, context) => {
5583
5583
  DBClusterSnapshots: undefined,
5584
5584
  };
5585
5585
  if (output["Marker"] !== undefined) {
5586
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
5586
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
5587
5587
  }
5588
5588
  if (output.DBClusterSnapshots === "") {
5589
5589
  contents.DBClusterSnapshots = [];
5590
5590
  }
5591
5591
  if (output["DBClusterSnapshots"] !== undefined && output["DBClusterSnapshots"]["DBClusterSnapshot"] !== undefined) {
5592
- contents.DBClusterSnapshots = deserializeAws_queryDBClusterSnapshotList(smithy_client_1.getArrayIfSingleItem(output["DBClusterSnapshots"]["DBClusterSnapshot"]), context);
5592
+ contents.DBClusterSnapshots = deserializeAws_queryDBClusterSnapshotList((0, smithy_client_1.getArrayIfSingleItem)(output["DBClusterSnapshots"]["DBClusterSnapshot"]), context);
5593
5593
  }
5594
5594
  return contents;
5595
5595
  };
@@ -5598,7 +5598,7 @@ const deserializeAws_queryDBClusterSnapshotNotFoundFault = (output, context) =>
5598
5598
  message: undefined,
5599
5599
  };
5600
5600
  if (output["message"] !== undefined) {
5601
- contents.message = smithy_client_1.expectString(output["message"]);
5601
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5602
5602
  }
5603
5603
  return contents;
5604
5604
  };
@@ -5614,34 +5614,34 @@ const deserializeAws_queryDBEngineVersion = (output, context) => {
5614
5614
  SupportsLogExportsToCloudwatchLogs: undefined,
5615
5615
  };
5616
5616
  if (output["Engine"] !== undefined) {
5617
- contents.Engine = smithy_client_1.expectString(output["Engine"]);
5617
+ contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
5618
5618
  }
5619
5619
  if (output["EngineVersion"] !== undefined) {
5620
- contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
5620
+ contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
5621
5621
  }
5622
5622
  if (output["DBParameterGroupFamily"] !== undefined) {
5623
- contents.DBParameterGroupFamily = smithy_client_1.expectString(output["DBParameterGroupFamily"]);
5623
+ contents.DBParameterGroupFamily = (0, smithy_client_1.expectString)(output["DBParameterGroupFamily"]);
5624
5624
  }
5625
5625
  if (output["DBEngineDescription"] !== undefined) {
5626
- contents.DBEngineDescription = smithy_client_1.expectString(output["DBEngineDescription"]);
5626
+ contents.DBEngineDescription = (0, smithy_client_1.expectString)(output["DBEngineDescription"]);
5627
5627
  }
5628
5628
  if (output["DBEngineVersionDescription"] !== undefined) {
5629
- contents.DBEngineVersionDescription = smithy_client_1.expectString(output["DBEngineVersionDescription"]);
5629
+ contents.DBEngineVersionDescription = (0, smithy_client_1.expectString)(output["DBEngineVersionDescription"]);
5630
5630
  }
5631
5631
  if (output.ValidUpgradeTarget === "") {
5632
5632
  contents.ValidUpgradeTarget = [];
5633
5633
  }
5634
5634
  if (output["ValidUpgradeTarget"] !== undefined && output["ValidUpgradeTarget"]["UpgradeTarget"] !== undefined) {
5635
- contents.ValidUpgradeTarget = deserializeAws_queryValidUpgradeTargetList(smithy_client_1.getArrayIfSingleItem(output["ValidUpgradeTarget"]["UpgradeTarget"]), context);
5635
+ contents.ValidUpgradeTarget = deserializeAws_queryValidUpgradeTargetList((0, smithy_client_1.getArrayIfSingleItem)(output["ValidUpgradeTarget"]["UpgradeTarget"]), context);
5636
5636
  }
5637
5637
  if (output.ExportableLogTypes === "") {
5638
5638
  contents.ExportableLogTypes = [];
5639
5639
  }
5640
5640
  if (output["ExportableLogTypes"] !== undefined && output["ExportableLogTypes"]["member"] !== undefined) {
5641
- contents.ExportableLogTypes = deserializeAws_queryLogTypeList(smithy_client_1.getArrayIfSingleItem(output["ExportableLogTypes"]["member"]), context);
5641
+ contents.ExportableLogTypes = deserializeAws_queryLogTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["ExportableLogTypes"]["member"]), context);
5642
5642
  }
5643
5643
  if (output["SupportsLogExportsToCloudwatchLogs"] !== undefined) {
5644
- contents.SupportsLogExportsToCloudwatchLogs = smithy_client_1.parseBoolean(output["SupportsLogExportsToCloudwatchLogs"]);
5644
+ contents.SupportsLogExportsToCloudwatchLogs = (0, smithy_client_1.parseBoolean)(output["SupportsLogExportsToCloudwatchLogs"]);
5645
5645
  }
5646
5646
  return contents;
5647
5647
  };
@@ -5661,13 +5661,13 @@ const deserializeAws_queryDBEngineVersionMessage = (output, context) => {
5661
5661
  DBEngineVersions: undefined,
5662
5662
  };
5663
5663
  if (output["Marker"] !== undefined) {
5664
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
5664
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
5665
5665
  }
5666
5666
  if (output.DBEngineVersions === "") {
5667
5667
  contents.DBEngineVersions = [];
5668
5668
  }
5669
5669
  if (output["DBEngineVersions"] !== undefined && output["DBEngineVersions"]["DBEngineVersion"] !== undefined) {
5670
- contents.DBEngineVersions = deserializeAws_queryDBEngineVersionList(smithy_client_1.getArrayIfSingleItem(output["DBEngineVersions"]["DBEngineVersion"]), context);
5670
+ contents.DBEngineVersions = deserializeAws_queryDBEngineVersionList((0, smithy_client_1.getArrayIfSingleItem)(output["DBEngineVersions"]["DBEngineVersion"]), context);
5671
5671
  }
5672
5672
  return contents;
5673
5673
  };
@@ -5701,93 +5701,93 @@ const deserializeAws_queryDBInstance = (output, context) => {
5701
5701
  EnabledCloudwatchLogsExports: undefined,
5702
5702
  };
5703
5703
  if (output["DBInstanceIdentifier"] !== undefined) {
5704
- contents.DBInstanceIdentifier = smithy_client_1.expectString(output["DBInstanceIdentifier"]);
5704
+ contents.DBInstanceIdentifier = (0, smithy_client_1.expectString)(output["DBInstanceIdentifier"]);
5705
5705
  }
5706
5706
  if (output["DBInstanceClass"] !== undefined) {
5707
- contents.DBInstanceClass = smithy_client_1.expectString(output["DBInstanceClass"]);
5707
+ contents.DBInstanceClass = (0, smithy_client_1.expectString)(output["DBInstanceClass"]);
5708
5708
  }
5709
5709
  if (output["Engine"] !== undefined) {
5710
- contents.Engine = smithy_client_1.expectString(output["Engine"]);
5710
+ contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
5711
5711
  }
5712
5712
  if (output["DBInstanceStatus"] !== undefined) {
5713
- contents.DBInstanceStatus = smithy_client_1.expectString(output["DBInstanceStatus"]);
5713
+ contents.DBInstanceStatus = (0, smithy_client_1.expectString)(output["DBInstanceStatus"]);
5714
5714
  }
5715
5715
  if (output["Endpoint"] !== undefined) {
5716
5716
  contents.Endpoint = deserializeAws_queryEndpoint(output["Endpoint"], context);
5717
5717
  }
5718
5718
  if (output["InstanceCreateTime"] !== undefined) {
5719
- contents.InstanceCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["InstanceCreateTime"]));
5719
+ contents.InstanceCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["InstanceCreateTime"]));
5720
5720
  }
5721
5721
  if (output["PreferredBackupWindow"] !== undefined) {
5722
- contents.PreferredBackupWindow = smithy_client_1.expectString(output["PreferredBackupWindow"]);
5722
+ contents.PreferredBackupWindow = (0, smithy_client_1.expectString)(output["PreferredBackupWindow"]);
5723
5723
  }
5724
5724
  if (output["BackupRetentionPeriod"] !== undefined) {
5725
- contents.BackupRetentionPeriod = smithy_client_1.strictParseInt32(output["BackupRetentionPeriod"]);
5725
+ contents.BackupRetentionPeriod = (0, smithy_client_1.strictParseInt32)(output["BackupRetentionPeriod"]);
5726
5726
  }
5727
5727
  if (output.VpcSecurityGroups === "") {
5728
5728
  contents.VpcSecurityGroups = [];
5729
5729
  }
5730
5730
  if (output["VpcSecurityGroups"] !== undefined &&
5731
5731
  output["VpcSecurityGroups"]["VpcSecurityGroupMembership"] !== undefined) {
5732
- contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList(smithy_client_1.getArrayIfSingleItem(output["VpcSecurityGroups"]["VpcSecurityGroupMembership"]), context);
5732
+ contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList((0, smithy_client_1.getArrayIfSingleItem)(output["VpcSecurityGroups"]["VpcSecurityGroupMembership"]), context);
5733
5733
  }
5734
5734
  if (output["AvailabilityZone"] !== undefined) {
5735
- contents.AvailabilityZone = smithy_client_1.expectString(output["AvailabilityZone"]);
5735
+ contents.AvailabilityZone = (0, smithy_client_1.expectString)(output["AvailabilityZone"]);
5736
5736
  }
5737
5737
  if (output["DBSubnetGroup"] !== undefined) {
5738
5738
  contents.DBSubnetGroup = deserializeAws_queryDBSubnetGroup(output["DBSubnetGroup"], context);
5739
5739
  }
5740
5740
  if (output["PreferredMaintenanceWindow"] !== undefined) {
5741
- contents.PreferredMaintenanceWindow = smithy_client_1.expectString(output["PreferredMaintenanceWindow"]);
5741
+ contents.PreferredMaintenanceWindow = (0, smithy_client_1.expectString)(output["PreferredMaintenanceWindow"]);
5742
5742
  }
5743
5743
  if (output["PendingModifiedValues"] !== undefined) {
5744
5744
  contents.PendingModifiedValues = deserializeAws_queryPendingModifiedValues(output["PendingModifiedValues"], context);
5745
5745
  }
5746
5746
  if (output["LatestRestorableTime"] !== undefined) {
5747
- contents.LatestRestorableTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LatestRestorableTime"]));
5747
+ contents.LatestRestorableTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["LatestRestorableTime"]));
5748
5748
  }
5749
5749
  if (output["EngineVersion"] !== undefined) {
5750
- contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
5750
+ contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
5751
5751
  }
5752
5752
  if (output["AutoMinorVersionUpgrade"] !== undefined) {
5753
- contents.AutoMinorVersionUpgrade = smithy_client_1.parseBoolean(output["AutoMinorVersionUpgrade"]);
5753
+ contents.AutoMinorVersionUpgrade = (0, smithy_client_1.parseBoolean)(output["AutoMinorVersionUpgrade"]);
5754
5754
  }
5755
5755
  if (output["PubliclyAccessible"] !== undefined) {
5756
- contents.PubliclyAccessible = smithy_client_1.parseBoolean(output["PubliclyAccessible"]);
5756
+ contents.PubliclyAccessible = (0, smithy_client_1.parseBoolean)(output["PubliclyAccessible"]);
5757
5757
  }
5758
5758
  if (output.StatusInfos === "") {
5759
5759
  contents.StatusInfos = [];
5760
5760
  }
5761
5761
  if (output["StatusInfos"] !== undefined && output["StatusInfos"]["DBInstanceStatusInfo"] !== undefined) {
5762
- contents.StatusInfos = deserializeAws_queryDBInstanceStatusInfoList(smithy_client_1.getArrayIfSingleItem(output["StatusInfos"]["DBInstanceStatusInfo"]), context);
5762
+ contents.StatusInfos = deserializeAws_queryDBInstanceStatusInfoList((0, smithy_client_1.getArrayIfSingleItem)(output["StatusInfos"]["DBInstanceStatusInfo"]), context);
5763
5763
  }
5764
5764
  if (output["DBClusterIdentifier"] !== undefined) {
5765
- contents.DBClusterIdentifier = smithy_client_1.expectString(output["DBClusterIdentifier"]);
5765
+ contents.DBClusterIdentifier = (0, smithy_client_1.expectString)(output["DBClusterIdentifier"]);
5766
5766
  }
5767
5767
  if (output["StorageEncrypted"] !== undefined) {
5768
- contents.StorageEncrypted = smithy_client_1.parseBoolean(output["StorageEncrypted"]);
5768
+ contents.StorageEncrypted = (0, smithy_client_1.parseBoolean)(output["StorageEncrypted"]);
5769
5769
  }
5770
5770
  if (output["KmsKeyId"] !== undefined) {
5771
- contents.KmsKeyId = smithy_client_1.expectString(output["KmsKeyId"]);
5771
+ contents.KmsKeyId = (0, smithy_client_1.expectString)(output["KmsKeyId"]);
5772
5772
  }
5773
5773
  if (output["DbiResourceId"] !== undefined) {
5774
- contents.DbiResourceId = smithy_client_1.expectString(output["DbiResourceId"]);
5774
+ contents.DbiResourceId = (0, smithy_client_1.expectString)(output["DbiResourceId"]);
5775
5775
  }
5776
5776
  if (output["CACertificateIdentifier"] !== undefined) {
5777
- contents.CACertificateIdentifier = smithy_client_1.expectString(output["CACertificateIdentifier"]);
5777
+ contents.CACertificateIdentifier = (0, smithy_client_1.expectString)(output["CACertificateIdentifier"]);
5778
5778
  }
5779
5779
  if (output["PromotionTier"] !== undefined) {
5780
- contents.PromotionTier = smithy_client_1.strictParseInt32(output["PromotionTier"]);
5780
+ contents.PromotionTier = (0, smithy_client_1.strictParseInt32)(output["PromotionTier"]);
5781
5781
  }
5782
5782
  if (output["DBInstanceArn"] !== undefined) {
5783
- contents.DBInstanceArn = smithy_client_1.expectString(output["DBInstanceArn"]);
5783
+ contents.DBInstanceArn = (0, smithy_client_1.expectString)(output["DBInstanceArn"]);
5784
5784
  }
5785
5785
  if (output.EnabledCloudwatchLogsExports === "") {
5786
5786
  contents.EnabledCloudwatchLogsExports = [];
5787
5787
  }
5788
5788
  if (output["EnabledCloudwatchLogsExports"] !== undefined &&
5789
5789
  output["EnabledCloudwatchLogsExports"]["member"] !== undefined) {
5790
- contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList(smithy_client_1.getArrayIfSingleItem(output["EnabledCloudwatchLogsExports"]["member"]), context);
5790
+ contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["EnabledCloudwatchLogsExports"]["member"]), context);
5791
5791
  }
5792
5792
  return contents;
5793
5793
  };
@@ -5796,7 +5796,7 @@ const deserializeAws_queryDBInstanceAlreadyExistsFault = (output, context) => {
5796
5796
  message: undefined,
5797
5797
  };
5798
5798
  if (output["message"] !== undefined) {
5799
- contents.message = smithy_client_1.expectString(output["message"]);
5799
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5800
5800
  }
5801
5801
  return contents;
5802
5802
  };
@@ -5816,13 +5816,13 @@ const deserializeAws_queryDBInstanceMessage = (output, context) => {
5816
5816
  DBInstances: undefined,
5817
5817
  };
5818
5818
  if (output["Marker"] !== undefined) {
5819
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
5819
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
5820
5820
  }
5821
5821
  if (output.DBInstances === "") {
5822
5822
  contents.DBInstances = [];
5823
5823
  }
5824
5824
  if (output["DBInstances"] !== undefined && output["DBInstances"]["DBInstance"] !== undefined) {
5825
- contents.DBInstances = deserializeAws_queryDBInstanceList(smithy_client_1.getArrayIfSingleItem(output["DBInstances"]["DBInstance"]), context);
5825
+ contents.DBInstances = deserializeAws_queryDBInstanceList((0, smithy_client_1.getArrayIfSingleItem)(output["DBInstances"]["DBInstance"]), context);
5826
5826
  }
5827
5827
  return contents;
5828
5828
  };
@@ -5831,7 +5831,7 @@ const deserializeAws_queryDBInstanceNotFoundFault = (output, context) => {
5831
5831
  message: undefined,
5832
5832
  };
5833
5833
  if (output["message"] !== undefined) {
5834
- contents.message = smithy_client_1.expectString(output["message"]);
5834
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5835
5835
  }
5836
5836
  return contents;
5837
5837
  };
@@ -5843,16 +5843,16 @@ const deserializeAws_queryDBInstanceStatusInfo = (output, context) => {
5843
5843
  Message: undefined,
5844
5844
  };
5845
5845
  if (output["StatusType"] !== undefined) {
5846
- contents.StatusType = smithy_client_1.expectString(output["StatusType"]);
5846
+ contents.StatusType = (0, smithy_client_1.expectString)(output["StatusType"]);
5847
5847
  }
5848
5848
  if (output["Normal"] !== undefined) {
5849
- contents.Normal = smithy_client_1.parseBoolean(output["Normal"]);
5849
+ contents.Normal = (0, smithy_client_1.parseBoolean)(output["Normal"]);
5850
5850
  }
5851
5851
  if (output["Status"] !== undefined) {
5852
- contents.Status = smithy_client_1.expectString(output["Status"]);
5852
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
5853
5853
  }
5854
5854
  if (output["Message"] !== undefined) {
5855
- contents.Message = smithy_client_1.expectString(output["Message"]);
5855
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
5856
5856
  }
5857
5857
  return contents;
5858
5858
  };
@@ -5871,7 +5871,7 @@ const deserializeAws_queryDBParameterGroupAlreadyExistsFault = (output, context)
5871
5871
  message: undefined,
5872
5872
  };
5873
5873
  if (output["message"] !== undefined) {
5874
- contents.message = smithy_client_1.expectString(output["message"]);
5874
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5875
5875
  }
5876
5876
  return contents;
5877
5877
  };
@@ -5880,7 +5880,7 @@ const deserializeAws_queryDBParameterGroupNotFoundFault = (output, context) => {
5880
5880
  message: undefined,
5881
5881
  };
5882
5882
  if (output["message"] !== undefined) {
5883
- contents.message = smithy_client_1.expectString(output["message"]);
5883
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5884
5884
  }
5885
5885
  return contents;
5886
5886
  };
@@ -5889,7 +5889,7 @@ const deserializeAws_queryDBParameterGroupQuotaExceededFault = (output, context)
5889
5889
  message: undefined,
5890
5890
  };
5891
5891
  if (output["message"] !== undefined) {
5892
- contents.message = smithy_client_1.expectString(output["message"]);
5892
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5893
5893
  }
5894
5894
  return contents;
5895
5895
  };
@@ -5898,7 +5898,7 @@ const deserializeAws_queryDBSecurityGroupNotFoundFault = (output, context) => {
5898
5898
  message: undefined,
5899
5899
  };
5900
5900
  if (output["message"] !== undefined) {
5901
- contents.message = smithy_client_1.expectString(output["message"]);
5901
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5902
5902
  }
5903
5903
  return contents;
5904
5904
  };
@@ -5907,7 +5907,7 @@ const deserializeAws_queryDBSnapshotAlreadyExistsFault = (output, context) => {
5907
5907
  message: undefined,
5908
5908
  };
5909
5909
  if (output["message"] !== undefined) {
5910
- contents.message = smithy_client_1.expectString(output["message"]);
5910
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5911
5911
  }
5912
5912
  return contents;
5913
5913
  };
@@ -5916,7 +5916,7 @@ const deserializeAws_queryDBSnapshotNotFoundFault = (output, context) => {
5916
5916
  message: undefined,
5917
5917
  };
5918
5918
  if (output["message"] !== undefined) {
5919
- contents.message = smithy_client_1.expectString(output["message"]);
5919
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5920
5920
  }
5921
5921
  return contents;
5922
5922
  };
@@ -5930,25 +5930,25 @@ const deserializeAws_queryDBSubnetGroup = (output, context) => {
5930
5930
  DBSubnetGroupArn: undefined,
5931
5931
  };
5932
5932
  if (output["DBSubnetGroupName"] !== undefined) {
5933
- contents.DBSubnetGroupName = smithy_client_1.expectString(output["DBSubnetGroupName"]);
5933
+ contents.DBSubnetGroupName = (0, smithy_client_1.expectString)(output["DBSubnetGroupName"]);
5934
5934
  }
5935
5935
  if (output["DBSubnetGroupDescription"] !== undefined) {
5936
- contents.DBSubnetGroupDescription = smithy_client_1.expectString(output["DBSubnetGroupDescription"]);
5936
+ contents.DBSubnetGroupDescription = (0, smithy_client_1.expectString)(output["DBSubnetGroupDescription"]);
5937
5937
  }
5938
5938
  if (output["VpcId"] !== undefined) {
5939
- contents.VpcId = smithy_client_1.expectString(output["VpcId"]);
5939
+ contents.VpcId = (0, smithy_client_1.expectString)(output["VpcId"]);
5940
5940
  }
5941
5941
  if (output["SubnetGroupStatus"] !== undefined) {
5942
- contents.SubnetGroupStatus = smithy_client_1.expectString(output["SubnetGroupStatus"]);
5942
+ contents.SubnetGroupStatus = (0, smithy_client_1.expectString)(output["SubnetGroupStatus"]);
5943
5943
  }
5944
5944
  if (output.Subnets === "") {
5945
5945
  contents.Subnets = [];
5946
5946
  }
5947
5947
  if (output["Subnets"] !== undefined && output["Subnets"]["Subnet"] !== undefined) {
5948
- contents.Subnets = deserializeAws_querySubnetList(smithy_client_1.getArrayIfSingleItem(output["Subnets"]["Subnet"]), context);
5948
+ contents.Subnets = deserializeAws_querySubnetList((0, smithy_client_1.getArrayIfSingleItem)(output["Subnets"]["Subnet"]), context);
5949
5949
  }
5950
5950
  if (output["DBSubnetGroupArn"] !== undefined) {
5951
- contents.DBSubnetGroupArn = smithy_client_1.expectString(output["DBSubnetGroupArn"]);
5951
+ contents.DBSubnetGroupArn = (0, smithy_client_1.expectString)(output["DBSubnetGroupArn"]);
5952
5952
  }
5953
5953
  return contents;
5954
5954
  };
@@ -5957,7 +5957,7 @@ const deserializeAws_queryDBSubnetGroupAlreadyExistsFault = (output, context) =>
5957
5957
  message: undefined,
5958
5958
  };
5959
5959
  if (output["message"] !== undefined) {
5960
- contents.message = smithy_client_1.expectString(output["message"]);
5960
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5961
5961
  }
5962
5962
  return contents;
5963
5963
  };
@@ -5966,7 +5966,7 @@ const deserializeAws_queryDBSubnetGroupDoesNotCoverEnoughAZs = (output, context)
5966
5966
  message: undefined,
5967
5967
  };
5968
5968
  if (output["message"] !== undefined) {
5969
- contents.message = smithy_client_1.expectString(output["message"]);
5969
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5970
5970
  }
5971
5971
  return contents;
5972
5972
  };
@@ -5976,13 +5976,13 @@ const deserializeAws_queryDBSubnetGroupMessage = (output, context) => {
5976
5976
  DBSubnetGroups: undefined,
5977
5977
  };
5978
5978
  if (output["Marker"] !== undefined) {
5979
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
5979
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
5980
5980
  }
5981
5981
  if (output.DBSubnetGroups === "") {
5982
5982
  contents.DBSubnetGroups = [];
5983
5983
  }
5984
5984
  if (output["DBSubnetGroups"] !== undefined && output["DBSubnetGroups"]["DBSubnetGroup"] !== undefined) {
5985
- contents.DBSubnetGroups = deserializeAws_queryDBSubnetGroups(smithy_client_1.getArrayIfSingleItem(output["DBSubnetGroups"]["DBSubnetGroup"]), context);
5985
+ contents.DBSubnetGroups = deserializeAws_queryDBSubnetGroups((0, smithy_client_1.getArrayIfSingleItem)(output["DBSubnetGroups"]["DBSubnetGroup"]), context);
5986
5986
  }
5987
5987
  return contents;
5988
5988
  };
@@ -5991,7 +5991,7 @@ const deserializeAws_queryDBSubnetGroupNotFoundFault = (output, context) => {
5991
5991
  message: undefined,
5992
5992
  };
5993
5993
  if (output["message"] !== undefined) {
5994
- contents.message = smithy_client_1.expectString(output["message"]);
5994
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
5995
5995
  }
5996
5996
  return contents;
5997
5997
  };
@@ -6000,7 +6000,7 @@ const deserializeAws_queryDBSubnetGroupQuotaExceededFault = (output, context) =>
6000
6000
  message: undefined,
6001
6001
  };
6002
6002
  if (output["message"] !== undefined) {
6003
- contents.message = smithy_client_1.expectString(output["message"]);
6003
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6004
6004
  }
6005
6005
  return contents;
6006
6006
  };
@@ -6019,7 +6019,7 @@ const deserializeAws_queryDBSubnetQuotaExceededFault = (output, context) => {
6019
6019
  message: undefined,
6020
6020
  };
6021
6021
  if (output["message"] !== undefined) {
6022
- contents.message = smithy_client_1.expectString(output["message"]);
6022
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6023
6023
  }
6024
6024
  return contents;
6025
6025
  };
@@ -6028,7 +6028,7 @@ const deserializeAws_queryDBUpgradeDependencyFailureFault = (output, context) =>
6028
6028
  message: undefined,
6029
6029
  };
6030
6030
  if (output["message"] !== undefined) {
6031
- contents.message = smithy_client_1.expectString(output["message"]);
6031
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6032
6032
  }
6033
6033
  return contents;
6034
6034
  };
@@ -6102,13 +6102,13 @@ const deserializeAws_queryEndpoint = (output, context) => {
6102
6102
  HostedZoneId: undefined,
6103
6103
  };
6104
6104
  if (output["Address"] !== undefined) {
6105
- contents.Address = smithy_client_1.expectString(output["Address"]);
6105
+ contents.Address = (0, smithy_client_1.expectString)(output["Address"]);
6106
6106
  }
6107
6107
  if (output["Port"] !== undefined) {
6108
- contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
6108
+ contents.Port = (0, smithy_client_1.strictParseInt32)(output["Port"]);
6109
6109
  }
6110
6110
  if (output["HostedZoneId"] !== undefined) {
6111
- contents.HostedZoneId = smithy_client_1.expectString(output["HostedZoneId"]);
6111
+ contents.HostedZoneId = (0, smithy_client_1.expectString)(output["HostedZoneId"]);
6112
6112
  }
6113
6113
  return contents;
6114
6114
  };
@@ -6119,16 +6119,16 @@ const deserializeAws_queryEngineDefaults = (output, context) => {
6119
6119
  Parameters: undefined,
6120
6120
  };
6121
6121
  if (output["DBParameterGroupFamily"] !== undefined) {
6122
- contents.DBParameterGroupFamily = smithy_client_1.expectString(output["DBParameterGroupFamily"]);
6122
+ contents.DBParameterGroupFamily = (0, smithy_client_1.expectString)(output["DBParameterGroupFamily"]);
6123
6123
  }
6124
6124
  if (output["Marker"] !== undefined) {
6125
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
6125
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
6126
6126
  }
6127
6127
  if (output.Parameters === "") {
6128
6128
  contents.Parameters = [];
6129
6129
  }
6130
6130
  if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
6131
- contents.Parameters = deserializeAws_queryParametersList(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["Parameter"]), context);
6131
+ contents.Parameters = deserializeAws_queryParametersList((0, smithy_client_1.getArrayIfSingleItem)(output["Parameters"]["Parameter"]), context);
6132
6132
  }
6133
6133
  return contents;
6134
6134
  };
@@ -6142,25 +6142,25 @@ const deserializeAws_queryEvent = (output, context) => {
6142
6142
  SourceArn: undefined,
6143
6143
  };
6144
6144
  if (output["SourceIdentifier"] !== undefined) {
6145
- contents.SourceIdentifier = smithy_client_1.expectString(output["SourceIdentifier"]);
6145
+ contents.SourceIdentifier = (0, smithy_client_1.expectString)(output["SourceIdentifier"]);
6146
6146
  }
6147
6147
  if (output["SourceType"] !== undefined) {
6148
- contents.SourceType = smithy_client_1.expectString(output["SourceType"]);
6148
+ contents.SourceType = (0, smithy_client_1.expectString)(output["SourceType"]);
6149
6149
  }
6150
6150
  if (output["Message"] !== undefined) {
6151
- contents.Message = smithy_client_1.expectString(output["Message"]);
6151
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
6152
6152
  }
6153
6153
  if (output.EventCategories === "") {
6154
6154
  contents.EventCategories = [];
6155
6155
  }
6156
6156
  if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
6157
- contents.EventCategories = deserializeAws_queryEventCategoriesList(smithy_client_1.getArrayIfSingleItem(output["EventCategories"]["EventCategory"]), context);
6157
+ contents.EventCategories = deserializeAws_queryEventCategoriesList((0, smithy_client_1.getArrayIfSingleItem)(output["EventCategories"]["EventCategory"]), context);
6158
6158
  }
6159
6159
  if (output["Date"] !== undefined) {
6160
- contents.Date = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Date"]));
6160
+ contents.Date = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["Date"]));
6161
6161
  }
6162
6162
  if (output["SourceArn"] !== undefined) {
6163
- contents.SourceArn = smithy_client_1.expectString(output["SourceArn"]);
6163
+ contents.SourceArn = (0, smithy_client_1.expectString)(output["SourceArn"]);
6164
6164
  }
6165
6165
  return contents;
6166
6166
  };
@@ -6171,7 +6171,7 @@ const deserializeAws_queryEventCategoriesList = (output, context) => {
6171
6171
  if (entry === null) {
6172
6172
  return null;
6173
6173
  }
6174
- return smithy_client_1.expectString(entry);
6174
+ return (0, smithy_client_1.expectString)(entry);
6175
6175
  });
6176
6176
  };
6177
6177
  const deserializeAws_queryEventCategoriesMap = (output, context) => {
@@ -6180,13 +6180,13 @@ const deserializeAws_queryEventCategoriesMap = (output, context) => {
6180
6180
  EventCategories: undefined,
6181
6181
  };
6182
6182
  if (output["SourceType"] !== undefined) {
6183
- contents.SourceType = smithy_client_1.expectString(output["SourceType"]);
6183
+ contents.SourceType = (0, smithy_client_1.expectString)(output["SourceType"]);
6184
6184
  }
6185
6185
  if (output.EventCategories === "") {
6186
6186
  contents.EventCategories = [];
6187
6187
  }
6188
6188
  if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
6189
- contents.EventCategories = deserializeAws_queryEventCategoriesList(smithy_client_1.getArrayIfSingleItem(output["EventCategories"]["EventCategory"]), context);
6189
+ contents.EventCategories = deserializeAws_queryEventCategoriesList((0, smithy_client_1.getArrayIfSingleItem)(output["EventCategories"]["EventCategory"]), context);
6190
6190
  }
6191
6191
  return contents;
6192
6192
  };
@@ -6209,7 +6209,7 @@ const deserializeAws_queryEventCategoriesMessage = (output, context) => {
6209
6209
  }
6210
6210
  if (output["EventCategoriesMapList"] !== undefined &&
6211
6211
  output["EventCategoriesMapList"]["EventCategoriesMap"] !== undefined) {
6212
- contents.EventCategoriesMapList = deserializeAws_queryEventCategoriesMapList(smithy_client_1.getArrayIfSingleItem(output["EventCategoriesMapList"]["EventCategoriesMap"]), context);
6212
+ contents.EventCategoriesMapList = deserializeAws_queryEventCategoriesMapList((0, smithy_client_1.getArrayIfSingleItem)(output["EventCategoriesMapList"]["EventCategoriesMap"]), context);
6213
6213
  }
6214
6214
  return contents;
6215
6215
  };
@@ -6229,13 +6229,13 @@ const deserializeAws_queryEventsMessage = (output, context) => {
6229
6229
  Events: undefined,
6230
6230
  };
6231
6231
  if (output["Marker"] !== undefined) {
6232
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
6232
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
6233
6233
  }
6234
6234
  if (output.Events === "") {
6235
6235
  contents.Events = [];
6236
6236
  }
6237
6237
  if (output["Events"] !== undefined && output["Events"]["Event"] !== undefined) {
6238
- contents.Events = deserializeAws_queryEventList(smithy_client_1.getArrayIfSingleItem(output["Events"]["Event"]), context);
6238
+ contents.Events = deserializeAws_queryEventList((0, smithy_client_1.getArrayIfSingleItem)(output["Events"]["Event"]), context);
6239
6239
  }
6240
6240
  return contents;
6241
6241
  };
@@ -6253,40 +6253,40 @@ const deserializeAws_queryEventSubscription = (output, context) => {
6253
6253
  EventSubscriptionArn: undefined,
6254
6254
  };
6255
6255
  if (output["CustomerAwsId"] !== undefined) {
6256
- contents.CustomerAwsId = smithy_client_1.expectString(output["CustomerAwsId"]);
6256
+ contents.CustomerAwsId = (0, smithy_client_1.expectString)(output["CustomerAwsId"]);
6257
6257
  }
6258
6258
  if (output["CustSubscriptionId"] !== undefined) {
6259
- contents.CustSubscriptionId = smithy_client_1.expectString(output["CustSubscriptionId"]);
6259
+ contents.CustSubscriptionId = (0, smithy_client_1.expectString)(output["CustSubscriptionId"]);
6260
6260
  }
6261
6261
  if (output["SnsTopicArn"] !== undefined) {
6262
- contents.SnsTopicArn = smithy_client_1.expectString(output["SnsTopicArn"]);
6262
+ contents.SnsTopicArn = (0, smithy_client_1.expectString)(output["SnsTopicArn"]);
6263
6263
  }
6264
6264
  if (output["Status"] !== undefined) {
6265
- contents.Status = smithy_client_1.expectString(output["Status"]);
6265
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6266
6266
  }
6267
6267
  if (output["SubscriptionCreationTime"] !== undefined) {
6268
- contents.SubscriptionCreationTime = smithy_client_1.expectString(output["SubscriptionCreationTime"]);
6268
+ contents.SubscriptionCreationTime = (0, smithy_client_1.expectString)(output["SubscriptionCreationTime"]);
6269
6269
  }
6270
6270
  if (output["SourceType"] !== undefined) {
6271
- contents.SourceType = smithy_client_1.expectString(output["SourceType"]);
6271
+ contents.SourceType = (0, smithy_client_1.expectString)(output["SourceType"]);
6272
6272
  }
6273
6273
  if (output.SourceIdsList === "") {
6274
6274
  contents.SourceIdsList = [];
6275
6275
  }
6276
6276
  if (output["SourceIdsList"] !== undefined && output["SourceIdsList"]["SourceId"] !== undefined) {
6277
- contents.SourceIdsList = deserializeAws_querySourceIdsList(smithy_client_1.getArrayIfSingleItem(output["SourceIdsList"]["SourceId"]), context);
6277
+ contents.SourceIdsList = deserializeAws_querySourceIdsList((0, smithy_client_1.getArrayIfSingleItem)(output["SourceIdsList"]["SourceId"]), context);
6278
6278
  }
6279
6279
  if (output.EventCategoriesList === "") {
6280
6280
  contents.EventCategoriesList = [];
6281
6281
  }
6282
6282
  if (output["EventCategoriesList"] !== undefined && output["EventCategoriesList"]["EventCategory"] !== undefined) {
6283
- contents.EventCategoriesList = deserializeAws_queryEventCategoriesList(smithy_client_1.getArrayIfSingleItem(output["EventCategoriesList"]["EventCategory"]), context);
6283
+ contents.EventCategoriesList = deserializeAws_queryEventCategoriesList((0, smithy_client_1.getArrayIfSingleItem)(output["EventCategoriesList"]["EventCategory"]), context);
6284
6284
  }
6285
6285
  if (output["Enabled"] !== undefined) {
6286
- contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
6286
+ contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
6287
6287
  }
6288
6288
  if (output["EventSubscriptionArn"] !== undefined) {
6289
- contents.EventSubscriptionArn = smithy_client_1.expectString(output["EventSubscriptionArn"]);
6289
+ contents.EventSubscriptionArn = (0, smithy_client_1.expectString)(output["EventSubscriptionArn"]);
6290
6290
  }
6291
6291
  return contents;
6292
6292
  };
@@ -6295,7 +6295,7 @@ const deserializeAws_queryEventSubscriptionQuotaExceededFault = (output, context
6295
6295
  message: undefined,
6296
6296
  };
6297
6297
  if (output["message"] !== undefined) {
6298
- contents.message = smithy_client_1.expectString(output["message"]);
6298
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6299
6299
  }
6300
6300
  return contents;
6301
6301
  };
@@ -6315,14 +6315,14 @@ const deserializeAws_queryEventSubscriptionsMessage = (output, context) => {
6315
6315
  EventSubscriptionsList: undefined,
6316
6316
  };
6317
6317
  if (output["Marker"] !== undefined) {
6318
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
6318
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
6319
6319
  }
6320
6320
  if (output.EventSubscriptionsList === "") {
6321
6321
  contents.EventSubscriptionsList = [];
6322
6322
  }
6323
6323
  if (output["EventSubscriptionsList"] !== undefined &&
6324
6324
  output["EventSubscriptionsList"]["EventSubscription"] !== undefined) {
6325
- contents.EventSubscriptionsList = deserializeAws_queryEventSubscriptionsList(smithy_client_1.getArrayIfSingleItem(output["EventSubscriptionsList"]["EventSubscription"]), context);
6325
+ contents.EventSubscriptionsList = deserializeAws_queryEventSubscriptionsList((0, smithy_client_1.getArrayIfSingleItem)(output["EventSubscriptionsList"]["EventSubscription"]), context);
6326
6326
  }
6327
6327
  return contents;
6328
6328
  };
@@ -6349,38 +6349,38 @@ const deserializeAws_queryGlobalCluster = (output, context) => {
6349
6349
  GlobalClusterMembers: undefined,
6350
6350
  };
6351
6351
  if (output["GlobalClusterIdentifier"] !== undefined) {
6352
- contents.GlobalClusterIdentifier = smithy_client_1.expectString(output["GlobalClusterIdentifier"]);
6352
+ contents.GlobalClusterIdentifier = (0, smithy_client_1.expectString)(output["GlobalClusterIdentifier"]);
6353
6353
  }
6354
6354
  if (output["GlobalClusterResourceId"] !== undefined) {
6355
- contents.GlobalClusterResourceId = smithy_client_1.expectString(output["GlobalClusterResourceId"]);
6355
+ contents.GlobalClusterResourceId = (0, smithy_client_1.expectString)(output["GlobalClusterResourceId"]);
6356
6356
  }
6357
6357
  if (output["GlobalClusterArn"] !== undefined) {
6358
- contents.GlobalClusterArn = smithy_client_1.expectString(output["GlobalClusterArn"]);
6358
+ contents.GlobalClusterArn = (0, smithy_client_1.expectString)(output["GlobalClusterArn"]);
6359
6359
  }
6360
6360
  if (output["Status"] !== undefined) {
6361
- contents.Status = smithy_client_1.expectString(output["Status"]);
6361
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6362
6362
  }
6363
6363
  if (output["Engine"] !== undefined) {
6364
- contents.Engine = smithy_client_1.expectString(output["Engine"]);
6364
+ contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
6365
6365
  }
6366
6366
  if (output["EngineVersion"] !== undefined) {
6367
- contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
6367
+ contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
6368
6368
  }
6369
6369
  if (output["DatabaseName"] !== undefined) {
6370
- contents.DatabaseName = smithy_client_1.expectString(output["DatabaseName"]);
6370
+ contents.DatabaseName = (0, smithy_client_1.expectString)(output["DatabaseName"]);
6371
6371
  }
6372
6372
  if (output["StorageEncrypted"] !== undefined) {
6373
- contents.StorageEncrypted = smithy_client_1.parseBoolean(output["StorageEncrypted"]);
6373
+ contents.StorageEncrypted = (0, smithy_client_1.parseBoolean)(output["StorageEncrypted"]);
6374
6374
  }
6375
6375
  if (output["DeletionProtection"] !== undefined) {
6376
- contents.DeletionProtection = smithy_client_1.parseBoolean(output["DeletionProtection"]);
6376
+ contents.DeletionProtection = (0, smithy_client_1.parseBoolean)(output["DeletionProtection"]);
6377
6377
  }
6378
6378
  if (output.GlobalClusterMembers === "") {
6379
6379
  contents.GlobalClusterMembers = [];
6380
6380
  }
6381
6381
  if (output["GlobalClusterMembers"] !== undefined &&
6382
6382
  output["GlobalClusterMembers"]["GlobalClusterMember"] !== undefined) {
6383
- contents.GlobalClusterMembers = deserializeAws_queryGlobalClusterMemberList(smithy_client_1.getArrayIfSingleItem(output["GlobalClusterMembers"]["GlobalClusterMember"]), context);
6383
+ contents.GlobalClusterMembers = deserializeAws_queryGlobalClusterMemberList((0, smithy_client_1.getArrayIfSingleItem)(output["GlobalClusterMembers"]["GlobalClusterMember"]), context);
6384
6384
  }
6385
6385
  return contents;
6386
6386
  };
@@ -6389,7 +6389,7 @@ const deserializeAws_queryGlobalClusterAlreadyExistsFault = (output, context) =>
6389
6389
  message: undefined,
6390
6390
  };
6391
6391
  if (output["message"] !== undefined) {
6392
- contents.message = smithy_client_1.expectString(output["message"]);
6392
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6393
6393
  }
6394
6394
  return contents;
6395
6395
  };
@@ -6410,16 +6410,16 @@ const deserializeAws_queryGlobalClusterMember = (output, context) => {
6410
6410
  IsWriter: undefined,
6411
6411
  };
6412
6412
  if (output["DBClusterArn"] !== undefined) {
6413
- contents.DBClusterArn = smithy_client_1.expectString(output["DBClusterArn"]);
6413
+ contents.DBClusterArn = (0, smithy_client_1.expectString)(output["DBClusterArn"]);
6414
6414
  }
6415
6415
  if (output.Readers === "") {
6416
6416
  contents.Readers = [];
6417
6417
  }
6418
6418
  if (output["Readers"] !== undefined && output["Readers"]["member"] !== undefined) {
6419
- contents.Readers = deserializeAws_queryReadersArnList(smithy_client_1.getArrayIfSingleItem(output["Readers"]["member"]), context);
6419
+ contents.Readers = deserializeAws_queryReadersArnList((0, smithy_client_1.getArrayIfSingleItem)(output["Readers"]["member"]), context);
6420
6420
  }
6421
6421
  if (output["IsWriter"] !== undefined) {
6422
- contents.IsWriter = smithy_client_1.parseBoolean(output["IsWriter"]);
6422
+ contents.IsWriter = (0, smithy_client_1.parseBoolean)(output["IsWriter"]);
6423
6423
  }
6424
6424
  return contents;
6425
6425
  };
@@ -6438,7 +6438,7 @@ const deserializeAws_queryGlobalClusterNotFoundFault = (output, context) => {
6438
6438
  message: undefined,
6439
6439
  };
6440
6440
  if (output["message"] !== undefined) {
6441
- contents.message = smithy_client_1.expectString(output["message"]);
6441
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6442
6442
  }
6443
6443
  return contents;
6444
6444
  };
@@ -6447,7 +6447,7 @@ const deserializeAws_queryGlobalClusterQuotaExceededFault = (output, context) =>
6447
6447
  message: undefined,
6448
6448
  };
6449
6449
  if (output["message"] !== undefined) {
6450
- contents.message = smithy_client_1.expectString(output["message"]);
6450
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6451
6451
  }
6452
6452
  return contents;
6453
6453
  };
@@ -6457,13 +6457,13 @@ const deserializeAws_queryGlobalClustersMessage = (output, context) => {
6457
6457
  GlobalClusters: undefined,
6458
6458
  };
6459
6459
  if (output["Marker"] !== undefined) {
6460
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
6460
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
6461
6461
  }
6462
6462
  if (output.GlobalClusters === "") {
6463
6463
  contents.GlobalClusters = [];
6464
6464
  }
6465
6465
  if (output["GlobalClusters"] !== undefined && output["GlobalClusters"]["GlobalClusterMember"] !== undefined) {
6466
- contents.GlobalClusters = deserializeAws_queryGlobalClusterList(smithy_client_1.getArrayIfSingleItem(output["GlobalClusters"]["GlobalClusterMember"]), context);
6466
+ contents.GlobalClusters = deserializeAws_queryGlobalClusterList((0, smithy_client_1.getArrayIfSingleItem)(output["GlobalClusters"]["GlobalClusterMember"]), context);
6467
6467
  }
6468
6468
  return contents;
6469
6469
  };
@@ -6472,7 +6472,7 @@ const deserializeAws_queryInstanceQuotaExceededFault = (output, context) => {
6472
6472
  message: undefined,
6473
6473
  };
6474
6474
  if (output["message"] !== undefined) {
6475
- contents.message = smithy_client_1.expectString(output["message"]);
6475
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6476
6476
  }
6477
6477
  return contents;
6478
6478
  };
@@ -6481,7 +6481,7 @@ const deserializeAws_queryInsufficientDBClusterCapacityFault = (output, context)
6481
6481
  message: undefined,
6482
6482
  };
6483
6483
  if (output["message"] !== undefined) {
6484
- contents.message = smithy_client_1.expectString(output["message"]);
6484
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6485
6485
  }
6486
6486
  return contents;
6487
6487
  };
@@ -6490,7 +6490,7 @@ const deserializeAws_queryInsufficientDBInstanceCapacityFault = (output, context
6490
6490
  message: undefined,
6491
6491
  };
6492
6492
  if (output["message"] !== undefined) {
6493
- contents.message = smithy_client_1.expectString(output["message"]);
6493
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6494
6494
  }
6495
6495
  return contents;
6496
6496
  };
@@ -6499,7 +6499,7 @@ const deserializeAws_queryInsufficientStorageClusterCapacityFault = (output, con
6499
6499
  message: undefined,
6500
6500
  };
6501
6501
  if (output["message"] !== undefined) {
6502
- contents.message = smithy_client_1.expectString(output["message"]);
6502
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6503
6503
  }
6504
6504
  return contents;
6505
6505
  };
@@ -6508,7 +6508,7 @@ const deserializeAws_queryInvalidDBClusterSnapshotStateFault = (output, context)
6508
6508
  message: undefined,
6509
6509
  };
6510
6510
  if (output["message"] !== undefined) {
6511
- contents.message = smithy_client_1.expectString(output["message"]);
6511
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6512
6512
  }
6513
6513
  return contents;
6514
6514
  };
@@ -6517,7 +6517,7 @@ const deserializeAws_queryInvalidDBClusterStateFault = (output, context) => {
6517
6517
  message: undefined,
6518
6518
  };
6519
6519
  if (output["message"] !== undefined) {
6520
- contents.message = smithy_client_1.expectString(output["message"]);
6520
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6521
6521
  }
6522
6522
  return contents;
6523
6523
  };
@@ -6526,7 +6526,7 @@ const deserializeAws_queryInvalidDBInstanceStateFault = (output, context) => {
6526
6526
  message: undefined,
6527
6527
  };
6528
6528
  if (output["message"] !== undefined) {
6529
- contents.message = smithy_client_1.expectString(output["message"]);
6529
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6530
6530
  }
6531
6531
  return contents;
6532
6532
  };
@@ -6535,7 +6535,7 @@ const deserializeAws_queryInvalidDBParameterGroupStateFault = (output, context)
6535
6535
  message: undefined,
6536
6536
  };
6537
6537
  if (output["message"] !== undefined) {
6538
- contents.message = smithy_client_1.expectString(output["message"]);
6538
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6539
6539
  }
6540
6540
  return contents;
6541
6541
  };
@@ -6544,7 +6544,7 @@ const deserializeAws_queryInvalidDBSecurityGroupStateFault = (output, context) =
6544
6544
  message: undefined,
6545
6545
  };
6546
6546
  if (output["message"] !== undefined) {
6547
- contents.message = smithy_client_1.expectString(output["message"]);
6547
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6548
6548
  }
6549
6549
  return contents;
6550
6550
  };
@@ -6553,7 +6553,7 @@ const deserializeAws_queryInvalidDBSnapshotStateFault = (output, context) => {
6553
6553
  message: undefined,
6554
6554
  };
6555
6555
  if (output["message"] !== undefined) {
6556
- contents.message = smithy_client_1.expectString(output["message"]);
6556
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6557
6557
  }
6558
6558
  return contents;
6559
6559
  };
@@ -6562,7 +6562,7 @@ const deserializeAws_queryInvalidDBSubnetGroupStateFault = (output, context) =>
6562
6562
  message: undefined,
6563
6563
  };
6564
6564
  if (output["message"] !== undefined) {
6565
- contents.message = smithy_client_1.expectString(output["message"]);
6565
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6566
6566
  }
6567
6567
  return contents;
6568
6568
  };
@@ -6571,7 +6571,7 @@ const deserializeAws_queryInvalidDBSubnetStateFault = (output, context) => {
6571
6571
  message: undefined,
6572
6572
  };
6573
6573
  if (output["message"] !== undefined) {
6574
- contents.message = smithy_client_1.expectString(output["message"]);
6574
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6575
6575
  }
6576
6576
  return contents;
6577
6577
  };
@@ -6580,7 +6580,7 @@ const deserializeAws_queryInvalidEventSubscriptionStateFault = (output, context)
6580
6580
  message: undefined,
6581
6581
  };
6582
6582
  if (output["message"] !== undefined) {
6583
- contents.message = smithy_client_1.expectString(output["message"]);
6583
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6584
6584
  }
6585
6585
  return contents;
6586
6586
  };
@@ -6589,7 +6589,7 @@ const deserializeAws_queryInvalidGlobalClusterStateFault = (output, context) =>
6589
6589
  message: undefined,
6590
6590
  };
6591
6591
  if (output["message"] !== undefined) {
6592
- contents.message = smithy_client_1.expectString(output["message"]);
6592
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6593
6593
  }
6594
6594
  return contents;
6595
6595
  };
@@ -6598,7 +6598,7 @@ const deserializeAws_queryInvalidRestoreFault = (output, context) => {
6598
6598
  message: undefined,
6599
6599
  };
6600
6600
  if (output["message"] !== undefined) {
6601
- contents.message = smithy_client_1.expectString(output["message"]);
6601
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6602
6602
  }
6603
6603
  return contents;
6604
6604
  };
@@ -6607,7 +6607,7 @@ const deserializeAws_queryInvalidSubnet = (output, context) => {
6607
6607
  message: undefined,
6608
6608
  };
6609
6609
  if (output["message"] !== undefined) {
6610
- contents.message = smithy_client_1.expectString(output["message"]);
6610
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6611
6611
  }
6612
6612
  return contents;
6613
6613
  };
@@ -6616,7 +6616,7 @@ const deserializeAws_queryInvalidVPCNetworkStateFault = (output, context) => {
6616
6616
  message: undefined,
6617
6617
  };
6618
6618
  if (output["message"] !== undefined) {
6619
- contents.message = smithy_client_1.expectString(output["message"]);
6619
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6620
6620
  }
6621
6621
  return contents;
6622
6622
  };
@@ -6625,7 +6625,7 @@ const deserializeAws_queryKMSKeyNotAccessibleFault = (output, context) => {
6625
6625
  message: undefined,
6626
6626
  };
6627
6627
  if (output["message"] !== undefined) {
6628
- contents.message = smithy_client_1.expectString(output["message"]);
6628
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
6629
6629
  }
6630
6630
  return contents;
6631
6631
  };
@@ -6636,7 +6636,7 @@ const deserializeAws_queryLogTypeList = (output, context) => {
6636
6636
  if (entry === null) {
6637
6637
  return null;
6638
6638
  }
6639
- return smithy_client_1.expectString(entry);
6639
+ return (0, smithy_client_1.expectString)(entry);
6640
6640
  });
6641
6641
  };
6642
6642
  const deserializeAws_queryModifyDBClusterResult = (output, context) => {
@@ -6703,25 +6703,25 @@ const deserializeAws_queryOrderableDBInstanceOption = (output, context) => {
6703
6703
  Vpc: undefined,
6704
6704
  };
6705
6705
  if (output["Engine"] !== undefined) {
6706
- contents.Engine = smithy_client_1.expectString(output["Engine"]);
6706
+ contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
6707
6707
  }
6708
6708
  if (output["EngineVersion"] !== undefined) {
6709
- contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
6709
+ contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
6710
6710
  }
6711
6711
  if (output["DBInstanceClass"] !== undefined) {
6712
- contents.DBInstanceClass = smithy_client_1.expectString(output["DBInstanceClass"]);
6712
+ contents.DBInstanceClass = (0, smithy_client_1.expectString)(output["DBInstanceClass"]);
6713
6713
  }
6714
6714
  if (output["LicenseModel"] !== undefined) {
6715
- contents.LicenseModel = smithy_client_1.expectString(output["LicenseModel"]);
6715
+ contents.LicenseModel = (0, smithy_client_1.expectString)(output["LicenseModel"]);
6716
6716
  }
6717
6717
  if (output.AvailabilityZones === "") {
6718
6718
  contents.AvailabilityZones = [];
6719
6719
  }
6720
6720
  if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
6721
- contents.AvailabilityZones = deserializeAws_queryAvailabilityZoneList(smithy_client_1.getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
6721
+ contents.AvailabilityZones = deserializeAws_queryAvailabilityZoneList((0, smithy_client_1.getArrayIfSingleItem)(output["AvailabilityZones"]["AvailabilityZone"]), context);
6722
6722
  }
6723
6723
  if (output["Vpc"] !== undefined) {
6724
- contents.Vpc = smithy_client_1.parseBoolean(output["Vpc"]);
6724
+ contents.Vpc = (0, smithy_client_1.parseBoolean)(output["Vpc"]);
6725
6725
  }
6726
6726
  return contents;
6727
6727
  };
@@ -6745,10 +6745,10 @@ const deserializeAws_queryOrderableDBInstanceOptionsMessage = (output, context)
6745
6745
  }
6746
6746
  if (output["OrderableDBInstanceOptions"] !== undefined &&
6747
6747
  output["OrderableDBInstanceOptions"]["OrderableDBInstanceOption"] !== undefined) {
6748
- contents.OrderableDBInstanceOptions = deserializeAws_queryOrderableDBInstanceOptionsList(smithy_client_1.getArrayIfSingleItem(output["OrderableDBInstanceOptions"]["OrderableDBInstanceOption"]), context);
6748
+ contents.OrderableDBInstanceOptions = deserializeAws_queryOrderableDBInstanceOptionsList((0, smithy_client_1.getArrayIfSingleItem)(output["OrderableDBInstanceOptions"]["OrderableDBInstanceOption"]), context);
6749
6749
  }
6750
6750
  if (output["Marker"] !== undefined) {
6751
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
6751
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
6752
6752
  }
6753
6753
  return contents;
6754
6754
  };
@@ -6766,34 +6766,34 @@ const deserializeAws_queryParameter = (output, context) => {
6766
6766
  ApplyMethod: undefined,
6767
6767
  };
6768
6768
  if (output["ParameterName"] !== undefined) {
6769
- contents.ParameterName = smithy_client_1.expectString(output["ParameterName"]);
6769
+ contents.ParameterName = (0, smithy_client_1.expectString)(output["ParameterName"]);
6770
6770
  }
6771
6771
  if (output["ParameterValue"] !== undefined) {
6772
- contents.ParameterValue = smithy_client_1.expectString(output["ParameterValue"]);
6772
+ contents.ParameterValue = (0, smithy_client_1.expectString)(output["ParameterValue"]);
6773
6773
  }
6774
6774
  if (output["Description"] !== undefined) {
6775
- contents.Description = smithy_client_1.expectString(output["Description"]);
6775
+ contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
6776
6776
  }
6777
6777
  if (output["Source"] !== undefined) {
6778
- contents.Source = smithy_client_1.expectString(output["Source"]);
6778
+ contents.Source = (0, smithy_client_1.expectString)(output["Source"]);
6779
6779
  }
6780
6780
  if (output["ApplyType"] !== undefined) {
6781
- contents.ApplyType = smithy_client_1.expectString(output["ApplyType"]);
6781
+ contents.ApplyType = (0, smithy_client_1.expectString)(output["ApplyType"]);
6782
6782
  }
6783
6783
  if (output["DataType"] !== undefined) {
6784
- contents.DataType = smithy_client_1.expectString(output["DataType"]);
6784
+ contents.DataType = (0, smithy_client_1.expectString)(output["DataType"]);
6785
6785
  }
6786
6786
  if (output["AllowedValues"] !== undefined) {
6787
- contents.AllowedValues = smithy_client_1.expectString(output["AllowedValues"]);
6787
+ contents.AllowedValues = (0, smithy_client_1.expectString)(output["AllowedValues"]);
6788
6788
  }
6789
6789
  if (output["IsModifiable"] !== undefined) {
6790
- contents.IsModifiable = smithy_client_1.parseBoolean(output["IsModifiable"]);
6790
+ contents.IsModifiable = (0, smithy_client_1.parseBoolean)(output["IsModifiable"]);
6791
6791
  }
6792
6792
  if (output["MinimumEngineVersion"] !== undefined) {
6793
- contents.MinimumEngineVersion = smithy_client_1.expectString(output["MinimumEngineVersion"]);
6793
+ contents.MinimumEngineVersion = (0, smithy_client_1.expectString)(output["MinimumEngineVersion"]);
6794
6794
  }
6795
6795
  if (output["ApplyMethod"] !== undefined) {
6796
- contents.ApplyMethod = smithy_client_1.expectString(output["ApplyMethod"]);
6796
+ contents.ApplyMethod = (0, smithy_client_1.expectString)(output["ApplyMethod"]);
6797
6797
  }
6798
6798
  return contents;
6799
6799
  };
@@ -6816,13 +6816,13 @@ const deserializeAws_queryPendingCloudwatchLogsExports = (output, context) => {
6816
6816
  contents.LogTypesToEnable = [];
6817
6817
  }
6818
6818
  if (output["LogTypesToEnable"] !== undefined && output["LogTypesToEnable"]["member"] !== undefined) {
6819
- contents.LogTypesToEnable = deserializeAws_queryLogTypeList(smithy_client_1.getArrayIfSingleItem(output["LogTypesToEnable"]["member"]), context);
6819
+ contents.LogTypesToEnable = deserializeAws_queryLogTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["LogTypesToEnable"]["member"]), context);
6820
6820
  }
6821
6821
  if (output.LogTypesToDisable === "") {
6822
6822
  contents.LogTypesToDisable = [];
6823
6823
  }
6824
6824
  if (output["LogTypesToDisable"] !== undefined && output["LogTypesToDisable"]["member"] !== undefined) {
6825
- contents.LogTypesToDisable = deserializeAws_queryLogTypeList(smithy_client_1.getArrayIfSingleItem(output["LogTypesToDisable"]["member"]), context);
6825
+ contents.LogTypesToDisable = deserializeAws_queryLogTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["LogTypesToDisable"]["member"]), context);
6826
6826
  }
6827
6827
  return contents;
6828
6828
  };
@@ -6836,22 +6836,22 @@ const deserializeAws_queryPendingMaintenanceAction = (output, context) => {
6836
6836
  Description: undefined,
6837
6837
  };
6838
6838
  if (output["Action"] !== undefined) {
6839
- contents.Action = smithy_client_1.expectString(output["Action"]);
6839
+ contents.Action = (0, smithy_client_1.expectString)(output["Action"]);
6840
6840
  }
6841
6841
  if (output["AutoAppliedAfterDate"] !== undefined) {
6842
- contents.AutoAppliedAfterDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["AutoAppliedAfterDate"]));
6842
+ contents.AutoAppliedAfterDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["AutoAppliedAfterDate"]));
6843
6843
  }
6844
6844
  if (output["ForcedApplyDate"] !== undefined) {
6845
- contents.ForcedApplyDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ForcedApplyDate"]));
6845
+ contents.ForcedApplyDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ForcedApplyDate"]));
6846
6846
  }
6847
6847
  if (output["OptInStatus"] !== undefined) {
6848
- contents.OptInStatus = smithy_client_1.expectString(output["OptInStatus"]);
6848
+ contents.OptInStatus = (0, smithy_client_1.expectString)(output["OptInStatus"]);
6849
6849
  }
6850
6850
  if (output["CurrentApplyDate"] !== undefined) {
6851
- contents.CurrentApplyDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CurrentApplyDate"]));
6851
+ contents.CurrentApplyDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CurrentApplyDate"]));
6852
6852
  }
6853
6853
  if (output["Description"] !== undefined) {
6854
- contents.Description = smithy_client_1.expectString(output["Description"]);
6854
+ contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
6855
6855
  }
6856
6856
  return contents;
6857
6857
  };
@@ -6885,10 +6885,10 @@ const deserializeAws_queryPendingMaintenanceActionsMessage = (output, context) =
6885
6885
  }
6886
6886
  if (output["PendingMaintenanceActions"] !== undefined &&
6887
6887
  output["PendingMaintenanceActions"]["ResourcePendingMaintenanceActions"] !== undefined) {
6888
- contents.PendingMaintenanceActions = deserializeAws_queryPendingMaintenanceActions(smithy_client_1.getArrayIfSingleItem(output["PendingMaintenanceActions"]["ResourcePendingMaintenanceActions"]), context);
6888
+ contents.PendingMaintenanceActions = deserializeAws_queryPendingMaintenanceActions((0, smithy_client_1.getArrayIfSingleItem)(output["PendingMaintenanceActions"]["ResourcePendingMaintenanceActions"]), context);
6889
6889
  }
6890
6890
  if (output["Marker"] !== undefined) {
6891
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
6891
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
6892
6892
  }
6893
6893
  return contents;
6894
6894
  };
@@ -6910,43 +6910,43 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
6910
6910
  PendingCloudwatchLogsExports: undefined,
6911
6911
  };
6912
6912
  if (output["DBInstanceClass"] !== undefined) {
6913
- contents.DBInstanceClass = smithy_client_1.expectString(output["DBInstanceClass"]);
6913
+ contents.DBInstanceClass = (0, smithy_client_1.expectString)(output["DBInstanceClass"]);
6914
6914
  }
6915
6915
  if (output["AllocatedStorage"] !== undefined) {
6916
- contents.AllocatedStorage = smithy_client_1.strictParseInt32(output["AllocatedStorage"]);
6916
+ contents.AllocatedStorage = (0, smithy_client_1.strictParseInt32)(output["AllocatedStorage"]);
6917
6917
  }
6918
6918
  if (output["MasterUserPassword"] !== undefined) {
6919
- contents.MasterUserPassword = smithy_client_1.expectString(output["MasterUserPassword"]);
6919
+ contents.MasterUserPassword = (0, smithy_client_1.expectString)(output["MasterUserPassword"]);
6920
6920
  }
6921
6921
  if (output["Port"] !== undefined) {
6922
- contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
6922
+ contents.Port = (0, smithy_client_1.strictParseInt32)(output["Port"]);
6923
6923
  }
6924
6924
  if (output["BackupRetentionPeriod"] !== undefined) {
6925
- contents.BackupRetentionPeriod = smithy_client_1.strictParseInt32(output["BackupRetentionPeriod"]);
6925
+ contents.BackupRetentionPeriod = (0, smithy_client_1.strictParseInt32)(output["BackupRetentionPeriod"]);
6926
6926
  }
6927
6927
  if (output["MultiAZ"] !== undefined) {
6928
- contents.MultiAZ = smithy_client_1.parseBoolean(output["MultiAZ"]);
6928
+ contents.MultiAZ = (0, smithy_client_1.parseBoolean)(output["MultiAZ"]);
6929
6929
  }
6930
6930
  if (output["EngineVersion"] !== undefined) {
6931
- contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
6931
+ contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
6932
6932
  }
6933
6933
  if (output["LicenseModel"] !== undefined) {
6934
- contents.LicenseModel = smithy_client_1.expectString(output["LicenseModel"]);
6934
+ contents.LicenseModel = (0, smithy_client_1.expectString)(output["LicenseModel"]);
6935
6935
  }
6936
6936
  if (output["Iops"] !== undefined) {
6937
- contents.Iops = smithy_client_1.strictParseInt32(output["Iops"]);
6937
+ contents.Iops = (0, smithy_client_1.strictParseInt32)(output["Iops"]);
6938
6938
  }
6939
6939
  if (output["DBInstanceIdentifier"] !== undefined) {
6940
- contents.DBInstanceIdentifier = smithy_client_1.expectString(output["DBInstanceIdentifier"]);
6940
+ contents.DBInstanceIdentifier = (0, smithy_client_1.expectString)(output["DBInstanceIdentifier"]);
6941
6941
  }
6942
6942
  if (output["StorageType"] !== undefined) {
6943
- contents.StorageType = smithy_client_1.expectString(output["StorageType"]);
6943
+ contents.StorageType = (0, smithy_client_1.expectString)(output["StorageType"]);
6944
6944
  }
6945
6945
  if (output["CACertificateIdentifier"] !== undefined) {
6946
- contents.CACertificateIdentifier = smithy_client_1.expectString(output["CACertificateIdentifier"]);
6946
+ contents.CACertificateIdentifier = (0, smithy_client_1.expectString)(output["CACertificateIdentifier"]);
6947
6947
  }
6948
6948
  if (output["DBSubnetGroupName"] !== undefined) {
6949
- contents.DBSubnetGroupName = smithy_client_1.expectString(output["DBSubnetGroupName"]);
6949
+ contents.DBSubnetGroupName = (0, smithy_client_1.expectString)(output["DBSubnetGroupName"]);
6950
6950
  }
6951
6951
  if (output["PendingCloudwatchLogsExports"] !== undefined) {
6952
6952
  contents.PendingCloudwatchLogsExports = deserializeAws_queryPendingCloudwatchLogsExports(output["PendingCloudwatchLogsExports"], context);
@@ -6960,7 +6960,7 @@ const deserializeAws_queryReadersArnList = (output, context) => {
6960
6960
  if (entry === null) {
6961
6961
  return null;
6962
6962
  }
6963
- return smithy_client_1.expectString(entry);
6963
+ return (0, smithy_client_1.expectString)(entry);
6964
6964
  });
6965
6965
  };
6966
6966
  const deserializeAws_queryReadReplicaIdentifierList = (output, context) => {
@@ -6970,7 +6970,7 @@ const deserializeAws_queryReadReplicaIdentifierList = (output, context) => {
6970
6970
  if (entry === null) {
6971
6971
  return null;
6972
6972
  }
6973
- return smithy_client_1.expectString(entry);
6973
+ return (0, smithy_client_1.expectString)(entry);
6974
6974
  });
6975
6975
  };
6976
6976
  const deserializeAws_queryRebootDBInstanceResult = (output, context) => {
@@ -7005,7 +7005,7 @@ const deserializeAws_queryResourceNotFoundFault = (output, context) => {
7005
7005
  message: undefined,
7006
7006
  };
7007
7007
  if (output["message"] !== undefined) {
7008
- contents.message = smithy_client_1.expectString(output["message"]);
7008
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7009
7009
  }
7010
7010
  return contents;
7011
7011
  };
@@ -7015,14 +7015,14 @@ const deserializeAws_queryResourcePendingMaintenanceActions = (output, context)
7015
7015
  PendingMaintenanceActionDetails: undefined,
7016
7016
  };
7017
7017
  if (output["ResourceIdentifier"] !== undefined) {
7018
- contents.ResourceIdentifier = smithy_client_1.expectString(output["ResourceIdentifier"]);
7018
+ contents.ResourceIdentifier = (0, smithy_client_1.expectString)(output["ResourceIdentifier"]);
7019
7019
  }
7020
7020
  if (output.PendingMaintenanceActionDetails === "") {
7021
7021
  contents.PendingMaintenanceActionDetails = [];
7022
7022
  }
7023
7023
  if (output["PendingMaintenanceActionDetails"] !== undefined &&
7024
7024
  output["PendingMaintenanceActionDetails"]["PendingMaintenanceAction"] !== undefined) {
7025
- contents.PendingMaintenanceActionDetails = deserializeAws_queryPendingMaintenanceActionDetails(smithy_client_1.getArrayIfSingleItem(output["PendingMaintenanceActionDetails"]["PendingMaintenanceAction"]), context);
7025
+ contents.PendingMaintenanceActionDetails = deserializeAws_queryPendingMaintenanceActionDetails((0, smithy_client_1.getArrayIfSingleItem)(output["PendingMaintenanceActionDetails"]["PendingMaintenanceAction"]), context);
7026
7026
  }
7027
7027
  return contents;
7028
7028
  };
@@ -7049,7 +7049,7 @@ const deserializeAws_querySharedSnapshotQuotaExceededFault = (output, context) =
7049
7049
  message: undefined,
7050
7050
  };
7051
7051
  if (output["message"] !== undefined) {
7052
- contents.message = smithy_client_1.expectString(output["message"]);
7052
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7053
7053
  }
7054
7054
  return contents;
7055
7055
  };
@@ -7058,7 +7058,7 @@ const deserializeAws_querySnapshotQuotaExceededFault = (output, context) => {
7058
7058
  message: undefined,
7059
7059
  };
7060
7060
  if (output["message"] !== undefined) {
7061
- contents.message = smithy_client_1.expectString(output["message"]);
7061
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7062
7062
  }
7063
7063
  return contents;
7064
7064
  };
@@ -7067,7 +7067,7 @@ const deserializeAws_querySNSInvalidTopicFault = (output, context) => {
7067
7067
  message: undefined,
7068
7068
  };
7069
7069
  if (output["message"] !== undefined) {
7070
- contents.message = smithy_client_1.expectString(output["message"]);
7070
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7071
7071
  }
7072
7072
  return contents;
7073
7073
  };
@@ -7076,7 +7076,7 @@ const deserializeAws_querySNSNoAuthorizationFault = (output, context) => {
7076
7076
  message: undefined,
7077
7077
  };
7078
7078
  if (output["message"] !== undefined) {
7079
- contents.message = smithy_client_1.expectString(output["message"]);
7079
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7080
7080
  }
7081
7081
  return contents;
7082
7082
  };
@@ -7085,7 +7085,7 @@ const deserializeAws_querySNSTopicArnNotFoundFault = (output, context) => {
7085
7085
  message: undefined,
7086
7086
  };
7087
7087
  if (output["message"] !== undefined) {
7088
- contents.message = smithy_client_1.expectString(output["message"]);
7088
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7089
7089
  }
7090
7090
  return contents;
7091
7091
  };
@@ -7096,7 +7096,7 @@ const deserializeAws_querySourceIdsList = (output, context) => {
7096
7096
  if (entry === null) {
7097
7097
  return null;
7098
7098
  }
7099
- return smithy_client_1.expectString(entry);
7099
+ return (0, smithy_client_1.expectString)(entry);
7100
7100
  });
7101
7101
  };
7102
7102
  const deserializeAws_querySourceNotFoundFault = (output, context) => {
@@ -7104,7 +7104,7 @@ const deserializeAws_querySourceNotFoundFault = (output, context) => {
7104
7104
  message: undefined,
7105
7105
  };
7106
7106
  if (output["message"] !== undefined) {
7107
- contents.message = smithy_client_1.expectString(output["message"]);
7107
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7108
7108
  }
7109
7109
  return contents;
7110
7110
  };
@@ -7131,7 +7131,7 @@ const deserializeAws_queryStorageQuotaExceededFault = (output, context) => {
7131
7131
  message: undefined,
7132
7132
  };
7133
7133
  if (output["message"] !== undefined) {
7134
- contents.message = smithy_client_1.expectString(output["message"]);
7134
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7135
7135
  }
7136
7136
  return contents;
7137
7137
  };
@@ -7140,7 +7140,7 @@ const deserializeAws_queryStorageTypeNotSupportedFault = (output, context) => {
7140
7140
  message: undefined,
7141
7141
  };
7142
7142
  if (output["message"] !== undefined) {
7143
- contents.message = smithy_client_1.expectString(output["message"]);
7143
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7144
7144
  }
7145
7145
  return contents;
7146
7146
  };
@@ -7151,13 +7151,13 @@ const deserializeAws_querySubnet = (output, context) => {
7151
7151
  SubnetStatus: undefined,
7152
7152
  };
7153
7153
  if (output["SubnetIdentifier"] !== undefined) {
7154
- contents.SubnetIdentifier = smithy_client_1.expectString(output["SubnetIdentifier"]);
7154
+ contents.SubnetIdentifier = (0, smithy_client_1.expectString)(output["SubnetIdentifier"]);
7155
7155
  }
7156
7156
  if (output["SubnetAvailabilityZone"] !== undefined) {
7157
7157
  contents.SubnetAvailabilityZone = deserializeAws_queryAvailabilityZone(output["SubnetAvailabilityZone"], context);
7158
7158
  }
7159
7159
  if (output["SubnetStatus"] !== undefined) {
7160
- contents.SubnetStatus = smithy_client_1.expectString(output["SubnetStatus"]);
7160
+ contents.SubnetStatus = (0, smithy_client_1.expectString)(output["SubnetStatus"]);
7161
7161
  }
7162
7162
  return contents;
7163
7163
  };
@@ -7166,7 +7166,7 @@ const deserializeAws_querySubnetAlreadyInUse = (output, context) => {
7166
7166
  message: undefined,
7167
7167
  };
7168
7168
  if (output["message"] !== undefined) {
7169
- contents.message = smithy_client_1.expectString(output["message"]);
7169
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7170
7170
  }
7171
7171
  return contents;
7172
7172
  };
@@ -7185,7 +7185,7 @@ const deserializeAws_querySubscriptionAlreadyExistFault = (output, context) => {
7185
7185
  message: undefined,
7186
7186
  };
7187
7187
  if (output["message"] !== undefined) {
7188
- contents.message = smithy_client_1.expectString(output["message"]);
7188
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7189
7189
  }
7190
7190
  return contents;
7191
7191
  };
@@ -7194,7 +7194,7 @@ const deserializeAws_querySubscriptionCategoryNotFoundFault = (output, context)
7194
7194
  message: undefined,
7195
7195
  };
7196
7196
  if (output["message"] !== undefined) {
7197
- contents.message = smithy_client_1.expectString(output["message"]);
7197
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7198
7198
  }
7199
7199
  return contents;
7200
7200
  };
@@ -7203,7 +7203,7 @@ const deserializeAws_querySubscriptionNotFoundFault = (output, context) => {
7203
7203
  message: undefined,
7204
7204
  };
7205
7205
  if (output["message"] !== undefined) {
7206
- contents.message = smithy_client_1.expectString(output["message"]);
7206
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
7207
7207
  }
7208
7208
  return contents;
7209
7209
  };
@@ -7213,10 +7213,10 @@ const deserializeAws_queryTag = (output, context) => {
7213
7213
  Value: undefined,
7214
7214
  };
7215
7215
  if (output["Key"] !== undefined) {
7216
- contents.Key = smithy_client_1.expectString(output["Key"]);
7216
+ contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
7217
7217
  }
7218
7218
  if (output["Value"] !== undefined) {
7219
- contents.Value = smithy_client_1.expectString(output["Value"]);
7219
+ contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
7220
7220
  }
7221
7221
  return contents;
7222
7222
  };
@@ -7238,7 +7238,7 @@ const deserializeAws_queryTagListMessage = (output, context) => {
7238
7238
  contents.TagList = [];
7239
7239
  }
7240
7240
  if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
7241
- contents.TagList = deserializeAws_queryTagList(smithy_client_1.getArrayIfSingleItem(output["TagList"]["Tag"]), context);
7241
+ contents.TagList = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["TagList"]["Tag"]), context);
7242
7242
  }
7243
7243
  return contents;
7244
7244
  };
@@ -7251,19 +7251,19 @@ const deserializeAws_queryUpgradeTarget = (output, context) => {
7251
7251
  IsMajorVersionUpgrade: undefined,
7252
7252
  };
7253
7253
  if (output["Engine"] !== undefined) {
7254
- contents.Engine = smithy_client_1.expectString(output["Engine"]);
7254
+ contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
7255
7255
  }
7256
7256
  if (output["EngineVersion"] !== undefined) {
7257
- contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
7257
+ contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
7258
7258
  }
7259
7259
  if (output["Description"] !== undefined) {
7260
- contents.Description = smithy_client_1.expectString(output["Description"]);
7260
+ contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
7261
7261
  }
7262
7262
  if (output["AutoUpgrade"] !== undefined) {
7263
- contents.AutoUpgrade = smithy_client_1.parseBoolean(output["AutoUpgrade"]);
7263
+ contents.AutoUpgrade = (0, smithy_client_1.parseBoolean)(output["AutoUpgrade"]);
7264
7264
  }
7265
7265
  if (output["IsMajorVersionUpgrade"] !== undefined) {
7266
- contents.IsMajorVersionUpgrade = smithy_client_1.parseBoolean(output["IsMajorVersionUpgrade"]);
7266
+ contents.IsMajorVersionUpgrade = (0, smithy_client_1.parseBoolean)(output["IsMajorVersionUpgrade"]);
7267
7267
  }
7268
7268
  return contents;
7269
7269
  };
@@ -7283,10 +7283,10 @@ const deserializeAws_queryVpcSecurityGroupMembership = (output, context) => {
7283
7283
  Status: undefined,
7284
7284
  };
7285
7285
  if (output["VpcSecurityGroupId"] !== undefined) {
7286
- contents.VpcSecurityGroupId = smithy_client_1.expectString(output["VpcSecurityGroupId"]);
7286
+ contents.VpcSecurityGroupId = (0, smithy_client_1.expectString)(output["VpcSecurityGroupId"]);
7287
7287
  }
7288
7288
  if (output["Status"] !== undefined) {
7289
- contents.Status = smithy_client_1.expectString(output["Status"]);
7289
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7290
7290
  }
7291
7291
  return contents;
7292
7292
  };
@@ -7336,12 +7336,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
7336
7336
  };
7337
7337
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
7338
7338
  if (encoded.length) {
7339
- const parsedObj = fast_xml_parser_1.parse(encoded, {
7339
+ const parsedObj = (0, fast_xml_parser_1.parse)(encoded, {
7340
7340
  attributeNamePrefix: "",
7341
7341
  ignoreAttributes: false,
7342
7342
  parseNodeValue: false,
7343
7343
  trimValues: false,
7344
- tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
7344
+ tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : (0, entities_1.decodeHTML)(val)),
7345
7345
  });
7346
7346
  const textNodeName = "#text";
7347
7347
  const key = Object.keys(parsedObj)[0];
@@ -7350,12 +7350,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
7350
7350
  parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
7351
7351
  delete parsedObjToReturn[textNodeName];
7352
7352
  }
7353
- return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
7353
+ return (0, smithy_client_1.getValueFromTextNode)(parsedObjToReturn);
7354
7354
  }
7355
7355
  return {};
7356
7356
  });
7357
7357
  const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
7358
- .map(([key, value]) => smithy_client_1.extendedEncodeURIComponent(key) + "=" + smithy_client_1.extendedEncodeURIComponent(value))
7358
+ .map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value))
7359
7359
  .join("&");
7360
7360
  const loadQueryErrorCode = (output, data) => {
7361
7361
  if (data.Error.Code !== undefined) {