@depup/aws-sdk__client-dynamodb 3.1005.0-depup.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 (290) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +31 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +27 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +1667 -0
  7. package/dist-cjs/models/DynamoDBServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +478 -0
  9. package/dist-cjs/runtimeConfig.browser.js +41 -0
  10. package/dist-cjs/runtimeConfig.js +57 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +46 -0
  13. package/dist-cjs/schemas/schemas_0.js +2390 -0
  14. package/dist-es/DynamoDB.js +149 -0
  15. package/dist-es/DynamoDBClient.js +55 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/BatchExecuteStatementCommand.js +16 -0
  19. package/dist-es/commands/BatchGetItemCommand.js +19 -0
  20. package/dist-es/commands/BatchWriteItemCommand.js +19 -0
  21. package/dist-es/commands/CreateBackupCommand.js +19 -0
  22. package/dist-es/commands/CreateGlobalTableCommand.js +19 -0
  23. package/dist-es/commands/CreateTableCommand.js +19 -0
  24. package/dist-es/commands/DeleteBackupCommand.js +19 -0
  25. package/dist-es/commands/DeleteItemCommand.js +19 -0
  26. package/dist-es/commands/DeleteResourcePolicyCommand.js +19 -0
  27. package/dist-es/commands/DeleteTableCommand.js +19 -0
  28. package/dist-es/commands/DescribeBackupCommand.js +19 -0
  29. package/dist-es/commands/DescribeContinuousBackupsCommand.js +19 -0
  30. package/dist-es/commands/DescribeContributorInsightsCommand.js +19 -0
  31. package/dist-es/commands/DescribeEndpointsCommand.js +16 -0
  32. package/dist-es/commands/DescribeExportCommand.js +19 -0
  33. package/dist-es/commands/DescribeGlobalTableCommand.js +19 -0
  34. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +19 -0
  35. package/dist-es/commands/DescribeImportCommand.js +19 -0
  36. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +19 -0
  37. package/dist-es/commands/DescribeLimitsCommand.js +16 -0
  38. package/dist-es/commands/DescribeTableCommand.js +19 -0
  39. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +19 -0
  40. package/dist-es/commands/DescribeTimeToLiveCommand.js +19 -0
  41. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +19 -0
  42. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +19 -0
  43. package/dist-es/commands/ExecuteStatementCommand.js +16 -0
  44. package/dist-es/commands/ExecuteTransactionCommand.js +16 -0
  45. package/dist-es/commands/ExportTableToPointInTimeCommand.js +19 -0
  46. package/dist-es/commands/GetItemCommand.js +19 -0
  47. package/dist-es/commands/GetResourcePolicyCommand.js +19 -0
  48. package/dist-es/commands/ImportTableCommand.js +19 -0
  49. package/dist-es/commands/ListBackupsCommand.js +19 -0
  50. package/dist-es/commands/ListContributorInsightsCommand.js +19 -0
  51. package/dist-es/commands/ListExportsCommand.js +19 -0
  52. package/dist-es/commands/ListGlobalTablesCommand.js +16 -0
  53. package/dist-es/commands/ListImportsCommand.js +19 -0
  54. package/dist-es/commands/ListTablesCommand.js +16 -0
  55. package/dist-es/commands/ListTagsOfResourceCommand.js +19 -0
  56. package/dist-es/commands/PutItemCommand.js +19 -0
  57. package/dist-es/commands/PutResourcePolicyCommand.js +19 -0
  58. package/dist-es/commands/QueryCommand.js +19 -0
  59. package/dist-es/commands/RestoreTableFromBackupCommand.js +19 -0
  60. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +19 -0
  61. package/dist-es/commands/ScanCommand.js +19 -0
  62. package/dist-es/commands/TagResourceCommand.js +19 -0
  63. package/dist-es/commands/TransactGetItemsCommand.js +19 -0
  64. package/dist-es/commands/TransactWriteItemsCommand.js +19 -0
  65. package/dist-es/commands/UntagResourceCommand.js +19 -0
  66. package/dist-es/commands/UpdateContinuousBackupsCommand.js +19 -0
  67. package/dist-es/commands/UpdateContributorInsightsCommand.js +19 -0
  68. package/dist-es/commands/UpdateGlobalTableCommand.js +19 -0
  69. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +19 -0
  70. package/dist-es/commands/UpdateItemCommand.js +19 -0
  71. package/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js +19 -0
  72. package/dist-es/commands/UpdateTableCommand.js +19 -0
  73. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +19 -0
  74. package/dist-es/commands/UpdateTimeToLiveCommand.js +19 -0
  75. package/dist-es/commands/index.js +57 -0
  76. package/dist-es/endpoint/EndpointParameters.js +15 -0
  77. package/dist-es/endpoint/endpointResolver.js +23 -0
  78. package/dist-es/endpoint/ruleset.js +4 -0
  79. package/dist-es/extensionConfiguration.js +1 -0
  80. package/dist-es/index.js +10 -0
  81. package/dist-es/models/DynamoDBServiceException.js +8 -0
  82. package/dist-es/models/enums.js +245 -0
  83. package/dist-es/models/errors.js +440 -0
  84. package/dist-es/models/models_0.js +1 -0
  85. package/dist-es/pagination/Interfaces.js +1 -0
  86. package/dist-es/pagination/ListContributorInsightsPaginator.js +4 -0
  87. package/dist-es/pagination/ListExportsPaginator.js +4 -0
  88. package/dist-es/pagination/ListImportsPaginator.js +4 -0
  89. package/dist-es/pagination/ListTablesPaginator.js +4 -0
  90. package/dist-es/pagination/QueryPaginator.js +4 -0
  91. package/dist-es/pagination/ScanPaginator.js +4 -0
  92. package/dist-es/pagination/index.js +7 -0
  93. package/dist-es/runtimeConfig.browser.js +36 -0
  94. package/dist-es/runtimeConfig.js +52 -0
  95. package/dist-es/runtimeConfig.native.js +11 -0
  96. package/dist-es/runtimeConfig.shared.js +42 -0
  97. package/dist-es/runtimeExtensions.js +9 -0
  98. package/dist-es/schemas/schemas_0.js +2381 -0
  99. package/dist-es/waiters/index.js +6 -0
  100. package/dist-es/waiters/waitForContributorInsightsEnabled.js +40 -0
  101. package/dist-es/waiters/waitForExportCompleted.js +40 -0
  102. package/dist-es/waiters/waitForImportCompleted.js +49 -0
  103. package/dist-es/waiters/waitForKinesisStreamingDestinationActive.js +49 -0
  104. package/dist-es/waiters/waitForTableExists.js +34 -0
  105. package/dist-es/waiters/waitForTableNotExists.js +25 -0
  106. package/dist-types/DynamoDB.d.ts +512 -0
  107. package/dist-types/DynamoDBClient.d.ts +272 -0
  108. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  109. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  110. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +234 -0
  111. package/dist-types/commands/BatchGetItemCommand.d.ts +366 -0
  112. package/dist-types/commands/BatchWriteItemCommand.d.ts +414 -0
  113. package/dist-types/commands/CreateBackupCommand.d.ts +151 -0
  114. package/dist-types/commands/CreateGlobalTableCommand.d.ts +211 -0
  115. package/dist-types/commands/CreateTableCommand.d.ts +394 -0
  116. package/dist-types/commands/DeleteBackupCommand.d.ts +197 -0
  117. package/dist-types/commands/DeleteItemCommand.d.ts +296 -0
  118. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +145 -0
  119. package/dist-types/commands/DeleteTableCommand.d.ts +338 -0
  120. package/dist-types/commands/DescribeBackupCommand.d.ts +175 -0
  121. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +104 -0
  122. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +94 -0
  123. package/dist-types/commands/DescribeEndpointsCommand.d.ts +78 -0
  124. package/dist-types/commands/DescribeExportCommand.d.ts +124 -0
  125. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +133 -0
  126. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +178 -0
  127. package/dist-types/commands/DescribeImportCommand.d.ts +165 -0
  128. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +91 -0
  129. package/dist-types/commands/DescribeLimitsCommand.d.ts +165 -0
  130. package/dist-types/commands/DescribeTableCommand.d.ts +269 -0
  131. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +164 -0
  132. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +86 -0
  133. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +128 -0
  134. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +130 -0
  135. package/dist-types/commands/ExecuteStatementCommand.d.ts +251 -0
  136. package/dist-types/commands/ExecuteTransactionCommand.d.ts +534 -0
  137. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +152 -0
  138. package/dist-types/commands/GetItemCommand.d.ts +264 -0
  139. package/dist-types/commands/GetResourcePolicyCommand.d.ts +124 -0
  140. package/dist-types/commands/ImportTableCommand.d.ts +275 -0
  141. package/dist-types/commands/ListBackupsCommand.d.ts +109 -0
  142. package/dist-types/commands/ListContributorInsightsCommand.d.ts +92 -0
  143. package/dist-types/commands/ListExportsCommand.d.ts +104 -0
  144. package/dist-types/commands/ListGlobalTablesCommand.d.ts +95 -0
  145. package/dist-types/commands/ListImportsCommand.d.ts +110 -0
  146. package/dist-types/commands/ListTablesCommand.d.ts +103 -0
  147. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +93 -0
  148. package/dist-types/commands/PutItemCommand.d.ts +315 -0
  149. package/dist-types/commands/PutResourcePolicyCommand.d.ts +147 -0
  150. package/dist-types/commands/QueryCommand.d.ts +338 -0
  151. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +373 -0
  152. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +407 -0
  153. package/dist-types/commands/ScanCommand.d.ts +337 -0
  154. package/dist-types/commands/TagResourceCommand.d.ts +145 -0
  155. package/dist-types/commands/TransactGetItemsCommand.d.ts +496 -0
  156. package/dist-types/commands/TransactWriteItemsCommand.d.ts +659 -0
  157. package/dist-types/commands/UntagResourceCommand.d.ts +140 -0
  158. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +111 -0
  159. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +93 -0
  160. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +179 -0
  161. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +286 -0
  162. package/dist-types/commands/UpdateItemCommand.d.ts +323 -0
  163. package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +127 -0
  164. package/dist-types/commands/UpdateTableCommand.d.ts +458 -0
  165. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +246 -0
  166. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +149 -0
  167. package/dist-types/commands/index.d.ts +57 -0
  168. package/dist-types/endpoint/EndpointParameters.d.ts +64 -0
  169. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  170. package/dist-types/endpoint/ruleset.d.ts +2 -0
  171. package/dist-types/extensionConfiguration.d.ts +9 -0
  172. package/dist-types/index.d.ts +34 -0
  173. package/dist-types/models/DynamoDBServiceException.d.ts +14 -0
  174. package/dist-types/models/enums.d.ts +589 -0
  175. package/dist-types/models/errors.d.ts +803 -0
  176. package/dist-types/models/models_0.d.ts +10010 -0
  177. package/dist-types/pagination/Interfaces.d.ts +8 -0
  178. package/dist-types/pagination/ListContributorInsightsPaginator.d.ts +7 -0
  179. package/dist-types/pagination/ListExportsPaginator.d.ts +7 -0
  180. package/dist-types/pagination/ListImportsPaginator.d.ts +7 -0
  181. package/dist-types/pagination/ListTablesPaginator.d.ts +7 -0
  182. package/dist-types/pagination/QueryPaginator.d.ts +7 -0
  183. package/dist-types/pagination/ScanPaginator.d.ts +7 -0
  184. package/dist-types/pagination/index.d.ts +7 -0
  185. package/dist-types/runtimeConfig.browser.d.ts +60 -0
  186. package/dist-types/runtimeConfig.d.ts +60 -0
  187. package/dist-types/runtimeConfig.native.d.ts +59 -0
  188. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  189. package/dist-types/runtimeExtensions.d.ts +17 -0
  190. package/dist-types/schemas/schemas_0.d.ts +325 -0
  191. package/dist-types/ts3.4/DynamoDB.d.ts +1102 -0
  192. package/dist-types/ts3.4/DynamoDBClient.d.ts +472 -0
  193. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  194. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  195. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +51 -0
  196. package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +47 -0
  197. package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +47 -0
  198. package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +47 -0
  199. package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +50 -0
  200. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +47 -0
  201. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +47 -0
  202. package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +47 -0
  203. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
  204. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +47 -0
  205. package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +47 -0
  206. package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +51 -0
  207. package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +51 -0
  208. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +51 -0
  209. package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +47 -0
  210. package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +51 -0
  211. package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +51 -0
  212. package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +47 -0
  213. package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +51 -0
  214. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +47 -0
  215. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +47 -0
  216. package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +51 -0
  217. package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +51 -0
  218. package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +51 -0
  219. package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +51 -0
  220. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +50 -0
  221. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +51 -0
  222. package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +51 -0
  223. package/dist-types/ts3.4/commands/GetItemCommand.d.ts +41 -0
  224. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +50 -0
  225. package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +47 -0
  226. package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +47 -0
  227. package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +51 -0
  228. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +47 -0
  229. package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +50 -0
  230. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +47 -0
  231. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +47 -0
  232. package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +51 -0
  233. package/dist-types/ts3.4/commands/PutItemCommand.d.ts +41 -0
  234. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +50 -0
  235. package/dist-types/ts3.4/commands/QueryCommand.d.ts +41 -0
  236. package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +51 -0
  237. package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +51 -0
  238. package/dist-types/ts3.4/commands/ScanCommand.d.ts +41 -0
  239. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
  240. package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +50 -0
  241. package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +51 -0
  242. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
  243. package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +51 -0
  244. package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +51 -0
  245. package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +50 -0
  246. package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +51 -0
  247. package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +47 -0
  248. package/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts +51 -0
  249. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +47 -0
  250. package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +51 -0
  251. package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +50 -0
  252. package/dist-types/ts3.4/commands/index.d.ts +57 -0
  253. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +65 -0
  254. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  255. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  256. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  257. package/dist-types/ts3.4/index.d.ts +13 -0
  258. package/dist-types/ts3.4/models/DynamoDBServiceException.d.ts +9 -0
  259. package/dist-types/ts3.4/models/enums.d.ts +313 -0
  260. package/dist-types/ts3.4/models/errors.d.ts +286 -0
  261. package/dist-types/ts3.4/models/models_0.d.ts +1557 -0
  262. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  263. package/dist-types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts +11 -0
  264. package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +11 -0
  265. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +11 -0
  266. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +11 -0
  267. package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +11 -0
  268. package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +8 -0
  269. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  270. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +114 -0
  271. package/dist-types/ts3.4/runtimeConfig.d.ts +111 -0
  272. package/dist-types/ts3.4/runtimeConfig.native.d.ts +118 -0
  273. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  274. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  275. package/dist-types/ts3.4/schemas/schemas_0.d.ts +325 -0
  276. package/dist-types/ts3.4/waiters/index.d.ts +6 -0
  277. package/dist-types/ts3.4/waiters/waitForContributorInsightsEnabled.d.ts +11 -0
  278. package/dist-types/ts3.4/waiters/waitForExportCompleted.d.ts +11 -0
  279. package/dist-types/ts3.4/waiters/waitForImportCompleted.d.ts +11 -0
  280. package/dist-types/ts3.4/waiters/waitForKinesisStreamingDestinationActive.d.ts +11 -0
  281. package/dist-types/ts3.4/waiters/waitForTableExists.d.ts +11 -0
  282. package/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts +11 -0
  283. package/dist-types/waiters/index.d.ts +6 -0
  284. package/dist-types/waiters/waitForContributorInsightsEnabled.d.ts +14 -0
  285. package/dist-types/waiters/waitForExportCompleted.d.ts +14 -0
  286. package/dist-types/waiters/waitForImportCompleted.d.ts +14 -0
  287. package/dist-types/waiters/waitForKinesisStreamingDestinationActive.d.ts +14 -0
  288. package/dist-types/waiters/waitForTableExists.d.ts +14 -0
  289. package/dist-types/waiters/waitForTableNotExists.d.ts +14 -0
  290. package/package.json +130 -0
@@ -0,0 +1,1667 @@
1
+ 'use strict';
2
+
3
+ var accountIdEndpoint = require('@aws-sdk/core/account-id-endpoint');
4
+ var middlewareEndpointDiscovery = require('@aws-sdk/middleware-endpoint-discovery');
5
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
6
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
7
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
8
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
9
+ var configResolver = require('@smithy/config-resolver');
10
+ var core = require('@smithy/core');
11
+ var schema = require('@smithy/core/schema');
12
+ var middlewareContentLength = require('@smithy/middleware-content-length');
13
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
14
+ var middlewareRetry = require('@smithy/middleware-retry');
15
+ var smithyClient = require('@smithy/smithy-client');
16
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
17
+ var schemas_0 = require('./schemas/schemas_0');
18
+ var runtimeConfig = require('./runtimeConfig');
19
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
20
+ var protocolHttp = require('@smithy/protocol-http');
21
+ var utilWaiter = require('@smithy/util-waiter');
22
+ var errors = require('./models/errors');
23
+ var DynamoDBServiceException = require('./models/DynamoDBServiceException');
24
+
25
+ const resolveClientEndpointParameters = (options) => {
26
+ return Object.assign(options, {
27
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
28
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
29
+ defaultSigningName: "dynamodb",
30
+ });
31
+ };
32
+ const commonParams = {
33
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
34
+ AccountId: { type: "builtInParams", name: "accountId" },
35
+ Endpoint: { type: "builtInParams", name: "endpoint" },
36
+ Region: { type: "builtInParams", name: "region" },
37
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
38
+ AccountIdEndpointMode: { type: "builtInParams", name: "accountIdEndpointMode" },
39
+ };
40
+
41
+ class DescribeEndpointsCommand extends smithyClient.Command
42
+ .classBuilder()
43
+ .ep(commonParams)
44
+ .m(function (Command, cs, config, o) {
45
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
46
+ })
47
+ .s("DynamoDB_20120810", "DescribeEndpoints", {})
48
+ .n("DynamoDBClient", "DescribeEndpointsCommand")
49
+ .sc(schemas_0.DescribeEndpoints$)
50
+ .build() {
51
+ }
52
+
53
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
54
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
55
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
56
+ let _credentials = runtimeConfig.credentials;
57
+ return {
58
+ setHttpAuthScheme(httpAuthScheme) {
59
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
60
+ if (index === -1) {
61
+ _httpAuthSchemes.push(httpAuthScheme);
62
+ }
63
+ else {
64
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
65
+ }
66
+ },
67
+ httpAuthSchemes() {
68
+ return _httpAuthSchemes;
69
+ },
70
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
71
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
72
+ },
73
+ httpAuthSchemeProvider() {
74
+ return _httpAuthSchemeProvider;
75
+ },
76
+ setCredentials(credentials) {
77
+ _credentials = credentials;
78
+ },
79
+ credentials() {
80
+ return _credentials;
81
+ },
82
+ };
83
+ };
84
+ const resolveHttpAuthRuntimeConfig = (config) => {
85
+ return {
86
+ httpAuthSchemes: config.httpAuthSchemes(),
87
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
88
+ credentials: config.credentials(),
89
+ };
90
+ };
91
+
92
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
93
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
94
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
95
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
96
+ };
97
+
98
+ class DynamoDBClient extends smithyClient.Client {
99
+ config;
100
+ constructor(...[configuration]) {
101
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
102
+ super(_config_0);
103
+ this.initConfig = _config_0;
104
+ const _config_1 = resolveClientEndpointParameters(_config_0);
105
+ const _config_2 = accountIdEndpoint.resolveAccountIdEndpointModeConfig(_config_1);
106
+ const _config_3 = middlewareUserAgent.resolveUserAgentConfig(_config_2);
107
+ const _config_4 = middlewareRetry.resolveRetryConfig(_config_3);
108
+ const _config_5 = configResolver.resolveRegionConfig(_config_4);
109
+ const _config_6 = middlewareHostHeader.resolveHostHeaderConfig(_config_5);
110
+ const _config_7 = middlewareEndpoint.resolveEndpointConfig(_config_6);
111
+ const _config_8 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_7);
112
+ const _config_9 = middlewareEndpointDiscovery.resolveEndpointDiscoveryConfig(_config_8, { endpointDiscoveryCommandCtor: DescribeEndpointsCommand });
113
+ const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
114
+ this.config = _config_10;
115
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
116
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
117
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
118
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
119
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
120
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
121
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
122
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
123
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultDynamoDBHttpAuthSchemeParametersProvider,
124
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
125
+ "aws.auth#sigv4": config.credentials,
126
+ }),
127
+ }));
128
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
129
+ }
130
+ destroy() {
131
+ super.destroy();
132
+ }
133
+ }
134
+
135
+ class BatchExecuteStatementCommand extends smithyClient.Command
136
+ .classBuilder()
137
+ .ep(commonParams)
138
+ .m(function (Command, cs, config, o) {
139
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
140
+ })
141
+ .s("DynamoDB_20120810", "BatchExecuteStatement", {})
142
+ .n("DynamoDBClient", "BatchExecuteStatementCommand")
143
+ .sc(schemas_0.BatchExecuteStatement$)
144
+ .build() {
145
+ }
146
+
147
+ class BatchGetItemCommand extends smithyClient.Command
148
+ .classBuilder()
149
+ .ep({
150
+ ...commonParams,
151
+ ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
152
+ })
153
+ .m(function (Command, cs, config, o) {
154
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
155
+ })
156
+ .s("DynamoDB_20120810", "BatchGetItem", {})
157
+ .n("DynamoDBClient", "BatchGetItemCommand")
158
+ .sc(schemas_0.BatchGetItem$)
159
+ .build() {
160
+ }
161
+
162
+ class BatchWriteItemCommand extends smithyClient.Command
163
+ .classBuilder()
164
+ .ep({
165
+ ...commonParams,
166
+ ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
167
+ })
168
+ .m(function (Command, cs, config, o) {
169
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
170
+ })
171
+ .s("DynamoDB_20120810", "BatchWriteItem", {})
172
+ .n("DynamoDBClient", "BatchWriteItemCommand")
173
+ .sc(schemas_0.BatchWriteItem$)
174
+ .build() {
175
+ }
176
+
177
+ class CreateBackupCommand extends smithyClient.Command
178
+ .classBuilder()
179
+ .ep({
180
+ ...commonParams,
181
+ ResourceArn: { type: "contextParams", name: "TableName" },
182
+ })
183
+ .m(function (Command, cs, config, o) {
184
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
185
+ })
186
+ .s("DynamoDB_20120810", "CreateBackup", {})
187
+ .n("DynamoDBClient", "CreateBackupCommand")
188
+ .sc(schemas_0.CreateBackup$)
189
+ .build() {
190
+ }
191
+
192
+ class CreateGlobalTableCommand extends smithyClient.Command
193
+ .classBuilder()
194
+ .ep({
195
+ ...commonParams,
196
+ ResourceArn: { type: "contextParams", name: "GlobalTableName" },
197
+ })
198
+ .m(function (Command, cs, config, o) {
199
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
200
+ })
201
+ .s("DynamoDB_20120810", "CreateGlobalTable", {})
202
+ .n("DynamoDBClient", "CreateGlobalTableCommand")
203
+ .sc(schemas_0.CreateGlobalTable$)
204
+ .build() {
205
+ }
206
+
207
+ class CreateTableCommand extends smithyClient.Command
208
+ .classBuilder()
209
+ .ep({
210
+ ...commonParams,
211
+ ResourceArn: { type: "contextParams", name: "TableName" },
212
+ })
213
+ .m(function (Command, cs, config, o) {
214
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
215
+ })
216
+ .s("DynamoDB_20120810", "CreateTable", {})
217
+ .n("DynamoDBClient", "CreateTableCommand")
218
+ .sc(schemas_0.CreateTable$)
219
+ .build() {
220
+ }
221
+
222
+ class DeleteBackupCommand extends smithyClient.Command
223
+ .classBuilder()
224
+ .ep({
225
+ ...commonParams,
226
+ ResourceArn: { type: "contextParams", name: "BackupArn" },
227
+ })
228
+ .m(function (Command, cs, config, o) {
229
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
230
+ })
231
+ .s("DynamoDB_20120810", "DeleteBackup", {})
232
+ .n("DynamoDBClient", "DeleteBackupCommand")
233
+ .sc(schemas_0.DeleteBackup$)
234
+ .build() {
235
+ }
236
+
237
+ class DeleteItemCommand extends smithyClient.Command
238
+ .classBuilder()
239
+ .ep({
240
+ ...commonParams,
241
+ ResourceArn: { type: "contextParams", name: "TableName" },
242
+ })
243
+ .m(function (Command, cs, config, o) {
244
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
245
+ })
246
+ .s("DynamoDB_20120810", "DeleteItem", {})
247
+ .n("DynamoDBClient", "DeleteItemCommand")
248
+ .sc(schemas_0.DeleteItem$)
249
+ .build() {
250
+ }
251
+
252
+ class DeleteResourcePolicyCommand extends smithyClient.Command
253
+ .classBuilder()
254
+ .ep({
255
+ ...commonParams,
256
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
257
+ })
258
+ .m(function (Command, cs, config, o) {
259
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
260
+ })
261
+ .s("DynamoDB_20120810", "DeleteResourcePolicy", {})
262
+ .n("DynamoDBClient", "DeleteResourcePolicyCommand")
263
+ .sc(schemas_0.DeleteResourcePolicy$)
264
+ .build() {
265
+ }
266
+
267
+ class DeleteTableCommand extends smithyClient.Command
268
+ .classBuilder()
269
+ .ep({
270
+ ...commonParams,
271
+ ResourceArn: { type: "contextParams", name: "TableName" },
272
+ })
273
+ .m(function (Command, cs, config, o) {
274
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
275
+ })
276
+ .s("DynamoDB_20120810", "DeleteTable", {})
277
+ .n("DynamoDBClient", "DeleteTableCommand")
278
+ .sc(schemas_0.DeleteTable$)
279
+ .build() {
280
+ }
281
+
282
+ class DescribeBackupCommand extends smithyClient.Command
283
+ .classBuilder()
284
+ .ep({
285
+ ...commonParams,
286
+ ResourceArn: { type: "contextParams", name: "BackupArn" },
287
+ })
288
+ .m(function (Command, cs, config, o) {
289
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
290
+ })
291
+ .s("DynamoDB_20120810", "DescribeBackup", {})
292
+ .n("DynamoDBClient", "DescribeBackupCommand")
293
+ .sc(schemas_0.DescribeBackup$)
294
+ .build() {
295
+ }
296
+
297
+ class DescribeContinuousBackupsCommand extends smithyClient.Command
298
+ .classBuilder()
299
+ .ep({
300
+ ...commonParams,
301
+ ResourceArn: { type: "contextParams", name: "TableName" },
302
+ })
303
+ .m(function (Command, cs, config, o) {
304
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
305
+ })
306
+ .s("DynamoDB_20120810", "DescribeContinuousBackups", {})
307
+ .n("DynamoDBClient", "DescribeContinuousBackupsCommand")
308
+ .sc(schemas_0.DescribeContinuousBackups$)
309
+ .build() {
310
+ }
311
+
312
+ class DescribeContributorInsightsCommand extends smithyClient.Command
313
+ .classBuilder()
314
+ .ep({
315
+ ...commonParams,
316
+ ResourceArn: { type: "contextParams", name: "TableName" },
317
+ })
318
+ .m(function (Command, cs, config, o) {
319
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
320
+ })
321
+ .s("DynamoDB_20120810", "DescribeContributorInsights", {})
322
+ .n("DynamoDBClient", "DescribeContributorInsightsCommand")
323
+ .sc(schemas_0.DescribeContributorInsights$)
324
+ .build() {
325
+ }
326
+
327
+ class DescribeExportCommand extends smithyClient.Command
328
+ .classBuilder()
329
+ .ep({
330
+ ...commonParams,
331
+ ResourceArn: { type: "contextParams", name: "ExportArn" },
332
+ })
333
+ .m(function (Command, cs, config, o) {
334
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
335
+ })
336
+ .s("DynamoDB_20120810", "DescribeExport", {})
337
+ .n("DynamoDBClient", "DescribeExportCommand")
338
+ .sc(schemas_0.DescribeExport$)
339
+ .build() {
340
+ }
341
+
342
+ class DescribeGlobalTableCommand extends smithyClient.Command
343
+ .classBuilder()
344
+ .ep({
345
+ ...commonParams,
346
+ ResourceArn: { type: "contextParams", name: "GlobalTableName" },
347
+ })
348
+ .m(function (Command, cs, config, o) {
349
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
350
+ })
351
+ .s("DynamoDB_20120810", "DescribeGlobalTable", {})
352
+ .n("DynamoDBClient", "DescribeGlobalTableCommand")
353
+ .sc(schemas_0.DescribeGlobalTable$)
354
+ .build() {
355
+ }
356
+
357
+ class DescribeGlobalTableSettingsCommand extends smithyClient.Command
358
+ .classBuilder()
359
+ .ep({
360
+ ...commonParams,
361
+ ResourceArn: { type: "contextParams", name: "GlobalTableName" },
362
+ })
363
+ .m(function (Command, cs, config, o) {
364
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
365
+ })
366
+ .s("DynamoDB_20120810", "DescribeGlobalTableSettings", {})
367
+ .n("DynamoDBClient", "DescribeGlobalTableSettingsCommand")
368
+ .sc(schemas_0.DescribeGlobalTableSettings$)
369
+ .build() {
370
+ }
371
+
372
+ class DescribeImportCommand extends smithyClient.Command
373
+ .classBuilder()
374
+ .ep({
375
+ ...commonParams,
376
+ ResourceArn: { type: "contextParams", name: "ImportArn" },
377
+ })
378
+ .m(function (Command, cs, config, o) {
379
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
380
+ })
381
+ .s("DynamoDB_20120810", "DescribeImport", {})
382
+ .n("DynamoDBClient", "DescribeImportCommand")
383
+ .sc(schemas_0.DescribeImport$)
384
+ .build() {
385
+ }
386
+
387
+ class DescribeKinesisStreamingDestinationCommand extends smithyClient.Command
388
+ .classBuilder()
389
+ .ep({
390
+ ...commonParams,
391
+ ResourceArn: { type: "contextParams", name: "TableName" },
392
+ })
393
+ .m(function (Command, cs, config, o) {
394
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
395
+ })
396
+ .s("DynamoDB_20120810", "DescribeKinesisStreamingDestination", {})
397
+ .n("DynamoDBClient", "DescribeKinesisStreamingDestinationCommand")
398
+ .sc(schemas_0.DescribeKinesisStreamingDestination$)
399
+ .build() {
400
+ }
401
+
402
+ class DescribeLimitsCommand extends smithyClient.Command
403
+ .classBuilder()
404
+ .ep(commonParams)
405
+ .m(function (Command, cs, config, o) {
406
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
407
+ })
408
+ .s("DynamoDB_20120810", "DescribeLimits", {})
409
+ .n("DynamoDBClient", "DescribeLimitsCommand")
410
+ .sc(schemas_0.DescribeLimits$)
411
+ .build() {
412
+ }
413
+
414
+ class DescribeTableCommand extends smithyClient.Command
415
+ .classBuilder()
416
+ .ep({
417
+ ...commonParams,
418
+ ResourceArn: { type: "contextParams", name: "TableName" },
419
+ })
420
+ .m(function (Command, cs, config, o) {
421
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
422
+ })
423
+ .s("DynamoDB_20120810", "DescribeTable", {})
424
+ .n("DynamoDBClient", "DescribeTableCommand")
425
+ .sc(schemas_0.DescribeTable$)
426
+ .build() {
427
+ }
428
+
429
+ class DescribeTableReplicaAutoScalingCommand extends smithyClient.Command
430
+ .classBuilder()
431
+ .ep({
432
+ ...commonParams,
433
+ ResourceArn: { type: "contextParams", name: "TableName" },
434
+ })
435
+ .m(function (Command, cs, config, o) {
436
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
437
+ })
438
+ .s("DynamoDB_20120810", "DescribeTableReplicaAutoScaling", {})
439
+ .n("DynamoDBClient", "DescribeTableReplicaAutoScalingCommand")
440
+ .sc(schemas_0.DescribeTableReplicaAutoScaling$)
441
+ .build() {
442
+ }
443
+
444
+ class DescribeTimeToLiveCommand extends smithyClient.Command
445
+ .classBuilder()
446
+ .ep({
447
+ ...commonParams,
448
+ ResourceArn: { type: "contextParams", name: "TableName" },
449
+ })
450
+ .m(function (Command, cs, config, o) {
451
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
452
+ })
453
+ .s("DynamoDB_20120810", "DescribeTimeToLive", {})
454
+ .n("DynamoDBClient", "DescribeTimeToLiveCommand")
455
+ .sc(schemas_0.DescribeTimeToLive$)
456
+ .build() {
457
+ }
458
+
459
+ class DisableKinesisStreamingDestinationCommand extends smithyClient.Command
460
+ .classBuilder()
461
+ .ep({
462
+ ...commonParams,
463
+ ResourceArn: { type: "contextParams", name: "TableName" },
464
+ })
465
+ .m(function (Command, cs, config, o) {
466
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
467
+ })
468
+ .s("DynamoDB_20120810", "DisableKinesisStreamingDestination", {})
469
+ .n("DynamoDBClient", "DisableKinesisStreamingDestinationCommand")
470
+ .sc(schemas_0.DisableKinesisStreamingDestination$)
471
+ .build() {
472
+ }
473
+
474
+ class EnableKinesisStreamingDestinationCommand extends smithyClient.Command
475
+ .classBuilder()
476
+ .ep({
477
+ ...commonParams,
478
+ ResourceArn: { type: "contextParams", name: "TableName" },
479
+ })
480
+ .m(function (Command, cs, config, o) {
481
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
482
+ })
483
+ .s("DynamoDB_20120810", "EnableKinesisStreamingDestination", {})
484
+ .n("DynamoDBClient", "EnableKinesisStreamingDestinationCommand")
485
+ .sc(schemas_0.EnableKinesisStreamingDestination$)
486
+ .build() {
487
+ }
488
+
489
+ class ExecuteStatementCommand extends smithyClient.Command
490
+ .classBuilder()
491
+ .ep(commonParams)
492
+ .m(function (Command, cs, config, o) {
493
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
494
+ })
495
+ .s("DynamoDB_20120810", "ExecuteStatement", {})
496
+ .n("DynamoDBClient", "ExecuteStatementCommand")
497
+ .sc(schemas_0.ExecuteStatement$)
498
+ .build() {
499
+ }
500
+
501
+ class ExecuteTransactionCommand extends smithyClient.Command
502
+ .classBuilder()
503
+ .ep(commonParams)
504
+ .m(function (Command, cs, config, o) {
505
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
506
+ })
507
+ .s("DynamoDB_20120810", "ExecuteTransaction", {})
508
+ .n("DynamoDBClient", "ExecuteTransactionCommand")
509
+ .sc(schemas_0.ExecuteTransaction$)
510
+ .build() {
511
+ }
512
+
513
+ class ExportTableToPointInTimeCommand extends smithyClient.Command
514
+ .classBuilder()
515
+ .ep({
516
+ ...commonParams,
517
+ ResourceArn: { type: "contextParams", name: "TableArn" },
518
+ })
519
+ .m(function (Command, cs, config, o) {
520
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
521
+ })
522
+ .s("DynamoDB_20120810", "ExportTableToPointInTime", {})
523
+ .n("DynamoDBClient", "ExportTableToPointInTimeCommand")
524
+ .sc(schemas_0.ExportTableToPointInTime$)
525
+ .build() {
526
+ }
527
+
528
+ class GetItemCommand extends smithyClient.Command
529
+ .classBuilder()
530
+ .ep({
531
+ ...commonParams,
532
+ ResourceArn: { type: "contextParams", name: "TableName" },
533
+ })
534
+ .m(function (Command, cs, config, o) {
535
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
536
+ })
537
+ .s("DynamoDB_20120810", "GetItem", {})
538
+ .n("DynamoDBClient", "GetItemCommand")
539
+ .sc(schemas_0.GetItem$)
540
+ .build() {
541
+ }
542
+
543
+ class GetResourcePolicyCommand extends smithyClient.Command
544
+ .classBuilder()
545
+ .ep({
546
+ ...commonParams,
547
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
548
+ })
549
+ .m(function (Command, cs, config, o) {
550
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
551
+ })
552
+ .s("DynamoDB_20120810", "GetResourcePolicy", {})
553
+ .n("DynamoDBClient", "GetResourcePolicyCommand")
554
+ .sc(schemas_0.GetResourcePolicy$)
555
+ .build() {
556
+ }
557
+
558
+ class ImportTableCommand extends smithyClient.Command
559
+ .classBuilder()
560
+ .ep({
561
+ ...commonParams,
562
+ ResourceArn: { type: "operationContextParams", get: (input) => input?.TableCreationParameters?.TableName },
563
+ })
564
+ .m(function (Command, cs, config, o) {
565
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
566
+ })
567
+ .s("DynamoDB_20120810", "ImportTable", {})
568
+ .n("DynamoDBClient", "ImportTableCommand")
569
+ .sc(schemas_0.ImportTable$)
570
+ .build() {
571
+ }
572
+
573
+ class ListBackupsCommand extends smithyClient.Command
574
+ .classBuilder()
575
+ .ep({
576
+ ...commonParams,
577
+ ResourceArn: { type: "contextParams", name: "TableName" },
578
+ })
579
+ .m(function (Command, cs, config, o) {
580
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
581
+ })
582
+ .s("DynamoDB_20120810", "ListBackups", {})
583
+ .n("DynamoDBClient", "ListBackupsCommand")
584
+ .sc(schemas_0.ListBackups$)
585
+ .build() {
586
+ }
587
+
588
+ class ListContributorInsightsCommand extends smithyClient.Command
589
+ .classBuilder()
590
+ .ep({
591
+ ...commonParams,
592
+ ResourceArn: { type: "contextParams", name: "TableName" },
593
+ })
594
+ .m(function (Command, cs, config, o) {
595
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
596
+ })
597
+ .s("DynamoDB_20120810", "ListContributorInsights", {})
598
+ .n("DynamoDBClient", "ListContributorInsightsCommand")
599
+ .sc(schemas_0.ListContributorInsights$)
600
+ .build() {
601
+ }
602
+
603
+ class ListExportsCommand extends smithyClient.Command
604
+ .classBuilder()
605
+ .ep({
606
+ ...commonParams,
607
+ ResourceArn: { type: "contextParams", name: "TableArn" },
608
+ })
609
+ .m(function (Command, cs, config, o) {
610
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
611
+ })
612
+ .s("DynamoDB_20120810", "ListExports", {})
613
+ .n("DynamoDBClient", "ListExportsCommand")
614
+ .sc(schemas_0.ListExports$)
615
+ .build() {
616
+ }
617
+
618
+ class ListGlobalTablesCommand extends smithyClient.Command
619
+ .classBuilder()
620
+ .ep(commonParams)
621
+ .m(function (Command, cs, config, o) {
622
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
623
+ })
624
+ .s("DynamoDB_20120810", "ListGlobalTables", {})
625
+ .n("DynamoDBClient", "ListGlobalTablesCommand")
626
+ .sc(schemas_0.ListGlobalTables$)
627
+ .build() {
628
+ }
629
+
630
+ class ListImportsCommand extends smithyClient.Command
631
+ .classBuilder()
632
+ .ep({
633
+ ...commonParams,
634
+ ResourceArn: { type: "contextParams", name: "TableArn" },
635
+ })
636
+ .m(function (Command, cs, config, o) {
637
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
638
+ })
639
+ .s("DynamoDB_20120810", "ListImports", {})
640
+ .n("DynamoDBClient", "ListImportsCommand")
641
+ .sc(schemas_0.ListImports$)
642
+ .build() {
643
+ }
644
+
645
+ class ListTablesCommand extends smithyClient.Command
646
+ .classBuilder()
647
+ .ep(commonParams)
648
+ .m(function (Command, cs, config, o) {
649
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
650
+ })
651
+ .s("DynamoDB_20120810", "ListTables", {})
652
+ .n("DynamoDBClient", "ListTablesCommand")
653
+ .sc(schemas_0.ListTables$)
654
+ .build() {
655
+ }
656
+
657
+ class ListTagsOfResourceCommand extends smithyClient.Command
658
+ .classBuilder()
659
+ .ep({
660
+ ...commonParams,
661
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
662
+ })
663
+ .m(function (Command, cs, config, o) {
664
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
665
+ })
666
+ .s("DynamoDB_20120810", "ListTagsOfResource", {})
667
+ .n("DynamoDBClient", "ListTagsOfResourceCommand")
668
+ .sc(schemas_0.ListTagsOfResource$)
669
+ .build() {
670
+ }
671
+
672
+ class PutItemCommand extends smithyClient.Command
673
+ .classBuilder()
674
+ .ep({
675
+ ...commonParams,
676
+ ResourceArn: { type: "contextParams", name: "TableName" },
677
+ })
678
+ .m(function (Command, cs, config, o) {
679
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
680
+ })
681
+ .s("DynamoDB_20120810", "PutItem", {})
682
+ .n("DynamoDBClient", "PutItemCommand")
683
+ .sc(schemas_0.PutItem$)
684
+ .build() {
685
+ }
686
+
687
+ class PutResourcePolicyCommand extends smithyClient.Command
688
+ .classBuilder()
689
+ .ep({
690
+ ...commonParams,
691
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
692
+ })
693
+ .m(function (Command, cs, config, o) {
694
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
695
+ })
696
+ .s("DynamoDB_20120810", "PutResourcePolicy", {})
697
+ .n("DynamoDBClient", "PutResourcePolicyCommand")
698
+ .sc(schemas_0.PutResourcePolicy$)
699
+ .build() {
700
+ }
701
+
702
+ class QueryCommand extends smithyClient.Command
703
+ .classBuilder()
704
+ .ep({
705
+ ...commonParams,
706
+ ResourceArn: { type: "contextParams", name: "TableName" },
707
+ })
708
+ .m(function (Command, cs, config, o) {
709
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
710
+ })
711
+ .s("DynamoDB_20120810", "Query", {})
712
+ .n("DynamoDBClient", "QueryCommand")
713
+ .sc(schemas_0.Query$)
714
+ .build() {
715
+ }
716
+
717
+ class RestoreTableFromBackupCommand extends smithyClient.Command
718
+ .classBuilder()
719
+ .ep({
720
+ ...commonParams,
721
+ ResourceArn: { type: "contextParams", name: "TargetTableName" },
722
+ })
723
+ .m(function (Command, cs, config, o) {
724
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
725
+ })
726
+ .s("DynamoDB_20120810", "RestoreTableFromBackup", {})
727
+ .n("DynamoDBClient", "RestoreTableFromBackupCommand")
728
+ .sc(schemas_0.RestoreTableFromBackup$)
729
+ .build() {
730
+ }
731
+
732
+ class RestoreTableToPointInTimeCommand extends smithyClient.Command
733
+ .classBuilder()
734
+ .ep({
735
+ ...commonParams,
736
+ ResourceArn: { type: "contextParams", name: "TargetTableName" },
737
+ })
738
+ .m(function (Command, cs, config, o) {
739
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
740
+ })
741
+ .s("DynamoDB_20120810", "RestoreTableToPointInTime", {})
742
+ .n("DynamoDBClient", "RestoreTableToPointInTimeCommand")
743
+ .sc(schemas_0.RestoreTableToPointInTime$)
744
+ .build() {
745
+ }
746
+
747
+ class ScanCommand extends smithyClient.Command
748
+ .classBuilder()
749
+ .ep({
750
+ ...commonParams,
751
+ ResourceArn: { type: "contextParams", name: "TableName" },
752
+ })
753
+ .m(function (Command, cs, config, o) {
754
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
755
+ })
756
+ .s("DynamoDB_20120810", "Scan", {})
757
+ .n("DynamoDBClient", "ScanCommand")
758
+ .sc(schemas_0.Scan$)
759
+ .build() {
760
+ }
761
+
762
+ class TagResourceCommand extends smithyClient.Command
763
+ .classBuilder()
764
+ .ep({
765
+ ...commonParams,
766
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
767
+ })
768
+ .m(function (Command, cs, config, o) {
769
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
770
+ })
771
+ .s("DynamoDB_20120810", "TagResource", {})
772
+ .n("DynamoDBClient", "TagResourceCommand")
773
+ .sc(schemas_0.TagResource$)
774
+ .build() {
775
+ }
776
+
777
+ class TransactGetItemsCommand extends smithyClient.Command
778
+ .classBuilder()
779
+ .ep({
780
+ ...commonParams,
781
+ ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => obj?.Get?.TableName) },
782
+ })
783
+ .m(function (Command, cs, config, o) {
784
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
785
+ })
786
+ .s("DynamoDB_20120810", "TransactGetItems", {})
787
+ .n("DynamoDBClient", "TransactGetItemsCommand")
788
+ .sc(schemas_0.TransactGetItems$)
789
+ .build() {
790
+ }
791
+
792
+ class TransactWriteItemsCommand extends smithyClient.Command
793
+ .classBuilder()
794
+ .ep({
795
+ ...commonParams,
796
+ ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => [obj?.ConditionCheck?.TableName, obj?.Put?.TableName, obj?.Delete?.TableName, obj?.Update?.TableName].filter((i) => i)).flat() },
797
+ })
798
+ .m(function (Command, cs, config, o) {
799
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
800
+ })
801
+ .s("DynamoDB_20120810", "TransactWriteItems", {})
802
+ .n("DynamoDBClient", "TransactWriteItemsCommand")
803
+ .sc(schemas_0.TransactWriteItems$)
804
+ .build() {
805
+ }
806
+
807
+ class UntagResourceCommand extends smithyClient.Command
808
+ .classBuilder()
809
+ .ep({
810
+ ...commonParams,
811
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
812
+ })
813
+ .m(function (Command, cs, config, o) {
814
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
815
+ })
816
+ .s("DynamoDB_20120810", "UntagResource", {})
817
+ .n("DynamoDBClient", "UntagResourceCommand")
818
+ .sc(schemas_0.UntagResource$)
819
+ .build() {
820
+ }
821
+
822
+ class UpdateContinuousBackupsCommand extends smithyClient.Command
823
+ .classBuilder()
824
+ .ep({
825
+ ...commonParams,
826
+ ResourceArn: { type: "contextParams", name: "TableName" },
827
+ })
828
+ .m(function (Command, cs, config, o) {
829
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
830
+ })
831
+ .s("DynamoDB_20120810", "UpdateContinuousBackups", {})
832
+ .n("DynamoDBClient", "UpdateContinuousBackupsCommand")
833
+ .sc(schemas_0.UpdateContinuousBackups$)
834
+ .build() {
835
+ }
836
+
837
+ class UpdateContributorInsightsCommand extends smithyClient.Command
838
+ .classBuilder()
839
+ .ep({
840
+ ...commonParams,
841
+ ResourceArn: { type: "contextParams", name: "TableName" },
842
+ })
843
+ .m(function (Command, cs, config, o) {
844
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
845
+ })
846
+ .s("DynamoDB_20120810", "UpdateContributorInsights", {})
847
+ .n("DynamoDBClient", "UpdateContributorInsightsCommand")
848
+ .sc(schemas_0.UpdateContributorInsights$)
849
+ .build() {
850
+ }
851
+
852
+ class UpdateGlobalTableCommand extends smithyClient.Command
853
+ .classBuilder()
854
+ .ep({
855
+ ...commonParams,
856
+ ResourceArn: { type: "contextParams", name: "GlobalTableName" },
857
+ })
858
+ .m(function (Command, cs, config, o) {
859
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
860
+ })
861
+ .s("DynamoDB_20120810", "UpdateGlobalTable", {})
862
+ .n("DynamoDBClient", "UpdateGlobalTableCommand")
863
+ .sc(schemas_0.UpdateGlobalTable$)
864
+ .build() {
865
+ }
866
+
867
+ class UpdateGlobalTableSettingsCommand extends smithyClient.Command
868
+ .classBuilder()
869
+ .ep({
870
+ ...commonParams,
871
+ ResourceArn: { type: "contextParams", name: "GlobalTableName" },
872
+ })
873
+ .m(function (Command, cs, config, o) {
874
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
875
+ })
876
+ .s("DynamoDB_20120810", "UpdateGlobalTableSettings", {})
877
+ .n("DynamoDBClient", "UpdateGlobalTableSettingsCommand")
878
+ .sc(schemas_0.UpdateGlobalTableSettings$)
879
+ .build() {
880
+ }
881
+
882
+ class UpdateItemCommand extends smithyClient.Command
883
+ .classBuilder()
884
+ .ep({
885
+ ...commonParams,
886
+ ResourceArn: { type: "contextParams", name: "TableName" },
887
+ })
888
+ .m(function (Command, cs, config, o) {
889
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
890
+ })
891
+ .s("DynamoDB_20120810", "UpdateItem", {})
892
+ .n("DynamoDBClient", "UpdateItemCommand")
893
+ .sc(schemas_0.UpdateItem$)
894
+ .build() {
895
+ }
896
+
897
+ class UpdateKinesisStreamingDestinationCommand extends smithyClient.Command
898
+ .classBuilder()
899
+ .ep({
900
+ ...commonParams,
901
+ ResourceArn: { type: "contextParams", name: "TableName" },
902
+ })
903
+ .m(function (Command, cs, config, o) {
904
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
905
+ })
906
+ .s("DynamoDB_20120810", "UpdateKinesisStreamingDestination", {})
907
+ .n("DynamoDBClient", "UpdateKinesisStreamingDestinationCommand")
908
+ .sc(schemas_0.UpdateKinesisStreamingDestination$)
909
+ .build() {
910
+ }
911
+
912
+ class UpdateTableCommand extends smithyClient.Command
913
+ .classBuilder()
914
+ .ep({
915
+ ...commonParams,
916
+ ResourceArn: { type: "contextParams", name: "TableName" },
917
+ })
918
+ .m(function (Command, cs, config, o) {
919
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
920
+ })
921
+ .s("DynamoDB_20120810", "UpdateTable", {})
922
+ .n("DynamoDBClient", "UpdateTableCommand")
923
+ .sc(schemas_0.UpdateTable$)
924
+ .build() {
925
+ }
926
+
927
+ class UpdateTableReplicaAutoScalingCommand extends smithyClient.Command
928
+ .classBuilder()
929
+ .ep({
930
+ ...commonParams,
931
+ ResourceArn: { type: "contextParams", name: "TableName" },
932
+ })
933
+ .m(function (Command, cs, config, o) {
934
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
935
+ })
936
+ .s("DynamoDB_20120810", "UpdateTableReplicaAutoScaling", {})
937
+ .n("DynamoDBClient", "UpdateTableReplicaAutoScalingCommand")
938
+ .sc(schemas_0.UpdateTableReplicaAutoScaling$)
939
+ .build() {
940
+ }
941
+
942
+ class UpdateTimeToLiveCommand extends smithyClient.Command
943
+ .classBuilder()
944
+ .ep({
945
+ ...commonParams,
946
+ ResourceArn: { type: "contextParams", name: "TableName" },
947
+ })
948
+ .m(function (Command, cs, config, o) {
949
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
950
+ })
951
+ .s("DynamoDB_20120810", "UpdateTimeToLive", {})
952
+ .n("DynamoDBClient", "UpdateTimeToLiveCommand")
953
+ .sc(schemas_0.UpdateTimeToLive$)
954
+ .build() {
955
+ }
956
+
957
+ const paginateListContributorInsights = core.createPaginator(DynamoDBClient, ListContributorInsightsCommand, "NextToken", "NextToken", "MaxResults");
958
+
959
+ const paginateListExports = core.createPaginator(DynamoDBClient, ListExportsCommand, "NextToken", "NextToken", "MaxResults");
960
+
961
+ const paginateListImports = core.createPaginator(DynamoDBClient, ListImportsCommand, "NextToken", "NextToken", "PageSize");
962
+
963
+ const paginateListTables = core.createPaginator(DynamoDBClient, ListTablesCommand, "ExclusiveStartTableName", "LastEvaluatedTableName", "Limit");
964
+
965
+ const paginateQuery = core.createPaginator(DynamoDBClient, QueryCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
966
+
967
+ const paginateScan = core.createPaginator(DynamoDBClient, ScanCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
968
+
969
+ const checkState$5 = async (client, input) => {
970
+ let reason;
971
+ try {
972
+ let result = await client.send(new DescribeContributorInsightsCommand(input));
973
+ reason = result;
974
+ try {
975
+ const returnComparator = () => {
976
+ return result.ContributorInsightsStatus;
977
+ };
978
+ if (returnComparator() === "ENABLED") {
979
+ return { state: utilWaiter.WaiterState.SUCCESS, reason };
980
+ }
981
+ }
982
+ catch (e) { }
983
+ try {
984
+ const returnComparator = () => {
985
+ return result.ContributorInsightsStatus;
986
+ };
987
+ if (returnComparator() === "FAILED") {
988
+ return { state: utilWaiter.WaiterState.FAILURE, reason };
989
+ }
990
+ }
991
+ catch (e) { }
992
+ }
993
+ catch (exception) {
994
+ reason = exception;
995
+ }
996
+ return { state: utilWaiter.WaiterState.RETRY, reason };
997
+ };
998
+ const waitForContributorInsightsEnabled = async (params, input) => {
999
+ const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1000
+ return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
1001
+ };
1002
+ const waitUntilContributorInsightsEnabled = async (params, input) => {
1003
+ const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1004
+ const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
1005
+ return utilWaiter.checkExceptions(result);
1006
+ };
1007
+
1008
+ const checkState$4 = async (client, input) => {
1009
+ let reason;
1010
+ try {
1011
+ let result = await client.send(new DescribeExportCommand(input));
1012
+ reason = result;
1013
+ try {
1014
+ const returnComparator = () => {
1015
+ return result.ExportDescription.ExportStatus;
1016
+ };
1017
+ if (returnComparator() === "COMPLETED") {
1018
+ return { state: utilWaiter.WaiterState.SUCCESS, reason };
1019
+ }
1020
+ }
1021
+ catch (e) { }
1022
+ try {
1023
+ const returnComparator = () => {
1024
+ return result.ExportDescription.ExportStatus;
1025
+ };
1026
+ if (returnComparator() === "FAILED") {
1027
+ return { state: utilWaiter.WaiterState.FAILURE, reason };
1028
+ }
1029
+ }
1030
+ catch (e) { }
1031
+ }
1032
+ catch (exception) {
1033
+ reason = exception;
1034
+ }
1035
+ return { state: utilWaiter.WaiterState.RETRY, reason };
1036
+ };
1037
+ const waitForExportCompleted = async (params, input) => {
1038
+ const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1039
+ return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
1040
+ };
1041
+ const waitUntilExportCompleted = async (params, input) => {
1042
+ const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1043
+ const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
1044
+ return utilWaiter.checkExceptions(result);
1045
+ };
1046
+
1047
+ const checkState$3 = async (client, input) => {
1048
+ let reason;
1049
+ try {
1050
+ let result = await client.send(new DescribeImportCommand(input));
1051
+ reason = result;
1052
+ try {
1053
+ const returnComparator = () => {
1054
+ return result.ImportTableDescription.ImportStatus;
1055
+ };
1056
+ if (returnComparator() === "COMPLETED") {
1057
+ return { state: utilWaiter.WaiterState.SUCCESS, reason };
1058
+ }
1059
+ }
1060
+ catch (e) { }
1061
+ try {
1062
+ const returnComparator = () => {
1063
+ return result.ImportTableDescription.ImportStatus;
1064
+ };
1065
+ if (returnComparator() === "FAILED") {
1066
+ return { state: utilWaiter.WaiterState.FAILURE, reason };
1067
+ }
1068
+ }
1069
+ catch (e) { }
1070
+ try {
1071
+ const returnComparator = () => {
1072
+ return result.ImportTableDescription.ImportStatus;
1073
+ };
1074
+ if (returnComparator() === "CANCELLED") {
1075
+ return { state: utilWaiter.WaiterState.FAILURE, reason };
1076
+ }
1077
+ }
1078
+ catch (e) { }
1079
+ }
1080
+ catch (exception) {
1081
+ reason = exception;
1082
+ }
1083
+ return { state: utilWaiter.WaiterState.RETRY, reason };
1084
+ };
1085
+ const waitForImportCompleted = async (params, input) => {
1086
+ const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1087
+ return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
1088
+ };
1089
+ const waitUntilImportCompleted = async (params, input) => {
1090
+ const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1091
+ const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
1092
+ return utilWaiter.checkExceptions(result);
1093
+ };
1094
+
1095
+ const checkState$2 = async (client, input) => {
1096
+ let reason;
1097
+ try {
1098
+ let result = await client.send(new DescribeKinesisStreamingDestinationCommand(input));
1099
+ reason = result;
1100
+ try {
1101
+ const returnComparator = () => {
1102
+ let flat_1 = [].concat(...result.KinesisDataStreamDestinations);
1103
+ let projection_3 = flat_1.map((element_2) => {
1104
+ return element_2.DestinationStatus;
1105
+ });
1106
+ return projection_3;
1107
+ };
1108
+ for (let anyStringEq_4 of returnComparator()) {
1109
+ if (anyStringEq_4 == "ACTIVE") {
1110
+ return { state: utilWaiter.WaiterState.SUCCESS, reason };
1111
+ }
1112
+ }
1113
+ }
1114
+ catch (e) { }
1115
+ try {
1116
+ const returnComparator = () => {
1117
+ let filterRes_2 = result.KinesisDataStreamDestinations.filter((element_1) => {
1118
+ return (((element_1.DestinationStatus == "DISABLED") || (element_1.DestinationStatus == "ENABLE_FAILED")) && ((element_1.DestinationStatus == "ENABLE_FAILED") || (element_1.DestinationStatus == "DISABLED")));
1119
+ });
1120
+ return ((result.KinesisDataStreamDestinations.length > 0) && (filterRes_2.length == result.KinesisDataStreamDestinations.length));
1121
+ };
1122
+ if (returnComparator() == true) {
1123
+ return { state: utilWaiter.WaiterState.FAILURE, reason };
1124
+ }
1125
+ }
1126
+ catch (e) { }
1127
+ }
1128
+ catch (exception) {
1129
+ reason = exception;
1130
+ }
1131
+ return { state: utilWaiter.WaiterState.RETRY, reason };
1132
+ };
1133
+ const waitForKinesisStreamingDestinationActive = async (params, input) => {
1134
+ const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1135
+ return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
1136
+ };
1137
+ const waitUntilKinesisStreamingDestinationActive = async (params, input) => {
1138
+ const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1139
+ const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
1140
+ return utilWaiter.checkExceptions(result);
1141
+ };
1142
+
1143
+ const checkState$1 = async (client, input) => {
1144
+ let reason;
1145
+ try {
1146
+ let result = await client.send(new DescribeTableCommand(input));
1147
+ reason = result;
1148
+ try {
1149
+ const returnComparator = () => {
1150
+ return result.Table.TableStatus;
1151
+ };
1152
+ if (returnComparator() === "ACTIVE") {
1153
+ return { state: utilWaiter.WaiterState.SUCCESS, reason };
1154
+ }
1155
+ }
1156
+ catch (e) { }
1157
+ }
1158
+ catch (exception) {
1159
+ reason = exception;
1160
+ if (exception.name && exception.name == "ResourceNotFoundException") {
1161
+ return { state: utilWaiter.WaiterState.RETRY, reason };
1162
+ }
1163
+ }
1164
+ return { state: utilWaiter.WaiterState.RETRY, reason };
1165
+ };
1166
+ const waitForTableExists = async (params, input) => {
1167
+ const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1168
+ return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1169
+ };
1170
+ const waitUntilTableExists = async (params, input) => {
1171
+ const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1172
+ const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1173
+ return utilWaiter.checkExceptions(result);
1174
+ };
1175
+
1176
+ const checkState = async (client, input) => {
1177
+ let reason;
1178
+ try {
1179
+ let result = await client.send(new DescribeTableCommand(input));
1180
+ reason = result;
1181
+ }
1182
+ catch (exception) {
1183
+ reason = exception;
1184
+ if (exception.name && exception.name == "ResourceNotFoundException") {
1185
+ return { state: utilWaiter.WaiterState.SUCCESS, reason };
1186
+ }
1187
+ }
1188
+ return { state: utilWaiter.WaiterState.RETRY, reason };
1189
+ };
1190
+ const waitForTableNotExists = async (params, input) => {
1191
+ const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1192
+ return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1193
+ };
1194
+ const waitUntilTableNotExists = async (params, input) => {
1195
+ const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1196
+ const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1197
+ return utilWaiter.checkExceptions(result);
1198
+ };
1199
+
1200
+ const commands = {
1201
+ BatchExecuteStatementCommand,
1202
+ BatchGetItemCommand,
1203
+ BatchWriteItemCommand,
1204
+ CreateBackupCommand,
1205
+ CreateGlobalTableCommand,
1206
+ CreateTableCommand,
1207
+ DeleteBackupCommand,
1208
+ DeleteItemCommand,
1209
+ DeleteResourcePolicyCommand,
1210
+ DeleteTableCommand,
1211
+ DescribeBackupCommand,
1212
+ DescribeContinuousBackupsCommand,
1213
+ DescribeContributorInsightsCommand,
1214
+ DescribeEndpointsCommand,
1215
+ DescribeExportCommand,
1216
+ DescribeGlobalTableCommand,
1217
+ DescribeGlobalTableSettingsCommand,
1218
+ DescribeImportCommand,
1219
+ DescribeKinesisStreamingDestinationCommand,
1220
+ DescribeLimitsCommand,
1221
+ DescribeTableCommand,
1222
+ DescribeTableReplicaAutoScalingCommand,
1223
+ DescribeTimeToLiveCommand,
1224
+ DisableKinesisStreamingDestinationCommand,
1225
+ EnableKinesisStreamingDestinationCommand,
1226
+ ExecuteStatementCommand,
1227
+ ExecuteTransactionCommand,
1228
+ ExportTableToPointInTimeCommand,
1229
+ GetItemCommand,
1230
+ GetResourcePolicyCommand,
1231
+ ImportTableCommand,
1232
+ ListBackupsCommand,
1233
+ ListContributorInsightsCommand,
1234
+ ListExportsCommand,
1235
+ ListGlobalTablesCommand,
1236
+ ListImportsCommand,
1237
+ ListTablesCommand,
1238
+ ListTagsOfResourceCommand,
1239
+ PutItemCommand,
1240
+ PutResourcePolicyCommand,
1241
+ QueryCommand,
1242
+ RestoreTableFromBackupCommand,
1243
+ RestoreTableToPointInTimeCommand,
1244
+ ScanCommand,
1245
+ TagResourceCommand,
1246
+ TransactGetItemsCommand,
1247
+ TransactWriteItemsCommand,
1248
+ UntagResourceCommand,
1249
+ UpdateContinuousBackupsCommand,
1250
+ UpdateContributorInsightsCommand,
1251
+ UpdateGlobalTableCommand,
1252
+ UpdateGlobalTableSettingsCommand,
1253
+ UpdateItemCommand,
1254
+ UpdateKinesisStreamingDestinationCommand,
1255
+ UpdateTableCommand,
1256
+ UpdateTableReplicaAutoScalingCommand,
1257
+ UpdateTimeToLiveCommand,
1258
+ };
1259
+ const paginators = {
1260
+ paginateListContributorInsights,
1261
+ paginateListExports,
1262
+ paginateListImports,
1263
+ paginateListTables,
1264
+ paginateQuery,
1265
+ paginateScan,
1266
+ };
1267
+ const waiters = {
1268
+ waitUntilContributorInsightsEnabled,
1269
+ waitUntilExportCompleted,
1270
+ waitUntilImportCompleted,
1271
+ waitUntilKinesisStreamingDestinationActive,
1272
+ waitUntilTableExists,
1273
+ waitUntilTableNotExists,
1274
+ };
1275
+ class DynamoDB extends DynamoDBClient {
1276
+ }
1277
+ smithyClient.createAggregatedClient(commands, DynamoDB, { paginators, waiters });
1278
+
1279
+ const ApproximateCreationDateTimePrecision = {
1280
+ MICROSECOND: "MICROSECOND",
1281
+ MILLISECOND: "MILLISECOND",
1282
+ };
1283
+ const AttributeAction = {
1284
+ ADD: "ADD",
1285
+ DELETE: "DELETE",
1286
+ PUT: "PUT",
1287
+ };
1288
+ const ScalarAttributeType = {
1289
+ B: "B",
1290
+ N: "N",
1291
+ S: "S",
1292
+ };
1293
+ const BackupStatus = {
1294
+ AVAILABLE: "AVAILABLE",
1295
+ CREATING: "CREATING",
1296
+ DELETED: "DELETED",
1297
+ };
1298
+ const BackupType = {
1299
+ AWS_BACKUP: "AWS_BACKUP",
1300
+ SYSTEM: "SYSTEM",
1301
+ USER: "USER",
1302
+ };
1303
+ const BillingMode = {
1304
+ PAY_PER_REQUEST: "PAY_PER_REQUEST",
1305
+ PROVISIONED: "PROVISIONED",
1306
+ };
1307
+ const KeyType = {
1308
+ HASH: "HASH",
1309
+ RANGE: "RANGE",
1310
+ };
1311
+ const ProjectionType = {
1312
+ ALL: "ALL",
1313
+ INCLUDE: "INCLUDE",
1314
+ KEYS_ONLY: "KEYS_ONLY",
1315
+ };
1316
+ const SSEType = {
1317
+ AES256: "AES256",
1318
+ KMS: "KMS",
1319
+ };
1320
+ const SSEStatus = {
1321
+ DISABLED: "DISABLED",
1322
+ DISABLING: "DISABLING",
1323
+ ENABLED: "ENABLED",
1324
+ ENABLING: "ENABLING",
1325
+ UPDATING: "UPDATING",
1326
+ };
1327
+ const StreamViewType = {
1328
+ KEYS_ONLY: "KEYS_ONLY",
1329
+ NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
1330
+ NEW_IMAGE: "NEW_IMAGE",
1331
+ OLD_IMAGE: "OLD_IMAGE",
1332
+ };
1333
+ const TimeToLiveStatus = {
1334
+ DISABLED: "DISABLED",
1335
+ DISABLING: "DISABLING",
1336
+ ENABLED: "ENABLED",
1337
+ ENABLING: "ENABLING",
1338
+ };
1339
+ const BackupTypeFilter = {
1340
+ ALL: "ALL",
1341
+ AWS_BACKUP: "AWS_BACKUP",
1342
+ SYSTEM: "SYSTEM",
1343
+ USER: "USER",
1344
+ };
1345
+ const ReturnConsumedCapacity = {
1346
+ INDEXES: "INDEXES",
1347
+ NONE: "NONE",
1348
+ TOTAL: "TOTAL",
1349
+ };
1350
+ const ReturnValuesOnConditionCheckFailure = {
1351
+ ALL_OLD: "ALL_OLD",
1352
+ NONE: "NONE",
1353
+ };
1354
+ const BatchStatementErrorCodeEnum = {
1355
+ AccessDenied: "AccessDenied",
1356
+ ConditionalCheckFailed: "ConditionalCheckFailed",
1357
+ DuplicateItem: "DuplicateItem",
1358
+ InternalServerError: "InternalServerError",
1359
+ ItemCollectionSizeLimitExceeded: "ItemCollectionSizeLimitExceeded",
1360
+ ProvisionedThroughputExceeded: "ProvisionedThroughputExceeded",
1361
+ RequestLimitExceeded: "RequestLimitExceeded",
1362
+ ResourceNotFound: "ResourceNotFound",
1363
+ ThrottlingError: "ThrottlingError",
1364
+ TransactionConflict: "TransactionConflict",
1365
+ ValidationError: "ValidationError",
1366
+ };
1367
+ const ReturnItemCollectionMetrics = {
1368
+ NONE: "NONE",
1369
+ SIZE: "SIZE",
1370
+ };
1371
+ const ComparisonOperator = {
1372
+ BEGINS_WITH: "BEGINS_WITH",
1373
+ BETWEEN: "BETWEEN",
1374
+ CONTAINS: "CONTAINS",
1375
+ EQ: "EQ",
1376
+ GE: "GE",
1377
+ GT: "GT",
1378
+ IN: "IN",
1379
+ LE: "LE",
1380
+ LT: "LT",
1381
+ NE: "NE",
1382
+ NOT_CONTAINS: "NOT_CONTAINS",
1383
+ NOT_NULL: "NOT_NULL",
1384
+ NULL: "NULL",
1385
+ };
1386
+ const ConditionalOperator = {
1387
+ AND: "AND",
1388
+ OR: "OR",
1389
+ };
1390
+ const ContinuousBackupsStatus = {
1391
+ DISABLED: "DISABLED",
1392
+ ENABLED: "ENABLED",
1393
+ };
1394
+ const PointInTimeRecoveryStatus = {
1395
+ DISABLED: "DISABLED",
1396
+ ENABLED: "ENABLED",
1397
+ };
1398
+ const ContributorInsightsAction = {
1399
+ DISABLE: "DISABLE",
1400
+ ENABLE: "ENABLE",
1401
+ };
1402
+ const ContributorInsightsMode = {
1403
+ ACCESSED_AND_THROTTLED_KEYS: "ACCESSED_AND_THROTTLED_KEYS",
1404
+ THROTTLED_KEYS: "THROTTLED_KEYS",
1405
+ };
1406
+ const ContributorInsightsStatus = {
1407
+ DISABLED: "DISABLED",
1408
+ DISABLING: "DISABLING",
1409
+ ENABLED: "ENABLED",
1410
+ ENABLING: "ENABLING",
1411
+ FAILED: "FAILED",
1412
+ };
1413
+ const GlobalTableStatus = {
1414
+ ACTIVE: "ACTIVE",
1415
+ CREATING: "CREATING",
1416
+ DELETING: "DELETING",
1417
+ UPDATING: "UPDATING",
1418
+ };
1419
+ const IndexStatus = {
1420
+ ACTIVE: "ACTIVE",
1421
+ CREATING: "CREATING",
1422
+ DELETING: "DELETING",
1423
+ UPDATING: "UPDATING",
1424
+ };
1425
+ const GlobalTableSettingsReplicationMode = {
1426
+ DISABLED: "DISABLED",
1427
+ ENABLED: "ENABLED",
1428
+ ENABLED_WITH_OVERRIDES: "ENABLED_WITH_OVERRIDES",
1429
+ };
1430
+ const ReplicaStatus = {
1431
+ ACTIVE: "ACTIVE",
1432
+ ARCHIVED: "ARCHIVED",
1433
+ ARCHIVING: "ARCHIVING",
1434
+ CREATING: "CREATING",
1435
+ CREATION_FAILED: "CREATION_FAILED",
1436
+ DELETING: "DELETING",
1437
+ INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
1438
+ REGION_DISABLED: "REGION_DISABLED",
1439
+ REPLICATION_NOT_AUTHORIZED: "REPLICATION_NOT_AUTHORIZED",
1440
+ UPDATING: "UPDATING",
1441
+ };
1442
+ const TableClass = {
1443
+ STANDARD: "STANDARD",
1444
+ STANDARD_INFREQUENT_ACCESS: "STANDARD_INFREQUENT_ACCESS",
1445
+ };
1446
+ const TableStatus = {
1447
+ ACTIVE: "ACTIVE",
1448
+ ARCHIVED: "ARCHIVED",
1449
+ ARCHIVING: "ARCHIVING",
1450
+ CREATING: "CREATING",
1451
+ DELETING: "DELETING",
1452
+ INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
1453
+ REPLICATION_NOT_AUTHORIZED: "REPLICATION_NOT_AUTHORIZED",
1454
+ UPDATING: "UPDATING",
1455
+ };
1456
+ const WitnessStatus = {
1457
+ ACTIVE: "ACTIVE",
1458
+ CREATING: "CREATING",
1459
+ DELETING: "DELETING",
1460
+ };
1461
+ const MultiRegionConsistency = {
1462
+ EVENTUAL: "EVENTUAL",
1463
+ STRONG: "STRONG",
1464
+ };
1465
+ const ReturnValue = {
1466
+ ALL_NEW: "ALL_NEW",
1467
+ ALL_OLD: "ALL_OLD",
1468
+ NONE: "NONE",
1469
+ UPDATED_NEW: "UPDATED_NEW",
1470
+ UPDATED_OLD: "UPDATED_OLD",
1471
+ };
1472
+ const ExportFormat = {
1473
+ DYNAMODB_JSON: "DYNAMODB_JSON",
1474
+ ION: "ION",
1475
+ };
1476
+ const ExportStatus = {
1477
+ COMPLETED: "COMPLETED",
1478
+ FAILED: "FAILED",
1479
+ IN_PROGRESS: "IN_PROGRESS",
1480
+ };
1481
+ const ExportType = {
1482
+ FULL_EXPORT: "FULL_EXPORT",
1483
+ INCREMENTAL_EXPORT: "INCREMENTAL_EXPORT",
1484
+ };
1485
+ const ExportViewType = {
1486
+ NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
1487
+ NEW_IMAGE: "NEW_IMAGE",
1488
+ };
1489
+ const S3SseAlgorithm = {
1490
+ AES256: "AES256",
1491
+ KMS: "KMS",
1492
+ };
1493
+ const ImportStatus = {
1494
+ CANCELLED: "CANCELLED",
1495
+ CANCELLING: "CANCELLING",
1496
+ COMPLETED: "COMPLETED",
1497
+ FAILED: "FAILED",
1498
+ IN_PROGRESS: "IN_PROGRESS",
1499
+ };
1500
+ const InputCompressionType = {
1501
+ GZIP: "GZIP",
1502
+ NONE: "NONE",
1503
+ ZSTD: "ZSTD",
1504
+ };
1505
+ const InputFormat = {
1506
+ CSV: "CSV",
1507
+ DYNAMODB_JSON: "DYNAMODB_JSON",
1508
+ ION: "ION",
1509
+ };
1510
+ const DestinationStatus = {
1511
+ ACTIVE: "ACTIVE",
1512
+ DISABLED: "DISABLED",
1513
+ DISABLING: "DISABLING",
1514
+ ENABLE_FAILED: "ENABLE_FAILED",
1515
+ ENABLING: "ENABLING",
1516
+ UPDATING: "UPDATING",
1517
+ };
1518
+ const Select = {
1519
+ ALL_ATTRIBUTES: "ALL_ATTRIBUTES",
1520
+ ALL_PROJECTED_ATTRIBUTES: "ALL_PROJECTED_ATTRIBUTES",
1521
+ COUNT: "COUNT",
1522
+ SPECIFIC_ATTRIBUTES: "SPECIFIC_ATTRIBUTES",
1523
+ };
1524
+
1525
+ exports.$Command = smithyClient.Command;
1526
+ exports.__Client = smithyClient.Client;
1527
+ exports.DynamoDBServiceException = DynamoDBServiceException.DynamoDBServiceException;
1528
+ exports.ApproximateCreationDateTimePrecision = ApproximateCreationDateTimePrecision;
1529
+ exports.AttributeAction = AttributeAction;
1530
+ exports.BackupStatus = BackupStatus;
1531
+ exports.BackupType = BackupType;
1532
+ exports.BackupTypeFilter = BackupTypeFilter;
1533
+ exports.BatchExecuteStatementCommand = BatchExecuteStatementCommand;
1534
+ exports.BatchGetItemCommand = BatchGetItemCommand;
1535
+ exports.BatchStatementErrorCodeEnum = BatchStatementErrorCodeEnum;
1536
+ exports.BatchWriteItemCommand = BatchWriteItemCommand;
1537
+ exports.BillingMode = BillingMode;
1538
+ exports.ComparisonOperator = ComparisonOperator;
1539
+ exports.ConditionalOperator = ConditionalOperator;
1540
+ exports.ContinuousBackupsStatus = ContinuousBackupsStatus;
1541
+ exports.ContributorInsightsAction = ContributorInsightsAction;
1542
+ exports.ContributorInsightsMode = ContributorInsightsMode;
1543
+ exports.ContributorInsightsStatus = ContributorInsightsStatus;
1544
+ exports.CreateBackupCommand = CreateBackupCommand;
1545
+ exports.CreateGlobalTableCommand = CreateGlobalTableCommand;
1546
+ exports.CreateTableCommand = CreateTableCommand;
1547
+ exports.DeleteBackupCommand = DeleteBackupCommand;
1548
+ exports.DeleteItemCommand = DeleteItemCommand;
1549
+ exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
1550
+ exports.DeleteTableCommand = DeleteTableCommand;
1551
+ exports.DescribeBackupCommand = DescribeBackupCommand;
1552
+ exports.DescribeContinuousBackupsCommand = DescribeContinuousBackupsCommand;
1553
+ exports.DescribeContributorInsightsCommand = DescribeContributorInsightsCommand;
1554
+ exports.DescribeEndpointsCommand = DescribeEndpointsCommand;
1555
+ exports.DescribeExportCommand = DescribeExportCommand;
1556
+ exports.DescribeGlobalTableCommand = DescribeGlobalTableCommand;
1557
+ exports.DescribeGlobalTableSettingsCommand = DescribeGlobalTableSettingsCommand;
1558
+ exports.DescribeImportCommand = DescribeImportCommand;
1559
+ exports.DescribeKinesisStreamingDestinationCommand = DescribeKinesisStreamingDestinationCommand;
1560
+ exports.DescribeLimitsCommand = DescribeLimitsCommand;
1561
+ exports.DescribeTableCommand = DescribeTableCommand;
1562
+ exports.DescribeTableReplicaAutoScalingCommand = DescribeTableReplicaAutoScalingCommand;
1563
+ exports.DescribeTimeToLiveCommand = DescribeTimeToLiveCommand;
1564
+ exports.DestinationStatus = DestinationStatus;
1565
+ exports.DisableKinesisStreamingDestinationCommand = DisableKinesisStreamingDestinationCommand;
1566
+ exports.DynamoDB = DynamoDB;
1567
+ exports.DynamoDBClient = DynamoDBClient;
1568
+ exports.EnableKinesisStreamingDestinationCommand = EnableKinesisStreamingDestinationCommand;
1569
+ exports.ExecuteStatementCommand = ExecuteStatementCommand;
1570
+ exports.ExecuteTransactionCommand = ExecuteTransactionCommand;
1571
+ exports.ExportFormat = ExportFormat;
1572
+ exports.ExportStatus = ExportStatus;
1573
+ exports.ExportTableToPointInTimeCommand = ExportTableToPointInTimeCommand;
1574
+ exports.ExportType = ExportType;
1575
+ exports.ExportViewType = ExportViewType;
1576
+ exports.GetItemCommand = GetItemCommand;
1577
+ exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
1578
+ exports.GlobalTableSettingsReplicationMode = GlobalTableSettingsReplicationMode;
1579
+ exports.GlobalTableStatus = GlobalTableStatus;
1580
+ exports.ImportStatus = ImportStatus;
1581
+ exports.ImportTableCommand = ImportTableCommand;
1582
+ exports.IndexStatus = IndexStatus;
1583
+ exports.InputCompressionType = InputCompressionType;
1584
+ exports.InputFormat = InputFormat;
1585
+ exports.KeyType = KeyType;
1586
+ exports.ListBackupsCommand = ListBackupsCommand;
1587
+ exports.ListContributorInsightsCommand = ListContributorInsightsCommand;
1588
+ exports.ListExportsCommand = ListExportsCommand;
1589
+ exports.ListGlobalTablesCommand = ListGlobalTablesCommand;
1590
+ exports.ListImportsCommand = ListImportsCommand;
1591
+ exports.ListTablesCommand = ListTablesCommand;
1592
+ exports.ListTagsOfResourceCommand = ListTagsOfResourceCommand;
1593
+ exports.MultiRegionConsistency = MultiRegionConsistency;
1594
+ exports.PointInTimeRecoveryStatus = PointInTimeRecoveryStatus;
1595
+ exports.ProjectionType = ProjectionType;
1596
+ exports.PutItemCommand = PutItemCommand;
1597
+ exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
1598
+ exports.QueryCommand = QueryCommand;
1599
+ exports.ReplicaStatus = ReplicaStatus;
1600
+ exports.RestoreTableFromBackupCommand = RestoreTableFromBackupCommand;
1601
+ exports.RestoreTableToPointInTimeCommand = RestoreTableToPointInTimeCommand;
1602
+ exports.ReturnConsumedCapacity = ReturnConsumedCapacity;
1603
+ exports.ReturnItemCollectionMetrics = ReturnItemCollectionMetrics;
1604
+ exports.ReturnValue = ReturnValue;
1605
+ exports.ReturnValuesOnConditionCheckFailure = ReturnValuesOnConditionCheckFailure;
1606
+ exports.S3SseAlgorithm = S3SseAlgorithm;
1607
+ exports.SSEStatus = SSEStatus;
1608
+ exports.SSEType = SSEType;
1609
+ exports.ScalarAttributeType = ScalarAttributeType;
1610
+ exports.ScanCommand = ScanCommand;
1611
+ exports.Select = Select;
1612
+ exports.StreamViewType = StreamViewType;
1613
+ exports.TableClass = TableClass;
1614
+ exports.TableStatus = TableStatus;
1615
+ exports.TagResourceCommand = TagResourceCommand;
1616
+ exports.TimeToLiveStatus = TimeToLiveStatus;
1617
+ exports.TransactGetItemsCommand = TransactGetItemsCommand;
1618
+ exports.TransactWriteItemsCommand = TransactWriteItemsCommand;
1619
+ exports.UntagResourceCommand = UntagResourceCommand;
1620
+ exports.UpdateContinuousBackupsCommand = UpdateContinuousBackupsCommand;
1621
+ exports.UpdateContributorInsightsCommand = UpdateContributorInsightsCommand;
1622
+ exports.UpdateGlobalTableCommand = UpdateGlobalTableCommand;
1623
+ exports.UpdateGlobalTableSettingsCommand = UpdateGlobalTableSettingsCommand;
1624
+ exports.UpdateItemCommand = UpdateItemCommand;
1625
+ exports.UpdateKinesisStreamingDestinationCommand = UpdateKinesisStreamingDestinationCommand;
1626
+ exports.UpdateTableCommand = UpdateTableCommand;
1627
+ exports.UpdateTableReplicaAutoScalingCommand = UpdateTableReplicaAutoScalingCommand;
1628
+ exports.UpdateTimeToLiveCommand = UpdateTimeToLiveCommand;
1629
+ exports.WitnessStatus = WitnessStatus;
1630
+ exports.paginateListContributorInsights = paginateListContributorInsights;
1631
+ exports.paginateListExports = paginateListExports;
1632
+ exports.paginateListImports = paginateListImports;
1633
+ exports.paginateListTables = paginateListTables;
1634
+ exports.paginateQuery = paginateQuery;
1635
+ exports.paginateScan = paginateScan;
1636
+ exports.waitForContributorInsightsEnabled = waitForContributorInsightsEnabled;
1637
+ exports.waitForExportCompleted = waitForExportCompleted;
1638
+ exports.waitForImportCompleted = waitForImportCompleted;
1639
+ exports.waitForKinesisStreamingDestinationActive = waitForKinesisStreamingDestinationActive;
1640
+ exports.waitForTableExists = waitForTableExists;
1641
+ exports.waitForTableNotExists = waitForTableNotExists;
1642
+ exports.waitUntilContributorInsightsEnabled = waitUntilContributorInsightsEnabled;
1643
+ exports.waitUntilExportCompleted = waitUntilExportCompleted;
1644
+ exports.waitUntilImportCompleted = waitUntilImportCompleted;
1645
+ exports.waitUntilKinesisStreamingDestinationActive = waitUntilKinesisStreamingDestinationActive;
1646
+ exports.waitUntilTableExists = waitUntilTableExists;
1647
+ exports.waitUntilTableNotExists = waitUntilTableNotExists;
1648
+ Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
1649
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
1650
+ Object.defineProperty(exports, '__proto__', {
1651
+ enumerable: true,
1652
+ value: schemas_0['__proto__']
1653
+ });
1654
+
1655
+ Object.keys(schemas_0).forEach(function (k) {
1656
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
1657
+ });
1658
+ Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
1659
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
1660
+ Object.defineProperty(exports, '__proto__', {
1661
+ enumerable: true,
1662
+ value: errors['__proto__']
1663
+ });
1664
+
1665
+ Object.keys(errors).forEach(function (k) {
1666
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
1667
+ });