@aws-sdk/client-dynamodb 3.362.0 → 3.369.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 (273) hide show
  1. package/dist-cjs/DynamoDB.js +1 -1
  2. package/dist-cjs/DynamoDBClient.js +5 -5
  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/DescribeImportCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeLimitsCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeTableCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeTimeToLiveCommand.js +3 -3
  25. package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js +3 -3
  26. package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js +3 -3
  27. package/dist-cjs/commands/ExecuteStatementCommand.js +3 -3
  28. package/dist-cjs/commands/ExecuteTransactionCommand.js +3 -3
  29. package/dist-cjs/commands/ExportTableToPointInTimeCommand.js +3 -3
  30. package/dist-cjs/commands/GetItemCommand.js +3 -3
  31. package/dist-cjs/commands/ImportTableCommand.js +3 -3
  32. package/dist-cjs/commands/ListBackupsCommand.js +3 -3
  33. package/dist-cjs/commands/ListContributorInsightsCommand.js +3 -3
  34. package/dist-cjs/commands/ListExportsCommand.js +3 -3
  35. package/dist-cjs/commands/ListGlobalTablesCommand.js +3 -3
  36. package/dist-cjs/commands/ListImportsCommand.js +3 -3
  37. package/dist-cjs/commands/ListTablesCommand.js +3 -3
  38. package/dist-cjs/commands/ListTagsOfResourceCommand.js +3 -3
  39. package/dist-cjs/commands/PutItemCommand.js +3 -3
  40. package/dist-cjs/commands/QueryCommand.js +3 -3
  41. package/dist-cjs/commands/RestoreTableFromBackupCommand.js +3 -3
  42. package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js +3 -3
  43. package/dist-cjs/commands/ScanCommand.js +3 -3
  44. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  45. package/dist-cjs/commands/TransactGetItemsCommand.js +3 -3
  46. package/dist-cjs/commands/TransactWriteItemsCommand.js +3 -3
  47. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  48. package/dist-cjs/commands/UpdateContinuousBackupsCommand.js +3 -3
  49. package/dist-cjs/commands/UpdateContributorInsightsCommand.js +3 -3
  50. package/dist-cjs/commands/UpdateGlobalTableCommand.js +3 -3
  51. package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js +3 -3
  52. package/dist-cjs/commands/UpdateItemCommand.js +3 -3
  53. package/dist-cjs/commands/UpdateTableCommand.js +3 -3
  54. package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js +3 -3
  55. package/dist-cjs/commands/UpdateTimeToLiveCommand.js +3 -3
  56. package/dist-cjs/models/DynamoDBServiceException.js +1 -1
  57. package/dist-cjs/models/models_0.js +20 -19
  58. package/dist-cjs/protocols/Aws_json1_0.js +22 -3
  59. package/dist-cjs/runtimeConfig.browser.js +7 -7
  60. package/dist-cjs/runtimeConfig.js +10 -10
  61. package/dist-cjs/runtimeConfig.shared.js +4 -4
  62. package/dist-cjs/waiters/waitForTableExists.js +1 -1
  63. package/dist-cjs/waiters/waitForTableNotExists.js +1 -1
  64. package/dist-es/DynamoDB.js +1 -1
  65. package/dist-es/DynamoDBClient.js +5 -5
  66. package/dist-es/commands/BatchExecuteStatementCommand.js +3 -3
  67. package/dist-es/commands/BatchGetItemCommand.js +3 -3
  68. package/dist-es/commands/BatchWriteItemCommand.js +3 -3
  69. package/dist-es/commands/CreateBackupCommand.js +3 -3
  70. package/dist-es/commands/CreateGlobalTableCommand.js +3 -3
  71. package/dist-es/commands/CreateTableCommand.js +3 -3
  72. package/dist-es/commands/DeleteBackupCommand.js +3 -3
  73. package/dist-es/commands/DeleteItemCommand.js +3 -3
  74. package/dist-es/commands/DeleteTableCommand.js +3 -3
  75. package/dist-es/commands/DescribeBackupCommand.js +3 -3
  76. package/dist-es/commands/DescribeContinuousBackupsCommand.js +3 -3
  77. package/dist-es/commands/DescribeContributorInsightsCommand.js +3 -3
  78. package/dist-es/commands/DescribeEndpointsCommand.js +3 -3
  79. package/dist-es/commands/DescribeExportCommand.js +3 -3
  80. package/dist-es/commands/DescribeGlobalTableCommand.js +3 -3
  81. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +3 -3
  82. package/dist-es/commands/DescribeImportCommand.js +3 -3
  83. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +3 -3
  84. package/dist-es/commands/DescribeLimitsCommand.js +3 -3
  85. package/dist-es/commands/DescribeTableCommand.js +3 -3
  86. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +3 -3
  87. package/dist-es/commands/DescribeTimeToLiveCommand.js +3 -3
  88. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +3 -3
  89. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +3 -3
  90. package/dist-es/commands/ExecuteStatementCommand.js +3 -3
  91. package/dist-es/commands/ExecuteTransactionCommand.js +3 -3
  92. package/dist-es/commands/ExportTableToPointInTimeCommand.js +3 -3
  93. package/dist-es/commands/GetItemCommand.js +3 -3
  94. package/dist-es/commands/ImportTableCommand.js +3 -3
  95. package/dist-es/commands/ListBackupsCommand.js +3 -3
  96. package/dist-es/commands/ListContributorInsightsCommand.js +3 -3
  97. package/dist-es/commands/ListExportsCommand.js +3 -3
  98. package/dist-es/commands/ListGlobalTablesCommand.js +3 -3
  99. package/dist-es/commands/ListImportsCommand.js +3 -3
  100. package/dist-es/commands/ListTablesCommand.js +3 -3
  101. package/dist-es/commands/ListTagsOfResourceCommand.js +3 -3
  102. package/dist-es/commands/PutItemCommand.js +3 -3
  103. package/dist-es/commands/QueryCommand.js +3 -3
  104. package/dist-es/commands/RestoreTableFromBackupCommand.js +3 -3
  105. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +3 -3
  106. package/dist-es/commands/ScanCommand.js +3 -3
  107. package/dist-es/commands/TagResourceCommand.js +3 -3
  108. package/dist-es/commands/TransactGetItemsCommand.js +3 -3
  109. package/dist-es/commands/TransactWriteItemsCommand.js +3 -3
  110. package/dist-es/commands/UntagResourceCommand.js +3 -3
  111. package/dist-es/commands/UpdateContinuousBackupsCommand.js +3 -3
  112. package/dist-es/commands/UpdateContributorInsightsCommand.js +3 -3
  113. package/dist-es/commands/UpdateGlobalTableCommand.js +3 -3
  114. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +3 -3
  115. package/dist-es/commands/UpdateItemCommand.js +3 -3
  116. package/dist-es/commands/UpdateTableCommand.js +3 -3
  117. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +3 -3
  118. package/dist-es/commands/UpdateTimeToLiveCommand.js +3 -3
  119. package/dist-es/models/DynamoDBServiceException.js +1 -1
  120. package/dist-es/models/models_0.js +17 -16
  121. package/dist-es/protocols/Aws_json1_0.js +22 -3
  122. package/dist-es/runtimeConfig.browser.js +7 -7
  123. package/dist-es/runtimeConfig.js +10 -10
  124. package/dist-es/runtimeConfig.shared.js +4 -4
  125. package/dist-es/waiters/waitForTableExists.js +1 -1
  126. package/dist-es/waiters/waitForTableNotExists.js +1 -1
  127. package/dist-types/DynamoDB.d.ts +1 -1
  128. package/dist-types/DynamoDBClient.d.ts +8 -8
  129. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +49 -45
  130. package/dist-types/commands/BatchGetItemCommand.d.ts +3 -3
  131. package/dist-types/commands/BatchWriteItemCommand.d.ts +7 -7
  132. package/dist-types/commands/CreateBackupCommand.d.ts +3 -3
  133. package/dist-types/commands/CreateGlobalTableCommand.d.ts +3 -3
  134. package/dist-types/commands/CreateTableCommand.d.ts +3 -3
  135. package/dist-types/commands/DeleteBackupCommand.d.ts +3 -3
  136. package/dist-types/commands/DeleteItemCommand.d.ts +4 -3
  137. package/dist-types/commands/DeleteTableCommand.d.ts +3 -3
  138. package/dist-types/commands/DescribeBackupCommand.d.ts +3 -3
  139. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +3 -3
  140. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +3 -3
  141. package/dist-types/commands/DescribeEndpointsCommand.d.ts +3 -3
  142. package/dist-types/commands/DescribeExportCommand.d.ts +3 -3
  143. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +3 -3
  144. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +3 -3
  145. package/dist-types/commands/DescribeImportCommand.d.ts +3 -3
  146. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +3 -3
  147. package/dist-types/commands/DescribeLimitsCommand.d.ts +3 -3
  148. package/dist-types/commands/DescribeTableCommand.d.ts +3 -3
  149. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +3 -3
  150. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +3 -3
  151. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +3 -3
  152. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +3 -3
  153. package/dist-types/commands/ExecuteStatementCommand.d.ts +4 -3
  154. package/dist-types/commands/ExecuteTransactionCommand.d.ts +4 -3
  155. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +3 -3
  156. package/dist-types/commands/GetItemCommand.d.ts +3 -3
  157. package/dist-types/commands/ImportTableCommand.d.ts +3 -3
  158. package/dist-types/commands/ListBackupsCommand.d.ts +3 -3
  159. package/dist-types/commands/ListContributorInsightsCommand.d.ts +3 -3
  160. package/dist-types/commands/ListExportsCommand.d.ts +3 -3
  161. package/dist-types/commands/ListGlobalTablesCommand.d.ts +3 -3
  162. package/dist-types/commands/ListImportsCommand.d.ts +3 -3
  163. package/dist-types/commands/ListTablesCommand.d.ts +3 -3
  164. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +3 -3
  165. package/dist-types/commands/PutItemCommand.d.ts +5 -5
  166. package/dist-types/commands/QueryCommand.d.ts +3 -3
  167. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +3 -3
  168. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +3 -3
  169. package/dist-types/commands/ScanCommand.d.ts +3 -3
  170. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  171. package/dist-types/commands/TransactGetItemsCommand.d.ts +3 -3
  172. package/dist-types/commands/TransactWriteItemsCommand.d.ts +3 -3
  173. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  174. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +3 -3
  175. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +3 -3
  176. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +3 -3
  177. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +3 -3
  178. package/dist-types/commands/UpdateItemCommand.d.ts +4 -3
  179. package/dist-types/commands/UpdateTableCommand.d.ts +3 -3
  180. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +3 -3
  181. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +3 -3
  182. package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
  183. package/dist-types/endpoint/endpointResolver.d.ts +1 -1
  184. package/dist-types/endpoint/ruleset.d.ts +1 -1
  185. package/dist-types/models/DynamoDBServiceException.d.ts +1 -1
  186. package/dist-types/models/models_0.d.ts +125 -69
  187. package/dist-types/pagination/Interfaces.d.ts +1 -1
  188. package/dist-types/pagination/ListContributorInsightsPaginator.d.ts +1 -1
  189. package/dist-types/pagination/ListExportsPaginator.d.ts +1 -1
  190. package/dist-types/pagination/ListImportsPaginator.d.ts +1 -1
  191. package/dist-types/pagination/ListTablesPaginator.d.ts +1 -1
  192. package/dist-types/pagination/QueryPaginator.d.ts +1 -1
  193. package/dist-types/pagination/ScanPaginator.d.ts +1 -1
  194. package/dist-types/runtimeConfig.browser.d.ts +20 -20
  195. package/dist-types/runtimeConfig.d.ts +20 -20
  196. package/dist-types/runtimeConfig.native.d.ts +19 -19
  197. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  198. package/dist-types/ts3.4/DynamoDB.d.ts +1 -1
  199. package/dist-types/ts3.4/DynamoDBClient.d.ts +19 -21
  200. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +3 -3
  201. package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +3 -3
  202. package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +3 -3
  203. package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +3 -3
  204. package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +3 -3
  205. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +3 -3
  206. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +3 -3
  207. package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +3 -3
  208. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +3 -3
  209. package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +3 -3
  210. package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +3 -3
  211. package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +3 -3
  212. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +3 -3
  213. package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +3 -3
  214. package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +3 -3
  215. package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +3 -3
  216. package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +3 -3
  217. package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +3 -3
  218. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +3 -3
  219. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +3 -3
  220. package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +3 -3
  221. package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +3 -3
  222. package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +3 -3
  223. package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +3 -3
  224. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +3 -3
  225. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +3 -3
  226. package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +3 -3
  227. package/dist-types/ts3.4/commands/GetItemCommand.d.ts +3 -3
  228. package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +3 -3
  229. package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +3 -3
  230. package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +3 -3
  231. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +3 -3
  232. package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +3 -3
  233. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +3 -3
  234. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +3 -3
  235. package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +3 -3
  236. package/dist-types/ts3.4/commands/PutItemCommand.d.ts +3 -3
  237. package/dist-types/ts3.4/commands/QueryCommand.d.ts +3 -3
  238. package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +3 -3
  239. package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +3 -3
  240. package/dist-types/ts3.4/commands/ScanCommand.d.ts +3 -3
  241. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -3
  242. package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +3 -3
  243. package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +3 -3
  244. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
  245. package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +3 -3
  246. package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +3 -3
  247. package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +3 -3
  248. package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +3 -3
  249. package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +3 -3
  250. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +3 -3
  251. package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +3 -3
  252. package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +3 -3
  253. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
  254. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  255. package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
  256. package/dist-types/ts3.4/models/DynamoDBServiceException.d.ts +1 -1
  257. package/dist-types/ts3.4/models/models_0.d.ts +50 -30
  258. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -1
  259. package/dist-types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts +1 -1
  260. package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +1 -1
  261. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +1 -1
  262. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +1 -1
  263. package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +1 -1
  264. package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +1 -1
  265. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
  266. package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
  267. package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
  268. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  269. package/dist-types/ts3.4/waiters/waitForTableExists.d.ts +1 -1
  270. package/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts +1 -1
  271. package/dist-types/waiters/waitForTableExists.d.ts +1 -1
  272. package/dist-types/waiters/waitForTableNotExists.d.ts +1 -1
  273. package/package.json +36 -35
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RestoreTableToPointInTimeCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class RestoreTableToPointInTimeCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ScanCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class ScanCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TagResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class TagResourceCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TransactGetItemsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class TransactGetItemsCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TransactWriteItemsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class TransactWriteItemsCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UntagResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class UntagResourceCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateContinuousBackupsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class UpdateContinuousBackupsCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateContributorInsightsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class UpdateContributorInsightsCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateGlobalTableCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class UpdateGlobalTableCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateGlobalTableSettingsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class UpdateGlobalTableSettingsCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateItemCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class UpdateItemCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateTableCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class UpdateTableCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateTableReplicaAutoScalingCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class UpdateTableReplicaAutoScalingCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateTimeToLiveCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class UpdateTimeToLiveCommand extends smithy_client_1.Command {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DynamoDBServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
5
  Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
6
  class DynamoDBServiceException extends smithy_client_1.ServiceException {
7
7
  constructor(options) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImportStatus = exports.GlobalTableNotFoundException = exports.ExportNotFoundException = exports.S3SseAlgorithm = exports.ExportStatus = exports.ExportFormat = exports.TransactionConflictException = exports.ReturnValue = exports.ResourceInUseException = exports.TableStatus = exports.IndexStatus = exports.GlobalTableAlreadyExistsException = exports.TableClass = exports.ReplicaStatus = exports.GlobalTableStatus = exports.TableNotFoundException = exports.TableInUseException = exports.LimitExceededException = exports.ContributorInsightsStatus = exports.ContributorInsightsAction = exports.ContinuousBackupsUnavailableException = exports.PointInTimeRecoveryStatus = exports.ContinuousBackupsStatus = exports.ReturnValuesOnConditionCheckFailure = exports.ConditionalOperator = exports.ConditionalCheckFailedException = exports.ComparisonOperator = exports.ItemCollectionSizeLimitExceededException = exports.ReturnItemCollectionMetrics = exports.ResourceNotFoundException = exports.ProvisionedThroughputExceededException = exports.InvalidEndpointException = exports.RequestLimitExceeded = exports.InternalServerError = exports.BatchStatementErrorCodeEnum = exports.ReturnConsumedCapacity = exports.BackupTypeFilter = exports.BackupNotFoundException = exports.BackupInUseException = exports.TimeToLiveStatus = exports.StreamViewType = exports.SSEStatus = exports.SSEType = exports.ProjectionType = exports.KeyType = exports.BillingMode = exports.BackupType = exports.BackupStatus = exports.ScalarAttributeType = exports.AttributeAction = void 0;
4
- exports.TransactionCanceledException = exports.AttributeValue = exports.IndexNotFoundException = exports.ReplicaNotFoundException = exports.ReplicaAlreadyExistsException = exports.InvalidRestoreTimeException = exports.TableAlreadyExistsException = exports.Select = exports.ImportConflictException = exports.PointInTimeRecoveryUnavailableException = exports.InvalidExportTimeException = exports.ExportConflictException = exports.TransactionInProgressException = exports.IdempotentParameterMismatchException = exports.DuplicateItemException = exports.DestinationStatus = exports.ImportNotFoundException = exports.InputFormat = exports.InputCompressionType = void 0;
3
+ exports.InputCompressionType = exports.ImportStatus = exports.GlobalTableNotFoundException = exports.ExportNotFoundException = exports.S3SseAlgorithm = exports.ExportStatus = exports.ExportFormat = exports.TransactionConflictException = exports.ReturnValue = exports.ResourceInUseException = exports.TableStatus = exports.IndexStatus = exports.GlobalTableAlreadyExistsException = exports.TableClass = exports.ReplicaStatus = exports.GlobalTableStatus = exports.TableNotFoundException = exports.TableInUseException = exports.LimitExceededException = exports.ContributorInsightsStatus = exports.ContributorInsightsAction = exports.ContinuousBackupsUnavailableException = exports.PointInTimeRecoveryStatus = exports.ContinuousBackupsStatus = exports.ConditionalOperator = exports.ComparisonOperator = exports.ItemCollectionSizeLimitExceededException = exports.ReturnItemCollectionMetrics = exports.ResourceNotFoundException = exports.ProvisionedThroughputExceededException = exports.InvalidEndpointException = exports.RequestLimitExceeded = exports.InternalServerError = exports.BatchStatementErrorCodeEnum = exports.ReturnValuesOnConditionCheckFailure = exports.ReturnConsumedCapacity = exports.BackupTypeFilter = exports.BackupNotFoundException = exports.BackupInUseException = exports.TimeToLiveStatus = exports.StreamViewType = exports.SSEStatus = exports.SSEType = exports.ProjectionType = exports.KeyType = exports.BillingMode = exports.BackupType = exports.BackupStatus = exports.ScalarAttributeType = exports.AttributeAction = void 0;
4
+ exports.TransactionCanceledException = exports.ConditionalCheckFailedException = exports.AttributeValue = exports.IndexNotFoundException = exports.ReplicaNotFoundException = exports.ReplicaAlreadyExistsException = exports.InvalidRestoreTimeException = exports.TableAlreadyExistsException = exports.Select = exports.ImportConflictException = exports.PointInTimeRecoveryUnavailableException = exports.InvalidExportTimeException = exports.ExportConflictException = exports.TransactionInProgressException = exports.IdempotentParameterMismatchException = exports.DuplicateItemException = exports.DestinationStatus = exports.ImportNotFoundException = exports.InputFormat = void 0;
5
5
  const DynamoDBServiceException_1 = require("./DynamoDBServiceException");
6
6
  exports.AttributeAction = {
7
7
  ADD: "ADD",
@@ -96,6 +96,10 @@ exports.ReturnConsumedCapacity = {
96
96
  NONE: "NONE",
97
97
  TOTAL: "TOTAL",
98
98
  };
99
+ exports.ReturnValuesOnConditionCheckFailure = {
100
+ ALL_OLD: "ALL_OLD",
101
+ NONE: "NONE",
102
+ };
99
103
  exports.BatchStatementErrorCodeEnum = {
100
104
  AccessDenied: "AccessDenied",
101
105
  ConditionalCheckFailed: "ConditionalCheckFailed",
@@ -207,27 +211,10 @@ exports.ComparisonOperator = {
207
211
  NOT_NULL: "NOT_NULL",
208
212
  NULL: "NULL",
209
213
  };
210
- class ConditionalCheckFailedException extends DynamoDBServiceException_1.DynamoDBServiceException {
211
- constructor(opts) {
212
- super({
213
- name: "ConditionalCheckFailedException",
214
- $fault: "client",
215
- ...opts,
216
- });
217
- this.name = "ConditionalCheckFailedException";
218
- this.$fault = "client";
219
- Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype);
220
- }
221
- }
222
- exports.ConditionalCheckFailedException = ConditionalCheckFailedException;
223
214
  exports.ConditionalOperator = {
224
215
  AND: "AND",
225
216
  OR: "OR",
226
217
  };
227
- exports.ReturnValuesOnConditionCheckFailure = {
228
- ALL_OLD: "ALL_OLD",
229
- NONE: "NONE",
230
- };
231
218
  exports.ContinuousBackupsStatus = {
232
219
  DISABLED: "DISABLED",
233
220
  ENABLED: "ENABLED",
@@ -645,6 +632,20 @@ var AttributeValue;
645
632
  return visitor._(value.$unknown[0], value.$unknown[1]);
646
633
  };
647
634
  })(AttributeValue = exports.AttributeValue || (exports.AttributeValue = {}));
635
+ class ConditionalCheckFailedException extends DynamoDBServiceException_1.DynamoDBServiceException {
636
+ constructor(opts) {
637
+ super({
638
+ name: "ConditionalCheckFailedException",
639
+ $fault: "client",
640
+ ...opts,
641
+ });
642
+ this.name = "ConditionalCheckFailedException";
643
+ this.$fault = "client";
644
+ Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype);
645
+ this.Item = opts.Item;
646
+ }
647
+ }
648
+ exports.ConditionalCheckFailedException = ConditionalCheckFailedException;
648
649
  class TransactionCanceledException extends DynamoDBServiceException_1.DynamoDBServiceException {
649
650
  constructor(opts) {
650
651
  super({
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.se_UpdateItemCommand = exports.se_UpdateGlobalTableSettingsCommand = exports.se_UpdateGlobalTableCommand = exports.se_UpdateContributorInsightsCommand = exports.se_UpdateContinuousBackupsCommand = exports.se_UntagResourceCommand = exports.se_TransactWriteItemsCommand = exports.se_TransactGetItemsCommand = exports.se_TagResourceCommand = exports.se_ScanCommand = exports.se_RestoreTableToPointInTimeCommand = exports.se_RestoreTableFromBackupCommand = exports.se_QueryCommand = exports.se_PutItemCommand = exports.se_ListTagsOfResourceCommand = exports.se_ListTablesCommand = exports.se_ListImportsCommand = exports.se_ListGlobalTablesCommand = exports.se_ListExportsCommand = exports.se_ListContributorInsightsCommand = exports.se_ListBackupsCommand = exports.se_ImportTableCommand = exports.se_GetItemCommand = exports.se_ExportTableToPointInTimeCommand = exports.se_ExecuteTransactionCommand = exports.se_ExecuteStatementCommand = exports.se_EnableKinesisStreamingDestinationCommand = exports.se_DisableKinesisStreamingDestinationCommand = exports.se_DescribeTimeToLiveCommand = exports.se_DescribeTableReplicaAutoScalingCommand = exports.se_DescribeTableCommand = exports.se_DescribeLimitsCommand = exports.se_DescribeKinesisStreamingDestinationCommand = exports.se_DescribeImportCommand = exports.se_DescribeGlobalTableSettingsCommand = exports.se_DescribeGlobalTableCommand = exports.se_DescribeExportCommand = exports.se_DescribeEndpointsCommand = exports.se_DescribeContributorInsightsCommand = exports.se_DescribeContinuousBackupsCommand = exports.se_DescribeBackupCommand = exports.se_DeleteTableCommand = exports.se_DeleteItemCommand = exports.se_DeleteBackupCommand = exports.se_CreateTableCommand = exports.se_CreateGlobalTableCommand = exports.se_CreateBackupCommand = exports.se_BatchWriteItemCommand = exports.se_BatchGetItemCommand = exports.se_BatchExecuteStatementCommand = void 0;
4
4
  exports.de_UpdateContributorInsightsCommand = exports.de_UpdateContinuousBackupsCommand = exports.de_UntagResourceCommand = exports.de_TransactWriteItemsCommand = exports.de_TransactGetItemsCommand = exports.de_TagResourceCommand = exports.de_ScanCommand = exports.de_RestoreTableToPointInTimeCommand = exports.de_RestoreTableFromBackupCommand = exports.de_QueryCommand = exports.de_PutItemCommand = exports.de_ListTagsOfResourceCommand = exports.de_ListTablesCommand = exports.de_ListImportsCommand = exports.de_ListGlobalTablesCommand = exports.de_ListExportsCommand = exports.de_ListContributorInsightsCommand = exports.de_ListBackupsCommand = exports.de_ImportTableCommand = exports.de_GetItemCommand = exports.de_ExportTableToPointInTimeCommand = exports.de_ExecuteTransactionCommand = exports.de_ExecuteStatementCommand = exports.de_EnableKinesisStreamingDestinationCommand = exports.de_DisableKinesisStreamingDestinationCommand = exports.de_DescribeTimeToLiveCommand = exports.de_DescribeTableReplicaAutoScalingCommand = exports.de_DescribeTableCommand = exports.de_DescribeLimitsCommand = exports.de_DescribeKinesisStreamingDestinationCommand = exports.de_DescribeImportCommand = exports.de_DescribeGlobalTableSettingsCommand = exports.de_DescribeGlobalTableCommand = exports.de_DescribeExportCommand = exports.de_DescribeEndpointsCommand = exports.de_DescribeContributorInsightsCommand = exports.de_DescribeContinuousBackupsCommand = exports.de_DescribeBackupCommand = exports.de_DeleteTableCommand = exports.de_DeleteItemCommand = exports.de_DeleteBackupCommand = exports.de_CreateTableCommand = exports.de_CreateGlobalTableCommand = exports.de_CreateBackupCommand = exports.de_BatchWriteItemCommand = exports.de_BatchGetItemCommand = exports.de_BatchExecuteStatementCommand = exports.se_UpdateTimeToLiveCommand = exports.se_UpdateTableReplicaAutoScalingCommand = exports.se_UpdateTableCommand = void 0;
5
5
  exports.de_UpdateTimeToLiveCommand = exports.de_UpdateTableReplicaAutoScalingCommand = exports.de_UpdateTableCommand = exports.de_UpdateItemCommand = exports.de_UpdateGlobalTableSettingsCommand = exports.de_UpdateGlobalTableCommand = void 0;
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
7
6
  const protocol_http_1 = require("@smithy/protocol-http");
7
+ const smithy_client_1 = require("@smithy/smithy-client");
8
8
  const uuid_1 = require("uuid");
9
9
  const DynamoDBServiceException_1 = require("../models/DynamoDBServiceException");
10
10
  const models_0_1 = require("../models/models_0");
@@ -2667,7 +2667,7 @@ const de_BackupNotFoundExceptionRes = async (parsedOutput, context) => {
2667
2667
  };
2668
2668
  const de_ConditionalCheckFailedExceptionRes = async (parsedOutput, context) => {
2669
2669
  const body = parsedOutput.body;
2670
- const deserialized = (0, smithy_client_1._json)(body);
2670
+ const deserialized = de_ConditionalCheckFailedException(body, context);
2671
2671
  const exception = new models_0_1.ConditionalCheckFailedException({
2672
2672
  $metadata: deserializeMetadata(parsedOutput),
2673
2673
  ...deserialized,
@@ -3020,6 +3020,7 @@ const se_BatchStatementRequest = (input, context) => {
3020
3020
  return (0, smithy_client_1.take)(input, {
3021
3021
  ConsistentRead: [],
3022
3022
  Parameters: (_) => se_PreparedStatementParameters(_, context),
3023
+ ReturnValuesOnConditionCheckFailure: [],
3023
3024
  Statement: [],
3024
3025
  });
3025
3026
  };
@@ -3083,6 +3084,7 @@ const se_DeleteItemInput = (input, context) => {
3083
3084
  ReturnConsumedCapacity: [],
3084
3085
  ReturnItemCollectionMetrics: [],
3085
3086
  ReturnValues: [],
3087
+ ReturnValuesOnConditionCheckFailure: [],
3086
3088
  TableName: [],
3087
3089
  });
3088
3090
  };
@@ -3098,6 +3100,7 @@ const se_ExecuteStatementInput = (input, context) => {
3098
3100
  NextToken: [],
3099
3101
  Parameters: (_) => se_PreparedStatementParameters(_, context),
3100
3102
  ReturnConsumedCapacity: [],
3103
+ ReturnValuesOnConditionCheckFailure: [],
3101
3104
  Statement: [],
3102
3105
  });
3103
3106
  };
@@ -3275,6 +3278,7 @@ const se_MapAttributeValue = (input, context) => {
3275
3278
  const se_ParameterizedStatement = (input, context) => {
3276
3279
  return (0, smithy_client_1.take)(input, {
3277
3280
  Parameters: (_) => se_PreparedStatementParameters(_, context),
3281
+ ReturnValuesOnConditionCheckFailure: [],
3278
3282
  Statement: [],
3279
3283
  });
3280
3284
  };
@@ -3320,6 +3324,7 @@ const se_PutItemInput = (input, context) => {
3320
3324
  ReturnConsumedCapacity: [],
3321
3325
  ReturnItemCollectionMetrics: [],
3322
3326
  ReturnValues: [],
3327
+ ReturnValuesOnConditionCheckFailure: [],
3323
3328
  TableName: [],
3324
3329
  });
3325
3330
  };
@@ -3523,6 +3528,7 @@ const se_UpdateItemInput = (input, context) => {
3523
3528
  ReturnConsumedCapacity: [],
3524
3529
  ReturnItemCollectionMetrics: [],
3525
3530
  ReturnValues: [],
3531
+ ReturnValuesOnConditionCheckFailure: [],
3526
3532
  TableName: [],
3527
3533
  UpdateExpression: [],
3528
3534
  });
@@ -3711,9 +3717,16 @@ const de_BatchGetResponseMap = (output, context) => {
3711
3717
  return acc;
3712
3718
  }, {});
3713
3719
  };
3720
+ const de_BatchStatementError = (output, context) => {
3721
+ return (0, smithy_client_1.take)(output, {
3722
+ Code: smithy_client_1.expectString,
3723
+ Item: (_) => de_AttributeMap(_, context),
3724
+ Message: smithy_client_1.expectString,
3725
+ });
3726
+ };
3714
3727
  const de_BatchStatementResponse = (output, context) => {
3715
3728
  return (0, smithy_client_1.take)(output, {
3716
- Error: smithy_client_1._json,
3729
+ Error: (_) => de_BatchStatementError(_, context),
3717
3730
  Item: (_) => de_AttributeMap(_, context),
3718
3731
  TableName: smithy_client_1.expectString,
3719
3732
  });
@@ -3770,6 +3783,12 @@ const de_Capacity = (output, context) => {
3770
3783
  WriteCapacityUnits: smithy_client_1.limitedParseDouble,
3771
3784
  });
3772
3785
  };
3786
+ const de_ConditionalCheckFailedException = (output, context) => {
3787
+ return (0, smithy_client_1.take)(output, {
3788
+ Item: (_) => de_AttributeMap(_, context),
3789
+ message: smithy_client_1.expectString,
3790
+ });
3791
+ };
3773
3792
  const de_ConsumedCapacity = (output, context) => {
3774
3793
  return (0, smithy_client_1.take)(output, {
3775
3794
  CapacityUnits: smithy_client_1.limitedParseDouble,
@@ -4,15 +4,15 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
- const config_resolver_1 = require("@aws-sdk/config-resolver");
8
- const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
- const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
10
- const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
11
- const util_retry_1 = require("@aws-sdk/util-retry");
12
7
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
+ const config_resolver_1 = require("@smithy/config-resolver");
9
+ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
+ const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
12
+ const util_retry_1 = require("@smithy/util-retry");
13
13
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
- const smithy_client_1 = require("@aws-sdk/smithy-client");
15
- const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
15
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
16
  const getRuntimeConfig = (config) => {
17
17
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
18
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -4,20 +4,20 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const client_sts_1 = require("@aws-sdk/client-sts");
7
- const config_resolver_1 = require("@aws-sdk/config-resolver");
8
7
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
9
- const hash_node_1 = require("@aws-sdk/hash-node");
10
8
  const middleware_endpoint_discovery_1 = require("@aws-sdk/middleware-endpoint-discovery");
11
- const middleware_retry_1 = require("@aws-sdk/middleware-retry");
12
- const node_config_provider_1 = require("@aws-sdk/node-config-provider");
13
- const node_http_handler_1 = require("@aws-sdk/node-http-handler");
14
- const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
- const util_retry_1 = require("@aws-sdk/util-retry");
16
9
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
10
+ const config_resolver_1 = require("@smithy/config-resolver");
11
+ const hash_node_1 = require("@smithy/hash-node");
12
+ const middleware_retry_1 = require("@smithy/middleware-retry");
13
+ const node_config_provider_1 = require("@smithy/node-config-provider");
14
+ const node_http_handler_1 = require("@smithy/node-http-handler");
15
+ const util_body_length_node_1 = require("@smithy/util-body-length-node");
16
+ const util_retry_1 = require("@smithy/util-retry");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
- const smithy_client_1 = require("@aws-sdk/smithy-client");
19
- const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
- const smithy_client_2 = require("@aws-sdk/smithy-client");
18
+ const smithy_client_1 = require("@smithy/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
20
+ const smithy_client_2 = require("@smithy/smithy-client");
21
21
  const getRuntimeConfig = (config) => {
22
22
  (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
23
23
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const smithy_client_1 = require("@aws-sdk/smithy-client");
5
- const url_parser_1 = require("@aws-sdk/url-parser");
6
- const util_base64_1 = require("@aws-sdk/util-base64");
7
- const util_utf8_1 = require("@aws-sdk/util-utf8");
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ const url_parser_1 = require("@smithy/url-parser");
6
+ const util_base64_1 = require("@smithy/util-base64");
7
+ const util_utf8_1 = require("@smithy/util-utf8");
8
8
  const endpointResolver_1 = require("./endpoint/endpointResolver");
9
9
  const getRuntimeConfig = (config) => ({
10
10
  apiVersion: "2012-08-10",
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.waitUntilTableExists = exports.waitForTableExists = void 0;
4
- const util_waiter_1 = require("@aws-sdk/util-waiter");
4
+ const util_waiter_1 = require("@smithy/util-waiter");
5
5
  const DescribeTableCommand_1 = require("../commands/DescribeTableCommand");
6
6
  const checkState = async (client, input) => {
7
7
  let reason;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.waitUntilTableNotExists = exports.waitForTableNotExists = void 0;
4
- const util_waiter_1 = require("@aws-sdk/util-waiter");
4
+ const util_waiter_1 = require("@smithy/util-waiter");
5
5
  const DescribeTableCommand_1 = require("../commands/DescribeTableCommand");
6
6
  const checkState = async (client, input) => {
7
7
  let reason;
@@ -1,4 +1,4 @@
1
- import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
+ import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { BatchExecuteStatementCommand, } from "./commands/BatchExecuteStatementCommand";
3
3
  import { BatchGetItemCommand, } from "./commands/BatchGetItemCommand";
4
4
  import { BatchWriteItemCommand, } from "./commands/BatchWriteItemCommand";
@@ -1,14 +1,14 @@
1
- import { resolveRegionConfig } from "@aws-sdk/config-resolver";
2
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
- import { resolveEndpointConfig } from "@aws-sdk/middleware-endpoint";
4
1
  import { resolveEndpointDiscoveryConfig, } from "@aws-sdk/middleware-endpoint-discovery";
5
2
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
6
3
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
7
4
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
8
- import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
9
5
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
10
6
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
11
- import { Client as __Client, } from "@aws-sdk/smithy-client";
7
+ import { resolveRegionConfig } from "@smithy/config-resolver";
8
+ import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
+ import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
11
+ import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { DescribeEndpointsCommand, } from "./commands/DescribeEndpointsCommand";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
14
14
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_BatchExecuteStatementCommand, se_BatchExecuteStatementCommand } from "../protocols/Aws_json1_0";
5
5
  export { $Command };
6
6
  export class BatchExecuteStatementCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_BatchGetItemCommand, se_BatchGetItemCommand } from "../protocols/Aws_json1_0";
5
5
  export { $Command };
6
6
  export class BatchGetItemCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_BatchWriteItemCommand, se_BatchWriteItemCommand } from "../protocols/Aws_json1_0";
5
5
  export { $Command };
6
6
  export class BatchWriteItemCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_CreateBackupCommand, se_CreateBackupCommand } from "../protocols/Aws_json1_0";
5
5
  export { $Command };
6
6
  export class CreateBackupCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_CreateGlobalTableCommand, se_CreateGlobalTableCommand } from "../protocols/Aws_json1_0";
5
5
  export { $Command };
6
6
  export class CreateGlobalTableCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_CreateTableCommand, se_CreateTableCommand } from "../protocols/Aws_json1_0";
5
5
  export { $Command };
6
6
  export class CreateTableCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_DeleteBackupCommand, se_DeleteBackupCommand } from "../protocols/Aws_json1_0";
5
5
  export { $Command };
6
6
  export class DeleteBackupCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_DeleteItemCommand, se_DeleteItemCommand } from "../protocols/Aws_json1_0";
5
5
  export { $Command };
6
6
  export class DeleteItemCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_DeleteTableCommand, se_DeleteTableCommand } from "../protocols/Aws_json1_0";
5
5
  export { $Command };
6
6
  export class DeleteTableCommand extends $Command {