@aws-sdk/client-dynamodb 3.54.0 → 3.56.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 (68) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/DynamoDBClient.js +14 -14
  3. package/dist-cjs/commands/BatchExecuteStatementCommand.js +3 -3
  4. package/dist-cjs/commands/BatchGetItemCommand.js +3 -3
  5. package/dist-cjs/commands/BatchWriteItemCommand.js +3 -3
  6. package/dist-cjs/commands/CreateBackupCommand.js +3 -3
  7. package/dist-cjs/commands/CreateGlobalTableCommand.js +3 -3
  8. package/dist-cjs/commands/CreateTableCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteBackupCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteItemCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteTableCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeBackupCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeContinuousBackupsCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeContributorInsightsCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeEndpointsCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeExportCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeGlobalTableCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeLimitsCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeTableCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeTimeToLiveCommand.js +3 -3
  24. package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js +3 -3
  25. package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js +3 -3
  26. package/dist-cjs/commands/ExecuteStatementCommand.js +3 -3
  27. package/dist-cjs/commands/ExecuteTransactionCommand.js +3 -3
  28. package/dist-cjs/commands/ExportTableToPointInTimeCommand.js +3 -3
  29. package/dist-cjs/commands/GetItemCommand.js +3 -3
  30. package/dist-cjs/commands/ListBackupsCommand.js +3 -3
  31. package/dist-cjs/commands/ListContributorInsightsCommand.js +3 -3
  32. package/dist-cjs/commands/ListExportsCommand.js +3 -3
  33. package/dist-cjs/commands/ListGlobalTablesCommand.js +3 -3
  34. package/dist-cjs/commands/ListTablesCommand.js +3 -3
  35. package/dist-cjs/commands/ListTagsOfResourceCommand.js +3 -3
  36. package/dist-cjs/commands/PutItemCommand.js +3 -3
  37. package/dist-cjs/commands/QueryCommand.js +3 -3
  38. package/dist-cjs/commands/RestoreTableFromBackupCommand.js +3 -3
  39. package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js +3 -3
  40. package/dist-cjs/commands/ScanCommand.js +3 -3
  41. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  42. package/dist-cjs/commands/TransactGetItemsCommand.js +3 -3
  43. package/dist-cjs/commands/TransactWriteItemsCommand.js +3 -3
  44. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  45. package/dist-cjs/commands/UpdateContinuousBackupsCommand.js +3 -3
  46. package/dist-cjs/commands/UpdateContributorInsightsCommand.js +3 -3
  47. package/dist-cjs/commands/UpdateGlobalTableCommand.js +3 -3
  48. package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js +3 -3
  49. package/dist-cjs/commands/UpdateItemCommand.js +3 -3
  50. package/dist-cjs/commands/UpdateTableCommand.js +3 -3
  51. package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js +3 -3
  52. package/dist-cjs/commands/UpdateTimeToLiveCommand.js +3 -3
  53. package/dist-cjs/endpoints.js +1 -1
  54. package/dist-cjs/protocols/Aws_json1_0.js +332 -332
  55. package/dist-cjs/runtimeConfig.browser.js +4 -4
  56. package/dist-cjs/runtimeConfig.js +10 -10
  57. package/dist-cjs/runtimeConfig.native.js +1 -1
  58. package/dist-cjs/waiters/waitForTableExists.js +3 -3
  59. package/dist-cjs/waiters/waitForTableNotExists.js +3 -3
  60. package/dist-es/DynamoDB.js +50 -50
  61. package/dist-es/pagination/ListContributorInsightsPaginator.js +4 -4
  62. package/dist-es/pagination/ListExportsPaginator.js +4 -4
  63. package/dist-es/pagination/ListTablesPaginator.js +4 -4
  64. package/dist-es/pagination/QueryPaginator.js +4 -4
  65. package/dist-es/pagination/ScanPaginator.js +4 -4
  66. package/dist-types/runtimeConfig.native.d.ts +2 -2
  67. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  68. package/package.json +36 -36
@@ -543,7 +543,7 @@ const deserializeAws_json1_0BatchExecuteStatementCommandError = async (output, c
543
543
  $fault: "client",
544
544
  $metadata: deserializeMetadata(output),
545
545
  });
546
- throw smithy_client_1.decorateServiceException(response, parsedBody);
546
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
547
547
  }
548
548
  };
549
549
  const deserializeAws_json1_0BatchGetItemCommand = async (output, context) => {
@@ -591,7 +591,7 @@ const deserializeAws_json1_0BatchGetItemCommandError = async (output, context) =
591
591
  $fault: "client",
592
592
  $metadata: deserializeMetadata(output),
593
593
  });
594
- throw smithy_client_1.decorateServiceException(response, parsedBody);
594
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
595
595
  }
596
596
  };
597
597
  const deserializeAws_json1_0BatchWriteItemCommand = async (output, context) => {
@@ -642,7 +642,7 @@ const deserializeAws_json1_0BatchWriteItemCommandError = async (output, context)
642
642
  $fault: "client",
643
643
  $metadata: deserializeMetadata(output),
644
644
  });
645
- throw smithy_client_1.decorateServiceException(response, parsedBody);
645
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
646
646
  }
647
647
  };
648
648
  const deserializeAws_json1_0CreateBackupCommand = async (output, context) => {
@@ -696,7 +696,7 @@ const deserializeAws_json1_0CreateBackupCommandError = async (output, context) =
696
696
  $fault: "client",
697
697
  $metadata: deserializeMetadata(output),
698
698
  });
699
- throw smithy_client_1.decorateServiceException(response, parsedBody);
699
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
700
700
  }
701
701
  };
702
702
  const deserializeAws_json1_0CreateGlobalTableCommand = async (output, context) => {
@@ -744,7 +744,7 @@ const deserializeAws_json1_0CreateGlobalTableCommandError = async (output, conte
744
744
  $fault: "client",
745
745
  $metadata: deserializeMetadata(output),
746
746
  });
747
- throw smithy_client_1.decorateServiceException(response, parsedBody);
747
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
748
748
  }
749
749
  };
750
750
  const deserializeAws_json1_0CreateTableCommand = async (output, context) => {
@@ -789,7 +789,7 @@ const deserializeAws_json1_0CreateTableCommandError = async (output, context) =>
789
789
  $fault: "client",
790
790
  $metadata: deserializeMetadata(output),
791
791
  });
792
- throw smithy_client_1.decorateServiceException(response, parsedBody);
792
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
793
793
  }
794
794
  };
795
795
  const deserializeAws_json1_0DeleteBackupCommand = async (output, context) => {
@@ -837,7 +837,7 @@ const deserializeAws_json1_0DeleteBackupCommandError = async (output, context) =
837
837
  $fault: "client",
838
838
  $metadata: deserializeMetadata(output),
839
839
  });
840
- throw smithy_client_1.decorateServiceException(response, parsedBody);
840
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
841
841
  }
842
842
  };
843
843
  const deserializeAws_json1_0DeleteItemCommand = async (output, context) => {
@@ -894,7 +894,7 @@ const deserializeAws_json1_0DeleteItemCommandError = async (output, context) =>
894
894
  $fault: "client",
895
895
  $metadata: deserializeMetadata(output),
896
896
  });
897
- throw smithy_client_1.decorateServiceException(response, parsedBody);
897
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
898
898
  }
899
899
  };
900
900
  const deserializeAws_json1_0DeleteTableCommand = async (output, context) => {
@@ -942,7 +942,7 @@ const deserializeAws_json1_0DeleteTableCommandError = async (output, context) =>
942
942
  $fault: "client",
943
943
  $metadata: deserializeMetadata(output),
944
944
  });
945
- throw smithy_client_1.decorateServiceException(response, parsedBody);
945
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
946
946
  }
947
947
  };
948
948
  const deserializeAws_json1_0DescribeBackupCommand = async (output, context) => {
@@ -984,7 +984,7 @@ const deserializeAws_json1_0DescribeBackupCommandError = async (output, context)
984
984
  $fault: "client",
985
985
  $metadata: deserializeMetadata(output),
986
986
  });
987
- throw smithy_client_1.decorateServiceException(response, parsedBody);
987
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
988
988
  }
989
989
  };
990
990
  const deserializeAws_json1_0DescribeContinuousBackupsCommand = async (output, context) => {
@@ -1026,7 +1026,7 @@ const deserializeAws_json1_0DescribeContinuousBackupsCommandError = async (outpu
1026
1026
  $fault: "client",
1027
1027
  $metadata: deserializeMetadata(output),
1028
1028
  });
1029
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1029
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1030
1030
  }
1031
1031
  };
1032
1032
  const deserializeAws_json1_0DescribeContributorInsightsCommand = async (output, context) => {
@@ -1065,7 +1065,7 @@ const deserializeAws_json1_0DescribeContributorInsightsCommandError = async (out
1065
1065
  $fault: "client",
1066
1066
  $metadata: deserializeMetadata(output),
1067
1067
  });
1068
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1068
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1069
1069
  }
1070
1070
  };
1071
1071
  const deserializeAws_json1_0DescribeEndpointsCommand = async (output, context) => {
@@ -1098,7 +1098,7 @@ const deserializeAws_json1_0DescribeEndpointsCommandError = async (output, conte
1098
1098
  $fault: "client",
1099
1099
  $metadata: deserializeMetadata(output),
1100
1100
  });
1101
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1101
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1102
1102
  }
1103
1103
  };
1104
1104
  const deserializeAws_json1_0DescribeExportCommand = async (output, context) => {
@@ -1140,7 +1140,7 @@ const deserializeAws_json1_0DescribeExportCommandError = async (output, context)
1140
1140
  $fault: "client",
1141
1141
  $metadata: deserializeMetadata(output),
1142
1142
  });
1143
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1143
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1144
1144
  }
1145
1145
  };
1146
1146
  const deserializeAws_json1_0DescribeGlobalTableCommand = async (output, context) => {
@@ -1182,7 +1182,7 @@ const deserializeAws_json1_0DescribeGlobalTableCommandError = async (output, con
1182
1182
  $fault: "client",
1183
1183
  $metadata: deserializeMetadata(output),
1184
1184
  });
1185
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1185
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1186
1186
  }
1187
1187
  };
1188
1188
  const deserializeAws_json1_0DescribeGlobalTableSettingsCommand = async (output, context) => {
@@ -1224,7 +1224,7 @@ const deserializeAws_json1_0DescribeGlobalTableSettingsCommandError = async (out
1224
1224
  $fault: "client",
1225
1225
  $metadata: deserializeMetadata(output),
1226
1226
  });
1227
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1227
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1228
1228
  }
1229
1229
  };
1230
1230
  const deserializeAws_json1_0DescribeKinesisStreamingDestinationCommand = async (output, context) => {
@@ -1266,7 +1266,7 @@ const deserializeAws_json1_0DescribeKinesisStreamingDestinationCommandError = as
1266
1266
  $fault: "client",
1267
1267
  $metadata: deserializeMetadata(output),
1268
1268
  });
1269
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1269
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1270
1270
  }
1271
1271
  };
1272
1272
  const deserializeAws_json1_0DescribeLimitsCommand = async (output, context) => {
@@ -1305,7 +1305,7 @@ const deserializeAws_json1_0DescribeLimitsCommandError = async (output, context)
1305
1305
  $fault: "client",
1306
1306
  $metadata: deserializeMetadata(output),
1307
1307
  });
1308
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1308
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1309
1309
  }
1310
1310
  };
1311
1311
  const deserializeAws_json1_0DescribeTableCommand = async (output, context) => {
@@ -1347,7 +1347,7 @@ const deserializeAws_json1_0DescribeTableCommandError = async (output, context)
1347
1347
  $fault: "client",
1348
1348
  $metadata: deserializeMetadata(output),
1349
1349
  });
1350
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1350
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1351
1351
  }
1352
1352
  };
1353
1353
  const deserializeAws_json1_0DescribeTableReplicaAutoScalingCommand = async (output, context) => {
@@ -1386,7 +1386,7 @@ const deserializeAws_json1_0DescribeTableReplicaAutoScalingCommandError = async
1386
1386
  $fault: "client",
1387
1387
  $metadata: deserializeMetadata(output),
1388
1388
  });
1389
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1389
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1390
1390
  }
1391
1391
  };
1392
1392
  const deserializeAws_json1_0DescribeTimeToLiveCommand = async (output, context) => {
@@ -1428,7 +1428,7 @@ const deserializeAws_json1_0DescribeTimeToLiveCommandError = async (output, cont
1428
1428
  $fault: "client",
1429
1429
  $metadata: deserializeMetadata(output),
1430
1430
  });
1431
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1431
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1432
1432
  }
1433
1433
  };
1434
1434
  const deserializeAws_json1_0DisableKinesisStreamingDestinationCommand = async (output, context) => {
@@ -1476,7 +1476,7 @@ const deserializeAws_json1_0DisableKinesisStreamingDestinationCommandError = asy
1476
1476
  $fault: "client",
1477
1477
  $metadata: deserializeMetadata(output),
1478
1478
  });
1479
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1479
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1480
1480
  }
1481
1481
  };
1482
1482
  const deserializeAws_json1_0EnableKinesisStreamingDestinationCommand = async (output, context) => {
@@ -1524,7 +1524,7 @@ const deserializeAws_json1_0EnableKinesisStreamingDestinationCommandError = asyn
1524
1524
  $fault: "client",
1525
1525
  $metadata: deserializeMetadata(output),
1526
1526
  });
1527
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1527
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1528
1528
  }
1529
1529
  };
1530
1530
  const deserializeAws_json1_0ExecuteStatementCommand = async (output, context) => {
@@ -1581,7 +1581,7 @@ const deserializeAws_json1_0ExecuteStatementCommandError = async (output, contex
1581
1581
  $fault: "client",
1582
1582
  $metadata: deserializeMetadata(output),
1583
1583
  });
1584
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1584
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1585
1585
  }
1586
1586
  };
1587
1587
  const deserializeAws_json1_0ExecuteTransactionCommand = async (output, context) => {
@@ -1635,7 +1635,7 @@ const deserializeAws_json1_0ExecuteTransactionCommandError = async (output, cont
1635
1635
  $fault: "client",
1636
1636
  $metadata: deserializeMetadata(output),
1637
1637
  });
1638
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1638
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1639
1639
  }
1640
1640
  };
1641
1641
  const deserializeAws_json1_0ExportTableToPointInTimeCommand = async (output, context) => {
@@ -1686,7 +1686,7 @@ const deserializeAws_json1_0ExportTableToPointInTimeCommandError = async (output
1686
1686
  $fault: "client",
1687
1687
  $metadata: deserializeMetadata(output),
1688
1688
  });
1689
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1689
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1690
1690
  }
1691
1691
  };
1692
1692
  const deserializeAws_json1_0GetItemCommand = async (output, context) => {
@@ -1734,7 +1734,7 @@ const deserializeAws_json1_0GetItemCommandError = async (output, context) => {
1734
1734
  $fault: "client",
1735
1735
  $metadata: deserializeMetadata(output),
1736
1736
  });
1737
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1737
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1738
1738
  }
1739
1739
  };
1740
1740
  const deserializeAws_json1_0ListBackupsCommand = async (output, context) => {
@@ -1773,7 +1773,7 @@ const deserializeAws_json1_0ListBackupsCommandError = async (output, context) =>
1773
1773
  $fault: "client",
1774
1774
  $metadata: deserializeMetadata(output),
1775
1775
  });
1776
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1776
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1777
1777
  }
1778
1778
  };
1779
1779
  const deserializeAws_json1_0ListContributorInsightsCommand = async (output, context) => {
@@ -1812,7 +1812,7 @@ const deserializeAws_json1_0ListContributorInsightsCommandError = async (output,
1812
1812
  $fault: "client",
1813
1813
  $metadata: deserializeMetadata(output),
1814
1814
  });
1815
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1815
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1816
1816
  }
1817
1817
  };
1818
1818
  const deserializeAws_json1_0ListExportsCommand = async (output, context) => {
@@ -1851,7 +1851,7 @@ const deserializeAws_json1_0ListExportsCommandError = async (output, context) =>
1851
1851
  $fault: "client",
1852
1852
  $metadata: deserializeMetadata(output),
1853
1853
  });
1854
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1854
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1855
1855
  }
1856
1856
  };
1857
1857
  const deserializeAws_json1_0ListGlobalTablesCommand = async (output, context) => {
@@ -1890,7 +1890,7 @@ const deserializeAws_json1_0ListGlobalTablesCommandError = async (output, contex
1890
1890
  $fault: "client",
1891
1891
  $metadata: deserializeMetadata(output),
1892
1892
  });
1893
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1893
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1894
1894
  }
1895
1895
  };
1896
1896
  const deserializeAws_json1_0ListTablesCommand = async (output, context) => {
@@ -1929,7 +1929,7 @@ const deserializeAws_json1_0ListTablesCommandError = async (output, context) =>
1929
1929
  $fault: "client",
1930
1930
  $metadata: deserializeMetadata(output),
1931
1931
  });
1932
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1932
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1933
1933
  }
1934
1934
  };
1935
1935
  const deserializeAws_json1_0ListTagsOfResourceCommand = async (output, context) => {
@@ -1971,7 +1971,7 @@ const deserializeAws_json1_0ListTagsOfResourceCommandError = async (output, cont
1971
1971
  $fault: "client",
1972
1972
  $metadata: deserializeMetadata(output),
1973
1973
  });
1974
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1974
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1975
1975
  }
1976
1976
  };
1977
1977
  const deserializeAws_json1_0PutItemCommand = async (output, context) => {
@@ -2028,7 +2028,7 @@ const deserializeAws_json1_0PutItemCommandError = async (output, context) => {
2028
2028
  $fault: "client",
2029
2029
  $metadata: deserializeMetadata(output),
2030
2030
  });
2031
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2031
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2032
2032
  }
2033
2033
  };
2034
2034
  const deserializeAws_json1_0QueryCommand = async (output, context) => {
@@ -2076,7 +2076,7 @@ const deserializeAws_json1_0QueryCommandError = async (output, context) => {
2076
2076
  $fault: "client",
2077
2077
  $metadata: deserializeMetadata(output),
2078
2078
  });
2079
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2079
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2080
2080
  }
2081
2081
  };
2082
2082
  const deserializeAws_json1_0RestoreTableFromBackupCommand = async (output, context) => {
@@ -2130,7 +2130,7 @@ const deserializeAws_json1_0RestoreTableFromBackupCommandError = async (output,
2130
2130
  $fault: "client",
2131
2131
  $metadata: deserializeMetadata(output),
2132
2132
  });
2133
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2133
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2134
2134
  }
2135
2135
  };
2136
2136
  const deserializeAws_json1_0RestoreTableToPointInTimeCommand = async (output, context) => {
@@ -2187,7 +2187,7 @@ const deserializeAws_json1_0RestoreTableToPointInTimeCommandError = async (outpu
2187
2187
  $fault: "client",
2188
2188
  $metadata: deserializeMetadata(output),
2189
2189
  });
2190
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2190
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2191
2191
  }
2192
2192
  };
2193
2193
  const deserializeAws_json1_0ScanCommand = async (output, context) => {
@@ -2235,7 +2235,7 @@ const deserializeAws_json1_0ScanCommandError = async (output, context) => {
2235
2235
  $fault: "client",
2236
2236
  $metadata: deserializeMetadata(output),
2237
2237
  });
2238
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2238
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2239
2239
  }
2240
2240
  };
2241
2241
  const deserializeAws_json1_0TagResourceCommand = async (output, context) => {
@@ -2280,7 +2280,7 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
2280
2280
  $fault: "client",
2281
2281
  $metadata: deserializeMetadata(output),
2282
2282
  });
2283
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2283
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2284
2284
  }
2285
2285
  };
2286
2286
  const deserializeAws_json1_0TransactGetItemsCommand = async (output, context) => {
@@ -2331,7 +2331,7 @@ const deserializeAws_json1_0TransactGetItemsCommandError = async (output, contex
2331
2331
  $fault: "client",
2332
2332
  $metadata: deserializeMetadata(output),
2333
2333
  });
2334
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2334
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2335
2335
  }
2336
2336
  };
2337
2337
  const deserializeAws_json1_0TransactWriteItemsCommand = async (output, context) => {
@@ -2388,7 +2388,7 @@ const deserializeAws_json1_0TransactWriteItemsCommandError = async (output, cont
2388
2388
  $fault: "client",
2389
2389
  $metadata: deserializeMetadata(output),
2390
2390
  });
2391
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2391
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2392
2392
  }
2393
2393
  };
2394
2394
  const deserializeAws_json1_0UntagResourceCommand = async (output, context) => {
@@ -2433,7 +2433,7 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
2433
2433
  $fault: "client",
2434
2434
  $metadata: deserializeMetadata(output),
2435
2435
  });
2436
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2436
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2437
2437
  }
2438
2438
  };
2439
2439
  const deserializeAws_json1_0UpdateContinuousBackupsCommand = async (output, context) => {
@@ -2478,7 +2478,7 @@ const deserializeAws_json1_0UpdateContinuousBackupsCommandError = async (output,
2478
2478
  $fault: "client",
2479
2479
  $metadata: deserializeMetadata(output),
2480
2480
  });
2481
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2481
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2482
2482
  }
2483
2483
  };
2484
2484
  const deserializeAws_json1_0UpdateContributorInsightsCommand = async (output, context) => {
@@ -2517,7 +2517,7 @@ const deserializeAws_json1_0UpdateContributorInsightsCommandError = async (outpu
2517
2517
  $fault: "client",
2518
2518
  $metadata: deserializeMetadata(output),
2519
2519
  });
2520
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2520
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2521
2521
  }
2522
2522
  };
2523
2523
  const deserializeAws_json1_0UpdateGlobalTableCommand = async (output, context) => {
@@ -2568,7 +2568,7 @@ const deserializeAws_json1_0UpdateGlobalTableCommandError = async (output, conte
2568
2568
  $fault: "client",
2569
2569
  $metadata: deserializeMetadata(output),
2570
2570
  });
2571
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2571
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2572
2572
  }
2573
2573
  };
2574
2574
  const deserializeAws_json1_0UpdateGlobalTableSettingsCommand = async (output, context) => {
@@ -2622,7 +2622,7 @@ const deserializeAws_json1_0UpdateGlobalTableSettingsCommandError = async (outpu
2622
2622
  $fault: "client",
2623
2623
  $metadata: deserializeMetadata(output),
2624
2624
  });
2625
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2625
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2626
2626
  }
2627
2627
  };
2628
2628
  const deserializeAws_json1_0UpdateItemCommand = async (output, context) => {
@@ -2679,7 +2679,7 @@ const deserializeAws_json1_0UpdateItemCommandError = async (output, context) =>
2679
2679
  $fault: "client",
2680
2680
  $metadata: deserializeMetadata(output),
2681
2681
  });
2682
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2682
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2683
2683
  }
2684
2684
  };
2685
2685
  const deserializeAws_json1_0UpdateTableCommand = async (output, context) => {
@@ -2727,7 +2727,7 @@ const deserializeAws_json1_0UpdateTableCommandError = async (output, context) =>
2727
2727
  $fault: "client",
2728
2728
  $metadata: deserializeMetadata(output),
2729
2729
  });
2730
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2730
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2731
2731
  }
2732
2732
  };
2733
2733
  const deserializeAws_json1_0UpdateTableReplicaAutoScalingCommand = async (output, context) => {
@@ -2772,7 +2772,7 @@ const deserializeAws_json1_0UpdateTableReplicaAutoScalingCommandError = async (o
2772
2772
  $fault: "client",
2773
2773
  $metadata: deserializeMetadata(output),
2774
2774
  });
2775
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2775
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2776
2776
  }
2777
2777
  };
2778
2778
  const deserializeAws_json1_0UpdateTimeToLiveCommand = async (output, context) => {
@@ -2820,7 +2820,7 @@ const deserializeAws_json1_0UpdateTimeToLiveCommandError = async (output, contex
2820
2820
  $fault: "client",
2821
2821
  $metadata: deserializeMetadata(output),
2822
2822
  });
2823
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2823
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2824
2824
  }
2825
2825
  };
2826
2826
  const deserializeAws_json1_0BackupInUseExceptionResponse = async (parsedOutput, context) => {
@@ -2830,7 +2830,7 @@ const deserializeAws_json1_0BackupInUseExceptionResponse = async (parsedOutput,
2830
2830
  $metadata: deserializeMetadata(parsedOutput),
2831
2831
  ...deserialized,
2832
2832
  });
2833
- return smithy_client_1.decorateServiceException(exception, body);
2833
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2834
2834
  };
2835
2835
  const deserializeAws_json1_0BackupNotFoundExceptionResponse = async (parsedOutput, context) => {
2836
2836
  const body = parsedOutput.body;
@@ -2839,7 +2839,7 @@ const deserializeAws_json1_0BackupNotFoundExceptionResponse = async (parsedOutpu
2839
2839
  $metadata: deserializeMetadata(parsedOutput),
2840
2840
  ...deserialized,
2841
2841
  });
2842
- return smithy_client_1.decorateServiceException(exception, body);
2842
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2843
2843
  };
2844
2844
  const deserializeAws_json1_0ConditionalCheckFailedExceptionResponse = async (parsedOutput, context) => {
2845
2845
  const body = parsedOutput.body;
@@ -2848,7 +2848,7 @@ const deserializeAws_json1_0ConditionalCheckFailedExceptionResponse = async (par
2848
2848
  $metadata: deserializeMetadata(parsedOutput),
2849
2849
  ...deserialized,
2850
2850
  });
2851
- return smithy_client_1.decorateServiceException(exception, body);
2851
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2852
2852
  };
2853
2853
  const deserializeAws_json1_0ContinuousBackupsUnavailableExceptionResponse = async (parsedOutput, context) => {
2854
2854
  const body = parsedOutput.body;
@@ -2857,7 +2857,7 @@ const deserializeAws_json1_0ContinuousBackupsUnavailableExceptionResponse = asyn
2857
2857
  $metadata: deserializeMetadata(parsedOutput),
2858
2858
  ...deserialized,
2859
2859
  });
2860
- return smithy_client_1.decorateServiceException(exception, body);
2860
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2861
2861
  };
2862
2862
  const deserializeAws_json1_0DuplicateItemExceptionResponse = async (parsedOutput, context) => {
2863
2863
  const body = parsedOutput.body;
@@ -2866,7 +2866,7 @@ const deserializeAws_json1_0DuplicateItemExceptionResponse = async (parsedOutput
2866
2866
  $metadata: deserializeMetadata(parsedOutput),
2867
2867
  ...deserialized,
2868
2868
  });
2869
- return smithy_client_1.decorateServiceException(exception, body);
2869
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2870
2870
  };
2871
2871
  const deserializeAws_json1_0ExportConflictExceptionResponse = async (parsedOutput, context) => {
2872
2872
  const body = parsedOutput.body;
@@ -2875,7 +2875,7 @@ const deserializeAws_json1_0ExportConflictExceptionResponse = async (parsedOutpu
2875
2875
  $metadata: deserializeMetadata(parsedOutput),
2876
2876
  ...deserialized,
2877
2877
  });
2878
- return smithy_client_1.decorateServiceException(exception, body);
2878
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2879
2879
  };
2880
2880
  const deserializeAws_json1_0ExportNotFoundExceptionResponse = async (parsedOutput, context) => {
2881
2881
  const body = parsedOutput.body;
@@ -2884,7 +2884,7 @@ const deserializeAws_json1_0ExportNotFoundExceptionResponse = async (parsedOutpu
2884
2884
  $metadata: deserializeMetadata(parsedOutput),
2885
2885
  ...deserialized,
2886
2886
  });
2887
- return smithy_client_1.decorateServiceException(exception, body);
2887
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2888
2888
  };
2889
2889
  const deserializeAws_json1_0GlobalTableAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
2890
2890
  const body = parsedOutput.body;
@@ -2893,7 +2893,7 @@ const deserializeAws_json1_0GlobalTableAlreadyExistsExceptionResponse = async (p
2893
2893
  $metadata: deserializeMetadata(parsedOutput),
2894
2894
  ...deserialized,
2895
2895
  });
2896
- return smithy_client_1.decorateServiceException(exception, body);
2896
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2897
2897
  };
2898
2898
  const deserializeAws_json1_0GlobalTableNotFoundExceptionResponse = async (parsedOutput, context) => {
2899
2899
  const body = parsedOutput.body;
@@ -2902,7 +2902,7 @@ const deserializeAws_json1_0GlobalTableNotFoundExceptionResponse = async (parsed
2902
2902
  $metadata: deserializeMetadata(parsedOutput),
2903
2903
  ...deserialized,
2904
2904
  });
2905
- return smithy_client_1.decorateServiceException(exception, body);
2905
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2906
2906
  };
2907
2907
  const deserializeAws_json1_0IdempotentParameterMismatchExceptionResponse = async (parsedOutput, context) => {
2908
2908
  const body = parsedOutput.body;
@@ -2911,7 +2911,7 @@ const deserializeAws_json1_0IdempotentParameterMismatchExceptionResponse = async
2911
2911
  $metadata: deserializeMetadata(parsedOutput),
2912
2912
  ...deserialized,
2913
2913
  });
2914
- return smithy_client_1.decorateServiceException(exception, body);
2914
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2915
2915
  };
2916
2916
  const deserializeAws_json1_0IndexNotFoundExceptionResponse = async (parsedOutput, context) => {
2917
2917
  const body = parsedOutput.body;
@@ -2920,7 +2920,7 @@ const deserializeAws_json1_0IndexNotFoundExceptionResponse = async (parsedOutput
2920
2920
  $metadata: deserializeMetadata(parsedOutput),
2921
2921
  ...deserialized,
2922
2922
  });
2923
- return smithy_client_1.decorateServiceException(exception, body);
2923
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2924
2924
  };
2925
2925
  const deserializeAws_json1_0InternalServerErrorResponse = async (parsedOutput, context) => {
2926
2926
  const body = parsedOutput.body;
@@ -2929,7 +2929,7 @@ const deserializeAws_json1_0InternalServerErrorResponse = async (parsedOutput, c
2929
2929
  $metadata: deserializeMetadata(parsedOutput),
2930
2930
  ...deserialized,
2931
2931
  });
2932
- return smithy_client_1.decorateServiceException(exception, body);
2932
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2933
2933
  };
2934
2934
  const deserializeAws_json1_0InvalidEndpointExceptionResponse = async (parsedOutput, context) => {
2935
2935
  const body = parsedOutput.body;
@@ -2938,7 +2938,7 @@ const deserializeAws_json1_0InvalidEndpointExceptionResponse = async (parsedOutp
2938
2938
  $metadata: deserializeMetadata(parsedOutput),
2939
2939
  ...deserialized,
2940
2940
  });
2941
- return smithy_client_1.decorateServiceException(exception, body);
2941
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2942
2942
  };
2943
2943
  const deserializeAws_json1_0InvalidExportTimeExceptionResponse = async (parsedOutput, context) => {
2944
2944
  const body = parsedOutput.body;
@@ -2947,7 +2947,7 @@ const deserializeAws_json1_0InvalidExportTimeExceptionResponse = async (parsedOu
2947
2947
  $metadata: deserializeMetadata(parsedOutput),
2948
2948
  ...deserialized,
2949
2949
  });
2950
- return smithy_client_1.decorateServiceException(exception, body);
2950
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2951
2951
  };
2952
2952
  const deserializeAws_json1_0InvalidRestoreTimeExceptionResponse = async (parsedOutput, context) => {
2953
2953
  const body = parsedOutput.body;
@@ -2956,7 +2956,7 @@ const deserializeAws_json1_0InvalidRestoreTimeExceptionResponse = async (parsedO
2956
2956
  $metadata: deserializeMetadata(parsedOutput),
2957
2957
  ...deserialized,
2958
2958
  });
2959
- return smithy_client_1.decorateServiceException(exception, body);
2959
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2960
2960
  };
2961
2961
  const deserializeAws_json1_0ItemCollectionSizeLimitExceededExceptionResponse = async (parsedOutput, context) => {
2962
2962
  const body = parsedOutput.body;
@@ -2965,7 +2965,7 @@ const deserializeAws_json1_0ItemCollectionSizeLimitExceededExceptionResponse = a
2965
2965
  $metadata: deserializeMetadata(parsedOutput),
2966
2966
  ...deserialized,
2967
2967
  });
2968
- return smithy_client_1.decorateServiceException(exception, body);
2968
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2969
2969
  };
2970
2970
  const deserializeAws_json1_0LimitExceededExceptionResponse = async (parsedOutput, context) => {
2971
2971
  const body = parsedOutput.body;
@@ -2974,7 +2974,7 @@ const deserializeAws_json1_0LimitExceededExceptionResponse = async (parsedOutput
2974
2974
  $metadata: deserializeMetadata(parsedOutput),
2975
2975
  ...deserialized,
2976
2976
  });
2977
- return smithy_client_1.decorateServiceException(exception, body);
2977
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2978
2978
  };
2979
2979
  const deserializeAws_json1_0PointInTimeRecoveryUnavailableExceptionResponse = async (parsedOutput, context) => {
2980
2980
  const body = parsedOutput.body;
@@ -2983,7 +2983,7 @@ const deserializeAws_json1_0PointInTimeRecoveryUnavailableExceptionResponse = as
2983
2983
  $metadata: deserializeMetadata(parsedOutput),
2984
2984
  ...deserialized,
2985
2985
  });
2986
- return smithy_client_1.decorateServiceException(exception, body);
2986
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2987
2987
  };
2988
2988
  const deserializeAws_json1_0ProvisionedThroughputExceededExceptionResponse = async (parsedOutput, context) => {
2989
2989
  const body = parsedOutput.body;
@@ -2992,7 +2992,7 @@ const deserializeAws_json1_0ProvisionedThroughputExceededExceptionResponse = asy
2992
2992
  $metadata: deserializeMetadata(parsedOutput),
2993
2993
  ...deserialized,
2994
2994
  });
2995
- return smithy_client_1.decorateServiceException(exception, body);
2995
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2996
2996
  };
2997
2997
  const deserializeAws_json1_0ReplicaAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
2998
2998
  const body = parsedOutput.body;
@@ -3001,7 +3001,7 @@ const deserializeAws_json1_0ReplicaAlreadyExistsExceptionResponse = async (parse
3001
3001
  $metadata: deserializeMetadata(parsedOutput),
3002
3002
  ...deserialized,
3003
3003
  });
3004
- return smithy_client_1.decorateServiceException(exception, body);
3004
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3005
3005
  };
3006
3006
  const deserializeAws_json1_0ReplicaNotFoundExceptionResponse = async (parsedOutput, context) => {
3007
3007
  const body = parsedOutput.body;
@@ -3010,7 +3010,7 @@ const deserializeAws_json1_0ReplicaNotFoundExceptionResponse = async (parsedOutp
3010
3010
  $metadata: deserializeMetadata(parsedOutput),
3011
3011
  ...deserialized,
3012
3012
  });
3013
- return smithy_client_1.decorateServiceException(exception, body);
3013
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3014
3014
  };
3015
3015
  const deserializeAws_json1_0RequestLimitExceededResponse = async (parsedOutput, context) => {
3016
3016
  const body = parsedOutput.body;
@@ -3019,7 +3019,7 @@ const deserializeAws_json1_0RequestLimitExceededResponse = async (parsedOutput,
3019
3019
  $metadata: deserializeMetadata(parsedOutput),
3020
3020
  ...deserialized,
3021
3021
  });
3022
- return smithy_client_1.decorateServiceException(exception, body);
3022
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3023
3023
  };
3024
3024
  const deserializeAws_json1_0ResourceInUseExceptionResponse = async (parsedOutput, context) => {
3025
3025
  const body = parsedOutput.body;
@@ -3028,7 +3028,7 @@ const deserializeAws_json1_0ResourceInUseExceptionResponse = async (parsedOutput
3028
3028
  $metadata: deserializeMetadata(parsedOutput),
3029
3029
  ...deserialized,
3030
3030
  });
3031
- return smithy_client_1.decorateServiceException(exception, body);
3031
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3032
3032
  };
3033
3033
  const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
3034
3034
  const body = parsedOutput.body;
@@ -3037,7 +3037,7 @@ const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOut
3037
3037
  $metadata: deserializeMetadata(parsedOutput),
3038
3038
  ...deserialized,
3039
3039
  });
3040
- return smithy_client_1.decorateServiceException(exception, body);
3040
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3041
3041
  };
3042
3042
  const deserializeAws_json1_0TableAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
3043
3043
  const body = parsedOutput.body;
@@ -3046,7 +3046,7 @@ const deserializeAws_json1_0TableAlreadyExistsExceptionResponse = async (parsedO
3046
3046
  $metadata: deserializeMetadata(parsedOutput),
3047
3047
  ...deserialized,
3048
3048
  });
3049
- return smithy_client_1.decorateServiceException(exception, body);
3049
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3050
3050
  };
3051
3051
  const deserializeAws_json1_0TableInUseExceptionResponse = async (parsedOutput, context) => {
3052
3052
  const body = parsedOutput.body;
@@ -3055,7 +3055,7 @@ const deserializeAws_json1_0TableInUseExceptionResponse = async (parsedOutput, c
3055
3055
  $metadata: deserializeMetadata(parsedOutput),
3056
3056
  ...deserialized,
3057
3057
  });
3058
- return smithy_client_1.decorateServiceException(exception, body);
3058
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3059
3059
  };
3060
3060
  const deserializeAws_json1_0TableNotFoundExceptionResponse = async (parsedOutput, context) => {
3061
3061
  const body = parsedOutput.body;
@@ -3064,7 +3064,7 @@ const deserializeAws_json1_0TableNotFoundExceptionResponse = async (parsedOutput
3064
3064
  $metadata: deserializeMetadata(parsedOutput),
3065
3065
  ...deserialized,
3066
3066
  });
3067
- return smithy_client_1.decorateServiceException(exception, body);
3067
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3068
3068
  };
3069
3069
  const deserializeAws_json1_0TransactionCanceledExceptionResponse = async (parsedOutput, context) => {
3070
3070
  const body = parsedOutput.body;
@@ -3073,7 +3073,7 @@ const deserializeAws_json1_0TransactionCanceledExceptionResponse = async (parsed
3073
3073
  $metadata: deserializeMetadata(parsedOutput),
3074
3074
  ...deserialized,
3075
3075
  });
3076
- return smithy_client_1.decorateServiceException(exception, body);
3076
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3077
3077
  };
3078
3078
  const deserializeAws_json1_0TransactionConflictExceptionResponse = async (parsedOutput, context) => {
3079
3079
  const body = parsedOutput.body;
@@ -3082,7 +3082,7 @@ const deserializeAws_json1_0TransactionConflictExceptionResponse = async (parsed
3082
3082
  $metadata: deserializeMetadata(parsedOutput),
3083
3083
  ...deserialized,
3084
3084
  });
3085
- return smithy_client_1.decorateServiceException(exception, body);
3085
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3086
3086
  };
3087
3087
  const deserializeAws_json1_0TransactionInProgressExceptionResponse = async (parsedOutput, context) => {
3088
3088
  const body = parsedOutput.body;
@@ -3091,7 +3091,7 @@ const deserializeAws_json1_0TransactionInProgressExceptionResponse = async (pars
3091
3091
  $metadata: deserializeMetadata(parsedOutput),
3092
3092
  ...deserialized,
3093
3093
  });
3094
- return smithy_client_1.decorateServiceException(exception, body);
3094
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3095
3095
  };
3096
3096
  const serializeAws_json1_0AttributeDefinition = (input, context) => {
3097
3097
  return {
@@ -3194,7 +3194,7 @@ const serializeAws_json1_0AutoScalingTargetTrackingScalingPolicyConfigurationUpd
3194
3194
  ...(input.ScaleOutCooldown !== undefined &&
3195
3195
  input.ScaleOutCooldown !== null && { ScaleOutCooldown: input.ScaleOutCooldown }),
3196
3196
  ...(input.TargetValue !== undefined &&
3197
- input.TargetValue !== null && { TargetValue: smithy_client_1.serializeFloat(input.TargetValue) }),
3197
+ input.TargetValue !== null && { TargetValue: (0, smithy_client_1.serializeFloat)(input.TargetValue) }),
3198
3198
  };
3199
3199
  };
3200
3200
  const serializeAws_json1_0BatchExecuteStatementInput = (input, context) => {
@@ -3537,7 +3537,7 @@ const serializeAws_json1_0ExecuteStatementInput = (input, context) => {
3537
3537
  const serializeAws_json1_0ExecuteTransactionInput = (input, context) => {
3538
3538
  var _a;
3539
3539
  return {
3540
- ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
3540
+ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
3541
3541
  ...(input.ReturnConsumedCapacity !== undefined &&
3542
3542
  input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity }),
3543
3543
  ...(input.TransactStatements !== undefined &&
@@ -3573,7 +3573,7 @@ const serializeAws_json1_0ExpectedAttributeValue = (input, context) => {
3573
3573
  const serializeAws_json1_0ExportTableToPointInTimeInput = (input, context) => {
3574
3574
  var _a;
3575
3575
  return {
3576
- ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
3576
+ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
3577
3577
  ...(input.ExportFormat !== undefined && input.ExportFormat !== null && { ExportFormat: input.ExportFormat }),
3578
3578
  ...(input.ExportTime !== undefined &&
3579
3579
  input.ExportTime !== null && { ExportTime: Math.round(input.ExportTime.getTime() / 1000) }),
@@ -4481,7 +4481,7 @@ const serializeAws_json1_0TransactWriteItemList = (input, context) => {
4481
4481
  const serializeAws_json1_0TransactWriteItemsInput = (input, context) => {
4482
4482
  var _a;
4483
4483
  return {
4484
- ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
4484
+ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
4485
4485
  ...(input.ReturnConsumedCapacity !== undefined &&
4486
4486
  input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity }),
4487
4487
  ...(input.ReturnItemCollectionMetrics !== undefined &&
@@ -4708,17 +4708,17 @@ const serializeAws_json1_0WriteRequests = (input, context) => {
4708
4708
  };
4709
4709
  const deserializeAws_json1_0ArchivalSummary = (output, context) => {
4710
4710
  return {
4711
- ArchivalBackupArn: smithy_client_1.expectString(output.ArchivalBackupArn),
4711
+ ArchivalBackupArn: (0, smithy_client_1.expectString)(output.ArchivalBackupArn),
4712
4712
  ArchivalDateTime: output.ArchivalDateTime !== undefined && output.ArchivalDateTime !== null
4713
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ArchivalDateTime)))
4713
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ArchivalDateTime)))
4714
4714
  : undefined,
4715
- ArchivalReason: smithy_client_1.expectString(output.ArchivalReason),
4715
+ ArchivalReason: (0, smithy_client_1.expectString)(output.ArchivalReason),
4716
4716
  };
4717
4717
  };
4718
4718
  const deserializeAws_json1_0AttributeDefinition = (output, context) => {
4719
4719
  return {
4720
- AttributeName: smithy_client_1.expectString(output.AttributeName),
4721
- AttributeType: smithy_client_1.expectString(output.AttributeType),
4720
+ AttributeName: (0, smithy_client_1.expectString)(output.AttributeName),
4721
+ AttributeType: (0, smithy_client_1.expectString)(output.AttributeType),
4722
4722
  };
4723
4723
  };
4724
4724
  const deserializeAws_json1_0AttributeDefinitions = (output, context) => {
@@ -4739,7 +4739,7 @@ const deserializeAws_json1_0AttributeMap = (output, context) => {
4739
4739
  }
4740
4740
  return {
4741
4741
  ...acc,
4742
- [key]: deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(value), context),
4742
+ [key]: deserializeAws_json1_0AttributeValue((0, smithy_client_1.expectUnion)(value), context),
4743
4743
  };
4744
4744
  }, {});
4745
4745
  };
@@ -4750,7 +4750,7 @@ const deserializeAws_json1_0AttributeNameList = (output, context) => {
4750
4750
  if (entry === null) {
4751
4751
  return null;
4752
4752
  }
4753
- return smithy_client_1.expectString(entry);
4753
+ return (0, smithy_client_1.expectString)(entry);
4754
4754
  });
4755
4755
  return retVal;
4756
4756
  };
@@ -4760,8 +4760,8 @@ const deserializeAws_json1_0AttributeValue = (output, context) => {
4760
4760
  B: context.base64Decoder(output.B),
4761
4761
  };
4762
4762
  }
4763
- if (smithy_client_1.expectBoolean(output.BOOL) !== undefined) {
4764
- return { BOOL: smithy_client_1.expectBoolean(output.BOOL) };
4763
+ if ((0, smithy_client_1.expectBoolean)(output.BOOL) !== undefined) {
4764
+ return { BOOL: (0, smithy_client_1.expectBoolean)(output.BOOL) };
4765
4765
  }
4766
4766
  if (output.BS !== undefined && output.BS !== null) {
4767
4767
  return {
@@ -4778,19 +4778,19 @@ const deserializeAws_json1_0AttributeValue = (output, context) => {
4778
4778
  M: deserializeAws_json1_0MapAttributeValue(output.M, context),
4779
4779
  };
4780
4780
  }
4781
- if (smithy_client_1.expectString(output.N) !== undefined) {
4782
- return { N: smithy_client_1.expectString(output.N) };
4781
+ if ((0, smithy_client_1.expectString)(output.N) !== undefined) {
4782
+ return { N: (0, smithy_client_1.expectString)(output.N) };
4783
4783
  }
4784
4784
  if (output.NS !== undefined && output.NS !== null) {
4785
4785
  return {
4786
4786
  NS: deserializeAws_json1_0NumberSetAttributeValue(output.NS, context),
4787
4787
  };
4788
4788
  }
4789
- if (smithy_client_1.expectBoolean(output.NULL) !== undefined) {
4790
- return { NULL: smithy_client_1.expectBoolean(output.NULL) };
4789
+ if ((0, smithy_client_1.expectBoolean)(output.NULL) !== undefined) {
4790
+ return { NULL: (0, smithy_client_1.expectBoolean)(output.NULL) };
4791
4791
  }
4792
- if (smithy_client_1.expectString(output.S) !== undefined) {
4793
- return { S: smithy_client_1.expectString(output.S) };
4792
+ if ((0, smithy_client_1.expectString)(output.S) !== undefined) {
4793
+ return { S: (0, smithy_client_1.expectString)(output.S) };
4794
4794
  }
4795
4795
  if (output.SS !== undefined && output.SS !== null) {
4796
4796
  return {
@@ -4801,7 +4801,7 @@ const deserializeAws_json1_0AttributeValue = (output, context) => {
4801
4801
  };
4802
4802
  const deserializeAws_json1_0AutoScalingPolicyDescription = (output, context) => {
4803
4803
  return {
4804
- PolicyName: smithy_client_1.expectString(output.PolicyName),
4804
+ PolicyName: (0, smithy_client_1.expectString)(output.PolicyName),
4805
4805
  TargetTrackingScalingPolicyConfiguration: output.TargetTrackingScalingPolicyConfiguration !== undefined &&
4806
4806
  output.TargetTrackingScalingPolicyConfiguration !== null
4807
4807
  ? deserializeAws_json1_0AutoScalingTargetTrackingScalingPolicyConfigurationDescription(output.TargetTrackingScalingPolicyConfiguration, context)
@@ -4821,10 +4821,10 @@ const deserializeAws_json1_0AutoScalingPolicyDescriptionList = (output, context)
4821
4821
  };
4822
4822
  const deserializeAws_json1_0AutoScalingSettingsDescription = (output, context) => {
4823
4823
  return {
4824
- AutoScalingDisabled: smithy_client_1.expectBoolean(output.AutoScalingDisabled),
4825
- AutoScalingRoleArn: smithy_client_1.expectString(output.AutoScalingRoleArn),
4826
- MaximumUnits: smithy_client_1.expectLong(output.MaximumUnits),
4827
- MinimumUnits: smithy_client_1.expectLong(output.MinimumUnits),
4824
+ AutoScalingDisabled: (0, smithy_client_1.expectBoolean)(output.AutoScalingDisabled),
4825
+ AutoScalingRoleArn: (0, smithy_client_1.expectString)(output.AutoScalingRoleArn),
4826
+ MaximumUnits: (0, smithy_client_1.expectLong)(output.MaximumUnits),
4827
+ MinimumUnits: (0, smithy_client_1.expectLong)(output.MinimumUnits),
4828
4828
  ScalingPolicies: output.ScalingPolicies !== undefined && output.ScalingPolicies !== null
4829
4829
  ? deserializeAws_json1_0AutoScalingPolicyDescriptionList(output.ScalingPolicies, context)
4830
4830
  : undefined,
@@ -4832,10 +4832,10 @@ const deserializeAws_json1_0AutoScalingSettingsDescription = (output, context) =
4832
4832
  };
4833
4833
  const deserializeAws_json1_0AutoScalingTargetTrackingScalingPolicyConfigurationDescription = (output, context) => {
4834
4834
  return {
4835
- DisableScaleIn: smithy_client_1.expectBoolean(output.DisableScaleIn),
4836
- ScaleInCooldown: smithy_client_1.expectInt32(output.ScaleInCooldown),
4837
- ScaleOutCooldown: smithy_client_1.expectInt32(output.ScaleOutCooldown),
4838
- TargetValue: smithy_client_1.limitedParseDouble(output.TargetValue),
4835
+ DisableScaleIn: (0, smithy_client_1.expectBoolean)(output.DisableScaleIn),
4836
+ ScaleInCooldown: (0, smithy_client_1.expectInt32)(output.ScaleInCooldown),
4837
+ ScaleOutCooldown: (0, smithy_client_1.expectInt32)(output.ScaleOutCooldown),
4838
+ TargetValue: (0, smithy_client_1.limitedParseDouble)(output.TargetValue),
4839
4839
  };
4840
4840
  };
4841
4841
  const deserializeAws_json1_0BackupDescription = (output, context) => {
@@ -4853,27 +4853,27 @@ const deserializeAws_json1_0BackupDescription = (output, context) => {
4853
4853
  };
4854
4854
  const deserializeAws_json1_0BackupDetails = (output, context) => {
4855
4855
  return {
4856
- BackupArn: smithy_client_1.expectString(output.BackupArn),
4856
+ BackupArn: (0, smithy_client_1.expectString)(output.BackupArn),
4857
4857
  BackupCreationDateTime: output.BackupCreationDateTime !== undefined && output.BackupCreationDateTime !== null
4858
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.BackupCreationDateTime)))
4858
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.BackupCreationDateTime)))
4859
4859
  : undefined,
4860
4860
  BackupExpiryDateTime: output.BackupExpiryDateTime !== undefined && output.BackupExpiryDateTime !== null
4861
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.BackupExpiryDateTime)))
4861
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.BackupExpiryDateTime)))
4862
4862
  : undefined,
4863
- BackupName: smithy_client_1.expectString(output.BackupName),
4864
- BackupSizeBytes: smithy_client_1.expectLong(output.BackupSizeBytes),
4865
- BackupStatus: smithy_client_1.expectString(output.BackupStatus),
4866
- BackupType: smithy_client_1.expectString(output.BackupType),
4863
+ BackupName: (0, smithy_client_1.expectString)(output.BackupName),
4864
+ BackupSizeBytes: (0, smithy_client_1.expectLong)(output.BackupSizeBytes),
4865
+ BackupStatus: (0, smithy_client_1.expectString)(output.BackupStatus),
4866
+ BackupType: (0, smithy_client_1.expectString)(output.BackupType),
4867
4867
  };
4868
4868
  };
4869
4869
  const deserializeAws_json1_0BackupInUseException = (output, context) => {
4870
4870
  return {
4871
- message: smithy_client_1.expectString(output.message),
4871
+ message: (0, smithy_client_1.expectString)(output.message),
4872
4872
  };
4873
4873
  };
4874
4874
  const deserializeAws_json1_0BackupNotFoundException = (output, context) => {
4875
4875
  return {
4876
- message: smithy_client_1.expectString(output.message),
4876
+ message: (0, smithy_client_1.expectString)(output.message),
4877
4877
  };
4878
4878
  };
4879
4879
  const deserializeAws_json1_0BackupSummaries = (output, context) => {
@@ -4889,20 +4889,20 @@ const deserializeAws_json1_0BackupSummaries = (output, context) => {
4889
4889
  };
4890
4890
  const deserializeAws_json1_0BackupSummary = (output, context) => {
4891
4891
  return {
4892
- BackupArn: smithy_client_1.expectString(output.BackupArn),
4892
+ BackupArn: (0, smithy_client_1.expectString)(output.BackupArn),
4893
4893
  BackupCreationDateTime: output.BackupCreationDateTime !== undefined && output.BackupCreationDateTime !== null
4894
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.BackupCreationDateTime)))
4894
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.BackupCreationDateTime)))
4895
4895
  : undefined,
4896
4896
  BackupExpiryDateTime: output.BackupExpiryDateTime !== undefined && output.BackupExpiryDateTime !== null
4897
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.BackupExpiryDateTime)))
4897
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.BackupExpiryDateTime)))
4898
4898
  : undefined,
4899
- BackupName: smithy_client_1.expectString(output.BackupName),
4900
- BackupSizeBytes: smithy_client_1.expectLong(output.BackupSizeBytes),
4901
- BackupStatus: smithy_client_1.expectString(output.BackupStatus),
4902
- BackupType: smithy_client_1.expectString(output.BackupType),
4903
- TableArn: smithy_client_1.expectString(output.TableArn),
4904
- TableId: smithy_client_1.expectString(output.TableId),
4905
- TableName: smithy_client_1.expectString(output.TableName),
4899
+ BackupName: (0, smithy_client_1.expectString)(output.BackupName),
4900
+ BackupSizeBytes: (0, smithy_client_1.expectLong)(output.BackupSizeBytes),
4901
+ BackupStatus: (0, smithy_client_1.expectString)(output.BackupStatus),
4902
+ BackupType: (0, smithy_client_1.expectString)(output.BackupType),
4903
+ TableArn: (0, smithy_client_1.expectString)(output.TableArn),
4904
+ TableId: (0, smithy_client_1.expectString)(output.TableId),
4905
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
4906
4906
  };
4907
4907
  };
4908
4908
  const deserializeAws_json1_0BatchExecuteStatementOutput = (output, context) => {
@@ -4952,8 +4952,8 @@ const deserializeAws_json1_0BatchGetResponseMap = (output, context) => {
4952
4952
  };
4953
4953
  const deserializeAws_json1_0BatchStatementError = (output, context) => {
4954
4954
  return {
4955
- Code: smithy_client_1.expectString(output.Code),
4956
- Message: smithy_client_1.expectString(output.Message),
4955
+ Code: (0, smithy_client_1.expectString)(output.Code),
4956
+ Message: (0, smithy_client_1.expectString)(output.Message),
4957
4957
  };
4958
4958
  };
4959
4959
  const deserializeAws_json1_0BatchStatementResponse = (output, context) => {
@@ -4964,7 +4964,7 @@ const deserializeAws_json1_0BatchStatementResponse = (output, context) => {
4964
4964
  Item: output.Item !== undefined && output.Item !== null
4965
4965
  ? deserializeAws_json1_0AttributeMap(output.Item, context)
4966
4966
  : undefined,
4967
- TableName: smithy_client_1.expectString(output.TableName),
4967
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
4968
4968
  };
4969
4969
  };
4970
4970
  const deserializeAws_json1_0BatchWriteItemOutput = (output, context) => {
@@ -4993,9 +4993,9 @@ const deserializeAws_json1_0BatchWriteItemRequestMap = (output, context) => {
4993
4993
  };
4994
4994
  const deserializeAws_json1_0BillingModeSummary = (output, context) => {
4995
4995
  return {
4996
- BillingMode: smithy_client_1.expectString(output.BillingMode),
4996
+ BillingMode: (0, smithy_client_1.expectString)(output.BillingMode),
4997
4997
  LastUpdateToPayPerRequestDateTime: output.LastUpdateToPayPerRequestDateTime !== undefined && output.LastUpdateToPayPerRequestDateTime !== null
4998
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateToPayPerRequestDateTime)))
4998
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateToPayPerRequestDateTime)))
4999
4999
  : undefined,
5000
5000
  };
5001
5001
  };
@@ -5012,11 +5012,11 @@ const deserializeAws_json1_0BinarySetAttributeValue = (output, context) => {
5012
5012
  };
5013
5013
  const deserializeAws_json1_0CancellationReason = (output, context) => {
5014
5014
  return {
5015
- Code: smithy_client_1.expectString(output.Code),
5015
+ Code: (0, smithy_client_1.expectString)(output.Code),
5016
5016
  Item: output.Item !== undefined && output.Item !== null
5017
5017
  ? deserializeAws_json1_0AttributeMap(output.Item, context)
5018
5018
  : undefined,
5019
- Message: smithy_client_1.expectString(output.Message),
5019
+ Message: (0, smithy_client_1.expectString)(output.Message),
5020
5020
  };
5021
5021
  };
5022
5022
  const deserializeAws_json1_0CancellationReasonList = (output, context) => {
@@ -5032,31 +5032,31 @@ const deserializeAws_json1_0CancellationReasonList = (output, context) => {
5032
5032
  };
5033
5033
  const deserializeAws_json1_0Capacity = (output, context) => {
5034
5034
  return {
5035
- CapacityUnits: smithy_client_1.limitedParseDouble(output.CapacityUnits),
5036
- ReadCapacityUnits: smithy_client_1.limitedParseDouble(output.ReadCapacityUnits),
5037
- WriteCapacityUnits: smithy_client_1.limitedParseDouble(output.WriteCapacityUnits),
5035
+ CapacityUnits: (0, smithy_client_1.limitedParseDouble)(output.CapacityUnits),
5036
+ ReadCapacityUnits: (0, smithy_client_1.limitedParseDouble)(output.ReadCapacityUnits),
5037
+ WriteCapacityUnits: (0, smithy_client_1.limitedParseDouble)(output.WriteCapacityUnits),
5038
5038
  };
5039
5039
  };
5040
5040
  const deserializeAws_json1_0ConditionalCheckFailedException = (output, context) => {
5041
5041
  return {
5042
- message: smithy_client_1.expectString(output.message),
5042
+ message: (0, smithy_client_1.expectString)(output.message),
5043
5043
  };
5044
5044
  };
5045
5045
  const deserializeAws_json1_0ConsumedCapacity = (output, context) => {
5046
5046
  return {
5047
- CapacityUnits: smithy_client_1.limitedParseDouble(output.CapacityUnits),
5047
+ CapacityUnits: (0, smithy_client_1.limitedParseDouble)(output.CapacityUnits),
5048
5048
  GlobalSecondaryIndexes: output.GlobalSecondaryIndexes !== undefined && output.GlobalSecondaryIndexes !== null
5049
5049
  ? deserializeAws_json1_0SecondaryIndexesCapacityMap(output.GlobalSecondaryIndexes, context)
5050
5050
  : undefined,
5051
5051
  LocalSecondaryIndexes: output.LocalSecondaryIndexes !== undefined && output.LocalSecondaryIndexes !== null
5052
5052
  ? deserializeAws_json1_0SecondaryIndexesCapacityMap(output.LocalSecondaryIndexes, context)
5053
5053
  : undefined,
5054
- ReadCapacityUnits: smithy_client_1.limitedParseDouble(output.ReadCapacityUnits),
5054
+ ReadCapacityUnits: (0, smithy_client_1.limitedParseDouble)(output.ReadCapacityUnits),
5055
5055
  Table: output.Table !== undefined && output.Table !== null
5056
5056
  ? deserializeAws_json1_0Capacity(output.Table, context)
5057
5057
  : undefined,
5058
- TableName: smithy_client_1.expectString(output.TableName),
5059
- WriteCapacityUnits: smithy_client_1.limitedParseDouble(output.WriteCapacityUnits),
5058
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
5059
+ WriteCapacityUnits: (0, smithy_client_1.limitedParseDouble)(output.WriteCapacityUnits),
5060
5060
  };
5061
5061
  };
5062
5062
  const deserializeAws_json1_0ConsumedCapacityMultiple = (output, context) => {
@@ -5072,7 +5072,7 @@ const deserializeAws_json1_0ConsumedCapacityMultiple = (output, context) => {
5072
5072
  };
5073
5073
  const deserializeAws_json1_0ContinuousBackupsDescription = (output, context) => {
5074
5074
  return {
5075
- ContinuousBackupsStatus: smithy_client_1.expectString(output.ContinuousBackupsStatus),
5075
+ ContinuousBackupsStatus: (0, smithy_client_1.expectString)(output.ContinuousBackupsStatus),
5076
5076
  PointInTimeRecoveryDescription: output.PointInTimeRecoveryDescription !== undefined && output.PointInTimeRecoveryDescription !== null
5077
5077
  ? deserializeAws_json1_0PointInTimeRecoveryDescription(output.PointInTimeRecoveryDescription, context)
5078
5078
  : undefined,
@@ -5080,7 +5080,7 @@ const deserializeAws_json1_0ContinuousBackupsDescription = (output, context) =>
5080
5080
  };
5081
5081
  const deserializeAws_json1_0ContinuousBackupsUnavailableException = (output, context) => {
5082
5082
  return {
5083
- message: smithy_client_1.expectString(output.message),
5083
+ message: (0, smithy_client_1.expectString)(output.message),
5084
5084
  };
5085
5085
  };
5086
5086
  const deserializeAws_json1_0ContributorInsightsRuleList = (output, context) => {
@@ -5090,7 +5090,7 @@ const deserializeAws_json1_0ContributorInsightsRuleList = (output, context) => {
5090
5090
  if (entry === null) {
5091
5091
  return null;
5092
5092
  }
5093
- return smithy_client_1.expectString(entry);
5093
+ return (0, smithy_client_1.expectString)(entry);
5094
5094
  });
5095
5095
  return retVal;
5096
5096
  };
@@ -5107,9 +5107,9 @@ const deserializeAws_json1_0ContributorInsightsSummaries = (output, context) =>
5107
5107
  };
5108
5108
  const deserializeAws_json1_0ContributorInsightsSummary = (output, context) => {
5109
5109
  return {
5110
- ContributorInsightsStatus: smithy_client_1.expectString(output.ContributorInsightsStatus),
5111
- IndexName: smithy_client_1.expectString(output.IndexName),
5112
- TableName: smithy_client_1.expectString(output.TableName),
5110
+ ContributorInsightsStatus: (0, smithy_client_1.expectString)(output.ContributorInsightsStatus),
5111
+ IndexName: (0, smithy_client_1.expectString)(output.IndexName),
5112
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
5113
5113
  };
5114
5114
  };
5115
5115
  const deserializeAws_json1_0CreateBackupOutput = (output, context) => {
@@ -5184,15 +5184,15 @@ const deserializeAws_json1_0DescribeContributorInsightsOutput = (output, context
5184
5184
  ContributorInsightsRuleList: output.ContributorInsightsRuleList !== undefined && output.ContributorInsightsRuleList !== null
5185
5185
  ? deserializeAws_json1_0ContributorInsightsRuleList(output.ContributorInsightsRuleList, context)
5186
5186
  : undefined,
5187
- ContributorInsightsStatus: smithy_client_1.expectString(output.ContributorInsightsStatus),
5187
+ ContributorInsightsStatus: (0, smithy_client_1.expectString)(output.ContributorInsightsStatus),
5188
5188
  FailureException: output.FailureException !== undefined && output.FailureException !== null
5189
5189
  ? deserializeAws_json1_0FailureException(output.FailureException, context)
5190
5190
  : undefined,
5191
- IndexName: smithy_client_1.expectString(output.IndexName),
5191
+ IndexName: (0, smithy_client_1.expectString)(output.IndexName),
5192
5192
  LastUpdateDateTime: output.LastUpdateDateTime !== undefined && output.LastUpdateDateTime !== null
5193
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateDateTime)))
5193
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateDateTime)))
5194
5194
  : undefined,
5195
- TableName: smithy_client_1.expectString(output.TableName),
5195
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
5196
5196
  };
5197
5197
  };
5198
5198
  const deserializeAws_json1_0DescribeEndpointsResponse = (output, context) => {
@@ -5218,7 +5218,7 @@ const deserializeAws_json1_0DescribeGlobalTableOutput = (output, context) => {
5218
5218
  };
5219
5219
  const deserializeAws_json1_0DescribeGlobalTableSettingsOutput = (output, context) => {
5220
5220
  return {
5221
- GlobalTableName: smithy_client_1.expectString(output.GlobalTableName),
5221
+ GlobalTableName: (0, smithy_client_1.expectString)(output.GlobalTableName),
5222
5222
  ReplicaSettings: output.ReplicaSettings !== undefined && output.ReplicaSettings !== null
5223
5223
  ? deserializeAws_json1_0ReplicaSettingsDescriptionList(output.ReplicaSettings, context)
5224
5224
  : undefined,
@@ -5229,15 +5229,15 @@ const deserializeAws_json1_0DescribeKinesisStreamingDestinationOutput = (output,
5229
5229
  KinesisDataStreamDestinations: output.KinesisDataStreamDestinations !== undefined && output.KinesisDataStreamDestinations !== null
5230
5230
  ? deserializeAws_json1_0KinesisDataStreamDestinations(output.KinesisDataStreamDestinations, context)
5231
5231
  : undefined,
5232
- TableName: smithy_client_1.expectString(output.TableName),
5232
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
5233
5233
  };
5234
5234
  };
5235
5235
  const deserializeAws_json1_0DescribeLimitsOutput = (output, context) => {
5236
5236
  return {
5237
- AccountMaxReadCapacityUnits: smithy_client_1.expectLong(output.AccountMaxReadCapacityUnits),
5238
- AccountMaxWriteCapacityUnits: smithy_client_1.expectLong(output.AccountMaxWriteCapacityUnits),
5239
- TableMaxReadCapacityUnits: smithy_client_1.expectLong(output.TableMaxReadCapacityUnits),
5240
- TableMaxWriteCapacityUnits: smithy_client_1.expectLong(output.TableMaxWriteCapacityUnits),
5237
+ AccountMaxReadCapacityUnits: (0, smithy_client_1.expectLong)(output.AccountMaxReadCapacityUnits),
5238
+ AccountMaxWriteCapacityUnits: (0, smithy_client_1.expectLong)(output.AccountMaxWriteCapacityUnits),
5239
+ TableMaxReadCapacityUnits: (0, smithy_client_1.expectLong)(output.TableMaxReadCapacityUnits),
5240
+ TableMaxWriteCapacityUnits: (0, smithy_client_1.expectLong)(output.TableMaxWriteCapacityUnits),
5241
5241
  };
5242
5242
  };
5243
5243
  const deserializeAws_json1_0DescribeTableOutput = (output, context) => {
@@ -5263,13 +5263,13 @@ const deserializeAws_json1_0DescribeTimeToLiveOutput = (output, context) => {
5263
5263
  };
5264
5264
  const deserializeAws_json1_0DuplicateItemException = (output, context) => {
5265
5265
  return {
5266
- message: smithy_client_1.expectString(output.message),
5266
+ message: (0, smithy_client_1.expectString)(output.message),
5267
5267
  };
5268
5268
  };
5269
5269
  const deserializeAws_json1_0Endpoint = (output, context) => {
5270
5270
  return {
5271
- Address: smithy_client_1.expectString(output.Address),
5272
- CachePeriodInMinutes: smithy_client_1.expectLong(output.CachePeriodInMinutes),
5271
+ Address: (0, smithy_client_1.expectString)(output.Address),
5272
+ CachePeriodInMinutes: (0, smithy_client_1.expectLong)(output.CachePeriodInMinutes),
5273
5273
  };
5274
5274
  };
5275
5275
  const deserializeAws_json1_0Endpoints = (output, context) => {
@@ -5294,7 +5294,7 @@ const deserializeAws_json1_0ExecuteStatementOutput = (output, context) => {
5294
5294
  LastEvaluatedKey: output.LastEvaluatedKey !== undefined && output.LastEvaluatedKey !== null
5295
5295
  ? deserializeAws_json1_0Key(output.LastEvaluatedKey, context)
5296
5296
  : undefined,
5297
- NextToken: smithy_client_1.expectString(output.NextToken),
5297
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5298
5298
  };
5299
5299
  };
5300
5300
  const deserializeAws_json1_0ExecuteTransactionOutput = (output, context) => {
@@ -5309,41 +5309,41 @@ const deserializeAws_json1_0ExecuteTransactionOutput = (output, context) => {
5309
5309
  };
5310
5310
  const deserializeAws_json1_0ExportConflictException = (output, context) => {
5311
5311
  return {
5312
- message: smithy_client_1.expectString(output.message),
5312
+ message: (0, smithy_client_1.expectString)(output.message),
5313
5313
  };
5314
5314
  };
5315
5315
  const deserializeAws_json1_0ExportDescription = (output, context) => {
5316
5316
  return {
5317
- BilledSizeBytes: smithy_client_1.expectLong(output.BilledSizeBytes),
5318
- ClientToken: smithy_client_1.expectString(output.ClientToken),
5317
+ BilledSizeBytes: (0, smithy_client_1.expectLong)(output.BilledSizeBytes),
5318
+ ClientToken: (0, smithy_client_1.expectString)(output.ClientToken),
5319
5319
  EndTime: output.EndTime !== undefined && output.EndTime !== null
5320
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
5320
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
5321
5321
  : undefined,
5322
- ExportArn: smithy_client_1.expectString(output.ExportArn),
5323
- ExportFormat: smithy_client_1.expectString(output.ExportFormat),
5324
- ExportManifest: smithy_client_1.expectString(output.ExportManifest),
5325
- ExportStatus: smithy_client_1.expectString(output.ExportStatus),
5322
+ ExportArn: (0, smithy_client_1.expectString)(output.ExportArn),
5323
+ ExportFormat: (0, smithy_client_1.expectString)(output.ExportFormat),
5324
+ ExportManifest: (0, smithy_client_1.expectString)(output.ExportManifest),
5325
+ ExportStatus: (0, smithy_client_1.expectString)(output.ExportStatus),
5326
5326
  ExportTime: output.ExportTime !== undefined && output.ExportTime !== null
5327
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExportTime)))
5328
- : undefined,
5329
- FailureCode: smithy_client_1.expectString(output.FailureCode),
5330
- FailureMessage: smithy_client_1.expectString(output.FailureMessage),
5331
- ItemCount: smithy_client_1.expectLong(output.ItemCount),
5332
- S3Bucket: smithy_client_1.expectString(output.S3Bucket),
5333
- S3BucketOwner: smithy_client_1.expectString(output.S3BucketOwner),
5334
- S3Prefix: smithy_client_1.expectString(output.S3Prefix),
5335
- S3SseAlgorithm: smithy_client_1.expectString(output.S3SseAlgorithm),
5336
- S3SseKmsKeyId: smithy_client_1.expectString(output.S3SseKmsKeyId),
5327
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExportTime)))
5328
+ : undefined,
5329
+ FailureCode: (0, smithy_client_1.expectString)(output.FailureCode),
5330
+ FailureMessage: (0, smithy_client_1.expectString)(output.FailureMessage),
5331
+ ItemCount: (0, smithy_client_1.expectLong)(output.ItemCount),
5332
+ S3Bucket: (0, smithy_client_1.expectString)(output.S3Bucket),
5333
+ S3BucketOwner: (0, smithy_client_1.expectString)(output.S3BucketOwner),
5334
+ S3Prefix: (0, smithy_client_1.expectString)(output.S3Prefix),
5335
+ S3SseAlgorithm: (0, smithy_client_1.expectString)(output.S3SseAlgorithm),
5336
+ S3SseKmsKeyId: (0, smithy_client_1.expectString)(output.S3SseKmsKeyId),
5337
5337
  StartTime: output.StartTime !== undefined && output.StartTime !== null
5338
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
5338
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
5339
5339
  : undefined,
5340
- TableArn: smithy_client_1.expectString(output.TableArn),
5341
- TableId: smithy_client_1.expectString(output.TableId),
5340
+ TableArn: (0, smithy_client_1.expectString)(output.TableArn),
5341
+ TableId: (0, smithy_client_1.expectString)(output.TableId),
5342
5342
  };
5343
5343
  };
5344
5344
  const deserializeAws_json1_0ExportNotFoundException = (output, context) => {
5345
5345
  return {
5346
- message: smithy_client_1.expectString(output.message),
5346
+ message: (0, smithy_client_1.expectString)(output.message),
5347
5347
  };
5348
5348
  };
5349
5349
  const deserializeAws_json1_0ExportSummaries = (output, context) => {
@@ -5359,8 +5359,8 @@ const deserializeAws_json1_0ExportSummaries = (output, context) => {
5359
5359
  };
5360
5360
  const deserializeAws_json1_0ExportSummary = (output, context) => {
5361
5361
  return {
5362
- ExportArn: smithy_client_1.expectString(output.ExportArn),
5363
- ExportStatus: smithy_client_1.expectString(output.ExportStatus),
5362
+ ExportArn: (0, smithy_client_1.expectString)(output.ExportArn),
5363
+ ExportStatus: (0, smithy_client_1.expectString)(output.ExportStatus),
5364
5364
  };
5365
5365
  };
5366
5366
  const deserializeAws_json1_0ExportTableToPointInTimeOutput = (output, context) => {
@@ -5377,14 +5377,14 @@ const deserializeAws_json1_0ExpressionAttributeNameMap = (output, context) => {
5377
5377
  }
5378
5378
  return {
5379
5379
  ...acc,
5380
- [key]: smithy_client_1.expectString(value),
5380
+ [key]: (0, smithy_client_1.expectString)(value),
5381
5381
  };
5382
5382
  }, {});
5383
5383
  };
5384
5384
  const deserializeAws_json1_0FailureException = (output, context) => {
5385
5385
  return {
5386
- ExceptionDescription: smithy_client_1.expectString(output.ExceptionDescription),
5387
- ExceptionName: smithy_client_1.expectString(output.ExceptionName),
5386
+ ExceptionDescription: (0, smithy_client_1.expectString)(output.ExceptionDescription),
5387
+ ExceptionName: (0, smithy_client_1.expectString)(output.ExceptionName),
5388
5388
  };
5389
5389
  };
5390
5390
  const deserializeAws_json1_0GetItemOutput = (output, context) => {
@@ -5399,12 +5399,12 @@ const deserializeAws_json1_0GetItemOutput = (output, context) => {
5399
5399
  };
5400
5400
  const deserializeAws_json1_0GlobalSecondaryIndexDescription = (output, context) => {
5401
5401
  return {
5402
- Backfilling: smithy_client_1.expectBoolean(output.Backfilling),
5403
- IndexArn: smithy_client_1.expectString(output.IndexArn),
5404
- IndexName: smithy_client_1.expectString(output.IndexName),
5405
- IndexSizeBytes: smithy_client_1.expectLong(output.IndexSizeBytes),
5406
- IndexStatus: smithy_client_1.expectString(output.IndexStatus),
5407
- ItemCount: smithy_client_1.expectLong(output.ItemCount),
5402
+ Backfilling: (0, smithy_client_1.expectBoolean)(output.Backfilling),
5403
+ IndexArn: (0, smithy_client_1.expectString)(output.IndexArn),
5404
+ IndexName: (0, smithy_client_1.expectString)(output.IndexName),
5405
+ IndexSizeBytes: (0, smithy_client_1.expectLong)(output.IndexSizeBytes),
5406
+ IndexStatus: (0, smithy_client_1.expectString)(output.IndexStatus),
5407
+ ItemCount: (0, smithy_client_1.expectLong)(output.ItemCount),
5408
5408
  KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
5409
5409
  ? deserializeAws_json1_0KeySchema(output.KeySchema, context)
5410
5410
  : undefined,
@@ -5440,7 +5440,7 @@ const deserializeAws_json1_0GlobalSecondaryIndexes = (output, context) => {
5440
5440
  };
5441
5441
  const deserializeAws_json1_0GlobalSecondaryIndexInfo = (output, context) => {
5442
5442
  return {
5443
- IndexName: smithy_client_1.expectString(output.IndexName),
5443
+ IndexName: (0, smithy_client_1.expectString)(output.IndexName),
5444
5444
  KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
5445
5445
  ? deserializeAws_json1_0KeySchema(output.KeySchema, context)
5446
5446
  : undefined,
@@ -5454,7 +5454,7 @@ const deserializeAws_json1_0GlobalSecondaryIndexInfo = (output, context) => {
5454
5454
  };
5455
5455
  const deserializeAws_json1_0GlobalTable = (output, context) => {
5456
5456
  return {
5457
- GlobalTableName: smithy_client_1.expectString(output.GlobalTableName),
5457
+ GlobalTableName: (0, smithy_client_1.expectString)(output.GlobalTableName),
5458
5458
  ReplicationGroup: output.ReplicationGroup !== undefined && output.ReplicationGroup !== null
5459
5459
  ? deserializeAws_json1_0ReplicaList(output.ReplicationGroup, context)
5460
5460
  : undefined,
@@ -5462,17 +5462,17 @@ const deserializeAws_json1_0GlobalTable = (output, context) => {
5462
5462
  };
5463
5463
  const deserializeAws_json1_0GlobalTableAlreadyExistsException = (output, context) => {
5464
5464
  return {
5465
- message: smithy_client_1.expectString(output.message),
5465
+ message: (0, smithy_client_1.expectString)(output.message),
5466
5466
  };
5467
5467
  };
5468
5468
  const deserializeAws_json1_0GlobalTableDescription = (output, context) => {
5469
5469
  return {
5470
5470
  CreationDateTime: output.CreationDateTime !== undefined && output.CreationDateTime !== null
5471
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDateTime)))
5471
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDateTime)))
5472
5472
  : undefined,
5473
- GlobalTableArn: smithy_client_1.expectString(output.GlobalTableArn),
5474
- GlobalTableName: smithy_client_1.expectString(output.GlobalTableName),
5475
- GlobalTableStatus: smithy_client_1.expectString(output.GlobalTableStatus),
5473
+ GlobalTableArn: (0, smithy_client_1.expectString)(output.GlobalTableArn),
5474
+ GlobalTableName: (0, smithy_client_1.expectString)(output.GlobalTableName),
5475
+ GlobalTableStatus: (0, smithy_client_1.expectString)(output.GlobalTableStatus),
5476
5476
  ReplicationGroup: output.ReplicationGroup !== undefined && output.ReplicationGroup !== null
5477
5477
  ? deserializeAws_json1_0ReplicaDescriptionList(output.ReplicationGroup, context)
5478
5478
  : undefined,
@@ -5491,37 +5491,37 @@ const deserializeAws_json1_0GlobalTableList = (output, context) => {
5491
5491
  };
5492
5492
  const deserializeAws_json1_0GlobalTableNotFoundException = (output, context) => {
5493
5493
  return {
5494
- message: smithy_client_1.expectString(output.message),
5494
+ message: (0, smithy_client_1.expectString)(output.message),
5495
5495
  };
5496
5496
  };
5497
5497
  const deserializeAws_json1_0IdempotentParameterMismatchException = (output, context) => {
5498
5498
  return {
5499
- Message: smithy_client_1.expectString(output.Message),
5499
+ Message: (0, smithy_client_1.expectString)(output.Message),
5500
5500
  };
5501
5501
  };
5502
5502
  const deserializeAws_json1_0IndexNotFoundException = (output, context) => {
5503
5503
  return {
5504
- message: smithy_client_1.expectString(output.message),
5504
+ message: (0, smithy_client_1.expectString)(output.message),
5505
5505
  };
5506
5506
  };
5507
5507
  const deserializeAws_json1_0InternalServerError = (output, context) => {
5508
5508
  return {
5509
- message: smithy_client_1.expectString(output.message),
5509
+ message: (0, smithy_client_1.expectString)(output.message),
5510
5510
  };
5511
5511
  };
5512
5512
  const deserializeAws_json1_0InvalidEndpointException = (output, context) => {
5513
5513
  return {
5514
- Message: smithy_client_1.expectString(output.Message),
5514
+ Message: (0, smithy_client_1.expectString)(output.Message),
5515
5515
  };
5516
5516
  };
5517
5517
  const deserializeAws_json1_0InvalidExportTimeException = (output, context) => {
5518
5518
  return {
5519
- message: smithy_client_1.expectString(output.message),
5519
+ message: (0, smithy_client_1.expectString)(output.message),
5520
5520
  };
5521
5521
  };
5522
5522
  const deserializeAws_json1_0InvalidRestoreTimeException = (output, context) => {
5523
5523
  return {
5524
- message: smithy_client_1.expectString(output.message),
5524
+ message: (0, smithy_client_1.expectString)(output.message),
5525
5525
  };
5526
5526
  };
5527
5527
  const deserializeAws_json1_0ItemCollectionKeyAttributeMap = (output, context) => {
@@ -5531,7 +5531,7 @@ const deserializeAws_json1_0ItemCollectionKeyAttributeMap = (output, context) =>
5531
5531
  }
5532
5532
  return {
5533
5533
  ...acc,
5534
- [key]: deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(value), context),
5534
+ [key]: deserializeAws_json1_0AttributeValue((0, smithy_client_1.expectUnion)(value), context),
5535
5535
  };
5536
5536
  }, {});
5537
5537
  };
@@ -5574,13 +5574,13 @@ const deserializeAws_json1_0ItemCollectionSizeEstimateRange = (output, context)
5574
5574
  if (entry === null) {
5575
5575
  return null;
5576
5576
  }
5577
- return smithy_client_1.limitedParseDouble(entry);
5577
+ return (0, smithy_client_1.limitedParseDouble)(entry);
5578
5578
  });
5579
5579
  return retVal;
5580
5580
  };
5581
5581
  const deserializeAws_json1_0ItemCollectionSizeLimitExceededException = (output, context) => {
5582
5582
  return {
5583
- message: smithy_client_1.expectString(output.message),
5583
+ message: (0, smithy_client_1.expectString)(output.message),
5584
5584
  };
5585
5585
  };
5586
5586
  const deserializeAws_json1_0ItemList = (output, context) => {
@@ -5619,7 +5619,7 @@ const deserializeAws_json1_0Key = (output, context) => {
5619
5619
  }
5620
5620
  return {
5621
5621
  ...acc,
5622
- [key]: deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(value), context),
5622
+ [key]: deserializeAws_json1_0AttributeValue((0, smithy_client_1.expectUnion)(value), context),
5623
5623
  };
5624
5624
  }, {});
5625
5625
  };
@@ -5639,14 +5639,14 @@ const deserializeAws_json1_0KeysAndAttributes = (output, context) => {
5639
5639
  AttributesToGet: output.AttributesToGet !== undefined && output.AttributesToGet !== null
5640
5640
  ? deserializeAws_json1_0AttributeNameList(output.AttributesToGet, context)
5641
5641
  : undefined,
5642
- ConsistentRead: smithy_client_1.expectBoolean(output.ConsistentRead),
5642
+ ConsistentRead: (0, smithy_client_1.expectBoolean)(output.ConsistentRead),
5643
5643
  ExpressionAttributeNames: output.ExpressionAttributeNames !== undefined && output.ExpressionAttributeNames !== null
5644
5644
  ? deserializeAws_json1_0ExpressionAttributeNameMap(output.ExpressionAttributeNames, context)
5645
5645
  : undefined,
5646
5646
  Keys: output.Keys !== undefined && output.Keys !== null
5647
5647
  ? deserializeAws_json1_0KeyList(output.Keys, context)
5648
5648
  : undefined,
5649
- ProjectionExpression: smithy_client_1.expectString(output.ProjectionExpression),
5649
+ ProjectionExpression: (0, smithy_client_1.expectString)(output.ProjectionExpression),
5650
5650
  };
5651
5651
  };
5652
5652
  const deserializeAws_json1_0KeySchema = (output, context) => {
@@ -5662,15 +5662,15 @@ const deserializeAws_json1_0KeySchema = (output, context) => {
5662
5662
  };
5663
5663
  const deserializeAws_json1_0KeySchemaElement = (output, context) => {
5664
5664
  return {
5665
- AttributeName: smithy_client_1.expectString(output.AttributeName),
5666
- KeyType: smithy_client_1.expectString(output.KeyType),
5665
+ AttributeName: (0, smithy_client_1.expectString)(output.AttributeName),
5666
+ KeyType: (0, smithy_client_1.expectString)(output.KeyType),
5667
5667
  };
5668
5668
  };
5669
5669
  const deserializeAws_json1_0KinesisDataStreamDestination = (output, context) => {
5670
5670
  return {
5671
- DestinationStatus: smithy_client_1.expectString(output.DestinationStatus),
5672
- DestinationStatusDescription: smithy_client_1.expectString(output.DestinationStatusDescription),
5673
- StreamArn: smithy_client_1.expectString(output.StreamArn),
5671
+ DestinationStatus: (0, smithy_client_1.expectString)(output.DestinationStatus),
5672
+ DestinationStatusDescription: (0, smithy_client_1.expectString)(output.DestinationStatusDescription),
5673
+ StreamArn: (0, smithy_client_1.expectString)(output.StreamArn),
5674
5674
  };
5675
5675
  };
5676
5676
  const deserializeAws_json1_0KinesisDataStreamDestinations = (output, context) => {
@@ -5686,14 +5686,14 @@ const deserializeAws_json1_0KinesisDataStreamDestinations = (output, context) =>
5686
5686
  };
5687
5687
  const deserializeAws_json1_0KinesisStreamingDestinationOutput = (output, context) => {
5688
5688
  return {
5689
- DestinationStatus: smithy_client_1.expectString(output.DestinationStatus),
5690
- StreamArn: smithy_client_1.expectString(output.StreamArn),
5691
- TableName: smithy_client_1.expectString(output.TableName),
5689
+ DestinationStatus: (0, smithy_client_1.expectString)(output.DestinationStatus),
5690
+ StreamArn: (0, smithy_client_1.expectString)(output.StreamArn),
5691
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
5692
5692
  };
5693
5693
  };
5694
5694
  const deserializeAws_json1_0LimitExceededException = (output, context) => {
5695
5695
  return {
5696
- message: smithy_client_1.expectString(output.message),
5696
+ message: (0, smithy_client_1.expectString)(output.message),
5697
5697
  };
5698
5698
  };
5699
5699
  const deserializeAws_json1_0ListAttributeValue = (output, context) => {
@@ -5703,7 +5703,7 @@ const deserializeAws_json1_0ListAttributeValue = (output, context) => {
5703
5703
  if (entry === null) {
5704
5704
  return null;
5705
5705
  }
5706
- return deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(entry), context);
5706
+ return deserializeAws_json1_0AttributeValue((0, smithy_client_1.expectUnion)(entry), context);
5707
5707
  });
5708
5708
  return retVal;
5709
5709
  };
@@ -5712,7 +5712,7 @@ const deserializeAws_json1_0ListBackupsOutput = (output, context) => {
5712
5712
  BackupSummaries: output.BackupSummaries !== undefined && output.BackupSummaries !== null
5713
5713
  ? deserializeAws_json1_0BackupSummaries(output.BackupSummaries, context)
5714
5714
  : undefined,
5715
- LastEvaluatedBackupArn: smithy_client_1.expectString(output.LastEvaluatedBackupArn),
5715
+ LastEvaluatedBackupArn: (0, smithy_client_1.expectString)(output.LastEvaluatedBackupArn),
5716
5716
  };
5717
5717
  };
5718
5718
  const deserializeAws_json1_0ListContributorInsightsOutput = (output, context) => {
@@ -5720,7 +5720,7 @@ const deserializeAws_json1_0ListContributorInsightsOutput = (output, context) =>
5720
5720
  ContributorInsightsSummaries: output.ContributorInsightsSummaries !== undefined && output.ContributorInsightsSummaries !== null
5721
5721
  ? deserializeAws_json1_0ContributorInsightsSummaries(output.ContributorInsightsSummaries, context)
5722
5722
  : undefined,
5723
- NextToken: smithy_client_1.expectString(output.NextToken),
5723
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5724
5724
  };
5725
5725
  };
5726
5726
  const deserializeAws_json1_0ListExportsOutput = (output, context) => {
@@ -5728,7 +5728,7 @@ const deserializeAws_json1_0ListExportsOutput = (output, context) => {
5728
5728
  ExportSummaries: output.ExportSummaries !== undefined && output.ExportSummaries !== null
5729
5729
  ? deserializeAws_json1_0ExportSummaries(output.ExportSummaries, context)
5730
5730
  : undefined,
5731
- NextToken: smithy_client_1.expectString(output.NextToken),
5731
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5732
5732
  };
5733
5733
  };
5734
5734
  const deserializeAws_json1_0ListGlobalTablesOutput = (output, context) => {
@@ -5736,12 +5736,12 @@ const deserializeAws_json1_0ListGlobalTablesOutput = (output, context) => {
5736
5736
  GlobalTables: output.GlobalTables !== undefined && output.GlobalTables !== null
5737
5737
  ? deserializeAws_json1_0GlobalTableList(output.GlobalTables, context)
5738
5738
  : undefined,
5739
- LastEvaluatedGlobalTableName: smithy_client_1.expectString(output.LastEvaluatedGlobalTableName),
5739
+ LastEvaluatedGlobalTableName: (0, smithy_client_1.expectString)(output.LastEvaluatedGlobalTableName),
5740
5740
  };
5741
5741
  };
5742
5742
  const deserializeAws_json1_0ListTablesOutput = (output, context) => {
5743
5743
  return {
5744
- LastEvaluatedTableName: smithy_client_1.expectString(output.LastEvaluatedTableName),
5744
+ LastEvaluatedTableName: (0, smithy_client_1.expectString)(output.LastEvaluatedTableName),
5745
5745
  TableNames: output.TableNames !== undefined && output.TableNames !== null
5746
5746
  ? deserializeAws_json1_0TableNameList(output.TableNames, context)
5747
5747
  : undefined,
@@ -5749,7 +5749,7 @@ const deserializeAws_json1_0ListTablesOutput = (output, context) => {
5749
5749
  };
5750
5750
  const deserializeAws_json1_0ListTagsOfResourceOutput = (output, context) => {
5751
5751
  return {
5752
- NextToken: smithy_client_1.expectString(output.NextToken),
5752
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5753
5753
  Tags: output.Tags !== undefined && output.Tags !== null
5754
5754
  ? deserializeAws_json1_0TagList(output.Tags, context)
5755
5755
  : undefined,
@@ -5757,10 +5757,10 @@ const deserializeAws_json1_0ListTagsOfResourceOutput = (output, context) => {
5757
5757
  };
5758
5758
  const deserializeAws_json1_0LocalSecondaryIndexDescription = (output, context) => {
5759
5759
  return {
5760
- IndexArn: smithy_client_1.expectString(output.IndexArn),
5761
- IndexName: smithy_client_1.expectString(output.IndexName),
5762
- IndexSizeBytes: smithy_client_1.expectLong(output.IndexSizeBytes),
5763
- ItemCount: smithy_client_1.expectLong(output.ItemCount),
5760
+ IndexArn: (0, smithy_client_1.expectString)(output.IndexArn),
5761
+ IndexName: (0, smithy_client_1.expectString)(output.IndexName),
5762
+ IndexSizeBytes: (0, smithy_client_1.expectLong)(output.IndexSizeBytes),
5763
+ ItemCount: (0, smithy_client_1.expectLong)(output.ItemCount),
5764
5764
  KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
5765
5765
  ? deserializeAws_json1_0KeySchema(output.KeySchema, context)
5766
5766
  : undefined,
@@ -5793,7 +5793,7 @@ const deserializeAws_json1_0LocalSecondaryIndexes = (output, context) => {
5793
5793
  };
5794
5794
  const deserializeAws_json1_0LocalSecondaryIndexInfo = (output, context) => {
5795
5795
  return {
5796
- IndexName: smithy_client_1.expectString(output.IndexName),
5796
+ IndexName: (0, smithy_client_1.expectString)(output.IndexName),
5797
5797
  KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
5798
5798
  ? deserializeAws_json1_0KeySchema(output.KeySchema, context)
5799
5799
  : undefined,
@@ -5809,7 +5809,7 @@ const deserializeAws_json1_0MapAttributeValue = (output, context) => {
5809
5809
  }
5810
5810
  return {
5811
5811
  ...acc,
5812
- [key]: deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(value), context),
5812
+ [key]: deserializeAws_json1_0AttributeValue((0, smithy_client_1.expectUnion)(value), context),
5813
5813
  };
5814
5814
  }, {});
5815
5815
  };
@@ -5820,7 +5820,7 @@ const deserializeAws_json1_0NonKeyAttributeNameList = (output, context) => {
5820
5820
  if (entry === null) {
5821
5821
  return null;
5822
5822
  }
5823
- return smithy_client_1.expectString(entry);
5823
+ return (0, smithy_client_1.expectString)(entry);
5824
5824
  });
5825
5825
  return retVal;
5826
5826
  };
@@ -5831,7 +5831,7 @@ const deserializeAws_json1_0NumberSetAttributeValue = (output, context) => {
5831
5831
  if (entry === null) {
5832
5832
  return null;
5833
5833
  }
5834
- return smithy_client_1.expectString(entry);
5834
+ return (0, smithy_client_1.expectString)(entry);
5835
5835
  });
5836
5836
  return retVal;
5837
5837
  };
@@ -5849,17 +5849,17 @@ const deserializeAws_json1_0PartiQLBatchResponse = (output, context) => {
5849
5849
  const deserializeAws_json1_0PointInTimeRecoveryDescription = (output, context) => {
5850
5850
  return {
5851
5851
  EarliestRestorableDateTime: output.EarliestRestorableDateTime !== undefined && output.EarliestRestorableDateTime !== null
5852
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EarliestRestorableDateTime)))
5852
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EarliestRestorableDateTime)))
5853
5853
  : undefined,
5854
5854
  LatestRestorableDateTime: output.LatestRestorableDateTime !== undefined && output.LatestRestorableDateTime !== null
5855
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LatestRestorableDateTime)))
5855
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LatestRestorableDateTime)))
5856
5856
  : undefined,
5857
- PointInTimeRecoveryStatus: smithy_client_1.expectString(output.PointInTimeRecoveryStatus),
5857
+ PointInTimeRecoveryStatus: (0, smithy_client_1.expectString)(output.PointInTimeRecoveryStatus),
5858
5858
  };
5859
5859
  };
5860
5860
  const deserializeAws_json1_0PointInTimeRecoveryUnavailableException = (output, context) => {
5861
5861
  return {
5862
- message: smithy_client_1.expectString(output.message),
5862
+ message: (0, smithy_client_1.expectString)(output.message),
5863
5863
  };
5864
5864
  };
5865
5865
  const deserializeAws_json1_0Projection = (output, context) => {
@@ -5867,36 +5867,36 @@ const deserializeAws_json1_0Projection = (output, context) => {
5867
5867
  NonKeyAttributes: output.NonKeyAttributes !== undefined && output.NonKeyAttributes !== null
5868
5868
  ? deserializeAws_json1_0NonKeyAttributeNameList(output.NonKeyAttributes, context)
5869
5869
  : undefined,
5870
- ProjectionType: smithy_client_1.expectString(output.ProjectionType),
5870
+ ProjectionType: (0, smithy_client_1.expectString)(output.ProjectionType),
5871
5871
  };
5872
5872
  };
5873
5873
  const deserializeAws_json1_0ProvisionedThroughput = (output, context) => {
5874
5874
  return {
5875
- ReadCapacityUnits: smithy_client_1.expectLong(output.ReadCapacityUnits),
5876
- WriteCapacityUnits: smithy_client_1.expectLong(output.WriteCapacityUnits),
5875
+ ReadCapacityUnits: (0, smithy_client_1.expectLong)(output.ReadCapacityUnits),
5876
+ WriteCapacityUnits: (0, smithy_client_1.expectLong)(output.WriteCapacityUnits),
5877
5877
  };
5878
5878
  };
5879
5879
  const deserializeAws_json1_0ProvisionedThroughputDescription = (output, context) => {
5880
5880
  return {
5881
5881
  LastDecreaseDateTime: output.LastDecreaseDateTime !== undefined && output.LastDecreaseDateTime !== null
5882
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastDecreaseDateTime)))
5882
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastDecreaseDateTime)))
5883
5883
  : undefined,
5884
5884
  LastIncreaseDateTime: output.LastIncreaseDateTime !== undefined && output.LastIncreaseDateTime !== null
5885
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastIncreaseDateTime)))
5885
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastIncreaseDateTime)))
5886
5886
  : undefined,
5887
- NumberOfDecreasesToday: smithy_client_1.expectLong(output.NumberOfDecreasesToday),
5888
- ReadCapacityUnits: smithy_client_1.expectLong(output.ReadCapacityUnits),
5889
- WriteCapacityUnits: smithy_client_1.expectLong(output.WriteCapacityUnits),
5887
+ NumberOfDecreasesToday: (0, smithy_client_1.expectLong)(output.NumberOfDecreasesToday),
5888
+ ReadCapacityUnits: (0, smithy_client_1.expectLong)(output.ReadCapacityUnits),
5889
+ WriteCapacityUnits: (0, smithy_client_1.expectLong)(output.WriteCapacityUnits),
5890
5890
  };
5891
5891
  };
5892
5892
  const deserializeAws_json1_0ProvisionedThroughputExceededException = (output, context) => {
5893
5893
  return {
5894
- message: smithy_client_1.expectString(output.message),
5894
+ message: (0, smithy_client_1.expectString)(output.message),
5895
5895
  };
5896
5896
  };
5897
5897
  const deserializeAws_json1_0ProvisionedThroughputOverride = (output, context) => {
5898
5898
  return {
5899
- ReadCapacityUnits: smithy_client_1.expectLong(output.ReadCapacityUnits),
5899
+ ReadCapacityUnits: (0, smithy_client_1.expectLong)(output.ReadCapacityUnits),
5900
5900
  };
5901
5901
  };
5902
5902
  const deserializeAws_json1_0PutItemInputAttributeMap = (output, context) => {
@@ -5906,7 +5906,7 @@ const deserializeAws_json1_0PutItemInputAttributeMap = (output, context) => {
5906
5906
  }
5907
5907
  return {
5908
5908
  ...acc,
5909
- [key]: deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(value), context),
5909
+ [key]: deserializeAws_json1_0AttributeValue((0, smithy_client_1.expectUnion)(value), context),
5910
5910
  };
5911
5911
  }, {});
5912
5912
  };
@@ -5935,24 +5935,24 @@ const deserializeAws_json1_0QueryOutput = (output, context) => {
5935
5935
  ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
5936
5936
  ? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
5937
5937
  : undefined,
5938
- Count: smithy_client_1.expectInt32(output.Count),
5938
+ Count: (0, smithy_client_1.expectInt32)(output.Count),
5939
5939
  Items: output.Items !== undefined && output.Items !== null
5940
5940
  ? deserializeAws_json1_0ItemList(output.Items, context)
5941
5941
  : undefined,
5942
5942
  LastEvaluatedKey: output.LastEvaluatedKey !== undefined && output.LastEvaluatedKey !== null
5943
5943
  ? deserializeAws_json1_0Key(output.LastEvaluatedKey, context)
5944
5944
  : undefined,
5945
- ScannedCount: smithy_client_1.expectInt32(output.ScannedCount),
5945
+ ScannedCount: (0, smithy_client_1.expectInt32)(output.ScannedCount),
5946
5946
  };
5947
5947
  };
5948
5948
  const deserializeAws_json1_0Replica = (output, context) => {
5949
5949
  return {
5950
- RegionName: smithy_client_1.expectString(output.RegionName),
5950
+ RegionName: (0, smithy_client_1.expectString)(output.RegionName),
5951
5951
  };
5952
5952
  };
5953
5953
  const deserializeAws_json1_0ReplicaAlreadyExistsException = (output, context) => {
5954
5954
  return {
5955
- message: smithy_client_1.expectString(output.message),
5955
+ message: (0, smithy_client_1.expectString)(output.message),
5956
5956
  };
5957
5957
  };
5958
5958
  const deserializeAws_json1_0ReplicaAutoScalingDescription = (output, context) => {
@@ -5960,7 +5960,7 @@ const deserializeAws_json1_0ReplicaAutoScalingDescription = (output, context) =>
5960
5960
  GlobalSecondaryIndexes: output.GlobalSecondaryIndexes !== undefined && output.GlobalSecondaryIndexes !== null
5961
5961
  ? deserializeAws_json1_0ReplicaGlobalSecondaryIndexAutoScalingDescriptionList(output.GlobalSecondaryIndexes, context)
5962
5962
  : undefined,
5963
- RegionName: smithy_client_1.expectString(output.RegionName),
5963
+ RegionName: (0, smithy_client_1.expectString)(output.RegionName),
5964
5964
  ReplicaProvisionedReadCapacityAutoScalingSettings: output.ReplicaProvisionedReadCapacityAutoScalingSettings !== undefined &&
5965
5965
  output.ReplicaProvisionedReadCapacityAutoScalingSettings !== null
5966
5966
  ? deserializeAws_json1_0AutoScalingSettingsDescription(output.ReplicaProvisionedReadCapacityAutoScalingSettings, context)
@@ -5969,7 +5969,7 @@ const deserializeAws_json1_0ReplicaAutoScalingDescription = (output, context) =>
5969
5969
  output.ReplicaProvisionedWriteCapacityAutoScalingSettings !== null
5970
5970
  ? deserializeAws_json1_0AutoScalingSettingsDescription(output.ReplicaProvisionedWriteCapacityAutoScalingSettings, context)
5971
5971
  : undefined,
5972
- ReplicaStatus: smithy_client_1.expectString(output.ReplicaStatus),
5972
+ ReplicaStatus: (0, smithy_client_1.expectString)(output.ReplicaStatus),
5973
5973
  };
5974
5974
  };
5975
5975
  const deserializeAws_json1_0ReplicaAutoScalingDescriptionList = (output, context) => {
@@ -5988,17 +5988,17 @@ const deserializeAws_json1_0ReplicaDescription = (output, context) => {
5988
5988
  GlobalSecondaryIndexes: output.GlobalSecondaryIndexes !== undefined && output.GlobalSecondaryIndexes !== null
5989
5989
  ? deserializeAws_json1_0ReplicaGlobalSecondaryIndexDescriptionList(output.GlobalSecondaryIndexes, context)
5990
5990
  : undefined,
5991
- KMSMasterKeyId: smithy_client_1.expectString(output.KMSMasterKeyId),
5991
+ KMSMasterKeyId: (0, smithy_client_1.expectString)(output.KMSMasterKeyId),
5992
5992
  ProvisionedThroughputOverride: output.ProvisionedThroughputOverride !== undefined && output.ProvisionedThroughputOverride !== null
5993
5993
  ? deserializeAws_json1_0ProvisionedThroughputOverride(output.ProvisionedThroughputOverride, context)
5994
5994
  : undefined,
5995
- RegionName: smithy_client_1.expectString(output.RegionName),
5995
+ RegionName: (0, smithy_client_1.expectString)(output.RegionName),
5996
5996
  ReplicaInaccessibleDateTime: output.ReplicaInaccessibleDateTime !== undefined && output.ReplicaInaccessibleDateTime !== null
5997
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReplicaInaccessibleDateTime)))
5997
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReplicaInaccessibleDateTime)))
5998
5998
  : undefined,
5999
- ReplicaStatus: smithy_client_1.expectString(output.ReplicaStatus),
6000
- ReplicaStatusDescription: smithy_client_1.expectString(output.ReplicaStatusDescription),
6001
- ReplicaStatusPercentProgress: smithy_client_1.expectString(output.ReplicaStatusPercentProgress),
5999
+ ReplicaStatus: (0, smithy_client_1.expectString)(output.ReplicaStatus),
6000
+ ReplicaStatusDescription: (0, smithy_client_1.expectString)(output.ReplicaStatusDescription),
6001
+ ReplicaStatusPercentProgress: (0, smithy_client_1.expectString)(output.ReplicaStatusPercentProgress),
6002
6002
  ReplicaTableClassSummary: output.ReplicaTableClassSummary !== undefined && output.ReplicaTableClassSummary !== null
6003
6003
  ? deserializeAws_json1_0TableClassSummary(output.ReplicaTableClassSummary, context)
6004
6004
  : undefined,
@@ -6017,8 +6017,8 @@ const deserializeAws_json1_0ReplicaDescriptionList = (output, context) => {
6017
6017
  };
6018
6018
  const deserializeAws_json1_0ReplicaGlobalSecondaryIndexAutoScalingDescription = (output, context) => {
6019
6019
  return {
6020
- IndexName: smithy_client_1.expectString(output.IndexName),
6021
- IndexStatus: smithy_client_1.expectString(output.IndexStatus),
6020
+ IndexName: (0, smithy_client_1.expectString)(output.IndexName),
6021
+ IndexStatus: (0, smithy_client_1.expectString)(output.IndexStatus),
6022
6022
  ProvisionedReadCapacityAutoScalingSettings: output.ProvisionedReadCapacityAutoScalingSettings !== undefined &&
6023
6023
  output.ProvisionedReadCapacityAutoScalingSettings !== null
6024
6024
  ? deserializeAws_json1_0AutoScalingSettingsDescription(output.ProvisionedReadCapacityAutoScalingSettings, context)
@@ -6042,7 +6042,7 @@ const deserializeAws_json1_0ReplicaGlobalSecondaryIndexAutoScalingDescriptionLis
6042
6042
  };
6043
6043
  const deserializeAws_json1_0ReplicaGlobalSecondaryIndexDescription = (output, context) => {
6044
6044
  return {
6045
- IndexName: smithy_client_1.expectString(output.IndexName),
6045
+ IndexName: (0, smithy_client_1.expectString)(output.IndexName),
6046
6046
  ProvisionedThroughputOverride: output.ProvisionedThroughputOverride !== undefined && output.ProvisionedThroughputOverride !== null
6047
6047
  ? deserializeAws_json1_0ProvisionedThroughputOverride(output.ProvisionedThroughputOverride, context)
6048
6048
  : undefined,
@@ -6061,18 +6061,18 @@ const deserializeAws_json1_0ReplicaGlobalSecondaryIndexDescriptionList = (output
6061
6061
  };
6062
6062
  const deserializeAws_json1_0ReplicaGlobalSecondaryIndexSettingsDescription = (output, context) => {
6063
6063
  return {
6064
- IndexName: smithy_client_1.expectString(output.IndexName),
6065
- IndexStatus: smithy_client_1.expectString(output.IndexStatus),
6064
+ IndexName: (0, smithy_client_1.expectString)(output.IndexName),
6065
+ IndexStatus: (0, smithy_client_1.expectString)(output.IndexStatus),
6066
6066
  ProvisionedReadCapacityAutoScalingSettings: output.ProvisionedReadCapacityAutoScalingSettings !== undefined &&
6067
6067
  output.ProvisionedReadCapacityAutoScalingSettings !== null
6068
6068
  ? deserializeAws_json1_0AutoScalingSettingsDescription(output.ProvisionedReadCapacityAutoScalingSettings, context)
6069
6069
  : undefined,
6070
- ProvisionedReadCapacityUnits: smithy_client_1.expectLong(output.ProvisionedReadCapacityUnits),
6070
+ ProvisionedReadCapacityUnits: (0, smithy_client_1.expectLong)(output.ProvisionedReadCapacityUnits),
6071
6071
  ProvisionedWriteCapacityAutoScalingSettings: output.ProvisionedWriteCapacityAutoScalingSettings !== undefined &&
6072
6072
  output.ProvisionedWriteCapacityAutoScalingSettings !== null
6073
6073
  ? deserializeAws_json1_0AutoScalingSettingsDescription(output.ProvisionedWriteCapacityAutoScalingSettings, context)
6074
6074
  : undefined,
6075
- ProvisionedWriteCapacityUnits: smithy_client_1.expectLong(output.ProvisionedWriteCapacityUnits),
6075
+ ProvisionedWriteCapacityUnits: (0, smithy_client_1.expectLong)(output.ProvisionedWriteCapacityUnits),
6076
6076
  };
6077
6077
  };
6078
6078
  const deserializeAws_json1_0ReplicaGlobalSecondaryIndexSettingsDescriptionList = (output, context) => {
@@ -6099,12 +6099,12 @@ const deserializeAws_json1_0ReplicaList = (output, context) => {
6099
6099
  };
6100
6100
  const deserializeAws_json1_0ReplicaNotFoundException = (output, context) => {
6101
6101
  return {
6102
- message: smithy_client_1.expectString(output.message),
6102
+ message: (0, smithy_client_1.expectString)(output.message),
6103
6103
  };
6104
6104
  };
6105
6105
  const deserializeAws_json1_0ReplicaSettingsDescription = (output, context) => {
6106
6106
  return {
6107
- RegionName: smithy_client_1.expectString(output.RegionName),
6107
+ RegionName: (0, smithy_client_1.expectString)(output.RegionName),
6108
6108
  ReplicaBillingModeSummary: output.ReplicaBillingModeSummary !== undefined && output.ReplicaBillingModeSummary !== null
6109
6109
  ? deserializeAws_json1_0BillingModeSummary(output.ReplicaBillingModeSummary, context)
6110
6110
  : undefined,
@@ -6115,13 +6115,13 @@ const deserializeAws_json1_0ReplicaSettingsDescription = (output, context) => {
6115
6115
  output.ReplicaProvisionedReadCapacityAutoScalingSettings !== null
6116
6116
  ? deserializeAws_json1_0AutoScalingSettingsDescription(output.ReplicaProvisionedReadCapacityAutoScalingSettings, context)
6117
6117
  : undefined,
6118
- ReplicaProvisionedReadCapacityUnits: smithy_client_1.expectLong(output.ReplicaProvisionedReadCapacityUnits),
6118
+ ReplicaProvisionedReadCapacityUnits: (0, smithy_client_1.expectLong)(output.ReplicaProvisionedReadCapacityUnits),
6119
6119
  ReplicaProvisionedWriteCapacityAutoScalingSettings: output.ReplicaProvisionedWriteCapacityAutoScalingSettings !== undefined &&
6120
6120
  output.ReplicaProvisionedWriteCapacityAutoScalingSettings !== null
6121
6121
  ? deserializeAws_json1_0AutoScalingSettingsDescription(output.ReplicaProvisionedWriteCapacityAutoScalingSettings, context)
6122
6122
  : undefined,
6123
- ReplicaProvisionedWriteCapacityUnits: smithy_client_1.expectLong(output.ReplicaProvisionedWriteCapacityUnits),
6124
- ReplicaStatus: smithy_client_1.expectString(output.ReplicaStatus),
6123
+ ReplicaProvisionedWriteCapacityUnits: (0, smithy_client_1.expectLong)(output.ReplicaProvisionedWriteCapacityUnits),
6124
+ ReplicaStatus: (0, smithy_client_1.expectString)(output.ReplicaStatus),
6125
6125
  ReplicaTableClassSummary: output.ReplicaTableClassSummary !== undefined && output.ReplicaTableClassSummary !== null
6126
6126
  ? deserializeAws_json1_0TableClassSummary(output.ReplicaTableClassSummary, context)
6127
6127
  : undefined,
@@ -6140,27 +6140,27 @@ const deserializeAws_json1_0ReplicaSettingsDescriptionList = (output, context) =
6140
6140
  };
6141
6141
  const deserializeAws_json1_0RequestLimitExceeded = (output, context) => {
6142
6142
  return {
6143
- message: smithy_client_1.expectString(output.message),
6143
+ message: (0, smithy_client_1.expectString)(output.message),
6144
6144
  };
6145
6145
  };
6146
6146
  const deserializeAws_json1_0ResourceInUseException = (output, context) => {
6147
6147
  return {
6148
- message: smithy_client_1.expectString(output.message),
6148
+ message: (0, smithy_client_1.expectString)(output.message),
6149
6149
  };
6150
6150
  };
6151
6151
  const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
6152
6152
  return {
6153
- message: smithy_client_1.expectString(output.message),
6153
+ message: (0, smithy_client_1.expectString)(output.message),
6154
6154
  };
6155
6155
  };
6156
6156
  const deserializeAws_json1_0RestoreSummary = (output, context) => {
6157
6157
  return {
6158
6158
  RestoreDateTime: output.RestoreDateTime !== undefined && output.RestoreDateTime !== null
6159
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RestoreDateTime)))
6159
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.RestoreDateTime)))
6160
6160
  : undefined,
6161
- RestoreInProgress: smithy_client_1.expectBoolean(output.RestoreInProgress),
6162
- SourceBackupArn: smithy_client_1.expectString(output.SourceBackupArn),
6163
- SourceTableArn: smithy_client_1.expectString(output.SourceTableArn),
6161
+ RestoreInProgress: (0, smithy_client_1.expectBoolean)(output.RestoreInProgress),
6162
+ SourceBackupArn: (0, smithy_client_1.expectString)(output.SourceBackupArn),
6163
+ SourceTableArn: (0, smithy_client_1.expectString)(output.SourceTableArn),
6164
6164
  };
6165
6165
  };
6166
6166
  const deserializeAws_json1_0RestoreTableFromBackupOutput = (output, context) => {
@@ -6182,14 +6182,14 @@ const deserializeAws_json1_0ScanOutput = (output, context) => {
6182
6182
  ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
6183
6183
  ? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
6184
6184
  : undefined,
6185
- Count: smithy_client_1.expectInt32(output.Count),
6185
+ Count: (0, smithy_client_1.expectInt32)(output.Count),
6186
6186
  Items: output.Items !== undefined && output.Items !== null
6187
6187
  ? deserializeAws_json1_0ItemList(output.Items, context)
6188
6188
  : undefined,
6189
6189
  LastEvaluatedKey: output.LastEvaluatedKey !== undefined && output.LastEvaluatedKey !== null
6190
6190
  ? deserializeAws_json1_0Key(output.LastEvaluatedKey, context)
6191
6191
  : undefined,
6192
- ScannedCount: smithy_client_1.expectInt32(output.ScannedCount),
6192
+ ScannedCount: (0, smithy_client_1.expectInt32)(output.ScannedCount),
6193
6193
  };
6194
6194
  };
6195
6195
  const deserializeAws_json1_0SecondaryIndexesCapacityMap = (output, context) => {
@@ -6205,21 +6205,21 @@ const deserializeAws_json1_0SecondaryIndexesCapacityMap = (output, context) => {
6205
6205
  };
6206
6206
  const deserializeAws_json1_0SourceTableDetails = (output, context) => {
6207
6207
  return {
6208
- BillingMode: smithy_client_1.expectString(output.BillingMode),
6209
- ItemCount: smithy_client_1.expectLong(output.ItemCount),
6208
+ BillingMode: (0, smithy_client_1.expectString)(output.BillingMode),
6209
+ ItemCount: (0, smithy_client_1.expectLong)(output.ItemCount),
6210
6210
  KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
6211
6211
  ? deserializeAws_json1_0KeySchema(output.KeySchema, context)
6212
6212
  : undefined,
6213
6213
  ProvisionedThroughput: output.ProvisionedThroughput !== undefined && output.ProvisionedThroughput !== null
6214
6214
  ? deserializeAws_json1_0ProvisionedThroughput(output.ProvisionedThroughput, context)
6215
6215
  : undefined,
6216
- TableArn: smithy_client_1.expectString(output.TableArn),
6216
+ TableArn: (0, smithy_client_1.expectString)(output.TableArn),
6217
6217
  TableCreationDateTime: output.TableCreationDateTime !== undefined && output.TableCreationDateTime !== null
6218
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TableCreationDateTime)))
6218
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TableCreationDateTime)))
6219
6219
  : undefined,
6220
- TableId: smithy_client_1.expectString(output.TableId),
6221
- TableName: smithy_client_1.expectString(output.TableName),
6222
- TableSizeBytes: smithy_client_1.expectLong(output.TableSizeBytes),
6220
+ TableId: (0, smithy_client_1.expectString)(output.TableId),
6221
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
6222
+ TableSizeBytes: (0, smithy_client_1.expectLong)(output.TableSizeBytes),
6223
6223
  };
6224
6224
  };
6225
6225
  const deserializeAws_json1_0SourceTableFeatureDetails = (output, context) => {
@@ -6244,17 +6244,17 @@ const deserializeAws_json1_0SourceTableFeatureDetails = (output, context) => {
6244
6244
  const deserializeAws_json1_0SSEDescription = (output, context) => {
6245
6245
  return {
6246
6246
  InaccessibleEncryptionDateTime: output.InaccessibleEncryptionDateTime !== undefined && output.InaccessibleEncryptionDateTime !== null
6247
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.InaccessibleEncryptionDateTime)))
6247
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.InaccessibleEncryptionDateTime)))
6248
6248
  : undefined,
6249
- KMSMasterKeyArn: smithy_client_1.expectString(output.KMSMasterKeyArn),
6250
- SSEType: smithy_client_1.expectString(output.SSEType),
6251
- Status: smithy_client_1.expectString(output.Status),
6249
+ KMSMasterKeyArn: (0, smithy_client_1.expectString)(output.KMSMasterKeyArn),
6250
+ SSEType: (0, smithy_client_1.expectString)(output.SSEType),
6251
+ Status: (0, smithy_client_1.expectString)(output.Status),
6252
6252
  };
6253
6253
  };
6254
6254
  const deserializeAws_json1_0StreamSpecification = (output, context) => {
6255
6255
  return {
6256
- StreamEnabled: smithy_client_1.expectBoolean(output.StreamEnabled),
6257
- StreamViewType: smithy_client_1.expectString(output.StreamViewType),
6256
+ StreamEnabled: (0, smithy_client_1.expectBoolean)(output.StreamEnabled),
6257
+ StreamViewType: (0, smithy_client_1.expectString)(output.StreamViewType),
6258
6258
  };
6259
6259
  };
6260
6260
  const deserializeAws_json1_0StringSetAttributeValue = (output, context) => {
@@ -6264,13 +6264,13 @@ const deserializeAws_json1_0StringSetAttributeValue = (output, context) => {
6264
6264
  if (entry === null) {
6265
6265
  return null;
6266
6266
  }
6267
- return smithy_client_1.expectString(entry);
6267
+ return (0, smithy_client_1.expectString)(entry);
6268
6268
  });
6269
6269
  return retVal;
6270
6270
  };
6271
6271
  const deserializeAws_json1_0TableAlreadyExistsException = (output, context) => {
6272
6272
  return {
6273
- message: smithy_client_1.expectString(output.message),
6273
+ message: (0, smithy_client_1.expectString)(output.message),
6274
6274
  };
6275
6275
  };
6276
6276
  const deserializeAws_json1_0TableAutoScalingDescription = (output, context) => {
@@ -6278,16 +6278,16 @@ const deserializeAws_json1_0TableAutoScalingDescription = (output, context) => {
6278
6278
  Replicas: output.Replicas !== undefined && output.Replicas !== null
6279
6279
  ? deserializeAws_json1_0ReplicaAutoScalingDescriptionList(output.Replicas, context)
6280
6280
  : undefined,
6281
- TableName: smithy_client_1.expectString(output.TableName),
6282
- TableStatus: smithy_client_1.expectString(output.TableStatus),
6281
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
6282
+ TableStatus: (0, smithy_client_1.expectString)(output.TableStatus),
6283
6283
  };
6284
6284
  };
6285
6285
  const deserializeAws_json1_0TableClassSummary = (output, context) => {
6286
6286
  return {
6287
6287
  LastUpdateDateTime: output.LastUpdateDateTime !== undefined && output.LastUpdateDateTime !== null
6288
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateDateTime)))
6288
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateDateTime)))
6289
6289
  : undefined,
6290
- TableClass: smithy_client_1.expectString(output.TableClass),
6290
+ TableClass: (0, smithy_client_1.expectString)(output.TableClass),
6291
6291
  };
6292
6292
  };
6293
6293
  const deserializeAws_json1_0TableDescription = (output, context) => {
@@ -6302,18 +6302,18 @@ const deserializeAws_json1_0TableDescription = (output, context) => {
6302
6302
  ? deserializeAws_json1_0BillingModeSummary(output.BillingModeSummary, context)
6303
6303
  : undefined,
6304
6304
  CreationDateTime: output.CreationDateTime !== undefined && output.CreationDateTime !== null
6305
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDateTime)))
6305
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDateTime)))
6306
6306
  : undefined,
6307
6307
  GlobalSecondaryIndexes: output.GlobalSecondaryIndexes !== undefined && output.GlobalSecondaryIndexes !== null
6308
6308
  ? deserializeAws_json1_0GlobalSecondaryIndexDescriptionList(output.GlobalSecondaryIndexes, context)
6309
6309
  : undefined,
6310
- GlobalTableVersion: smithy_client_1.expectString(output.GlobalTableVersion),
6311
- ItemCount: smithy_client_1.expectLong(output.ItemCount),
6310
+ GlobalTableVersion: (0, smithy_client_1.expectString)(output.GlobalTableVersion),
6311
+ ItemCount: (0, smithy_client_1.expectLong)(output.ItemCount),
6312
6312
  KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
6313
6313
  ? deserializeAws_json1_0KeySchema(output.KeySchema, context)
6314
6314
  : undefined,
6315
- LatestStreamArn: smithy_client_1.expectString(output.LatestStreamArn),
6316
- LatestStreamLabel: smithy_client_1.expectString(output.LatestStreamLabel),
6315
+ LatestStreamArn: (0, smithy_client_1.expectString)(output.LatestStreamArn),
6316
+ LatestStreamLabel: (0, smithy_client_1.expectString)(output.LatestStreamLabel),
6317
6317
  LocalSecondaryIndexes: output.LocalSecondaryIndexes !== undefined && output.LocalSecondaryIndexes !== null
6318
6318
  ? deserializeAws_json1_0LocalSecondaryIndexDescriptionList(output.LocalSecondaryIndexes, context)
6319
6319
  : undefined,
@@ -6332,19 +6332,19 @@ const deserializeAws_json1_0TableDescription = (output, context) => {
6332
6332
  StreamSpecification: output.StreamSpecification !== undefined && output.StreamSpecification !== null
6333
6333
  ? deserializeAws_json1_0StreamSpecification(output.StreamSpecification, context)
6334
6334
  : undefined,
6335
- TableArn: smithy_client_1.expectString(output.TableArn),
6335
+ TableArn: (0, smithy_client_1.expectString)(output.TableArn),
6336
6336
  TableClassSummary: output.TableClassSummary !== undefined && output.TableClassSummary !== null
6337
6337
  ? deserializeAws_json1_0TableClassSummary(output.TableClassSummary, context)
6338
6338
  : undefined,
6339
- TableId: smithy_client_1.expectString(output.TableId),
6340
- TableName: smithy_client_1.expectString(output.TableName),
6341
- TableSizeBytes: smithy_client_1.expectLong(output.TableSizeBytes),
6342
- TableStatus: smithy_client_1.expectString(output.TableStatus),
6339
+ TableId: (0, smithy_client_1.expectString)(output.TableId),
6340
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
6341
+ TableSizeBytes: (0, smithy_client_1.expectLong)(output.TableSizeBytes),
6342
+ TableStatus: (0, smithy_client_1.expectString)(output.TableStatus),
6343
6343
  };
6344
6344
  };
6345
6345
  const deserializeAws_json1_0TableInUseException = (output, context) => {
6346
6346
  return {
6347
- message: smithy_client_1.expectString(output.message),
6347
+ message: (0, smithy_client_1.expectString)(output.message),
6348
6348
  };
6349
6349
  };
6350
6350
  const deserializeAws_json1_0TableNameList = (output, context) => {
@@ -6354,19 +6354,19 @@ const deserializeAws_json1_0TableNameList = (output, context) => {
6354
6354
  if (entry === null) {
6355
6355
  return null;
6356
6356
  }
6357
- return smithy_client_1.expectString(entry);
6357
+ return (0, smithy_client_1.expectString)(entry);
6358
6358
  });
6359
6359
  return retVal;
6360
6360
  };
6361
6361
  const deserializeAws_json1_0TableNotFoundException = (output, context) => {
6362
6362
  return {
6363
- message: smithy_client_1.expectString(output.message),
6363
+ message: (0, smithy_client_1.expectString)(output.message),
6364
6364
  };
6365
6365
  };
6366
6366
  const deserializeAws_json1_0Tag = (output, context) => {
6367
6367
  return {
6368
- Key: smithy_client_1.expectString(output.Key),
6369
- Value: smithy_client_1.expectString(output.Value),
6368
+ Key: (0, smithy_client_1.expectString)(output.Key),
6369
+ Value: (0, smithy_client_1.expectString)(output.Value),
6370
6370
  };
6371
6371
  };
6372
6372
  const deserializeAws_json1_0TagList = (output, context) => {
@@ -6382,14 +6382,14 @@ const deserializeAws_json1_0TagList = (output, context) => {
6382
6382
  };
6383
6383
  const deserializeAws_json1_0TimeToLiveDescription = (output, context) => {
6384
6384
  return {
6385
- AttributeName: smithy_client_1.expectString(output.AttributeName),
6386
- TimeToLiveStatus: smithy_client_1.expectString(output.TimeToLiveStatus),
6385
+ AttributeName: (0, smithy_client_1.expectString)(output.AttributeName),
6386
+ TimeToLiveStatus: (0, smithy_client_1.expectString)(output.TimeToLiveStatus),
6387
6387
  };
6388
6388
  };
6389
6389
  const deserializeAws_json1_0TimeToLiveSpecification = (output, context) => {
6390
6390
  return {
6391
- AttributeName: smithy_client_1.expectString(output.AttributeName),
6392
- Enabled: smithy_client_1.expectBoolean(output.Enabled),
6391
+ AttributeName: (0, smithy_client_1.expectString)(output.AttributeName),
6392
+ Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
6393
6393
  };
6394
6394
  };
6395
6395
  const deserializeAws_json1_0TransactGetItemsOutput = (output, context) => {
@@ -6407,17 +6407,17 @@ const deserializeAws_json1_0TransactionCanceledException = (output, context) =>
6407
6407
  CancellationReasons: output.CancellationReasons !== undefined && output.CancellationReasons !== null
6408
6408
  ? deserializeAws_json1_0CancellationReasonList(output.CancellationReasons, context)
6409
6409
  : undefined,
6410
- Message: smithy_client_1.expectString(output.Message),
6410
+ Message: (0, smithy_client_1.expectString)(output.Message),
6411
6411
  };
6412
6412
  };
6413
6413
  const deserializeAws_json1_0TransactionConflictException = (output, context) => {
6414
6414
  return {
6415
- message: smithy_client_1.expectString(output.message),
6415
+ message: (0, smithy_client_1.expectString)(output.message),
6416
6416
  };
6417
6417
  };
6418
6418
  const deserializeAws_json1_0TransactionInProgressException = (output, context) => {
6419
6419
  return {
6420
- Message: smithy_client_1.expectString(output.Message),
6420
+ Message: (0, smithy_client_1.expectString)(output.Message),
6421
6421
  };
6422
6422
  };
6423
6423
  const deserializeAws_json1_0TransactWriteItemsOutput = (output, context) => {
@@ -6439,9 +6439,9 @@ const deserializeAws_json1_0UpdateContinuousBackupsOutput = (output, context) =>
6439
6439
  };
6440
6440
  const deserializeAws_json1_0UpdateContributorInsightsOutput = (output, context) => {
6441
6441
  return {
6442
- ContributorInsightsStatus: smithy_client_1.expectString(output.ContributorInsightsStatus),
6443
- IndexName: smithy_client_1.expectString(output.IndexName),
6444
- TableName: smithy_client_1.expectString(output.TableName),
6442
+ ContributorInsightsStatus: (0, smithy_client_1.expectString)(output.ContributorInsightsStatus),
6443
+ IndexName: (0, smithy_client_1.expectString)(output.IndexName),
6444
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
6445
6445
  };
6446
6446
  };
6447
6447
  const deserializeAws_json1_0UpdateGlobalTableOutput = (output, context) => {
@@ -6453,7 +6453,7 @@ const deserializeAws_json1_0UpdateGlobalTableOutput = (output, context) => {
6453
6453
  };
6454
6454
  const deserializeAws_json1_0UpdateGlobalTableSettingsOutput = (output, context) => {
6455
6455
  return {
6456
- GlobalTableName: smithy_client_1.expectString(output.GlobalTableName),
6456
+ GlobalTableName: (0, smithy_client_1.expectString)(output.GlobalTableName),
6457
6457
  ReplicaSettings: output.ReplicaSettings !== undefined && output.ReplicaSettings !== null
6458
6458
  ? deserializeAws_json1_0ReplicaSettingsDescriptionList(output.ReplicaSettings, context)
6459
6459
  : undefined,