@aws-sdk/client-dynamodb 3.31.0 → 3.35.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 (955) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist-cjs/DynamoDB.js +779 -0
  3. package/dist-cjs/DynamoDB.js.map +1 -0
  4. package/dist-cjs/DynamoDBClient.js +67 -0
  5. package/dist-cjs/DynamoDBClient.js.map +1 -0
  6. package/dist-cjs/commands/BatchExecuteStatementCommand.js +63 -0
  7. package/dist-cjs/commands/BatchExecuteStatementCommand.js.map +1 -0
  8. package/dist-cjs/commands/BatchGetItemCommand.js +106 -0
  9. package/dist-cjs/commands/BatchGetItemCommand.js.map +1 -0
  10. package/dist-cjs/commands/BatchWriteItemCommand.js +135 -0
  11. package/dist-cjs/commands/BatchWriteItemCommand.js.map +1 -0
  12. package/dist-cjs/commands/CreateBackupCommand.js +90 -0
  13. package/dist-cjs/commands/CreateBackupCommand.js.map +1 -0
  14. package/dist-cjs/commands/CreateGlobalTableCommand.js +128 -0
  15. package/dist-cjs/commands/CreateGlobalTableCommand.js.map +1 -0
  16. package/dist-cjs/commands/CreateTableCommand.js +73 -0
  17. package/dist-cjs/commands/CreateTableCommand.js.map +1 -0
  18. package/dist-cjs/commands/DeleteBackupCommand.js +62 -0
  19. package/dist-cjs/commands/DeleteBackupCommand.js.map +1 -0
  20. package/dist-cjs/commands/DeleteItemCommand.js +66 -0
  21. package/dist-cjs/commands/DeleteItemCommand.js.map +1 -0
  22. package/dist-cjs/commands/DeleteTableCommand.js +77 -0
  23. package/dist-cjs/commands/DeleteTableCommand.js.map +1 -0
  24. package/dist-cjs/commands/DescribeBackupCommand.js +62 -0
  25. package/dist-cjs/commands/DescribeBackupCommand.js.map +1 -0
  26. package/dist-cjs/commands/DescribeContinuousBackupsCommand.js +71 -0
  27. package/dist-cjs/commands/DescribeContinuousBackupsCommand.js.map +1 -0
  28. package/dist-cjs/commands/DescribeContributorInsightsCommand.js +61 -0
  29. package/dist-cjs/commands/DescribeContributorInsightsCommand.js.map +1 -0
  30. package/dist-cjs/commands/DescribeEndpointsCommand.js +61 -0
  31. package/dist-cjs/commands/DescribeEndpointsCommand.js.map +1 -0
  32. package/dist-cjs/commands/DescribeExportCommand.js +61 -0
  33. package/dist-cjs/commands/DescribeExportCommand.js.map +1 -0
  34. package/dist-cjs/commands/DescribeGlobalTableCommand.js +65 -0
  35. package/dist-cjs/commands/DescribeGlobalTableCommand.js.map +1 -0
  36. package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js +64 -0
  37. package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js.map +1 -0
  38. package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js +61 -0
  39. package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js.map +1 -0
  40. package/dist-cjs/commands/DescribeLimitsCommand.js +124 -0
  41. package/dist-cjs/commands/DescribeLimitsCommand.js.map +1 -0
  42. package/dist-cjs/commands/DescribeTableCommand.js +67 -0
  43. package/dist-cjs/commands/DescribeTableCommand.js.map +1 -0
  44. package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js +64 -0
  45. package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js.map +1 -0
  46. package/dist-cjs/commands/DescribeTimeToLiveCommand.js +61 -0
  47. package/dist-cjs/commands/DescribeTimeToLiveCommand.js.map +1 -0
  48. package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js +62 -0
  49. package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js.map +1 -0
  50. package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js +64 -0
  51. package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js.map +1 -0
  52. package/dist-cjs/commands/ExecuteStatementCommand.js +63 -0
  53. package/dist-cjs/commands/ExecuteStatementCommand.js.map +1 -0
  54. package/dist-cjs/commands/ExecuteTransactionCommand.js +63 -0
  55. package/dist-cjs/commands/ExecuteTransactionCommand.js.map +1 -0
  56. package/dist-cjs/commands/ExportTableToPointInTimeCommand.js +63 -0
  57. package/dist-cjs/commands/ExportTableToPointInTimeCommand.js.map +1 -0
  58. package/dist-cjs/commands/GetItemCommand.js +67 -0
  59. package/dist-cjs/commands/GetItemCommand.js.map +1 -0
  60. package/dist-cjs/commands/ListBackupsCommand.js +67 -0
  61. package/dist-cjs/commands/ListBackupsCommand.js.map +1 -0
  62. package/dist-cjs/commands/ListContributorInsightsCommand.js +61 -0
  63. package/dist-cjs/commands/ListContributorInsightsCommand.js.map +1 -0
  64. package/dist-cjs/commands/ListExportsCommand.js +61 -0
  65. package/dist-cjs/commands/ListExportsCommand.js.map +1 -0
  66. package/dist-cjs/commands/ListGlobalTablesCommand.js +64 -0
  67. package/dist-cjs/commands/ListGlobalTablesCommand.js.map +1 -0
  68. package/dist-cjs/commands/ListTablesCommand.js +63 -0
  69. package/dist-cjs/commands/ListTablesCommand.js.map +1 -0
  70. package/dist-cjs/commands/ListTagsOfResourceCommand.js +64 -0
  71. package/dist-cjs/commands/ListTagsOfResourceCommand.js.map +1 -0
  72. package/dist-cjs/commands/PutItemCommand.js +128 -0
  73. package/dist-cjs/commands/PutItemCommand.js.map +1 -0
  74. package/dist-cjs/commands/QueryCommand.js +116 -0
  75. package/dist-cjs/commands/QueryCommand.js.map +1 -0
  76. package/dist-cjs/commands/RestoreTableFromBackupCommand.js +85 -0
  77. package/dist-cjs/commands/RestoreTableFromBackupCommand.js.map +1 -0
  78. package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js +116 -0
  79. package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js.map +1 -0
  80. package/dist-cjs/commands/ScanCommand.js +85 -0
  81. package/dist-cjs/commands/ScanCommand.js.map +1 -0
  82. package/dist-cjs/commands/TagResourceCommand.js +67 -0
  83. package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
  84. package/dist-cjs/commands/TransactGetItemsCommand.js +86 -0
  85. package/dist-cjs/commands/TransactGetItemsCommand.js.map +1 -0
  86. package/dist-cjs/commands/TransactWriteItemsCommand.js +134 -0
  87. package/dist-cjs/commands/TransactWriteItemsCommand.js.map +1 -0
  88. package/dist-cjs/commands/UntagResourceCommand.js +65 -0
  89. package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
  90. package/dist-cjs/commands/UpdateContinuousBackupsCommand.js +72 -0
  91. package/dist-cjs/commands/UpdateContinuousBackupsCommand.js.map +1 -0
  92. package/dist-cjs/commands/UpdateContributorInsightsCommand.js +61 -0
  93. package/dist-cjs/commands/UpdateContributorInsightsCommand.js.map +1 -0
  94. package/dist-cjs/commands/UpdateGlobalTableCommand.js +89 -0
  95. package/dist-cjs/commands/UpdateGlobalTableCommand.js.map +1 -0
  96. package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js +61 -0
  97. package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js.map +1 -0
  98. package/dist-cjs/commands/UpdateItemCommand.js +63 -0
  99. package/dist-cjs/commands/UpdateItemCommand.js.map +1 -0
  100. package/dist-cjs/commands/UpdateTableCommand.js +83 -0
  101. package/dist-cjs/commands/UpdateTableCommand.js.map +1 -0
  102. package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js +64 -0
  103. package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js.map +1 -0
  104. package/dist-cjs/commands/UpdateTimeToLiveCommand.js +85 -0
  105. package/dist-cjs/commands/UpdateTimeToLiveCommand.js.map +1 -0
  106. package/dist-cjs/endpoints.js +96 -0
  107. package/dist-cjs/endpoints.js.map +1 -0
  108. package/dist-cjs/index.js +65 -0
  109. package/dist-cjs/index.js.map +1 -0
  110. package/dist-cjs/models/index.js +5 -0
  111. package/dist-cjs/models/index.js.map +1 -0
  112. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  113. package/dist-cjs/models/models_0.js.map +1 -0
  114. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  115. package/dist-cjs/pagination/Interfaces.js.map +1 -0
  116. package/dist-cjs/pagination/ListContributorInsightsPaginator.js +46 -0
  117. package/dist-cjs/pagination/ListContributorInsightsPaginator.js.map +1 -0
  118. package/dist-cjs/pagination/ListExportsPaginator.js +46 -0
  119. package/dist-cjs/pagination/ListExportsPaginator.js.map +1 -0
  120. package/dist-cjs/pagination/ListTablesPaginator.js +46 -0
  121. package/dist-cjs/pagination/ListTablesPaginator.js.map +1 -0
  122. package/dist-cjs/pagination/QueryPaginator.js +46 -0
  123. package/dist-cjs/pagination/QueryPaginator.js.map +1 -0
  124. package/dist-cjs/pagination/ScanPaginator.js +46 -0
  125. package/dist-cjs/pagination/ScanPaginator.js.map +1 -0
  126. package/dist-cjs/protocols/Aws_json1_0.js +7983 -0
  127. package/dist-cjs/protocols/Aws_json1_0.js.map +1 -0
  128. package/dist-cjs/runtimeConfig.browser.js +43 -0
  129. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  130. package/dist-cjs/runtimeConfig.js +49 -0
  131. package/dist-cjs/runtimeConfig.js.map +1 -0
  132. package/dist-cjs/runtimeConfig.native.js +20 -0
  133. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  134. package/dist-cjs/runtimeConfig.shared.js +21 -0
  135. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  136. package/dist-cjs/waiters/waitForTableExists.js +49 -0
  137. package/dist-cjs/waiters/waitForTableExists.js.map +1 -0
  138. package/dist-cjs/waiters/waitForTableNotExists.js +40 -0
  139. package/dist-cjs/waiters/waitForTableNotExists.js.map +1 -0
  140. package/dist-es/DynamoDB.js +761 -0
  141. package/dist-es/DynamoDB.js.map +1 -0
  142. package/dist-es/DynamoDBClient.js +43 -0
  143. package/dist-es/DynamoDBClient.js.map +1 -0
  144. package/dist-es/commands/BatchExecuteStatementCommand.js +40 -0
  145. package/dist-es/commands/BatchExecuteStatementCommand.js.map +1 -0
  146. package/dist-es/commands/BatchGetItemCommand.js +40 -0
  147. package/dist-es/commands/BatchGetItemCommand.js.map +1 -0
  148. package/dist-es/commands/BatchWriteItemCommand.js +40 -0
  149. package/dist-es/commands/BatchWriteItemCommand.js.map +1 -0
  150. package/dist-es/commands/CreateBackupCommand.js +40 -0
  151. package/dist-es/commands/CreateBackupCommand.js.map +1 -0
  152. package/dist-es/commands/CreateGlobalTableCommand.js +40 -0
  153. package/dist-es/commands/CreateGlobalTableCommand.js.map +1 -0
  154. package/dist-es/commands/CreateTableCommand.js +40 -0
  155. package/dist-es/commands/CreateTableCommand.js.map +1 -0
  156. package/dist-es/commands/DeleteBackupCommand.js +40 -0
  157. package/dist-es/commands/DeleteBackupCommand.js.map +1 -0
  158. package/dist-es/commands/DeleteItemCommand.js +40 -0
  159. package/dist-es/commands/DeleteItemCommand.js.map +1 -0
  160. package/dist-es/commands/DeleteTableCommand.js +40 -0
  161. package/dist-es/commands/DeleteTableCommand.js.map +1 -0
  162. package/dist-es/commands/DescribeBackupCommand.js +40 -0
  163. package/dist-es/commands/DescribeBackupCommand.js.map +1 -0
  164. package/dist-es/commands/DescribeContinuousBackupsCommand.js +40 -0
  165. package/dist-es/commands/DescribeContinuousBackupsCommand.js.map +1 -0
  166. package/dist-es/commands/DescribeContributorInsightsCommand.js +40 -0
  167. package/dist-es/commands/DescribeContributorInsightsCommand.js.map +1 -0
  168. package/dist-es/commands/DescribeEndpointsCommand.js +40 -0
  169. package/dist-es/commands/DescribeEndpointsCommand.js.map +1 -0
  170. package/dist-es/commands/DescribeExportCommand.js +40 -0
  171. package/dist-es/commands/DescribeExportCommand.js.map +1 -0
  172. package/dist-es/commands/DescribeGlobalTableCommand.js +40 -0
  173. package/dist-es/commands/DescribeGlobalTableCommand.js.map +1 -0
  174. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +40 -0
  175. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js.map +1 -0
  176. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +40 -0
  177. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js.map +1 -0
  178. package/dist-es/commands/DescribeLimitsCommand.js +40 -0
  179. package/dist-es/commands/DescribeLimitsCommand.js.map +1 -0
  180. package/dist-es/commands/DescribeTableCommand.js +40 -0
  181. package/dist-es/commands/DescribeTableCommand.js.map +1 -0
  182. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +40 -0
  183. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js.map +1 -0
  184. package/dist-es/commands/DescribeTimeToLiveCommand.js +40 -0
  185. package/dist-es/commands/DescribeTimeToLiveCommand.js.map +1 -0
  186. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +40 -0
  187. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js.map +1 -0
  188. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +40 -0
  189. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js.map +1 -0
  190. package/dist-es/commands/ExecuteStatementCommand.js +40 -0
  191. package/dist-es/commands/ExecuteStatementCommand.js.map +1 -0
  192. package/dist-es/commands/ExecuteTransactionCommand.js +40 -0
  193. package/dist-es/commands/ExecuteTransactionCommand.js.map +1 -0
  194. package/dist-es/commands/ExportTableToPointInTimeCommand.js +40 -0
  195. package/dist-es/commands/ExportTableToPointInTimeCommand.js.map +1 -0
  196. package/dist-es/commands/GetItemCommand.js +40 -0
  197. package/dist-es/commands/GetItemCommand.js.map +1 -0
  198. package/dist-es/commands/ListBackupsCommand.js +40 -0
  199. package/dist-es/commands/ListBackupsCommand.js.map +1 -0
  200. package/dist-es/commands/ListContributorInsightsCommand.js +40 -0
  201. package/dist-es/commands/ListContributorInsightsCommand.js.map +1 -0
  202. package/dist-es/commands/ListExportsCommand.js +40 -0
  203. package/dist-es/commands/ListExportsCommand.js.map +1 -0
  204. package/dist-es/commands/ListGlobalTablesCommand.js +40 -0
  205. package/dist-es/commands/ListGlobalTablesCommand.js.map +1 -0
  206. package/dist-es/commands/ListTablesCommand.js +40 -0
  207. package/dist-es/commands/ListTablesCommand.js.map +1 -0
  208. package/dist-es/commands/ListTagsOfResourceCommand.js +40 -0
  209. package/dist-es/commands/ListTagsOfResourceCommand.js.map +1 -0
  210. package/dist-es/commands/PutItemCommand.js +40 -0
  211. package/dist-es/commands/PutItemCommand.js.map +1 -0
  212. package/dist-es/commands/QueryCommand.js +40 -0
  213. package/dist-es/commands/QueryCommand.js.map +1 -0
  214. package/dist-es/commands/RestoreTableFromBackupCommand.js +40 -0
  215. package/dist-es/commands/RestoreTableFromBackupCommand.js.map +1 -0
  216. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +40 -0
  217. package/dist-es/commands/RestoreTableToPointInTimeCommand.js.map +1 -0
  218. package/dist-es/commands/ScanCommand.js +40 -0
  219. package/dist-es/commands/ScanCommand.js.map +1 -0
  220. package/dist-es/commands/TagResourceCommand.js +40 -0
  221. package/dist-es/commands/TagResourceCommand.js.map +1 -0
  222. package/dist-es/commands/TransactGetItemsCommand.js +40 -0
  223. package/dist-es/commands/TransactGetItemsCommand.js.map +1 -0
  224. package/dist-es/commands/TransactWriteItemsCommand.js +40 -0
  225. package/dist-es/commands/TransactWriteItemsCommand.js.map +1 -0
  226. package/dist-es/commands/UntagResourceCommand.js +40 -0
  227. package/dist-es/commands/UntagResourceCommand.js.map +1 -0
  228. package/dist-es/commands/UpdateContinuousBackupsCommand.js +40 -0
  229. package/dist-es/commands/UpdateContinuousBackupsCommand.js.map +1 -0
  230. package/dist-es/commands/UpdateContributorInsightsCommand.js +40 -0
  231. package/dist-es/commands/UpdateContributorInsightsCommand.js.map +1 -0
  232. package/dist-es/commands/UpdateGlobalTableCommand.js +40 -0
  233. package/dist-es/commands/UpdateGlobalTableCommand.js.map +1 -0
  234. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +40 -0
  235. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js.map +1 -0
  236. package/dist-es/commands/UpdateItemCommand.js +40 -0
  237. package/dist-es/commands/UpdateItemCommand.js.map +1 -0
  238. package/dist-es/commands/UpdateTableCommand.js +40 -0
  239. package/dist-es/commands/UpdateTableCommand.js.map +1 -0
  240. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +40 -0
  241. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js.map +1 -0
  242. package/dist-es/commands/UpdateTimeToLiveCommand.js +40 -0
  243. package/dist-es/commands/UpdateTimeToLiveCommand.js.map +1 -0
  244. package/dist-es/endpoints.js +92 -0
  245. package/dist-es/endpoints.js.map +1 -0
  246. package/{dist/es → dist-es}/index.js +0 -0
  247. package/dist-es/index.js.map +1 -0
  248. package/{dist/es → dist-es}/models/index.js +0 -0
  249. package/dist-es/models/index.js.map +1 -0
  250. package/dist-es/models/models_0.js +1305 -0
  251. package/dist-es/models/models_0.js.map +1 -0
  252. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  253. package/dist-es/pagination/Interfaces.js.map +1 -0
  254. package/dist-es/pagination/ListContributorInsightsPaginator.js +75 -0
  255. package/dist-es/pagination/ListContributorInsightsPaginator.js.map +1 -0
  256. package/dist-es/pagination/ListExportsPaginator.js +75 -0
  257. package/dist-es/pagination/ListExportsPaginator.js.map +1 -0
  258. package/dist-es/pagination/ListTablesPaginator.js +75 -0
  259. package/dist-es/pagination/ListTablesPaginator.js.map +1 -0
  260. package/dist-es/pagination/QueryPaginator.js +75 -0
  261. package/dist-es/pagination/QueryPaginator.js.map +1 -0
  262. package/dist-es/pagination/ScanPaginator.js +75 -0
  263. package/dist-es/pagination/ScanPaginator.js.map +1 -0
  264. package/dist-es/protocols/Aws_json1_0.js +7976 -0
  265. package/dist-es/protocols/Aws_json1_0.js.map +1 -0
  266. package/dist-es/runtimeConfig.browser.js +17 -0
  267. package/dist-es/runtimeConfig.browser.js.map +1 -0
  268. package/dist-es/runtimeConfig.js +23 -0
  269. package/dist-es/runtimeConfig.js.map +1 -0
  270. package/dist-es/runtimeConfig.native.js +9 -0
  271. package/dist-es/runtimeConfig.native.js.map +1 -0
  272. package/dist-es/runtimeConfig.shared.js +14 -0
  273. package/dist-es/runtimeConfig.shared.js.map +1 -0
  274. package/dist-es/waiters/waitForTableExists.js +55 -0
  275. package/dist-es/waiters/waitForTableExists.js.map +1 -0
  276. package/dist-es/waiters/waitForTableNotExists.js +46 -0
  277. package/dist-es/waiters/waitForTableNotExists.js.map +1 -0
  278. package/dist-types/DynamoDB.d.ts +1169 -0
  279. package/dist-types/DynamoDBClient.d.ts +207 -0
  280. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +37 -0
  281. package/dist-types/commands/BatchGetItemCommand.d.ts +80 -0
  282. package/dist-types/commands/BatchWriteItemCommand.d.ts +109 -0
  283. package/dist-types/commands/CreateBackupCommand.d.ts +64 -0
  284. package/dist-types/commands/CreateGlobalTableCommand.d.ts +102 -0
  285. package/dist-types/commands/CreateTableCommand.d.ts +47 -0
  286. package/dist-types/commands/DeleteBackupCommand.d.ts +36 -0
  287. package/dist-types/commands/DeleteItemCommand.d.ts +40 -0
  288. package/dist-types/commands/DeleteTableCommand.d.ts +51 -0
  289. package/dist-types/commands/DescribeBackupCommand.d.ts +36 -0
  290. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +45 -0
  291. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +35 -0
  292. package/dist-types/commands/DescribeEndpointsCommand.d.ts +35 -0
  293. package/dist-types/commands/DescribeExportCommand.d.ts +35 -0
  294. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +39 -0
  295. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +38 -0
  296. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +35 -0
  297. package/dist-types/commands/DescribeLimitsCommand.d.ts +98 -0
  298. package/dist-types/commands/DescribeTableCommand.d.ts +41 -0
  299. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +38 -0
  300. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +35 -0
  301. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +36 -0
  302. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +38 -0
  303. package/dist-types/commands/ExecuteStatementCommand.d.ts +37 -0
  304. package/dist-types/commands/ExecuteTransactionCommand.d.ts +37 -0
  305. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +37 -0
  306. package/dist-types/commands/GetItemCommand.d.ts +41 -0
  307. package/dist-types/commands/ListBackupsCommand.d.ts +41 -0
  308. package/dist-types/commands/ListContributorInsightsCommand.d.ts +35 -0
  309. package/dist-types/commands/ListExportsCommand.d.ts +35 -0
  310. package/dist-types/commands/ListGlobalTablesCommand.d.ts +38 -0
  311. package/dist-types/commands/ListTablesCommand.d.ts +37 -0
  312. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +38 -0
  313. package/dist-types/commands/PutItemCommand.d.ts +102 -0
  314. package/dist-types/commands/QueryCommand.d.ts +90 -0
  315. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +59 -0
  316. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +90 -0
  317. package/dist-types/commands/ScanCommand.d.ts +59 -0
  318. package/dist-types/commands/TagResourceCommand.d.ts +41 -0
  319. package/dist-types/commands/TransactGetItemsCommand.d.ts +60 -0
  320. package/dist-types/commands/TransactWriteItemsCommand.d.ts +108 -0
  321. package/dist-types/commands/UntagResourceCommand.d.ts +39 -0
  322. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +46 -0
  323. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +35 -0
  324. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +63 -0
  325. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +35 -0
  326. package/dist-types/commands/UpdateItemCommand.d.ts +37 -0
  327. package/dist-types/commands/UpdateTableCommand.d.ts +57 -0
  328. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +38 -0
  329. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +59 -0
  330. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  331. package/{dist/types → dist-types}/index.d.ts +0 -0
  332. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  333. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  334. package/dist-types/pagination/Interfaces.d.ts +6 -0
  335. package/dist-types/pagination/ListContributorInsightsPaginator.d.ts +4 -0
  336. package/dist-types/pagination/ListExportsPaginator.d.ts +4 -0
  337. package/dist-types/pagination/ListTablesPaginator.d.ts +4 -0
  338. package/dist-types/pagination/QueryPaginator.d.ts +4 -0
  339. package/dist-types/pagination/ScanPaginator.d.ts +4 -0
  340. package/dist-types/protocols/Aws_json1_0.d.ts +152 -0
  341. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  342. package/dist-types/runtimeConfig.d.ts +40 -0
  343. package/dist-types/runtimeConfig.native.d.ts +39 -0
  344. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  345. package/dist-types/ts3.4/DynamoDB.d.ts +1169 -0
  346. package/dist-types/ts3.4/DynamoDBClient.d.ts +207 -0
  347. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +37 -0
  348. package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +80 -0
  349. package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +109 -0
  350. package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +64 -0
  351. package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +102 -0
  352. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +47 -0
  353. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +36 -0
  354. package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +40 -0
  355. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +51 -0
  356. package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +36 -0
  357. package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +45 -0
  358. package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +35 -0
  359. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +35 -0
  360. package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +35 -0
  361. package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +39 -0
  362. package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +38 -0
  363. package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +35 -0
  364. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +98 -0
  365. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +41 -0
  366. package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +38 -0
  367. package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +35 -0
  368. package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +36 -0
  369. package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +38 -0
  370. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +37 -0
  371. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +37 -0
  372. package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +37 -0
  373. package/dist-types/ts3.4/commands/GetItemCommand.d.ts +41 -0
  374. package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +41 -0
  375. package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +35 -0
  376. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +35 -0
  377. package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +38 -0
  378. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +37 -0
  379. package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +38 -0
  380. package/dist-types/ts3.4/commands/PutItemCommand.d.ts +102 -0
  381. package/dist-types/ts3.4/commands/QueryCommand.d.ts +90 -0
  382. package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +59 -0
  383. package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +90 -0
  384. package/dist-types/ts3.4/commands/ScanCommand.d.ts +59 -0
  385. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +41 -0
  386. package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +60 -0
  387. package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +108 -0
  388. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +39 -0
  389. package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +46 -0
  390. package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +35 -0
  391. package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +63 -0
  392. package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +35 -0
  393. package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +37 -0
  394. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +57 -0
  395. package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +38 -0
  396. package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +59 -0
  397. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  398. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  399. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  400. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  401. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  402. package/dist-types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts +4 -0
  403. package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +4 -0
  404. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +4 -0
  405. package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +4 -0
  406. package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +4 -0
  407. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +152 -0
  408. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +40 -0
  409. package/dist-types/ts3.4/runtimeConfig.d.ts +40 -0
  410. package/dist-types/ts3.4/runtimeConfig.native.d.ts +39 -0
  411. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  412. package/dist-types/ts3.4/waiters/waitForTableExists.d.ts +14 -0
  413. package/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts +14 -0
  414. package/dist-types/waiters/waitForTableExists.d.ts +14 -0
  415. package/dist-types/waiters/waitForTableNotExists.d.ts +14 -0
  416. package/package.json +52 -52
  417. package/src/DynamoDB.ts +2531 -0
  418. package/src/DynamoDBClient.ts +476 -0
  419. package/src/commands/BatchExecuteStatementCommand.ts +97 -0
  420. package/src/commands/BatchGetItemCommand.ts +140 -0
  421. package/src/commands/BatchWriteItemCommand.ts +169 -0
  422. package/src/commands/CreateBackupCommand.ts +124 -0
  423. package/src/commands/CreateGlobalTableCommand.ts +162 -0
  424. package/src/commands/CreateTableCommand.ts +107 -0
  425. package/src/commands/DeleteBackupCommand.ts +96 -0
  426. package/src/commands/DeleteItemCommand.ts +100 -0
  427. package/src/commands/DeleteTableCommand.ts +111 -0
  428. package/src/commands/DescribeBackupCommand.ts +96 -0
  429. package/src/commands/DescribeContinuousBackupsCommand.ts +108 -0
  430. package/src/commands/DescribeContributorInsightsCommand.ts +98 -0
  431. package/src/commands/DescribeEndpointsCommand.ts +95 -0
  432. package/src/commands/DescribeExportCommand.ts +95 -0
  433. package/src/commands/DescribeGlobalTableCommand.ts +99 -0
  434. package/src/commands/DescribeGlobalTableSettingsCommand.ts +101 -0
  435. package/src/commands/DescribeKinesisStreamingDestinationCommand.ts +106 -0
  436. package/src/commands/DescribeLimitsCommand.ts +158 -0
  437. package/src/commands/DescribeTableCommand.ts +101 -0
  438. package/src/commands/DescribeTableReplicaAutoScalingCommand.ts +106 -0
  439. package/src/commands/DescribeTimeToLiveCommand.ts +95 -0
  440. package/src/commands/DisableKinesisStreamingDestinationCommand.ts +104 -0
  441. package/src/commands/EnableKinesisStreamingDestinationCommand.ts +106 -0
  442. package/src/commands/ExecuteStatementCommand.ts +97 -0
  443. package/src/commands/ExecuteTransactionCommand.ts +97 -0
  444. package/src/commands/ExportTableToPointInTimeCommand.ts +97 -0
  445. package/src/commands/GetItemCommand.ts +94 -0
  446. package/src/commands/ListBackupsCommand.ts +101 -0
  447. package/src/commands/ListContributorInsightsCommand.ts +95 -0
  448. package/src/commands/ListExportsCommand.ts +95 -0
  449. package/src/commands/ListGlobalTablesCommand.ts +98 -0
  450. package/src/commands/ListTablesCommand.ts +97 -0
  451. package/src/commands/ListTagsOfResourceCommand.ts +98 -0
  452. package/src/commands/PutItemCommand.ts +155 -0
  453. package/src/commands/QueryCommand.ts +143 -0
  454. package/src/commands/RestoreTableFromBackupCommand.ts +119 -0
  455. package/src/commands/RestoreTableToPointInTimeCommand.ts +153 -0
  456. package/src/commands/ScanCommand.ts +112 -0
  457. package/src/commands/TagResourceCommand.ts +101 -0
  458. package/src/commands/TransactGetItemsCommand.ts +120 -0
  459. package/src/commands/TransactWriteItemsCommand.ts +168 -0
  460. package/src/commands/UntagResourceCommand.ts +99 -0
  461. package/src/commands/UpdateContinuousBackupsCommand.ts +106 -0
  462. package/src/commands/UpdateContributorInsightsCommand.ts +98 -0
  463. package/src/commands/UpdateGlobalTableCommand.ts +123 -0
  464. package/src/commands/UpdateGlobalTableSettingsCommand.ts +98 -0
  465. package/src/commands/UpdateItemCommand.ts +97 -0
  466. package/src/commands/UpdateTableCommand.ts +117 -0
  467. package/src/commands/UpdateTableReplicaAutoScalingCommand.ts +103 -0
  468. package/src/commands/UpdateTimeToLiveCommand.ts +119 -0
  469. package/src/endpoints.ts +96 -0
  470. package/{index.ts → src/index.ts} +0 -0
  471. package/{models → src/models}/index.ts +0 -0
  472. package/{models → src/models}/models_0.ts +0 -0
  473. package/src/pagination/Interfaces.ts +8 -0
  474. package/src/pagination/ListContributorInsightsPaginator.ts +59 -0
  475. package/src/pagination/ListExportsPaginator.ts +55 -0
  476. package/src/pagination/ListTablesPaginator.ts +55 -0
  477. package/src/pagination/QueryPaginator.ts +55 -0
  478. package/src/pagination/ScanPaginator.ts +55 -0
  479. package/src/protocols/Aws_json1_0.ts +10027 -0
  480. package/src/runtimeConfig.browser.ts +42 -0
  481. package/src/runtimeConfig.native.ts +17 -0
  482. package/src/runtimeConfig.shared.ts +17 -0
  483. package/src/runtimeConfig.ts +49 -0
  484. package/src/waiters/waitForTableExists.ts +50 -0
  485. package/src/waiters/waitForTableNotExists.ts +42 -0
  486. package/tsconfig.es.json +1 -3
  487. package/tsconfig.json +7 -7
  488. package/tsconfig.types.json +9 -0
  489. package/DynamoDB.ts +0 -2530
  490. package/DynamoDBClient.ts +0 -475
  491. package/commands/BatchExecuteStatementCommand.ts +0 -96
  492. package/commands/BatchGetItemCommand.ts +0 -139
  493. package/commands/BatchWriteItemCommand.ts +0 -168
  494. package/commands/CreateBackupCommand.ts +0 -123
  495. package/commands/CreateGlobalTableCommand.ts +0 -161
  496. package/commands/CreateTableCommand.ts +0 -106
  497. package/commands/DeleteBackupCommand.ts +0 -95
  498. package/commands/DeleteItemCommand.ts +0 -99
  499. package/commands/DeleteTableCommand.ts +0 -110
  500. package/commands/DescribeBackupCommand.ts +0 -95
  501. package/commands/DescribeContinuousBackupsCommand.ts +0 -107
  502. package/commands/DescribeContributorInsightsCommand.ts +0 -97
  503. package/commands/DescribeEndpointsCommand.ts +0 -94
  504. package/commands/DescribeExportCommand.ts +0 -94
  505. package/commands/DescribeGlobalTableCommand.ts +0 -98
  506. package/commands/DescribeGlobalTableSettingsCommand.ts +0 -100
  507. package/commands/DescribeKinesisStreamingDestinationCommand.ts +0 -105
  508. package/commands/DescribeLimitsCommand.ts +0 -157
  509. package/commands/DescribeTableCommand.ts +0 -100
  510. package/commands/DescribeTableReplicaAutoScalingCommand.ts +0 -105
  511. package/commands/DescribeTimeToLiveCommand.ts +0 -94
  512. package/commands/DisableKinesisStreamingDestinationCommand.ts +0 -103
  513. package/commands/EnableKinesisStreamingDestinationCommand.ts +0 -105
  514. package/commands/ExecuteStatementCommand.ts +0 -96
  515. package/commands/ExecuteTransactionCommand.ts +0 -96
  516. package/commands/ExportTableToPointInTimeCommand.ts +0 -96
  517. package/commands/GetItemCommand.ts +0 -93
  518. package/commands/ListBackupsCommand.ts +0 -100
  519. package/commands/ListContributorInsightsCommand.ts +0 -94
  520. package/commands/ListExportsCommand.ts +0 -94
  521. package/commands/ListGlobalTablesCommand.ts +0 -97
  522. package/commands/ListTablesCommand.ts +0 -96
  523. package/commands/ListTagsOfResourceCommand.ts +0 -97
  524. package/commands/PutItemCommand.ts +0 -154
  525. package/commands/QueryCommand.ts +0 -142
  526. package/commands/RestoreTableFromBackupCommand.ts +0 -118
  527. package/commands/RestoreTableToPointInTimeCommand.ts +0 -152
  528. package/commands/ScanCommand.ts +0 -111
  529. package/commands/TagResourceCommand.ts +0 -100
  530. package/commands/TransactGetItemsCommand.ts +0 -119
  531. package/commands/TransactWriteItemsCommand.ts +0 -167
  532. package/commands/UntagResourceCommand.ts +0 -98
  533. package/commands/UpdateContinuousBackupsCommand.ts +0 -105
  534. package/commands/UpdateContributorInsightsCommand.ts +0 -97
  535. package/commands/UpdateGlobalTableCommand.ts +0 -122
  536. package/commands/UpdateGlobalTableSettingsCommand.ts +0 -97
  537. package/commands/UpdateItemCommand.ts +0 -96
  538. package/commands/UpdateTableCommand.ts +0 -116
  539. package/commands/UpdateTableReplicaAutoScalingCommand.ts +0 -102
  540. package/commands/UpdateTimeToLiveCommand.ts +0 -118
  541. package/dist/cjs/DynamoDB.js +0 -779
  542. package/dist/cjs/DynamoDB.js.map +0 -1
  543. package/dist/cjs/DynamoDBClient.js +0 -67
  544. package/dist/cjs/DynamoDBClient.js.map +0 -1
  545. package/dist/cjs/commands/BatchExecuteStatementCommand.js +0 -63
  546. package/dist/cjs/commands/BatchExecuteStatementCommand.js.map +0 -1
  547. package/dist/cjs/commands/BatchGetItemCommand.js +0 -106
  548. package/dist/cjs/commands/BatchGetItemCommand.js.map +0 -1
  549. package/dist/cjs/commands/BatchWriteItemCommand.js +0 -135
  550. package/dist/cjs/commands/BatchWriteItemCommand.js.map +0 -1
  551. package/dist/cjs/commands/CreateBackupCommand.js +0 -90
  552. package/dist/cjs/commands/CreateBackupCommand.js.map +0 -1
  553. package/dist/cjs/commands/CreateGlobalTableCommand.js +0 -128
  554. package/dist/cjs/commands/CreateGlobalTableCommand.js.map +0 -1
  555. package/dist/cjs/commands/CreateTableCommand.js +0 -73
  556. package/dist/cjs/commands/CreateTableCommand.js.map +0 -1
  557. package/dist/cjs/commands/DeleteBackupCommand.js +0 -62
  558. package/dist/cjs/commands/DeleteBackupCommand.js.map +0 -1
  559. package/dist/cjs/commands/DeleteItemCommand.js +0 -66
  560. package/dist/cjs/commands/DeleteItemCommand.js.map +0 -1
  561. package/dist/cjs/commands/DeleteTableCommand.js +0 -77
  562. package/dist/cjs/commands/DeleteTableCommand.js.map +0 -1
  563. package/dist/cjs/commands/DescribeBackupCommand.js +0 -62
  564. package/dist/cjs/commands/DescribeBackupCommand.js.map +0 -1
  565. package/dist/cjs/commands/DescribeContinuousBackupsCommand.js +0 -71
  566. package/dist/cjs/commands/DescribeContinuousBackupsCommand.js.map +0 -1
  567. package/dist/cjs/commands/DescribeContributorInsightsCommand.js +0 -61
  568. package/dist/cjs/commands/DescribeContributorInsightsCommand.js.map +0 -1
  569. package/dist/cjs/commands/DescribeEndpointsCommand.js +0 -61
  570. package/dist/cjs/commands/DescribeEndpointsCommand.js.map +0 -1
  571. package/dist/cjs/commands/DescribeExportCommand.js +0 -61
  572. package/dist/cjs/commands/DescribeExportCommand.js.map +0 -1
  573. package/dist/cjs/commands/DescribeGlobalTableCommand.js +0 -65
  574. package/dist/cjs/commands/DescribeGlobalTableCommand.js.map +0 -1
  575. package/dist/cjs/commands/DescribeGlobalTableSettingsCommand.js +0 -64
  576. package/dist/cjs/commands/DescribeGlobalTableSettingsCommand.js.map +0 -1
  577. package/dist/cjs/commands/DescribeKinesisStreamingDestinationCommand.js +0 -61
  578. package/dist/cjs/commands/DescribeKinesisStreamingDestinationCommand.js.map +0 -1
  579. package/dist/cjs/commands/DescribeLimitsCommand.js +0 -124
  580. package/dist/cjs/commands/DescribeLimitsCommand.js.map +0 -1
  581. package/dist/cjs/commands/DescribeTableCommand.js +0 -67
  582. package/dist/cjs/commands/DescribeTableCommand.js.map +0 -1
  583. package/dist/cjs/commands/DescribeTableReplicaAutoScalingCommand.js +0 -64
  584. package/dist/cjs/commands/DescribeTableReplicaAutoScalingCommand.js.map +0 -1
  585. package/dist/cjs/commands/DescribeTimeToLiveCommand.js +0 -61
  586. package/dist/cjs/commands/DescribeTimeToLiveCommand.js.map +0 -1
  587. package/dist/cjs/commands/DisableKinesisStreamingDestinationCommand.js +0 -62
  588. package/dist/cjs/commands/DisableKinesisStreamingDestinationCommand.js.map +0 -1
  589. package/dist/cjs/commands/EnableKinesisStreamingDestinationCommand.js +0 -64
  590. package/dist/cjs/commands/EnableKinesisStreamingDestinationCommand.js.map +0 -1
  591. package/dist/cjs/commands/ExecuteStatementCommand.js +0 -63
  592. package/dist/cjs/commands/ExecuteStatementCommand.js.map +0 -1
  593. package/dist/cjs/commands/ExecuteTransactionCommand.js +0 -63
  594. package/dist/cjs/commands/ExecuteTransactionCommand.js.map +0 -1
  595. package/dist/cjs/commands/ExportTableToPointInTimeCommand.js +0 -63
  596. package/dist/cjs/commands/ExportTableToPointInTimeCommand.js.map +0 -1
  597. package/dist/cjs/commands/GetItemCommand.js +0 -67
  598. package/dist/cjs/commands/GetItemCommand.js.map +0 -1
  599. package/dist/cjs/commands/ListBackupsCommand.js +0 -67
  600. package/dist/cjs/commands/ListBackupsCommand.js.map +0 -1
  601. package/dist/cjs/commands/ListContributorInsightsCommand.js +0 -61
  602. package/dist/cjs/commands/ListContributorInsightsCommand.js.map +0 -1
  603. package/dist/cjs/commands/ListExportsCommand.js +0 -61
  604. package/dist/cjs/commands/ListExportsCommand.js.map +0 -1
  605. package/dist/cjs/commands/ListGlobalTablesCommand.js +0 -64
  606. package/dist/cjs/commands/ListGlobalTablesCommand.js.map +0 -1
  607. package/dist/cjs/commands/ListTablesCommand.js +0 -63
  608. package/dist/cjs/commands/ListTablesCommand.js.map +0 -1
  609. package/dist/cjs/commands/ListTagsOfResourceCommand.js +0 -64
  610. package/dist/cjs/commands/ListTagsOfResourceCommand.js.map +0 -1
  611. package/dist/cjs/commands/PutItemCommand.js +0 -128
  612. package/dist/cjs/commands/PutItemCommand.js.map +0 -1
  613. package/dist/cjs/commands/QueryCommand.js +0 -116
  614. package/dist/cjs/commands/QueryCommand.js.map +0 -1
  615. package/dist/cjs/commands/RestoreTableFromBackupCommand.js +0 -85
  616. package/dist/cjs/commands/RestoreTableFromBackupCommand.js.map +0 -1
  617. package/dist/cjs/commands/RestoreTableToPointInTimeCommand.js +0 -116
  618. package/dist/cjs/commands/RestoreTableToPointInTimeCommand.js.map +0 -1
  619. package/dist/cjs/commands/ScanCommand.js +0 -85
  620. package/dist/cjs/commands/ScanCommand.js.map +0 -1
  621. package/dist/cjs/commands/TagResourceCommand.js +0 -67
  622. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  623. package/dist/cjs/commands/TransactGetItemsCommand.js +0 -86
  624. package/dist/cjs/commands/TransactGetItemsCommand.js.map +0 -1
  625. package/dist/cjs/commands/TransactWriteItemsCommand.js +0 -134
  626. package/dist/cjs/commands/TransactWriteItemsCommand.js.map +0 -1
  627. package/dist/cjs/commands/UntagResourceCommand.js +0 -65
  628. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  629. package/dist/cjs/commands/UpdateContinuousBackupsCommand.js +0 -72
  630. package/dist/cjs/commands/UpdateContinuousBackupsCommand.js.map +0 -1
  631. package/dist/cjs/commands/UpdateContributorInsightsCommand.js +0 -61
  632. package/dist/cjs/commands/UpdateContributorInsightsCommand.js.map +0 -1
  633. package/dist/cjs/commands/UpdateGlobalTableCommand.js +0 -89
  634. package/dist/cjs/commands/UpdateGlobalTableCommand.js.map +0 -1
  635. package/dist/cjs/commands/UpdateGlobalTableSettingsCommand.js +0 -61
  636. package/dist/cjs/commands/UpdateGlobalTableSettingsCommand.js.map +0 -1
  637. package/dist/cjs/commands/UpdateItemCommand.js +0 -63
  638. package/dist/cjs/commands/UpdateItemCommand.js.map +0 -1
  639. package/dist/cjs/commands/UpdateTableCommand.js +0 -83
  640. package/dist/cjs/commands/UpdateTableCommand.js.map +0 -1
  641. package/dist/cjs/commands/UpdateTableReplicaAutoScalingCommand.js +0 -64
  642. package/dist/cjs/commands/UpdateTableReplicaAutoScalingCommand.js.map +0 -1
  643. package/dist/cjs/commands/UpdateTimeToLiveCommand.js +0 -85
  644. package/dist/cjs/commands/UpdateTimeToLiveCommand.js.map +0 -1
  645. package/dist/cjs/endpoints.js +0 -96
  646. package/dist/cjs/endpoints.js.map +0 -1
  647. package/dist/cjs/index.js +0 -65
  648. package/dist/cjs/index.js.map +0 -1
  649. package/dist/cjs/models/index.js +0 -5
  650. package/dist/cjs/models/index.js.map +0 -1
  651. package/dist/cjs/models/models_0.js.map +0 -1
  652. package/dist/cjs/package.json +0 -95
  653. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  654. package/dist/cjs/pagination/ListContributorInsightsPaginator.js +0 -46
  655. package/dist/cjs/pagination/ListContributorInsightsPaginator.js.map +0 -1
  656. package/dist/cjs/pagination/ListExportsPaginator.js +0 -46
  657. package/dist/cjs/pagination/ListExportsPaginator.js.map +0 -1
  658. package/dist/cjs/pagination/ListTablesPaginator.js +0 -46
  659. package/dist/cjs/pagination/ListTablesPaginator.js.map +0 -1
  660. package/dist/cjs/pagination/QueryPaginator.js +0 -46
  661. package/dist/cjs/pagination/QueryPaginator.js.map +0 -1
  662. package/dist/cjs/pagination/ScanPaginator.js +0 -46
  663. package/dist/cjs/pagination/ScanPaginator.js.map +0 -1
  664. package/dist/cjs/protocols/Aws_json1_0.js +0 -7983
  665. package/dist/cjs/protocols/Aws_json1_0.js.map +0 -1
  666. package/dist/cjs/runtimeConfig.browser.js +0 -42
  667. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  668. package/dist/cjs/runtimeConfig.js +0 -48
  669. package/dist/cjs/runtimeConfig.js.map +0 -1
  670. package/dist/cjs/runtimeConfig.native.js +0 -20
  671. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  672. package/dist/cjs/runtimeConfig.shared.js +0 -21
  673. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  674. package/dist/cjs/waiters/waitForTableExists.js +0 -49
  675. package/dist/cjs/waiters/waitForTableExists.js.map +0 -1
  676. package/dist/cjs/waiters/waitForTableNotExists.js +0 -40
  677. package/dist/cjs/waiters/waitForTableNotExists.js.map +0 -1
  678. package/dist/es/DynamoDB.js +0 -782
  679. package/dist/es/DynamoDB.js.map +0 -1
  680. package/dist/es/DynamoDBClient.js +0 -69
  681. package/dist/es/DynamoDBClient.js.map +0 -1
  682. package/dist/es/commands/BatchExecuteStatementCommand.js +0 -67
  683. package/dist/es/commands/BatchExecuteStatementCommand.js.map +0 -1
  684. package/dist/es/commands/BatchGetItemCommand.js +0 -110
  685. package/dist/es/commands/BatchGetItemCommand.js.map +0 -1
  686. package/dist/es/commands/BatchWriteItemCommand.js +0 -139
  687. package/dist/es/commands/BatchWriteItemCommand.js.map +0 -1
  688. package/dist/es/commands/CreateBackupCommand.js +0 -94
  689. package/dist/es/commands/CreateBackupCommand.js.map +0 -1
  690. package/dist/es/commands/CreateGlobalTableCommand.js +0 -132
  691. package/dist/es/commands/CreateGlobalTableCommand.js.map +0 -1
  692. package/dist/es/commands/CreateTableCommand.js +0 -77
  693. package/dist/es/commands/CreateTableCommand.js.map +0 -1
  694. package/dist/es/commands/DeleteBackupCommand.js +0 -66
  695. package/dist/es/commands/DeleteBackupCommand.js.map +0 -1
  696. package/dist/es/commands/DeleteItemCommand.js +0 -70
  697. package/dist/es/commands/DeleteItemCommand.js.map +0 -1
  698. package/dist/es/commands/DeleteTableCommand.js +0 -81
  699. package/dist/es/commands/DeleteTableCommand.js.map +0 -1
  700. package/dist/es/commands/DescribeBackupCommand.js +0 -66
  701. package/dist/es/commands/DescribeBackupCommand.js.map +0 -1
  702. package/dist/es/commands/DescribeContinuousBackupsCommand.js +0 -75
  703. package/dist/es/commands/DescribeContinuousBackupsCommand.js.map +0 -1
  704. package/dist/es/commands/DescribeContributorInsightsCommand.js +0 -65
  705. package/dist/es/commands/DescribeContributorInsightsCommand.js.map +0 -1
  706. package/dist/es/commands/DescribeEndpointsCommand.js +0 -65
  707. package/dist/es/commands/DescribeEndpointsCommand.js.map +0 -1
  708. package/dist/es/commands/DescribeExportCommand.js +0 -65
  709. package/dist/es/commands/DescribeExportCommand.js.map +0 -1
  710. package/dist/es/commands/DescribeGlobalTableCommand.js +0 -69
  711. package/dist/es/commands/DescribeGlobalTableCommand.js.map +0 -1
  712. package/dist/es/commands/DescribeGlobalTableSettingsCommand.js +0 -68
  713. package/dist/es/commands/DescribeGlobalTableSettingsCommand.js.map +0 -1
  714. package/dist/es/commands/DescribeKinesisStreamingDestinationCommand.js +0 -65
  715. package/dist/es/commands/DescribeKinesisStreamingDestinationCommand.js.map +0 -1
  716. package/dist/es/commands/DescribeLimitsCommand.js +0 -128
  717. package/dist/es/commands/DescribeLimitsCommand.js.map +0 -1
  718. package/dist/es/commands/DescribeTableCommand.js +0 -71
  719. package/dist/es/commands/DescribeTableCommand.js.map +0 -1
  720. package/dist/es/commands/DescribeTableReplicaAutoScalingCommand.js +0 -68
  721. package/dist/es/commands/DescribeTableReplicaAutoScalingCommand.js.map +0 -1
  722. package/dist/es/commands/DescribeTimeToLiveCommand.js +0 -65
  723. package/dist/es/commands/DescribeTimeToLiveCommand.js.map +0 -1
  724. package/dist/es/commands/DisableKinesisStreamingDestinationCommand.js +0 -66
  725. package/dist/es/commands/DisableKinesisStreamingDestinationCommand.js.map +0 -1
  726. package/dist/es/commands/EnableKinesisStreamingDestinationCommand.js +0 -68
  727. package/dist/es/commands/EnableKinesisStreamingDestinationCommand.js.map +0 -1
  728. package/dist/es/commands/ExecuteStatementCommand.js +0 -67
  729. package/dist/es/commands/ExecuteStatementCommand.js.map +0 -1
  730. package/dist/es/commands/ExecuteTransactionCommand.js +0 -67
  731. package/dist/es/commands/ExecuteTransactionCommand.js.map +0 -1
  732. package/dist/es/commands/ExportTableToPointInTimeCommand.js +0 -67
  733. package/dist/es/commands/ExportTableToPointInTimeCommand.js.map +0 -1
  734. package/dist/es/commands/GetItemCommand.js +0 -71
  735. package/dist/es/commands/GetItemCommand.js.map +0 -1
  736. package/dist/es/commands/ListBackupsCommand.js +0 -71
  737. package/dist/es/commands/ListBackupsCommand.js.map +0 -1
  738. package/dist/es/commands/ListContributorInsightsCommand.js +0 -65
  739. package/dist/es/commands/ListContributorInsightsCommand.js.map +0 -1
  740. package/dist/es/commands/ListExportsCommand.js +0 -65
  741. package/dist/es/commands/ListExportsCommand.js.map +0 -1
  742. package/dist/es/commands/ListGlobalTablesCommand.js +0 -68
  743. package/dist/es/commands/ListGlobalTablesCommand.js.map +0 -1
  744. package/dist/es/commands/ListTablesCommand.js +0 -67
  745. package/dist/es/commands/ListTablesCommand.js.map +0 -1
  746. package/dist/es/commands/ListTagsOfResourceCommand.js +0 -68
  747. package/dist/es/commands/ListTagsOfResourceCommand.js.map +0 -1
  748. package/dist/es/commands/PutItemCommand.js +0 -132
  749. package/dist/es/commands/PutItemCommand.js.map +0 -1
  750. package/dist/es/commands/QueryCommand.js +0 -120
  751. package/dist/es/commands/QueryCommand.js.map +0 -1
  752. package/dist/es/commands/RestoreTableFromBackupCommand.js +0 -89
  753. package/dist/es/commands/RestoreTableFromBackupCommand.js.map +0 -1
  754. package/dist/es/commands/RestoreTableToPointInTimeCommand.js +0 -120
  755. package/dist/es/commands/RestoreTableToPointInTimeCommand.js.map +0 -1
  756. package/dist/es/commands/ScanCommand.js +0 -89
  757. package/dist/es/commands/ScanCommand.js.map +0 -1
  758. package/dist/es/commands/TagResourceCommand.js +0 -71
  759. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  760. package/dist/es/commands/TransactGetItemsCommand.js +0 -90
  761. package/dist/es/commands/TransactGetItemsCommand.js.map +0 -1
  762. package/dist/es/commands/TransactWriteItemsCommand.js +0 -138
  763. package/dist/es/commands/TransactWriteItemsCommand.js.map +0 -1
  764. package/dist/es/commands/UntagResourceCommand.js +0 -69
  765. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  766. package/dist/es/commands/UpdateContinuousBackupsCommand.js +0 -76
  767. package/dist/es/commands/UpdateContinuousBackupsCommand.js.map +0 -1
  768. package/dist/es/commands/UpdateContributorInsightsCommand.js +0 -65
  769. package/dist/es/commands/UpdateContributorInsightsCommand.js.map +0 -1
  770. package/dist/es/commands/UpdateGlobalTableCommand.js +0 -93
  771. package/dist/es/commands/UpdateGlobalTableCommand.js.map +0 -1
  772. package/dist/es/commands/UpdateGlobalTableSettingsCommand.js +0 -65
  773. package/dist/es/commands/UpdateGlobalTableSettingsCommand.js.map +0 -1
  774. package/dist/es/commands/UpdateItemCommand.js +0 -67
  775. package/dist/es/commands/UpdateItemCommand.js.map +0 -1
  776. package/dist/es/commands/UpdateTableCommand.js +0 -87
  777. package/dist/es/commands/UpdateTableCommand.js.map +0 -1
  778. package/dist/es/commands/UpdateTableReplicaAutoScalingCommand.js +0 -68
  779. package/dist/es/commands/UpdateTableReplicaAutoScalingCommand.js.map +0 -1
  780. package/dist/es/commands/UpdateTimeToLiveCommand.js +0 -89
  781. package/dist/es/commands/UpdateTimeToLiveCommand.js.map +0 -1
  782. package/dist/es/endpoints.js +0 -92
  783. package/dist/es/endpoints.js.map +0 -1
  784. package/dist/es/index.js.map +0 -1
  785. package/dist/es/models/index.js.map +0 -1
  786. package/dist/es/models/models_0.js +0 -1965
  787. package/dist/es/models/models_0.js.map +0 -1
  788. package/dist/es/package.json +0 -95
  789. package/dist/es/pagination/Interfaces.js.map +0 -1
  790. package/dist/es/pagination/ListContributorInsightsPaginator.js +0 -87
  791. package/dist/es/pagination/ListContributorInsightsPaginator.js.map +0 -1
  792. package/dist/es/pagination/ListExportsPaginator.js +0 -87
  793. package/dist/es/pagination/ListExportsPaginator.js.map +0 -1
  794. package/dist/es/pagination/ListTablesPaginator.js +0 -87
  795. package/dist/es/pagination/ListTablesPaginator.js.map +0 -1
  796. package/dist/es/pagination/QueryPaginator.js +0 -87
  797. package/dist/es/pagination/QueryPaginator.js.map +0 -1
  798. package/dist/es/pagination/ScanPaginator.js +0 -87
  799. package/dist/es/pagination/ScanPaginator.js.map +0 -1
  800. package/dist/es/protocols/Aws_json1_0.js +0 -7981
  801. package/dist/es/protocols/Aws_json1_0.js.map +0 -1
  802. package/dist/es/runtimeConfig.browser.js +0 -20
  803. package/dist/es/runtimeConfig.browser.js.map +0 -1
  804. package/dist/es/runtimeConfig.js +0 -26
  805. package/dist/es/runtimeConfig.js.map +0 -1
  806. package/dist/es/runtimeConfig.native.js +0 -12
  807. package/dist/es/runtimeConfig.native.js.map +0 -1
  808. package/dist/es/runtimeConfig.shared.js +0 -17
  809. package/dist/es/runtimeConfig.shared.js.map +0 -1
  810. package/dist/es/waiters/waitForTableExists.js +0 -64
  811. package/dist/es/waiters/waitForTableExists.js.map +0 -1
  812. package/dist/es/waiters/waitForTableNotExists.js +0 -55
  813. package/dist/es/waiters/waitForTableNotExists.js.map +0 -1
  814. package/dist/types/DynamoDB.d.ts +0 -1169
  815. package/dist/types/DynamoDBClient.d.ts +0 -207
  816. package/dist/types/commands/BatchExecuteStatementCommand.d.ts +0 -37
  817. package/dist/types/commands/BatchGetItemCommand.d.ts +0 -80
  818. package/dist/types/commands/BatchWriteItemCommand.d.ts +0 -109
  819. package/dist/types/commands/CreateBackupCommand.d.ts +0 -64
  820. package/dist/types/commands/CreateGlobalTableCommand.d.ts +0 -102
  821. package/dist/types/commands/CreateTableCommand.d.ts +0 -47
  822. package/dist/types/commands/DeleteBackupCommand.d.ts +0 -36
  823. package/dist/types/commands/DeleteItemCommand.d.ts +0 -40
  824. package/dist/types/commands/DeleteTableCommand.d.ts +0 -51
  825. package/dist/types/commands/DescribeBackupCommand.d.ts +0 -36
  826. package/dist/types/commands/DescribeContinuousBackupsCommand.d.ts +0 -45
  827. package/dist/types/commands/DescribeContributorInsightsCommand.d.ts +0 -35
  828. package/dist/types/commands/DescribeEndpointsCommand.d.ts +0 -35
  829. package/dist/types/commands/DescribeExportCommand.d.ts +0 -35
  830. package/dist/types/commands/DescribeGlobalTableCommand.d.ts +0 -39
  831. package/dist/types/commands/DescribeGlobalTableSettingsCommand.d.ts +0 -38
  832. package/dist/types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +0 -35
  833. package/dist/types/commands/DescribeLimitsCommand.d.ts +0 -98
  834. package/dist/types/commands/DescribeTableCommand.d.ts +0 -41
  835. package/dist/types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +0 -38
  836. package/dist/types/commands/DescribeTimeToLiveCommand.d.ts +0 -35
  837. package/dist/types/commands/DisableKinesisStreamingDestinationCommand.d.ts +0 -36
  838. package/dist/types/commands/EnableKinesisStreamingDestinationCommand.d.ts +0 -38
  839. package/dist/types/commands/ExecuteStatementCommand.d.ts +0 -37
  840. package/dist/types/commands/ExecuteTransactionCommand.d.ts +0 -37
  841. package/dist/types/commands/ExportTableToPointInTimeCommand.d.ts +0 -37
  842. package/dist/types/commands/GetItemCommand.d.ts +0 -41
  843. package/dist/types/commands/ListBackupsCommand.d.ts +0 -41
  844. package/dist/types/commands/ListContributorInsightsCommand.d.ts +0 -35
  845. package/dist/types/commands/ListExportsCommand.d.ts +0 -35
  846. package/dist/types/commands/ListGlobalTablesCommand.d.ts +0 -38
  847. package/dist/types/commands/ListTablesCommand.d.ts +0 -37
  848. package/dist/types/commands/ListTagsOfResourceCommand.d.ts +0 -38
  849. package/dist/types/commands/PutItemCommand.d.ts +0 -102
  850. package/dist/types/commands/QueryCommand.d.ts +0 -90
  851. package/dist/types/commands/RestoreTableFromBackupCommand.d.ts +0 -59
  852. package/dist/types/commands/RestoreTableToPointInTimeCommand.d.ts +0 -90
  853. package/dist/types/commands/ScanCommand.d.ts +0 -59
  854. package/dist/types/commands/TagResourceCommand.d.ts +0 -41
  855. package/dist/types/commands/TransactGetItemsCommand.d.ts +0 -60
  856. package/dist/types/commands/TransactWriteItemsCommand.d.ts +0 -108
  857. package/dist/types/commands/UntagResourceCommand.d.ts +0 -39
  858. package/dist/types/commands/UpdateContinuousBackupsCommand.d.ts +0 -46
  859. package/dist/types/commands/UpdateContributorInsightsCommand.d.ts +0 -35
  860. package/dist/types/commands/UpdateGlobalTableCommand.d.ts +0 -63
  861. package/dist/types/commands/UpdateGlobalTableSettingsCommand.d.ts +0 -35
  862. package/dist/types/commands/UpdateItemCommand.d.ts +0 -37
  863. package/dist/types/commands/UpdateTableCommand.d.ts +0 -57
  864. package/dist/types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +0 -38
  865. package/dist/types/commands/UpdateTimeToLiveCommand.d.ts +0 -59
  866. package/dist/types/pagination/Interfaces.d.ts +0 -6
  867. package/dist/types/pagination/ListContributorInsightsPaginator.d.ts +0 -4
  868. package/dist/types/pagination/ListExportsPaginator.d.ts +0 -4
  869. package/dist/types/pagination/ListTablesPaginator.d.ts +0 -4
  870. package/dist/types/pagination/QueryPaginator.d.ts +0 -4
  871. package/dist/types/pagination/ScanPaginator.d.ts +0 -4
  872. package/dist/types/protocols/Aws_json1_0.d.ts +0 -152
  873. package/dist/types/runtimeConfig.browser.d.ts +0 -39
  874. package/dist/types/runtimeConfig.d.ts +0 -39
  875. package/dist/types/runtimeConfig.native.d.ts +0 -38
  876. package/dist/types/ts3.4/DynamoDB.d.ts +0 -1169
  877. package/dist/types/ts3.4/DynamoDBClient.d.ts +0 -207
  878. package/dist/types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +0 -37
  879. package/dist/types/ts3.4/commands/BatchGetItemCommand.d.ts +0 -80
  880. package/dist/types/ts3.4/commands/BatchWriteItemCommand.d.ts +0 -109
  881. package/dist/types/ts3.4/commands/CreateBackupCommand.d.ts +0 -64
  882. package/dist/types/ts3.4/commands/CreateGlobalTableCommand.d.ts +0 -102
  883. package/dist/types/ts3.4/commands/CreateTableCommand.d.ts +0 -47
  884. package/dist/types/ts3.4/commands/DeleteBackupCommand.d.ts +0 -36
  885. package/dist/types/ts3.4/commands/DeleteItemCommand.d.ts +0 -40
  886. package/dist/types/ts3.4/commands/DeleteTableCommand.d.ts +0 -51
  887. package/dist/types/ts3.4/commands/DescribeBackupCommand.d.ts +0 -36
  888. package/dist/types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +0 -45
  889. package/dist/types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +0 -35
  890. package/dist/types/ts3.4/commands/DescribeEndpointsCommand.d.ts +0 -35
  891. package/dist/types/ts3.4/commands/DescribeExportCommand.d.ts +0 -35
  892. package/dist/types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +0 -39
  893. package/dist/types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +0 -38
  894. package/dist/types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +0 -35
  895. package/dist/types/ts3.4/commands/DescribeLimitsCommand.d.ts +0 -98
  896. package/dist/types/ts3.4/commands/DescribeTableCommand.d.ts +0 -41
  897. package/dist/types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +0 -38
  898. package/dist/types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +0 -35
  899. package/dist/types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +0 -36
  900. package/dist/types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +0 -38
  901. package/dist/types/ts3.4/commands/ExecuteStatementCommand.d.ts +0 -37
  902. package/dist/types/ts3.4/commands/ExecuteTransactionCommand.d.ts +0 -37
  903. package/dist/types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +0 -37
  904. package/dist/types/ts3.4/commands/GetItemCommand.d.ts +0 -41
  905. package/dist/types/ts3.4/commands/ListBackupsCommand.d.ts +0 -41
  906. package/dist/types/ts3.4/commands/ListContributorInsightsCommand.d.ts +0 -35
  907. package/dist/types/ts3.4/commands/ListExportsCommand.d.ts +0 -35
  908. package/dist/types/ts3.4/commands/ListGlobalTablesCommand.d.ts +0 -38
  909. package/dist/types/ts3.4/commands/ListTablesCommand.d.ts +0 -37
  910. package/dist/types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +0 -38
  911. package/dist/types/ts3.4/commands/PutItemCommand.d.ts +0 -102
  912. package/dist/types/ts3.4/commands/QueryCommand.d.ts +0 -90
  913. package/dist/types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +0 -59
  914. package/dist/types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +0 -90
  915. package/dist/types/ts3.4/commands/ScanCommand.d.ts +0 -59
  916. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -41
  917. package/dist/types/ts3.4/commands/TransactGetItemsCommand.d.ts +0 -60
  918. package/dist/types/ts3.4/commands/TransactWriteItemsCommand.d.ts +0 -108
  919. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -39
  920. package/dist/types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +0 -46
  921. package/dist/types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +0 -35
  922. package/dist/types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +0 -63
  923. package/dist/types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +0 -35
  924. package/dist/types/ts3.4/commands/UpdateItemCommand.d.ts +0 -37
  925. package/dist/types/ts3.4/commands/UpdateTableCommand.d.ts +0 -57
  926. package/dist/types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +0 -38
  927. package/dist/types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +0 -59
  928. package/dist/types/ts3.4/pagination/Interfaces.d.ts +0 -6
  929. package/dist/types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts +0 -4
  930. package/dist/types/ts3.4/pagination/ListExportsPaginator.d.ts +0 -4
  931. package/dist/types/ts3.4/pagination/ListTablesPaginator.d.ts +0 -4
  932. package/dist/types/ts3.4/pagination/QueryPaginator.d.ts +0 -4
  933. package/dist/types/ts3.4/pagination/ScanPaginator.d.ts +0 -4
  934. package/dist/types/ts3.4/protocols/Aws_json1_0.d.ts +0 -152
  935. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +0 -39
  936. package/dist/types/ts3.4/runtimeConfig.d.ts +0 -39
  937. package/dist/types/ts3.4/runtimeConfig.native.d.ts +0 -38
  938. package/dist/types/ts3.4/waiters/waitForTableExists.d.ts +0 -14
  939. package/dist/types/ts3.4/waiters/waitForTableNotExists.d.ts +0 -14
  940. package/dist/types/waiters/waitForTableExists.d.ts +0 -14
  941. package/dist/types/waiters/waitForTableNotExists.d.ts +0 -14
  942. package/endpoints.ts +0 -96
  943. package/pagination/Interfaces.ts +0 -7
  944. package/pagination/ListContributorInsightsPaginator.ts +0 -58
  945. package/pagination/ListExportsPaginator.ts +0 -54
  946. package/pagination/ListTablesPaginator.ts +0 -54
  947. package/pagination/QueryPaginator.ts +0 -54
  948. package/pagination/ScanPaginator.ts +0 -54
  949. package/protocols/Aws_json1_0.ts +0 -10026
  950. package/runtimeConfig.browser.ts +0 -41
  951. package/runtimeConfig.native.ts +0 -16
  952. package/runtimeConfig.shared.ts +0 -16
  953. package/runtimeConfig.ts +0 -48
  954. package/waiters/waitForTableExists.ts +0 -49
  955. package/waiters/waitForTableNotExists.ts +0 -41
@@ -0,0 +1,2531 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+
3
+ import {
4
+ BatchExecuteStatementCommand,
5
+ BatchExecuteStatementCommandInput,
6
+ BatchExecuteStatementCommandOutput,
7
+ } from "./commands/BatchExecuteStatementCommand";
8
+ import {
9
+ BatchGetItemCommand,
10
+ BatchGetItemCommandInput,
11
+ BatchGetItemCommandOutput,
12
+ } from "./commands/BatchGetItemCommand";
13
+ import {
14
+ BatchWriteItemCommand,
15
+ BatchWriteItemCommandInput,
16
+ BatchWriteItemCommandOutput,
17
+ } from "./commands/BatchWriteItemCommand";
18
+ import {
19
+ CreateBackupCommand,
20
+ CreateBackupCommandInput,
21
+ CreateBackupCommandOutput,
22
+ } from "./commands/CreateBackupCommand";
23
+ import {
24
+ CreateGlobalTableCommand,
25
+ CreateGlobalTableCommandInput,
26
+ CreateGlobalTableCommandOutput,
27
+ } from "./commands/CreateGlobalTableCommand";
28
+ import { CreateTableCommand, CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
29
+ import {
30
+ DeleteBackupCommand,
31
+ DeleteBackupCommandInput,
32
+ DeleteBackupCommandOutput,
33
+ } from "./commands/DeleteBackupCommand";
34
+ import { DeleteItemCommand, DeleteItemCommandInput, DeleteItemCommandOutput } from "./commands/DeleteItemCommand";
35
+ import { DeleteTableCommand, DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
36
+ import {
37
+ DescribeBackupCommand,
38
+ DescribeBackupCommandInput,
39
+ DescribeBackupCommandOutput,
40
+ } from "./commands/DescribeBackupCommand";
41
+ import {
42
+ DescribeContinuousBackupsCommand,
43
+ DescribeContinuousBackupsCommandInput,
44
+ DescribeContinuousBackupsCommandOutput,
45
+ } from "./commands/DescribeContinuousBackupsCommand";
46
+ import {
47
+ DescribeContributorInsightsCommand,
48
+ DescribeContributorInsightsCommandInput,
49
+ DescribeContributorInsightsCommandOutput,
50
+ } from "./commands/DescribeContributorInsightsCommand";
51
+ import {
52
+ DescribeEndpointsCommand,
53
+ DescribeEndpointsCommandInput,
54
+ DescribeEndpointsCommandOutput,
55
+ } from "./commands/DescribeEndpointsCommand";
56
+ import {
57
+ DescribeExportCommand,
58
+ DescribeExportCommandInput,
59
+ DescribeExportCommandOutput,
60
+ } from "./commands/DescribeExportCommand";
61
+ import {
62
+ DescribeGlobalTableCommand,
63
+ DescribeGlobalTableCommandInput,
64
+ DescribeGlobalTableCommandOutput,
65
+ } from "./commands/DescribeGlobalTableCommand";
66
+ import {
67
+ DescribeGlobalTableSettingsCommand,
68
+ DescribeGlobalTableSettingsCommandInput,
69
+ DescribeGlobalTableSettingsCommandOutput,
70
+ } from "./commands/DescribeGlobalTableSettingsCommand";
71
+ import {
72
+ DescribeKinesisStreamingDestinationCommand,
73
+ DescribeKinesisStreamingDestinationCommandInput,
74
+ DescribeKinesisStreamingDestinationCommandOutput,
75
+ } from "./commands/DescribeKinesisStreamingDestinationCommand";
76
+ import {
77
+ DescribeLimitsCommand,
78
+ DescribeLimitsCommandInput,
79
+ DescribeLimitsCommandOutput,
80
+ } from "./commands/DescribeLimitsCommand";
81
+ import {
82
+ DescribeTableCommand,
83
+ DescribeTableCommandInput,
84
+ DescribeTableCommandOutput,
85
+ } from "./commands/DescribeTableCommand";
86
+ import {
87
+ DescribeTableReplicaAutoScalingCommand,
88
+ DescribeTableReplicaAutoScalingCommandInput,
89
+ DescribeTableReplicaAutoScalingCommandOutput,
90
+ } from "./commands/DescribeTableReplicaAutoScalingCommand";
91
+ import {
92
+ DescribeTimeToLiveCommand,
93
+ DescribeTimeToLiveCommandInput,
94
+ DescribeTimeToLiveCommandOutput,
95
+ } from "./commands/DescribeTimeToLiveCommand";
96
+ import {
97
+ DisableKinesisStreamingDestinationCommand,
98
+ DisableKinesisStreamingDestinationCommandInput,
99
+ DisableKinesisStreamingDestinationCommandOutput,
100
+ } from "./commands/DisableKinesisStreamingDestinationCommand";
101
+ import {
102
+ EnableKinesisStreamingDestinationCommand,
103
+ EnableKinesisStreamingDestinationCommandInput,
104
+ EnableKinesisStreamingDestinationCommandOutput,
105
+ } from "./commands/EnableKinesisStreamingDestinationCommand";
106
+ import {
107
+ ExecuteStatementCommand,
108
+ ExecuteStatementCommandInput,
109
+ ExecuteStatementCommandOutput,
110
+ } from "./commands/ExecuteStatementCommand";
111
+ import {
112
+ ExecuteTransactionCommand,
113
+ ExecuteTransactionCommandInput,
114
+ ExecuteTransactionCommandOutput,
115
+ } from "./commands/ExecuteTransactionCommand";
116
+ import {
117
+ ExportTableToPointInTimeCommand,
118
+ ExportTableToPointInTimeCommandInput,
119
+ ExportTableToPointInTimeCommandOutput,
120
+ } from "./commands/ExportTableToPointInTimeCommand";
121
+ import { GetItemCommand, GetItemCommandInput, GetItemCommandOutput } from "./commands/GetItemCommand";
122
+ import { ListBackupsCommand, ListBackupsCommandInput, ListBackupsCommandOutput } from "./commands/ListBackupsCommand";
123
+ import {
124
+ ListContributorInsightsCommand,
125
+ ListContributorInsightsCommandInput,
126
+ ListContributorInsightsCommandOutput,
127
+ } from "./commands/ListContributorInsightsCommand";
128
+ import { ListExportsCommand, ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
129
+ import {
130
+ ListGlobalTablesCommand,
131
+ ListGlobalTablesCommandInput,
132
+ ListGlobalTablesCommandOutput,
133
+ } from "./commands/ListGlobalTablesCommand";
134
+ import { ListTablesCommand, ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
135
+ import {
136
+ ListTagsOfResourceCommand,
137
+ ListTagsOfResourceCommandInput,
138
+ ListTagsOfResourceCommandOutput,
139
+ } from "./commands/ListTagsOfResourceCommand";
140
+ import { PutItemCommand, PutItemCommandInput, PutItemCommandOutput } from "./commands/PutItemCommand";
141
+ import { QueryCommand, QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
142
+ import {
143
+ RestoreTableFromBackupCommand,
144
+ RestoreTableFromBackupCommandInput,
145
+ RestoreTableFromBackupCommandOutput,
146
+ } from "./commands/RestoreTableFromBackupCommand";
147
+ import {
148
+ RestoreTableToPointInTimeCommand,
149
+ RestoreTableToPointInTimeCommandInput,
150
+ RestoreTableToPointInTimeCommandOutput,
151
+ } from "./commands/RestoreTableToPointInTimeCommand";
152
+ import { ScanCommand, ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand";
153
+ import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
154
+ import {
155
+ TransactGetItemsCommand,
156
+ TransactGetItemsCommandInput,
157
+ TransactGetItemsCommandOutput,
158
+ } from "./commands/TransactGetItemsCommand";
159
+ import {
160
+ TransactWriteItemsCommand,
161
+ TransactWriteItemsCommandInput,
162
+ TransactWriteItemsCommandOutput,
163
+ } from "./commands/TransactWriteItemsCommand";
164
+ import {
165
+ UntagResourceCommand,
166
+ UntagResourceCommandInput,
167
+ UntagResourceCommandOutput,
168
+ } from "./commands/UntagResourceCommand";
169
+ import {
170
+ UpdateContinuousBackupsCommand,
171
+ UpdateContinuousBackupsCommandInput,
172
+ UpdateContinuousBackupsCommandOutput,
173
+ } from "./commands/UpdateContinuousBackupsCommand";
174
+ import {
175
+ UpdateContributorInsightsCommand,
176
+ UpdateContributorInsightsCommandInput,
177
+ UpdateContributorInsightsCommandOutput,
178
+ } from "./commands/UpdateContributorInsightsCommand";
179
+ import {
180
+ UpdateGlobalTableCommand,
181
+ UpdateGlobalTableCommandInput,
182
+ UpdateGlobalTableCommandOutput,
183
+ } from "./commands/UpdateGlobalTableCommand";
184
+ import {
185
+ UpdateGlobalTableSettingsCommand,
186
+ UpdateGlobalTableSettingsCommandInput,
187
+ UpdateGlobalTableSettingsCommandOutput,
188
+ } from "./commands/UpdateGlobalTableSettingsCommand";
189
+ import { UpdateItemCommand, UpdateItemCommandInput, UpdateItemCommandOutput } from "./commands/UpdateItemCommand";
190
+ import { UpdateTableCommand, UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
191
+ import {
192
+ UpdateTableReplicaAutoScalingCommand,
193
+ UpdateTableReplicaAutoScalingCommandInput,
194
+ UpdateTableReplicaAutoScalingCommandOutput,
195
+ } from "./commands/UpdateTableReplicaAutoScalingCommand";
196
+ import {
197
+ UpdateTimeToLiveCommand,
198
+ UpdateTimeToLiveCommandInput,
199
+ UpdateTimeToLiveCommandOutput,
200
+ } from "./commands/UpdateTimeToLiveCommand";
201
+ import { DynamoDBClient } from "./DynamoDBClient";
202
+
203
+ /**
204
+ * <fullname>Amazon DynamoDB</fullname>
205
+ *
206
+ *
207
+ * <p>Amazon DynamoDB is a fully managed NoSQL database service that provides fast and
208
+ * predictable performance with seamless scalability. DynamoDB lets you offload the
209
+ * administrative burdens of operating and scaling a distributed database, so that you don't have
210
+ * to worry about hardware provisioning, setup and configuration, replication, software patching,
211
+ * or cluster scaling.</p>
212
+ *
213
+ * <p>With DynamoDB, you can create database tables that can store and retrieve any amount of
214
+ * data, and serve any level of request traffic. You can scale up or scale down your tables'
215
+ * throughput capacity without downtime or performance degradation, and use the AWS Management
216
+ * Console to monitor resource utilization and performance metrics.</p>
217
+ *
218
+ * <p>DynamoDB automatically spreads the data and traffic for your tables over a sufficient
219
+ * number of servers to handle your throughput and storage requirements, while maintaining
220
+ * consistent and fast performance. All of your data is stored on solid state disks (SSDs) and
221
+ * automatically replicated across multiple Availability Zones in an AWS region, providing
222
+ * built-in high availability and data durability. </p>
223
+ */
224
+ export class DynamoDB extends DynamoDBClient {
225
+ /**
226
+ * <p>
227
+ * This operation allows you to perform batch reads and writes on data stored in DynamoDB, using PartiQL.
228
+ * </p>
229
+ */
230
+ public batchExecuteStatement(
231
+ args: BatchExecuteStatementCommandInput,
232
+ options?: __HttpHandlerOptions
233
+ ): Promise<BatchExecuteStatementCommandOutput>;
234
+ public batchExecuteStatement(
235
+ args: BatchExecuteStatementCommandInput,
236
+ cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void
237
+ ): void;
238
+ public batchExecuteStatement(
239
+ args: BatchExecuteStatementCommandInput,
240
+ options: __HttpHandlerOptions,
241
+ cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void
242
+ ): void;
243
+ public batchExecuteStatement(
244
+ args: BatchExecuteStatementCommandInput,
245
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchExecuteStatementCommandOutput) => void),
246
+ cb?: (err: any, data?: BatchExecuteStatementCommandOutput) => void
247
+ ): Promise<BatchExecuteStatementCommandOutput> | void {
248
+ const command = new BatchExecuteStatementCommand(args);
249
+ if (typeof optionsOrCb === "function") {
250
+ this.send(command, optionsOrCb);
251
+ } else if (typeof cb === "function") {
252
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
253
+ this.send(command, optionsOrCb || {}, cb);
254
+ } else {
255
+ return this.send(command, optionsOrCb);
256
+ }
257
+ }
258
+
259
+ /**
260
+ * <p>The <code>BatchGetItem</code> operation returns the attributes of one or more items from one or
261
+ * more tables. You identify requested items by primary key.</p>
262
+ * <p>A single operation can retrieve up to 16 MB of data, which can contain as many as 100
263
+ * items. <code>BatchGetItem</code> returns a partial result if the response size limit is
264
+ * exceeded, the table's provisioned throughput is exceeded, or an internal processing
265
+ * failure occurs. If a partial result is returned, the operation returns a value for
266
+ * <code>UnprocessedKeys</code>. You can use this value to retry the operation starting
267
+ * with the next item to get.</p>
268
+ * <important>
269
+ * <p>If you request more than 100 items, <code>BatchGetItem</code> returns a
270
+ * <code>ValidationException</code> with the message "Too many items requested for
271
+ * the BatchGetItem call."</p>
272
+ * </important>
273
+ * <p>For example, if you ask to retrieve 100 items, but each individual item is 300 KB in
274
+ * size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns
275
+ * an appropriate <code>UnprocessedKeys</code> value so you can get the next page of
276
+ * results. If desired, your application can include its own logic to assemble the pages of
277
+ * results into one dataset.</p>
278
+ * <p>If <i>none</i> of the items can be processed due to insufficient
279
+ * provisioned throughput on all of the tables in the request, then
280
+ * <code>BatchGetItem</code> returns a
281
+ * <code>ProvisionedThroughputExceededException</code>. If <i>at least
282
+ * one</i> of the items is successfully processed, then
283
+ * <code>BatchGetItem</code> completes successfully, while returning the keys of the
284
+ * unread items in <code>UnprocessedKeys</code>.</p>
285
+ * <important>
286
+ * <p>If DynamoDB returns any unprocessed items, you should retry the batch operation on those
287
+ * items. However, <i>we strongly recommend that you use an exponential backoff algorithm</i>.
288
+ * If you retry the batch operation immediately, the underlying read or write requests can
289
+ * still fail due to throttling on the individual tables. If you delay the batch operation
290
+ * using exponential backoff, the individual requests in the batch are much more likely to
291
+ * succeed.</p>
292
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#BatchOperations">Batch
293
+ * Operations and Error Handling</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
294
+ * </important>
295
+ * <p>By default, <code>BatchGetItem</code> performs eventually consistent reads on every table in the
296
+ * request. If you want strongly consistent reads instead, you can set <code>ConsistentRead</code> to
297
+ * <code>true</code> for any or all tables.</p>
298
+ * <p>In order to minimize response latency, <code>BatchGetItem</code> retrieves items in parallel.</p>
299
+ * <p>When designing your application, keep in mind that DynamoDB does not return items in any
300
+ * particular order. To help parse the response by item, include the primary key values for the
301
+ * items in your request in the <code>ProjectionExpression</code> parameter.</p>
302
+ * <p>If a requested item does not exist, it is not returned in the result. Requests for
303
+ * nonexistent items consume the minimum read capacity units according to the type of read.
304
+ * For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#CapacityUnitCalculations">Working with Tables</a> in the <i>Amazon DynamoDB Developer
305
+ * Guide</i>.</p>
306
+ */
307
+ public batchGetItem(
308
+ args: BatchGetItemCommandInput,
309
+ options?: __HttpHandlerOptions
310
+ ): Promise<BatchGetItemCommandOutput>;
311
+ public batchGetItem(args: BatchGetItemCommandInput, cb: (err: any, data?: BatchGetItemCommandOutput) => void): void;
312
+ public batchGetItem(
313
+ args: BatchGetItemCommandInput,
314
+ options: __HttpHandlerOptions,
315
+ cb: (err: any, data?: BatchGetItemCommandOutput) => void
316
+ ): void;
317
+ public batchGetItem(
318
+ args: BatchGetItemCommandInput,
319
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetItemCommandOutput) => void),
320
+ cb?: (err: any, data?: BatchGetItemCommandOutput) => void
321
+ ): Promise<BatchGetItemCommandOutput> | void {
322
+ const command = new BatchGetItemCommand(args);
323
+ if (typeof optionsOrCb === "function") {
324
+ this.send(command, optionsOrCb);
325
+ } else if (typeof cb === "function") {
326
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
327
+ this.send(command, optionsOrCb || {}, cb);
328
+ } else {
329
+ return this.send(command, optionsOrCb);
330
+ }
331
+ }
332
+
333
+ /**
334
+ * <p>The <code>BatchWriteItem</code> operation puts or deletes multiple items in one or more
335
+ * tables. A single call to <code>BatchWriteItem</code> can write up to 16 MB of data,
336
+ * which can comprise as many as 25 put or delete requests. Individual items to be written
337
+ * can be as large as 400 KB.</p>
338
+ * <note>
339
+ * <p>
340
+ * <code>BatchWriteItem</code> cannot update items. To update items, use the <code>UpdateItem</code>
341
+ * action.</p>
342
+ * </note>
343
+ * <p>The individual <code>PutItem</code> and <code>DeleteItem</code> operations specified in
344
+ * <code>BatchWriteItem</code> are atomic; however <code>BatchWriteItem</code> as a whole is not. If any
345
+ * requested operations fail because the table's provisioned throughput is exceeded or an
346
+ * internal processing failure occurs, the failed operations are returned in the
347
+ * <code>UnprocessedItems</code> response parameter. You can investigate and optionally resend the
348
+ * requests. Typically, you would call <code>BatchWriteItem</code> in a loop. Each iteration would
349
+ * check for unprocessed items and submit a new <code>BatchWriteItem</code> request with those
350
+ * unprocessed items until all items have been processed.</p>
351
+ * <p>If <i>none</i> of the items can be processed due to insufficient
352
+ * provisioned throughput on all of the tables in the request, then
353
+ * <code>BatchWriteItem</code> returns a
354
+ * <code>ProvisionedThroughputExceededException</code>.</p>
355
+ * <important>
356
+ * <p>If DynamoDB returns any unprocessed items, you should retry the batch operation on those
357
+ * items. However, <i>we strongly recommend that you use an exponential backoff algorithm</i>.
358
+ * If you retry the batch operation immediately, the underlying read or write requests can
359
+ * still fail due to throttling on the individual tables. If you delay the batch operation
360
+ * using exponential backoff, the individual requests in the batch are much more likely to
361
+ * succeed.</p>
362
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#Programming.Errors.BatchOperations">Batch Operations and Error Handling</a> in the <i>Amazon DynamoDB
363
+ * Developer Guide</i>.</p>
364
+ * </important>
365
+ *
366
+ * <p>With <code>BatchWriteItem</code>, you can efficiently write or delete large amounts of
367
+ * data, such as from Amazon EMR, or copy data from another database into DynamoDB. In
368
+ * order to improve performance with these large-scale operations,
369
+ * <code>BatchWriteItem</code> does not behave in the same way as individual
370
+ * <code>PutItem</code> and <code>DeleteItem</code> calls would. For example, you
371
+ * cannot specify conditions on individual put and delete requests, and
372
+ * <code>BatchWriteItem</code> does not return deleted items in the response.</p>
373
+ * <p>If you use a programming language that supports concurrency, you can use
374
+ * threads to write items in parallel. Your application must include the necessary logic to
375
+ * manage the threads. With languages that don't support threading, you must update
376
+ * or delete the specified items one at a time. In both situations, <code>BatchWriteItem</code>
377
+ * performs the specified put and delete operations in
378
+ * parallel, giving you the power of the thread pool approach without having to introduce
379
+ * complexity into your application.</p>
380
+ * <p>Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit.</p>
381
+ * <p>If one or more of the following is true, DynamoDB rejects the entire batch write operation:</p>
382
+ * <ul>
383
+ * <li>
384
+ * <p>One or more tables specified in the <code>BatchWriteItem</code> request does not exist.</p>
385
+ * </li>
386
+ * <li>
387
+ * <p>Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema.</p>
388
+ * </li>
389
+ * <li>
390
+ * <p>You try to perform multiple operations on the same item in the same <code>BatchWriteItem</code>
391
+ * request. For example, you cannot put and delete the same item in the same
392
+ * <code>BatchWriteItem</code> request. </p>
393
+ * </li>
394
+ * <li>
395
+ * <p>
396
+ * Your request contains at least two items with identical hash and range keys (which essentially is two put operations).
397
+ * </p>
398
+ * </li>
399
+ * <li>
400
+ * <p>There are more than 25 requests in the batch.</p>
401
+ * </li>
402
+ * <li>
403
+ * <p>Any individual item in a batch exceeds 400 KB.</p>
404
+ * </li>
405
+ * <li>
406
+ * <p>The total request size exceeds 16 MB.</p>
407
+ * </li>
408
+ * </ul>
409
+ */
410
+ public batchWriteItem(
411
+ args: BatchWriteItemCommandInput,
412
+ options?: __HttpHandlerOptions
413
+ ): Promise<BatchWriteItemCommandOutput>;
414
+ public batchWriteItem(
415
+ args: BatchWriteItemCommandInput,
416
+ cb: (err: any, data?: BatchWriteItemCommandOutput) => void
417
+ ): void;
418
+ public batchWriteItem(
419
+ args: BatchWriteItemCommandInput,
420
+ options: __HttpHandlerOptions,
421
+ cb: (err: any, data?: BatchWriteItemCommandOutput) => void
422
+ ): void;
423
+ public batchWriteItem(
424
+ args: BatchWriteItemCommandInput,
425
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchWriteItemCommandOutput) => void),
426
+ cb?: (err: any, data?: BatchWriteItemCommandOutput) => void
427
+ ): Promise<BatchWriteItemCommandOutput> | void {
428
+ const command = new BatchWriteItemCommand(args);
429
+ if (typeof optionsOrCb === "function") {
430
+ this.send(command, optionsOrCb);
431
+ } else if (typeof cb === "function") {
432
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
433
+ this.send(command, optionsOrCb || {}, cb);
434
+ } else {
435
+ return this.send(command, optionsOrCb);
436
+ }
437
+ }
438
+
439
+ /**
440
+ * <p>Creates a backup for an existing table.</p>
441
+ * <p> Each time you create an on-demand backup, the entire table data is backed up. There
442
+ * is no limit to the number of on-demand backups that can be taken. </p>
443
+ * <p> When you create an on-demand backup, a time marker of the request is cataloged, and
444
+ * the backup is created asynchronously, by applying all changes until the time of the
445
+ * request to the last full table snapshot. Backup requests are processed instantaneously
446
+ * and become available for restore within minutes. </p>
447
+ * <p>You can call <code>CreateBackup</code> at a maximum rate of 50 times per second.</p>
448
+ * <p>All backups in DynamoDB work without consuming any provisioned throughput on the table.</p>
449
+ * <p> If you submit a backup request on 2018-12-14 at 14:25:00, the backup is guaranteed
450
+ * to contain all data committed to the table up to 14:24:00, and data committed after
451
+ * 14:26:00 will not be. The backup might contain data modifications made between 14:24:00
452
+ * and 14:26:00. On-demand backup does not support causal consistency. </p>
453
+ * <p>
454
+ * Along with data, the following are also included on the backups:
455
+ * </p>
456
+ * <ul>
457
+ * <li>
458
+ * <p>Global secondary indexes (GSIs)</p>
459
+ * </li>
460
+ * <li>
461
+ * <p>Local secondary indexes (LSIs)</p>
462
+ * </li>
463
+ * <li>
464
+ * <p>Streams</p>
465
+ * </li>
466
+ * <li>
467
+ * <p>Provisioned read and write capacity</p>
468
+ * </li>
469
+ * </ul>
470
+ */
471
+ public createBackup(
472
+ args: CreateBackupCommandInput,
473
+ options?: __HttpHandlerOptions
474
+ ): Promise<CreateBackupCommandOutput>;
475
+ public createBackup(args: CreateBackupCommandInput, cb: (err: any, data?: CreateBackupCommandOutput) => void): void;
476
+ public createBackup(
477
+ args: CreateBackupCommandInput,
478
+ options: __HttpHandlerOptions,
479
+ cb: (err: any, data?: CreateBackupCommandOutput) => void
480
+ ): void;
481
+ public createBackup(
482
+ args: CreateBackupCommandInput,
483
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateBackupCommandOutput) => void),
484
+ cb?: (err: any, data?: CreateBackupCommandOutput) => void
485
+ ): Promise<CreateBackupCommandOutput> | void {
486
+ const command = new CreateBackupCommand(args);
487
+ if (typeof optionsOrCb === "function") {
488
+ this.send(command, optionsOrCb);
489
+ } else if (typeof cb === "function") {
490
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
491
+ this.send(command, optionsOrCb || {}, cb);
492
+ } else {
493
+ return this.send(command, optionsOrCb);
494
+ }
495
+ }
496
+
497
+ /**
498
+ * <p>Creates a global table from an existing table. A global table creates a replication
499
+ * relationship between two or more DynamoDB tables with the same table name in the
500
+ * provided Regions. </p>
501
+ * <note>
502
+ * <p>This operation only applies to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html">Version 2017.11.29</a> of global tables.</p>
503
+ * </note>
504
+ *
505
+ * <p>If you want to add a new replica table to a global table, each of the following conditions
506
+ * must be true:</p>
507
+ * <ul>
508
+ * <li>
509
+ * <p>The table must have the same primary key as all of the other replicas.</p>
510
+ * </li>
511
+ * <li>
512
+ * <p>The table must have the same name as all of the other replicas.</p>
513
+ * </li>
514
+ * <li>
515
+ * <p>The table must have DynamoDB Streams enabled, with the stream containing both the new and the old
516
+ * images of the item.</p>
517
+ * </li>
518
+ * <li>
519
+ * <p>None of the replica tables in the global table can contain any data.</p>
520
+ * </li>
521
+ * </ul>
522
+ * <p>
523
+ * If global secondary indexes are specified, then the following conditions must also be met:
524
+ * </p>
525
+ * <ul>
526
+ * <li>
527
+ * <p>
528
+ * The global secondary indexes must have the same name.
529
+ * </p>
530
+ * </li>
531
+ * <li>
532
+ * <p>
533
+ * The global secondary indexes must have the same hash key and sort key (if present).
534
+ * </p>
535
+ * </li>
536
+ * </ul>
537
+ * <p>
538
+ * If local secondary indexes are specified, then the following conditions must also be met:
539
+ * </p>
540
+ * <ul>
541
+ * <li>
542
+ * <p>
543
+ * The local secondary indexes must have the same name.
544
+ * </p>
545
+ * </li>
546
+ * <li>
547
+ * <p>
548
+ * The local secondary indexes must have the same hash key and sort key (if present).
549
+ * </p>
550
+ * </li>
551
+ * </ul>
552
+ *
553
+ * <important>
554
+ * <p>
555
+ * Write capacity settings should be set consistently across your replica tables and
556
+ * secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the write
557
+ * capacity settings for all of your global tables replicas and indexes.
558
+ * </p>
559
+ * <p>
560
+ * If you prefer to manage write capacity settings manually, you should provision equal
561
+ * replicated write capacity units to your replica tables. You should also provision
562
+ * equal replicated write capacity units to matching secondary indexes across
563
+ * your global table.
564
+ * </p>
565
+ * </important>
566
+ */
567
+ public createGlobalTable(
568
+ args: CreateGlobalTableCommandInput,
569
+ options?: __HttpHandlerOptions
570
+ ): Promise<CreateGlobalTableCommandOutput>;
571
+ public createGlobalTable(
572
+ args: CreateGlobalTableCommandInput,
573
+ cb: (err: any, data?: CreateGlobalTableCommandOutput) => void
574
+ ): void;
575
+ public createGlobalTable(
576
+ args: CreateGlobalTableCommandInput,
577
+ options: __HttpHandlerOptions,
578
+ cb: (err: any, data?: CreateGlobalTableCommandOutput) => void
579
+ ): void;
580
+ public createGlobalTable(
581
+ args: CreateGlobalTableCommandInput,
582
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateGlobalTableCommandOutput) => void),
583
+ cb?: (err: any, data?: CreateGlobalTableCommandOutput) => void
584
+ ): Promise<CreateGlobalTableCommandOutput> | void {
585
+ const command = new CreateGlobalTableCommand(args);
586
+ if (typeof optionsOrCb === "function") {
587
+ this.send(command, optionsOrCb);
588
+ } else if (typeof cb === "function") {
589
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
590
+ this.send(command, optionsOrCb || {}, cb);
591
+ } else {
592
+ return this.send(command, optionsOrCb);
593
+ }
594
+ }
595
+
596
+ /**
597
+ * <p>The <code>CreateTable</code> operation adds a new table to your account. In an AWS
598
+ * account, table names must be unique within each Region. That is, you can have two tables
599
+ * with same name if you create the tables in different Regions.</p>
600
+ * <p>
601
+ * <code>CreateTable</code> is an asynchronous operation. Upon receiving a <code>CreateTable</code> request,
602
+ * DynamoDB immediately returns a response with a <code>TableStatus</code> of <code>CREATING</code>. After
603
+ * the table is created, DynamoDB sets the <code>TableStatus</code> to <code>ACTIVE</code>. You can
604
+ * perform read and write operations only on an <code>ACTIVE</code> table. </p>
605
+ * <p>You can optionally define secondary indexes on the new table, as part of the <code>CreateTable</code>
606
+ * operation. If you want to create multiple tables with secondary indexes on them, you must create the
607
+ * tables sequentially. Only one table with secondary indexes can be in the <code>CREATING</code> state at
608
+ * any given time.</p>
609
+ * <p>You can use the <code>DescribeTable</code> action to check the table status.</p>
610
+ */
611
+ public createTable(args: CreateTableCommandInput, options?: __HttpHandlerOptions): Promise<CreateTableCommandOutput>;
612
+ public createTable(args: CreateTableCommandInput, cb: (err: any, data?: CreateTableCommandOutput) => void): void;
613
+ public createTable(
614
+ args: CreateTableCommandInput,
615
+ options: __HttpHandlerOptions,
616
+ cb: (err: any, data?: CreateTableCommandOutput) => void
617
+ ): void;
618
+ public createTable(
619
+ args: CreateTableCommandInput,
620
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateTableCommandOutput) => void),
621
+ cb?: (err: any, data?: CreateTableCommandOutput) => void
622
+ ): Promise<CreateTableCommandOutput> | void {
623
+ const command = new CreateTableCommand(args);
624
+ if (typeof optionsOrCb === "function") {
625
+ this.send(command, optionsOrCb);
626
+ } else if (typeof cb === "function") {
627
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
628
+ this.send(command, optionsOrCb || {}, cb);
629
+ } else {
630
+ return this.send(command, optionsOrCb);
631
+ }
632
+ }
633
+
634
+ /**
635
+ * <p>Deletes an existing backup of a table.</p>
636
+ * <p>You can call <code>DeleteBackup</code> at a maximum rate of 10 times per second.</p>
637
+ */
638
+ public deleteBackup(
639
+ args: DeleteBackupCommandInput,
640
+ options?: __HttpHandlerOptions
641
+ ): Promise<DeleteBackupCommandOutput>;
642
+ public deleteBackup(args: DeleteBackupCommandInput, cb: (err: any, data?: DeleteBackupCommandOutput) => void): void;
643
+ public deleteBackup(
644
+ args: DeleteBackupCommandInput,
645
+ options: __HttpHandlerOptions,
646
+ cb: (err: any, data?: DeleteBackupCommandOutput) => void
647
+ ): void;
648
+ public deleteBackup(
649
+ args: DeleteBackupCommandInput,
650
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteBackupCommandOutput) => void),
651
+ cb?: (err: any, data?: DeleteBackupCommandOutput) => void
652
+ ): Promise<DeleteBackupCommandOutput> | void {
653
+ const command = new DeleteBackupCommand(args);
654
+ if (typeof optionsOrCb === "function") {
655
+ this.send(command, optionsOrCb);
656
+ } else if (typeof cb === "function") {
657
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
658
+ this.send(command, optionsOrCb || {}, cb);
659
+ } else {
660
+ return this.send(command, optionsOrCb);
661
+ }
662
+ }
663
+
664
+ /**
665
+ * <p>Deletes a single item in a table by primary key. You can perform a conditional delete operation that deletes the item if it exists, or if it has an expected attribute value.</p>
666
+ * <p>In addition to deleting an item, you can also return the item's attribute values in the same
667
+ * operation, using the <code>ReturnValues</code> parameter.</p>
668
+ * <p>Unless you specify conditions, the <code>DeleteItem</code> is an idempotent operation; running it
669
+ * multiple times on the same item or attribute does <i>not</i> result in an error response.</p>
670
+ * <p>Conditional deletes are useful for deleting items only if specific conditions are met. If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not deleted.</p>
671
+ */
672
+ public deleteItem(args: DeleteItemCommandInput, options?: __HttpHandlerOptions): Promise<DeleteItemCommandOutput>;
673
+ public deleteItem(args: DeleteItemCommandInput, cb: (err: any, data?: DeleteItemCommandOutput) => void): void;
674
+ public deleteItem(
675
+ args: DeleteItemCommandInput,
676
+ options: __HttpHandlerOptions,
677
+ cb: (err: any, data?: DeleteItemCommandOutput) => void
678
+ ): void;
679
+ public deleteItem(
680
+ args: DeleteItemCommandInput,
681
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteItemCommandOutput) => void),
682
+ cb?: (err: any, data?: DeleteItemCommandOutput) => void
683
+ ): Promise<DeleteItemCommandOutput> | void {
684
+ const command = new DeleteItemCommand(args);
685
+ if (typeof optionsOrCb === "function") {
686
+ this.send(command, optionsOrCb);
687
+ } else if (typeof cb === "function") {
688
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
689
+ this.send(command, optionsOrCb || {}, cb);
690
+ } else {
691
+ return this.send(command, optionsOrCb);
692
+ }
693
+ }
694
+
695
+ /**
696
+ * <p>The <code>DeleteTable</code> operation deletes a table and all of its items. After a
697
+ * <code>DeleteTable</code> request, the specified table is in the <code>DELETING</code> state until
698
+ * DynamoDB completes the deletion. If the table is in the <code>ACTIVE</code> state, you can delete
699
+ * it. If a table is in <code>CREATING</code> or <code>UPDATING</code> states, then DynamoDB returns
700
+ * a <code>ResourceInUseException</code>. If the specified table does not exist, DynamoDB returns a
701
+ * <code>ResourceNotFoundException</code>. If table is already in the <code>DELETING</code> state, no
702
+ * error is returned. </p>
703
+ * <note>
704
+ * <p>DynamoDB might continue to accept data read and write operations, such as <code>GetItem</code> and
705
+ * <code>PutItem</code>, on a table in the <code>DELETING</code> state until the table deletion is
706
+ * complete.</p>
707
+ * </note>
708
+ * <p>When you delete a table, any indexes on that table are also deleted.</p>
709
+ * <p>If you have DynamoDB Streams enabled on the table, then the corresponding stream on that table goes
710
+ * into the <code>DISABLED</code> state, and the stream is automatically deleted after 24 hours.</p>
711
+ *
712
+ * <p>Use the <code>DescribeTable</code> action to check the status of the table. </p>
713
+ */
714
+ public deleteTable(args: DeleteTableCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTableCommandOutput>;
715
+ public deleteTable(args: DeleteTableCommandInput, cb: (err: any, data?: DeleteTableCommandOutput) => void): void;
716
+ public deleteTable(
717
+ args: DeleteTableCommandInput,
718
+ options: __HttpHandlerOptions,
719
+ cb: (err: any, data?: DeleteTableCommandOutput) => void
720
+ ): void;
721
+ public deleteTable(
722
+ args: DeleteTableCommandInput,
723
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteTableCommandOutput) => void),
724
+ cb?: (err: any, data?: DeleteTableCommandOutput) => void
725
+ ): Promise<DeleteTableCommandOutput> | void {
726
+ const command = new DeleteTableCommand(args);
727
+ if (typeof optionsOrCb === "function") {
728
+ this.send(command, optionsOrCb);
729
+ } else if (typeof cb === "function") {
730
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
731
+ this.send(command, optionsOrCb || {}, cb);
732
+ } else {
733
+ return this.send(command, optionsOrCb);
734
+ }
735
+ }
736
+
737
+ /**
738
+ * <p>Describes an existing backup of a table.</p>
739
+ * <p>You can call <code>DescribeBackup</code> at a maximum rate of 10 times per second.</p>
740
+ */
741
+ public describeBackup(
742
+ args: DescribeBackupCommandInput,
743
+ options?: __HttpHandlerOptions
744
+ ): Promise<DescribeBackupCommandOutput>;
745
+ public describeBackup(
746
+ args: DescribeBackupCommandInput,
747
+ cb: (err: any, data?: DescribeBackupCommandOutput) => void
748
+ ): void;
749
+ public describeBackup(
750
+ args: DescribeBackupCommandInput,
751
+ options: __HttpHandlerOptions,
752
+ cb: (err: any, data?: DescribeBackupCommandOutput) => void
753
+ ): void;
754
+ public describeBackup(
755
+ args: DescribeBackupCommandInput,
756
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeBackupCommandOutput) => void),
757
+ cb?: (err: any, data?: DescribeBackupCommandOutput) => void
758
+ ): Promise<DescribeBackupCommandOutput> | void {
759
+ const command = new DescribeBackupCommand(args);
760
+ if (typeof optionsOrCb === "function") {
761
+ this.send(command, optionsOrCb);
762
+ } else if (typeof cb === "function") {
763
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
764
+ this.send(command, optionsOrCb || {}, cb);
765
+ } else {
766
+ return this.send(command, optionsOrCb);
767
+ }
768
+ }
769
+
770
+ /**
771
+ * <p>Checks the status of continuous backups and point in time recovery on the specified table.
772
+ * Continuous backups are <code>ENABLED</code> on all tables at table creation.
773
+ * If point in time recovery is enabled, <code>PointInTimeRecoveryStatus</code> will be set to ENABLED.</p>
774
+ * <p> After continuous backups and point in time recovery are enabled, you can restore to any
775
+ * point in time within <code>EarliestRestorableDateTime</code> and
776
+ * <code>LatestRestorableDateTime</code>. </p>
777
+ * <p>
778
+ * <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time. You can restore your table to any point
779
+ * in time during the last 35 days.
780
+ * </p>
781
+ * <p>You can call <code>DescribeContinuousBackups</code> at a maximum rate of 10 times per second.</p>
782
+ */
783
+ public describeContinuousBackups(
784
+ args: DescribeContinuousBackupsCommandInput,
785
+ options?: __HttpHandlerOptions
786
+ ): Promise<DescribeContinuousBackupsCommandOutput>;
787
+ public describeContinuousBackups(
788
+ args: DescribeContinuousBackupsCommandInput,
789
+ cb: (err: any, data?: DescribeContinuousBackupsCommandOutput) => void
790
+ ): void;
791
+ public describeContinuousBackups(
792
+ args: DescribeContinuousBackupsCommandInput,
793
+ options: __HttpHandlerOptions,
794
+ cb: (err: any, data?: DescribeContinuousBackupsCommandOutput) => void
795
+ ): void;
796
+ public describeContinuousBackups(
797
+ args: DescribeContinuousBackupsCommandInput,
798
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeContinuousBackupsCommandOutput) => void),
799
+ cb?: (err: any, data?: DescribeContinuousBackupsCommandOutput) => void
800
+ ): Promise<DescribeContinuousBackupsCommandOutput> | void {
801
+ const command = new DescribeContinuousBackupsCommand(args);
802
+ if (typeof optionsOrCb === "function") {
803
+ this.send(command, optionsOrCb);
804
+ } else if (typeof cb === "function") {
805
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
806
+ this.send(command, optionsOrCb || {}, cb);
807
+ } else {
808
+ return this.send(command, optionsOrCb);
809
+ }
810
+ }
811
+
812
+ /**
813
+ * <p>Returns information about contributor insights, for a given table or global secondary index.</p>
814
+ */
815
+ public describeContributorInsights(
816
+ args: DescribeContributorInsightsCommandInput,
817
+ options?: __HttpHandlerOptions
818
+ ): Promise<DescribeContributorInsightsCommandOutput>;
819
+ public describeContributorInsights(
820
+ args: DescribeContributorInsightsCommandInput,
821
+ cb: (err: any, data?: DescribeContributorInsightsCommandOutput) => void
822
+ ): void;
823
+ public describeContributorInsights(
824
+ args: DescribeContributorInsightsCommandInput,
825
+ options: __HttpHandlerOptions,
826
+ cb: (err: any, data?: DescribeContributorInsightsCommandOutput) => void
827
+ ): void;
828
+ public describeContributorInsights(
829
+ args: DescribeContributorInsightsCommandInput,
830
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeContributorInsightsCommandOutput) => void),
831
+ cb?: (err: any, data?: DescribeContributorInsightsCommandOutput) => void
832
+ ): Promise<DescribeContributorInsightsCommandOutput> | void {
833
+ const command = new DescribeContributorInsightsCommand(args);
834
+ if (typeof optionsOrCb === "function") {
835
+ this.send(command, optionsOrCb);
836
+ } else if (typeof cb === "function") {
837
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
838
+ this.send(command, optionsOrCb || {}, cb);
839
+ } else {
840
+ return this.send(command, optionsOrCb);
841
+ }
842
+ }
843
+
844
+ /**
845
+ * <p>Returns the regional endpoint information.</p>
846
+ */
847
+ public describeEndpoints(
848
+ args: DescribeEndpointsCommandInput,
849
+ options?: __HttpHandlerOptions
850
+ ): Promise<DescribeEndpointsCommandOutput>;
851
+ public describeEndpoints(
852
+ args: DescribeEndpointsCommandInput,
853
+ cb: (err: any, data?: DescribeEndpointsCommandOutput) => void
854
+ ): void;
855
+ public describeEndpoints(
856
+ args: DescribeEndpointsCommandInput,
857
+ options: __HttpHandlerOptions,
858
+ cb: (err: any, data?: DescribeEndpointsCommandOutput) => void
859
+ ): void;
860
+ public describeEndpoints(
861
+ args: DescribeEndpointsCommandInput,
862
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEndpointsCommandOutput) => void),
863
+ cb?: (err: any, data?: DescribeEndpointsCommandOutput) => void
864
+ ): Promise<DescribeEndpointsCommandOutput> | void {
865
+ const command = new DescribeEndpointsCommand(args);
866
+ if (typeof optionsOrCb === "function") {
867
+ this.send(command, optionsOrCb);
868
+ } else if (typeof cb === "function") {
869
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
870
+ this.send(command, optionsOrCb || {}, cb);
871
+ } else {
872
+ return this.send(command, optionsOrCb);
873
+ }
874
+ }
875
+
876
+ /**
877
+ * <p>Describes an existing table export.</p>
878
+ */
879
+ public describeExport(
880
+ args: DescribeExportCommandInput,
881
+ options?: __HttpHandlerOptions
882
+ ): Promise<DescribeExportCommandOutput>;
883
+ public describeExport(
884
+ args: DescribeExportCommandInput,
885
+ cb: (err: any, data?: DescribeExportCommandOutput) => void
886
+ ): void;
887
+ public describeExport(
888
+ args: DescribeExportCommandInput,
889
+ options: __HttpHandlerOptions,
890
+ cb: (err: any, data?: DescribeExportCommandOutput) => void
891
+ ): void;
892
+ public describeExport(
893
+ args: DescribeExportCommandInput,
894
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeExportCommandOutput) => void),
895
+ cb?: (err: any, data?: DescribeExportCommandOutput) => void
896
+ ): Promise<DescribeExportCommandOutput> | void {
897
+ const command = new DescribeExportCommand(args);
898
+ if (typeof optionsOrCb === "function") {
899
+ this.send(command, optionsOrCb);
900
+ } else if (typeof cb === "function") {
901
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
902
+ this.send(command, optionsOrCb || {}, cb);
903
+ } else {
904
+ return this.send(command, optionsOrCb);
905
+ }
906
+ }
907
+
908
+ /**
909
+ * <p>Returns information about the specified global table.</p>
910
+ * <note>
911
+ * <p>This operation only applies to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html">Version 2017.11.29</a> of global tables.
912
+ * If you are using global tables <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html">Version 2019.11.21</a> you can use <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTable.html">DescribeTable</a> instead.</p>
913
+ * </note>
914
+ */
915
+ public describeGlobalTable(
916
+ args: DescribeGlobalTableCommandInput,
917
+ options?: __HttpHandlerOptions
918
+ ): Promise<DescribeGlobalTableCommandOutput>;
919
+ public describeGlobalTable(
920
+ args: DescribeGlobalTableCommandInput,
921
+ cb: (err: any, data?: DescribeGlobalTableCommandOutput) => void
922
+ ): void;
923
+ public describeGlobalTable(
924
+ args: DescribeGlobalTableCommandInput,
925
+ options: __HttpHandlerOptions,
926
+ cb: (err: any, data?: DescribeGlobalTableCommandOutput) => void
927
+ ): void;
928
+ public describeGlobalTable(
929
+ args: DescribeGlobalTableCommandInput,
930
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeGlobalTableCommandOutput) => void),
931
+ cb?: (err: any, data?: DescribeGlobalTableCommandOutput) => void
932
+ ): Promise<DescribeGlobalTableCommandOutput> | void {
933
+ const command = new DescribeGlobalTableCommand(args);
934
+ if (typeof optionsOrCb === "function") {
935
+ this.send(command, optionsOrCb);
936
+ } else if (typeof cb === "function") {
937
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
938
+ this.send(command, optionsOrCb || {}, cb);
939
+ } else {
940
+ return this.send(command, optionsOrCb);
941
+ }
942
+ }
943
+
944
+ /**
945
+ * <p>Describes Region-specific settings for a global table.</p>
946
+ * <note>
947
+ * <p>This operation only applies to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html">Version 2017.11.29</a> of global tables.</p>
948
+ * </note>
949
+ */
950
+ public describeGlobalTableSettings(
951
+ args: DescribeGlobalTableSettingsCommandInput,
952
+ options?: __HttpHandlerOptions
953
+ ): Promise<DescribeGlobalTableSettingsCommandOutput>;
954
+ public describeGlobalTableSettings(
955
+ args: DescribeGlobalTableSettingsCommandInput,
956
+ cb: (err: any, data?: DescribeGlobalTableSettingsCommandOutput) => void
957
+ ): void;
958
+ public describeGlobalTableSettings(
959
+ args: DescribeGlobalTableSettingsCommandInput,
960
+ options: __HttpHandlerOptions,
961
+ cb: (err: any, data?: DescribeGlobalTableSettingsCommandOutput) => void
962
+ ): void;
963
+ public describeGlobalTableSettings(
964
+ args: DescribeGlobalTableSettingsCommandInput,
965
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeGlobalTableSettingsCommandOutput) => void),
966
+ cb?: (err: any, data?: DescribeGlobalTableSettingsCommandOutput) => void
967
+ ): Promise<DescribeGlobalTableSettingsCommandOutput> | void {
968
+ const command = new DescribeGlobalTableSettingsCommand(args);
969
+ if (typeof optionsOrCb === "function") {
970
+ this.send(command, optionsOrCb);
971
+ } else if (typeof cb === "function") {
972
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
973
+ this.send(command, optionsOrCb || {}, cb);
974
+ } else {
975
+ return this.send(command, optionsOrCb);
976
+ }
977
+ }
978
+
979
+ /**
980
+ * <p>Returns information about the status of Kinesis streaming.</p>
981
+ */
982
+ public describeKinesisStreamingDestination(
983
+ args: DescribeKinesisStreamingDestinationCommandInput,
984
+ options?: __HttpHandlerOptions
985
+ ): Promise<DescribeKinesisStreamingDestinationCommandOutput>;
986
+ public describeKinesisStreamingDestination(
987
+ args: DescribeKinesisStreamingDestinationCommandInput,
988
+ cb: (err: any, data?: DescribeKinesisStreamingDestinationCommandOutput) => void
989
+ ): void;
990
+ public describeKinesisStreamingDestination(
991
+ args: DescribeKinesisStreamingDestinationCommandInput,
992
+ options: __HttpHandlerOptions,
993
+ cb: (err: any, data?: DescribeKinesisStreamingDestinationCommandOutput) => void
994
+ ): void;
995
+ public describeKinesisStreamingDestination(
996
+ args: DescribeKinesisStreamingDestinationCommandInput,
997
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeKinesisStreamingDestinationCommandOutput) => void),
998
+ cb?: (err: any, data?: DescribeKinesisStreamingDestinationCommandOutput) => void
999
+ ): Promise<DescribeKinesisStreamingDestinationCommandOutput> | void {
1000
+ const command = new DescribeKinesisStreamingDestinationCommand(args);
1001
+ if (typeof optionsOrCb === "function") {
1002
+ this.send(command, optionsOrCb);
1003
+ } else if (typeof cb === "function") {
1004
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1005
+ this.send(command, optionsOrCb || {}, cb);
1006
+ } else {
1007
+ return this.send(command, optionsOrCb);
1008
+ }
1009
+ }
1010
+
1011
+ /**
1012
+ * <p>Returns the current provisioned-capacity quotas for your AWS account in a Region, both
1013
+ * for the Region as a whole and for any one DynamoDB table that you create there.</p>
1014
+ * <p>When you establish an AWS account, the account has initial quotas on the maximum read
1015
+ * capacity units and write capacity units that you can provision across all of your
1016
+ * DynamoDB tables in a given Region. Also, there are per-table quotas that apply when you
1017
+ * create a table there. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html">Service, Account, and Table
1018
+ * Quotas</a> page in the <i>Amazon DynamoDB Developer
1019
+ * Guide</i>.</p>
1020
+ *
1021
+ * <p>Although you can increase these quotas by filing a case at <a href="https://console.aws.amazon.com/support/home#/">AWS Support Center</a>, obtaining the increase is not
1022
+ * instantaneous. The <code>DescribeLimits</code> action lets you write code to compare the
1023
+ * capacity you are currently using to those quotas imposed by your account so that you
1024
+ * have enough time to apply for an increase before you hit a quota.</p>
1025
+ *
1026
+ * <p>For example, you could use one of the AWS SDKs to do the following:</p>
1027
+ *
1028
+ * <ol>
1029
+ * <li>
1030
+ * <p>Call <code>DescribeLimits</code> for a particular Region to obtain your current
1031
+ * account quotas on provisioned capacity there.</p>
1032
+ * </li>
1033
+ * <li>
1034
+ * <p>Create a variable to hold the aggregate read capacity units provisioned for all
1035
+ * your tables in that Region, and one to hold the aggregate write capacity units.
1036
+ * Zero them both.</p>
1037
+ * </li>
1038
+ * <li>
1039
+ * <p>Call <code>ListTables</code> to obtain a list of all your DynamoDB tables.</p>
1040
+ * </li>
1041
+ * <li>
1042
+ * <p>For each table name listed by <code>ListTables</code>, do the following:</p>
1043
+ * <ul>
1044
+ * <li>
1045
+ * <p>Call <code>DescribeTable</code> with the table name.</p>
1046
+ * </li>
1047
+ * <li>
1048
+ * <p>Use the data returned by <code>DescribeTable</code> to add the read capacity units and write capacity
1049
+ * units provisioned for the table itself to your variables.</p>
1050
+ * </li>
1051
+ * <li>
1052
+ * <p>If the table has one or more global secondary indexes (GSIs), loop over these GSIs and add their provisioned capacity values to your variables as well.</p>
1053
+ * </li>
1054
+ * </ul>
1055
+ * </li>
1056
+ * <li>
1057
+ * <p>Report the account quotas for that Region returned by <code>DescribeLimits</code>, along with
1058
+ * the total current provisioned capacity levels you have calculated.</p>
1059
+ * </li>
1060
+ * </ol>
1061
+ *
1062
+ * <p>This will let you see whether you are getting close to your account-level quotas.</p>
1063
+ * <p>The per-table quotas apply only when you are creating a new table. They restrict the sum
1064
+ * of the provisioned capacity of the new table itself and all its global secondary
1065
+ * indexes.</p>
1066
+ * <p>For existing tables and their GSIs, DynamoDB doesn't let you increase provisioned
1067
+ * capacity extremely rapidly, but the only quota that applies is that the aggregate
1068
+ * provisioned capacity over all your tables and GSIs cannot exceed either of the
1069
+ * per-account quotas.</p>
1070
+ * <note>
1071
+ * <p>
1072
+ * <code>DescribeLimits</code> should only be called periodically. You can expect throttling
1073
+ * errors if you call it more than once in a minute.</p>
1074
+ * </note>
1075
+ * <p>The <code>DescribeLimits</code> Request element has no content.</p>
1076
+ */
1077
+ public describeLimits(
1078
+ args: DescribeLimitsCommandInput,
1079
+ options?: __HttpHandlerOptions
1080
+ ): Promise<DescribeLimitsCommandOutput>;
1081
+ public describeLimits(
1082
+ args: DescribeLimitsCommandInput,
1083
+ cb: (err: any, data?: DescribeLimitsCommandOutput) => void
1084
+ ): void;
1085
+ public describeLimits(
1086
+ args: DescribeLimitsCommandInput,
1087
+ options: __HttpHandlerOptions,
1088
+ cb: (err: any, data?: DescribeLimitsCommandOutput) => void
1089
+ ): void;
1090
+ public describeLimits(
1091
+ args: DescribeLimitsCommandInput,
1092
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLimitsCommandOutput) => void),
1093
+ cb?: (err: any, data?: DescribeLimitsCommandOutput) => void
1094
+ ): Promise<DescribeLimitsCommandOutput> | void {
1095
+ const command = new DescribeLimitsCommand(args);
1096
+ if (typeof optionsOrCb === "function") {
1097
+ this.send(command, optionsOrCb);
1098
+ } else if (typeof cb === "function") {
1099
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1100
+ this.send(command, optionsOrCb || {}, cb);
1101
+ } else {
1102
+ return this.send(command, optionsOrCb);
1103
+ }
1104
+ }
1105
+
1106
+ /**
1107
+ * <p>Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table.</p>
1108
+ * <note>
1109
+ * <p>If you issue a <code>DescribeTable</code> request immediately after a <code>CreateTable</code> request, DynamoDB might
1110
+ * return a <code>ResourceNotFoundException</code>. This is because <code>DescribeTable</code> uses an eventually
1111
+ * consistent query, and the metadata for your table might not be available at that moment.
1112
+ * Wait for a few seconds, and then try the <code>DescribeTable</code> request again.</p>
1113
+ * </note>
1114
+ */
1115
+ public describeTable(
1116
+ args: DescribeTableCommandInput,
1117
+ options?: __HttpHandlerOptions
1118
+ ): Promise<DescribeTableCommandOutput>;
1119
+ public describeTable(
1120
+ args: DescribeTableCommandInput,
1121
+ cb: (err: any, data?: DescribeTableCommandOutput) => void
1122
+ ): void;
1123
+ public describeTable(
1124
+ args: DescribeTableCommandInput,
1125
+ options: __HttpHandlerOptions,
1126
+ cb: (err: any, data?: DescribeTableCommandOutput) => void
1127
+ ): void;
1128
+ public describeTable(
1129
+ args: DescribeTableCommandInput,
1130
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTableCommandOutput) => void),
1131
+ cb?: (err: any, data?: DescribeTableCommandOutput) => void
1132
+ ): Promise<DescribeTableCommandOutput> | void {
1133
+ const command = new DescribeTableCommand(args);
1134
+ if (typeof optionsOrCb === "function") {
1135
+ this.send(command, optionsOrCb);
1136
+ } else if (typeof cb === "function") {
1137
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1138
+ this.send(command, optionsOrCb || {}, cb);
1139
+ } else {
1140
+ return this.send(command, optionsOrCb);
1141
+ }
1142
+ }
1143
+
1144
+ /**
1145
+ * <p>Describes auto scaling settings across replicas of the global table at once.</p>
1146
+ * <note>
1147
+ * <p>This operation only applies to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html">Version 2019.11.21</a> of global tables.</p>
1148
+ * </note>
1149
+ */
1150
+ public describeTableReplicaAutoScaling(
1151
+ args: DescribeTableReplicaAutoScalingCommandInput,
1152
+ options?: __HttpHandlerOptions
1153
+ ): Promise<DescribeTableReplicaAutoScalingCommandOutput>;
1154
+ public describeTableReplicaAutoScaling(
1155
+ args: DescribeTableReplicaAutoScalingCommandInput,
1156
+ cb: (err: any, data?: DescribeTableReplicaAutoScalingCommandOutput) => void
1157
+ ): void;
1158
+ public describeTableReplicaAutoScaling(
1159
+ args: DescribeTableReplicaAutoScalingCommandInput,
1160
+ options: __HttpHandlerOptions,
1161
+ cb: (err: any, data?: DescribeTableReplicaAutoScalingCommandOutput) => void
1162
+ ): void;
1163
+ public describeTableReplicaAutoScaling(
1164
+ args: DescribeTableReplicaAutoScalingCommandInput,
1165
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTableReplicaAutoScalingCommandOutput) => void),
1166
+ cb?: (err: any, data?: DescribeTableReplicaAutoScalingCommandOutput) => void
1167
+ ): Promise<DescribeTableReplicaAutoScalingCommandOutput> | void {
1168
+ const command = new DescribeTableReplicaAutoScalingCommand(args);
1169
+ if (typeof optionsOrCb === "function") {
1170
+ this.send(command, optionsOrCb);
1171
+ } else if (typeof cb === "function") {
1172
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1173
+ this.send(command, optionsOrCb || {}, cb);
1174
+ } else {
1175
+ return this.send(command, optionsOrCb);
1176
+ }
1177
+ }
1178
+
1179
+ /**
1180
+ * <p>Gives a description of the Time to Live (TTL) status on the specified table. </p>
1181
+ */
1182
+ public describeTimeToLive(
1183
+ args: DescribeTimeToLiveCommandInput,
1184
+ options?: __HttpHandlerOptions
1185
+ ): Promise<DescribeTimeToLiveCommandOutput>;
1186
+ public describeTimeToLive(
1187
+ args: DescribeTimeToLiveCommandInput,
1188
+ cb: (err: any, data?: DescribeTimeToLiveCommandOutput) => void
1189
+ ): void;
1190
+ public describeTimeToLive(
1191
+ args: DescribeTimeToLiveCommandInput,
1192
+ options: __HttpHandlerOptions,
1193
+ cb: (err: any, data?: DescribeTimeToLiveCommandOutput) => void
1194
+ ): void;
1195
+ public describeTimeToLive(
1196
+ args: DescribeTimeToLiveCommandInput,
1197
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTimeToLiveCommandOutput) => void),
1198
+ cb?: (err: any, data?: DescribeTimeToLiveCommandOutput) => void
1199
+ ): Promise<DescribeTimeToLiveCommandOutput> | void {
1200
+ const command = new DescribeTimeToLiveCommand(args);
1201
+ if (typeof optionsOrCb === "function") {
1202
+ this.send(command, optionsOrCb);
1203
+ } else if (typeof cb === "function") {
1204
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1205
+ this.send(command, optionsOrCb || {}, cb);
1206
+ } else {
1207
+ return this.send(command, optionsOrCb);
1208
+ }
1209
+ }
1210
+
1211
+ /**
1212
+ * <p>Stops replication from the DynamoDB table to the Kinesis data stream. This is done
1213
+ * without deleting either of the resources.</p>
1214
+ */
1215
+ public disableKinesisStreamingDestination(
1216
+ args: DisableKinesisStreamingDestinationCommandInput,
1217
+ options?: __HttpHandlerOptions
1218
+ ): Promise<DisableKinesisStreamingDestinationCommandOutput>;
1219
+ public disableKinesisStreamingDestination(
1220
+ args: DisableKinesisStreamingDestinationCommandInput,
1221
+ cb: (err: any, data?: DisableKinesisStreamingDestinationCommandOutput) => void
1222
+ ): void;
1223
+ public disableKinesisStreamingDestination(
1224
+ args: DisableKinesisStreamingDestinationCommandInput,
1225
+ options: __HttpHandlerOptions,
1226
+ cb: (err: any, data?: DisableKinesisStreamingDestinationCommandOutput) => void
1227
+ ): void;
1228
+ public disableKinesisStreamingDestination(
1229
+ args: DisableKinesisStreamingDestinationCommandInput,
1230
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisableKinesisStreamingDestinationCommandOutput) => void),
1231
+ cb?: (err: any, data?: DisableKinesisStreamingDestinationCommandOutput) => void
1232
+ ): Promise<DisableKinesisStreamingDestinationCommandOutput> | void {
1233
+ const command = new DisableKinesisStreamingDestinationCommand(args);
1234
+ if (typeof optionsOrCb === "function") {
1235
+ this.send(command, optionsOrCb);
1236
+ } else if (typeof cb === "function") {
1237
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1238
+ this.send(command, optionsOrCb || {}, cb);
1239
+ } else {
1240
+ return this.send(command, optionsOrCb);
1241
+ }
1242
+ }
1243
+
1244
+ /**
1245
+ * <p>Starts table data replication to the specified Kinesis data stream at a timestamp chosen
1246
+ * during the enable workflow. If this operation doesn't return results immediately, use
1247
+ * DescribeKinesisStreamingDestination to check if streaming to the Kinesis data stream is
1248
+ * ACTIVE.</p>
1249
+ */
1250
+ public enableKinesisStreamingDestination(
1251
+ args: EnableKinesisStreamingDestinationCommandInput,
1252
+ options?: __HttpHandlerOptions
1253
+ ): Promise<EnableKinesisStreamingDestinationCommandOutput>;
1254
+ public enableKinesisStreamingDestination(
1255
+ args: EnableKinesisStreamingDestinationCommandInput,
1256
+ cb: (err: any, data?: EnableKinesisStreamingDestinationCommandOutput) => void
1257
+ ): void;
1258
+ public enableKinesisStreamingDestination(
1259
+ args: EnableKinesisStreamingDestinationCommandInput,
1260
+ options: __HttpHandlerOptions,
1261
+ cb: (err: any, data?: EnableKinesisStreamingDestinationCommandOutput) => void
1262
+ ): void;
1263
+ public enableKinesisStreamingDestination(
1264
+ args: EnableKinesisStreamingDestinationCommandInput,
1265
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: EnableKinesisStreamingDestinationCommandOutput) => void),
1266
+ cb?: (err: any, data?: EnableKinesisStreamingDestinationCommandOutput) => void
1267
+ ): Promise<EnableKinesisStreamingDestinationCommandOutput> | void {
1268
+ const command = new EnableKinesisStreamingDestinationCommand(args);
1269
+ if (typeof optionsOrCb === "function") {
1270
+ this.send(command, optionsOrCb);
1271
+ } else if (typeof cb === "function") {
1272
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1273
+ this.send(command, optionsOrCb || {}, cb);
1274
+ } else {
1275
+ return this.send(command, optionsOrCb);
1276
+ }
1277
+ }
1278
+
1279
+ /**
1280
+ * <p>
1281
+ * This operation allows you to perform reads and singleton writes on data stored in DynamoDB, using PartiQL.
1282
+ * </p>
1283
+ */
1284
+ public executeStatement(
1285
+ args: ExecuteStatementCommandInput,
1286
+ options?: __HttpHandlerOptions
1287
+ ): Promise<ExecuteStatementCommandOutput>;
1288
+ public executeStatement(
1289
+ args: ExecuteStatementCommandInput,
1290
+ cb: (err: any, data?: ExecuteStatementCommandOutput) => void
1291
+ ): void;
1292
+ public executeStatement(
1293
+ args: ExecuteStatementCommandInput,
1294
+ options: __HttpHandlerOptions,
1295
+ cb: (err: any, data?: ExecuteStatementCommandOutput) => void
1296
+ ): void;
1297
+ public executeStatement(
1298
+ args: ExecuteStatementCommandInput,
1299
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ExecuteStatementCommandOutput) => void),
1300
+ cb?: (err: any, data?: ExecuteStatementCommandOutput) => void
1301
+ ): Promise<ExecuteStatementCommandOutput> | void {
1302
+ const command = new ExecuteStatementCommand(args);
1303
+ if (typeof optionsOrCb === "function") {
1304
+ this.send(command, optionsOrCb);
1305
+ } else if (typeof cb === "function") {
1306
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1307
+ this.send(command, optionsOrCb || {}, cb);
1308
+ } else {
1309
+ return this.send(command, optionsOrCb);
1310
+ }
1311
+ }
1312
+
1313
+ /**
1314
+ * <p>
1315
+ * This operation allows you to perform transactional reads or writes on data stored in DynamoDB, using PartiQL.
1316
+ * </p>
1317
+ */
1318
+ public executeTransaction(
1319
+ args: ExecuteTransactionCommandInput,
1320
+ options?: __HttpHandlerOptions
1321
+ ): Promise<ExecuteTransactionCommandOutput>;
1322
+ public executeTransaction(
1323
+ args: ExecuteTransactionCommandInput,
1324
+ cb: (err: any, data?: ExecuteTransactionCommandOutput) => void
1325
+ ): void;
1326
+ public executeTransaction(
1327
+ args: ExecuteTransactionCommandInput,
1328
+ options: __HttpHandlerOptions,
1329
+ cb: (err: any, data?: ExecuteTransactionCommandOutput) => void
1330
+ ): void;
1331
+ public executeTransaction(
1332
+ args: ExecuteTransactionCommandInput,
1333
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ExecuteTransactionCommandOutput) => void),
1334
+ cb?: (err: any, data?: ExecuteTransactionCommandOutput) => void
1335
+ ): Promise<ExecuteTransactionCommandOutput> | void {
1336
+ const command = new ExecuteTransactionCommand(args);
1337
+ if (typeof optionsOrCb === "function") {
1338
+ this.send(command, optionsOrCb);
1339
+ } else if (typeof cb === "function") {
1340
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1341
+ this.send(command, optionsOrCb || {}, cb);
1342
+ } else {
1343
+ return this.send(command, optionsOrCb);
1344
+ }
1345
+ }
1346
+
1347
+ /**
1348
+ * <p>Exports table data to an S3 bucket. The table must have point in time recovery
1349
+ * enabled, and you can export data from any time within the point in time recovery
1350
+ * window.</p>
1351
+ */
1352
+ public exportTableToPointInTime(
1353
+ args: ExportTableToPointInTimeCommandInput,
1354
+ options?: __HttpHandlerOptions
1355
+ ): Promise<ExportTableToPointInTimeCommandOutput>;
1356
+ public exportTableToPointInTime(
1357
+ args: ExportTableToPointInTimeCommandInput,
1358
+ cb: (err: any, data?: ExportTableToPointInTimeCommandOutput) => void
1359
+ ): void;
1360
+ public exportTableToPointInTime(
1361
+ args: ExportTableToPointInTimeCommandInput,
1362
+ options: __HttpHandlerOptions,
1363
+ cb: (err: any, data?: ExportTableToPointInTimeCommandOutput) => void
1364
+ ): void;
1365
+ public exportTableToPointInTime(
1366
+ args: ExportTableToPointInTimeCommandInput,
1367
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ExportTableToPointInTimeCommandOutput) => void),
1368
+ cb?: (err: any, data?: ExportTableToPointInTimeCommandOutput) => void
1369
+ ): Promise<ExportTableToPointInTimeCommandOutput> | void {
1370
+ const command = new ExportTableToPointInTimeCommand(args);
1371
+ if (typeof optionsOrCb === "function") {
1372
+ this.send(command, optionsOrCb);
1373
+ } else if (typeof cb === "function") {
1374
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1375
+ this.send(command, optionsOrCb || {}, cb);
1376
+ } else {
1377
+ return this.send(command, optionsOrCb);
1378
+ }
1379
+ }
1380
+
1381
+ /**
1382
+ * <p>The <code>GetItem</code> operation returns a set of attributes for the item with the given primary
1383
+ * key. If there is no matching item, <code>GetItem</code> does not return any data and there will be no <code>Item</code> element in the response.</p>
1384
+ * <p>
1385
+ * <code>GetItem</code> provides an eventually consistent read by default. If your application
1386
+ * requires a strongly consistent read, set <code>ConsistentRead</code> to <code>true</code>. Although
1387
+ * a strongly consistent read might take more time than an eventually consistent read, it always
1388
+ * returns the last updated value.</p>
1389
+ */
1390
+ public getItem(args: GetItemCommandInput, options?: __HttpHandlerOptions): Promise<GetItemCommandOutput>;
1391
+ public getItem(args: GetItemCommandInput, cb: (err: any, data?: GetItemCommandOutput) => void): void;
1392
+ public getItem(
1393
+ args: GetItemCommandInput,
1394
+ options: __HttpHandlerOptions,
1395
+ cb: (err: any, data?: GetItemCommandOutput) => void
1396
+ ): void;
1397
+ public getItem(
1398
+ args: GetItemCommandInput,
1399
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetItemCommandOutput) => void),
1400
+ cb?: (err: any, data?: GetItemCommandOutput) => void
1401
+ ): Promise<GetItemCommandOutput> | void {
1402
+ const command = new GetItemCommand(args);
1403
+ if (typeof optionsOrCb === "function") {
1404
+ this.send(command, optionsOrCb);
1405
+ } else if (typeof cb === "function") {
1406
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1407
+ this.send(command, optionsOrCb || {}, cb);
1408
+ } else {
1409
+ return this.send(command, optionsOrCb);
1410
+ }
1411
+ }
1412
+
1413
+ /**
1414
+ * <p>List backups associated with an AWS account. To list backups for a given table, specify
1415
+ * <code>TableName</code>. <code>ListBackups</code> returns a paginated list of results
1416
+ * with at most 1 MB worth of items in a page. You can also specify a maximum number of
1417
+ * entries to be returned in a page. </p>
1418
+ * <p>In the request, start time is inclusive, but end time is exclusive. Note that these
1419
+ * boundaries are for the time at which the original backup was requested.</p>
1420
+ * <p>You can call <code>ListBackups</code> a maximum of five times per second.</p>
1421
+ */
1422
+ public listBackups(args: ListBackupsCommandInput, options?: __HttpHandlerOptions): Promise<ListBackupsCommandOutput>;
1423
+ public listBackups(args: ListBackupsCommandInput, cb: (err: any, data?: ListBackupsCommandOutput) => void): void;
1424
+ public listBackups(
1425
+ args: ListBackupsCommandInput,
1426
+ options: __HttpHandlerOptions,
1427
+ cb: (err: any, data?: ListBackupsCommandOutput) => void
1428
+ ): void;
1429
+ public listBackups(
1430
+ args: ListBackupsCommandInput,
1431
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListBackupsCommandOutput) => void),
1432
+ cb?: (err: any, data?: ListBackupsCommandOutput) => void
1433
+ ): Promise<ListBackupsCommandOutput> | void {
1434
+ const command = new ListBackupsCommand(args);
1435
+ if (typeof optionsOrCb === "function") {
1436
+ this.send(command, optionsOrCb);
1437
+ } else if (typeof cb === "function") {
1438
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1439
+ this.send(command, optionsOrCb || {}, cb);
1440
+ } else {
1441
+ return this.send(command, optionsOrCb);
1442
+ }
1443
+ }
1444
+
1445
+ /**
1446
+ * <p>Returns a list of ContributorInsightsSummary for a table and all its global secondary indexes.</p>
1447
+ */
1448
+ public listContributorInsights(
1449
+ args: ListContributorInsightsCommandInput,
1450
+ options?: __HttpHandlerOptions
1451
+ ): Promise<ListContributorInsightsCommandOutput>;
1452
+ public listContributorInsights(
1453
+ args: ListContributorInsightsCommandInput,
1454
+ cb: (err: any, data?: ListContributorInsightsCommandOutput) => void
1455
+ ): void;
1456
+ public listContributorInsights(
1457
+ args: ListContributorInsightsCommandInput,
1458
+ options: __HttpHandlerOptions,
1459
+ cb: (err: any, data?: ListContributorInsightsCommandOutput) => void
1460
+ ): void;
1461
+ public listContributorInsights(
1462
+ args: ListContributorInsightsCommandInput,
1463
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListContributorInsightsCommandOutput) => void),
1464
+ cb?: (err: any, data?: ListContributorInsightsCommandOutput) => void
1465
+ ): Promise<ListContributorInsightsCommandOutput> | void {
1466
+ const command = new ListContributorInsightsCommand(args);
1467
+ if (typeof optionsOrCb === "function") {
1468
+ this.send(command, optionsOrCb);
1469
+ } else if (typeof cb === "function") {
1470
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1471
+ this.send(command, optionsOrCb || {}, cb);
1472
+ } else {
1473
+ return this.send(command, optionsOrCb);
1474
+ }
1475
+ }
1476
+
1477
+ /**
1478
+ * <p>Lists completed exports within the past 90 days.</p>
1479
+ */
1480
+ public listExports(args: ListExportsCommandInput, options?: __HttpHandlerOptions): Promise<ListExportsCommandOutput>;
1481
+ public listExports(args: ListExportsCommandInput, cb: (err: any, data?: ListExportsCommandOutput) => void): void;
1482
+ public listExports(
1483
+ args: ListExportsCommandInput,
1484
+ options: __HttpHandlerOptions,
1485
+ cb: (err: any, data?: ListExportsCommandOutput) => void
1486
+ ): void;
1487
+ public listExports(
1488
+ args: ListExportsCommandInput,
1489
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListExportsCommandOutput) => void),
1490
+ cb?: (err: any, data?: ListExportsCommandOutput) => void
1491
+ ): Promise<ListExportsCommandOutput> | void {
1492
+ const command = new ListExportsCommand(args);
1493
+ if (typeof optionsOrCb === "function") {
1494
+ this.send(command, optionsOrCb);
1495
+ } else if (typeof cb === "function") {
1496
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1497
+ this.send(command, optionsOrCb || {}, cb);
1498
+ } else {
1499
+ return this.send(command, optionsOrCb);
1500
+ }
1501
+ }
1502
+
1503
+ /**
1504
+ * <p>Lists all global tables that have a replica in the specified Region.</p>
1505
+ * <note>
1506
+ * <p>This operation only applies to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html">Version 2017.11.29</a> of global tables.</p>
1507
+ * </note>
1508
+ */
1509
+ public listGlobalTables(
1510
+ args: ListGlobalTablesCommandInput,
1511
+ options?: __HttpHandlerOptions
1512
+ ): Promise<ListGlobalTablesCommandOutput>;
1513
+ public listGlobalTables(
1514
+ args: ListGlobalTablesCommandInput,
1515
+ cb: (err: any, data?: ListGlobalTablesCommandOutput) => void
1516
+ ): void;
1517
+ public listGlobalTables(
1518
+ args: ListGlobalTablesCommandInput,
1519
+ options: __HttpHandlerOptions,
1520
+ cb: (err: any, data?: ListGlobalTablesCommandOutput) => void
1521
+ ): void;
1522
+ public listGlobalTables(
1523
+ args: ListGlobalTablesCommandInput,
1524
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListGlobalTablesCommandOutput) => void),
1525
+ cb?: (err: any, data?: ListGlobalTablesCommandOutput) => void
1526
+ ): Promise<ListGlobalTablesCommandOutput> | void {
1527
+ const command = new ListGlobalTablesCommand(args);
1528
+ if (typeof optionsOrCb === "function") {
1529
+ this.send(command, optionsOrCb);
1530
+ } else if (typeof cb === "function") {
1531
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1532
+ this.send(command, optionsOrCb || {}, cb);
1533
+ } else {
1534
+ return this.send(command, optionsOrCb);
1535
+ }
1536
+ }
1537
+
1538
+ /**
1539
+ * <p>Returns an array of table names associated with the current account and endpoint. The output
1540
+ * from <code>ListTables</code> is paginated, with each page returning a maximum of 100 table
1541
+ * names.</p>
1542
+ */
1543
+ public listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListTablesCommandOutput>;
1544
+ public listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
1545
+ public listTables(
1546
+ args: ListTablesCommandInput,
1547
+ options: __HttpHandlerOptions,
1548
+ cb: (err: any, data?: ListTablesCommandOutput) => void
1549
+ ): void;
1550
+ public listTables(
1551
+ args: ListTablesCommandInput,
1552
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTablesCommandOutput) => void),
1553
+ cb?: (err: any, data?: ListTablesCommandOutput) => void
1554
+ ): Promise<ListTablesCommandOutput> | void {
1555
+ const command = new ListTablesCommand(args);
1556
+ if (typeof optionsOrCb === "function") {
1557
+ this.send(command, optionsOrCb);
1558
+ } else if (typeof cb === "function") {
1559
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1560
+ this.send(command, optionsOrCb || {}, cb);
1561
+ } else {
1562
+ return this.send(command, optionsOrCb);
1563
+ }
1564
+ }
1565
+
1566
+ /**
1567
+ * <p>List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account.</p>
1568
+ * <p>For an overview on tagging DynamoDB resources, see
1569
+ * <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html">Tagging for DynamoDB</a>
1570
+ * in the <i>Amazon DynamoDB Developer Guide</i>.</p>
1571
+ */
1572
+ public listTagsOfResource(
1573
+ args: ListTagsOfResourceCommandInput,
1574
+ options?: __HttpHandlerOptions
1575
+ ): Promise<ListTagsOfResourceCommandOutput>;
1576
+ public listTagsOfResource(
1577
+ args: ListTagsOfResourceCommandInput,
1578
+ cb: (err: any, data?: ListTagsOfResourceCommandOutput) => void
1579
+ ): void;
1580
+ public listTagsOfResource(
1581
+ args: ListTagsOfResourceCommandInput,
1582
+ options: __HttpHandlerOptions,
1583
+ cb: (err: any, data?: ListTagsOfResourceCommandOutput) => void
1584
+ ): void;
1585
+ public listTagsOfResource(
1586
+ args: ListTagsOfResourceCommandInput,
1587
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsOfResourceCommandOutput) => void),
1588
+ cb?: (err: any, data?: ListTagsOfResourceCommandOutput) => void
1589
+ ): Promise<ListTagsOfResourceCommandOutput> | void {
1590
+ const command = new ListTagsOfResourceCommand(args);
1591
+ if (typeof optionsOrCb === "function") {
1592
+ this.send(command, optionsOrCb);
1593
+ } else if (typeof cb === "function") {
1594
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1595
+ this.send(command, optionsOrCb || {}, cb);
1596
+ } else {
1597
+ return this.send(command, optionsOrCb);
1598
+ }
1599
+ }
1600
+
1601
+ /**
1602
+ * <p>Creates a new item, or replaces an old item with a new item. If an item that has the same primary key as the new item already exists in the specified table, the new item completely replaces the existing item. You can perform a conditional put operation (add a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values. You can return the item's attribute values in the same operation, using the <code>ReturnValues</code> parameter.</p>
1603
+ * <important>
1604
+ * <p>This topic provides general information about the <code>PutItem</code> API.</p>
1605
+ * <p>For information on how to call the <code>PutItem</code> API using the AWS SDK in specific languages, see the following:</p>
1606
+ * <ul>
1607
+ * <li>
1608
+ * <p>
1609
+ * <a href="http://docs.aws.amazon.com/goto/aws-cli/dynamodb-2012-08-10/PutItem"> PutItem in the AWS Command Line Interface</a>
1610
+ * </p>
1611
+ * </li>
1612
+ * <li>
1613
+ * <p>
1614
+ * <a href="http://docs.aws.amazon.com/goto/DotNetSDKV3/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for .NET</a>
1615
+ * </p>
1616
+ * </li>
1617
+ * <li>
1618
+ * <p>
1619
+ * <a href="http://docs.aws.amazon.com/goto/SdkForCpp/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for C++</a>
1620
+ * </p>
1621
+ * </li>
1622
+ * <li>
1623
+ * <p>
1624
+ * <a href="http://docs.aws.amazon.com/goto/SdkForGoV1/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for Go</a>
1625
+ * </p>
1626
+ * </li>
1627
+ * <li>
1628
+ * <p>
1629
+ * <a href="http://docs.aws.amazon.com/goto/SdkForJava/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for Java</a>
1630
+ * </p>
1631
+ * </li>
1632
+ * <li>
1633
+ * <p>
1634
+ * <a href="http://docs.aws.amazon.com/goto/AWSJavaScriptSDK/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for JavaScript</a>
1635
+ * </p>
1636
+ * </li>
1637
+ * <li>
1638
+ * <p>
1639
+ * <a href="http://docs.aws.amazon.com/goto/SdkForPHPV3/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for PHP V3</a>
1640
+ * </p>
1641
+ * </li>
1642
+ * <li>
1643
+ * <p>
1644
+ * <a href="http://docs.aws.amazon.com/goto/boto3/dynamodb-2012-08-10/PutItem">
1645
+ * PutItem in the AWS SDK for Python</a>
1646
+ * </p>
1647
+ * </li>
1648
+ * <li>
1649
+ * <p>
1650
+ * <a href="http://docs.aws.amazon.com/goto/SdkForRubyV2/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for Ruby V2</a>
1651
+ * </p>
1652
+ * </li>
1653
+ * </ul>
1654
+ * </important>
1655
+ *
1656
+ * <p>When you add an item, the primary key attributes are the only required attributes.
1657
+ * Attribute values cannot be null.</p>
1658
+ * <p>Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index.
1659
+ * Set type attributes cannot be empty. </p>
1660
+ * <p>Invalid Requests with empty values will
1661
+ * be rejected with a <code>ValidationException</code> exception.</p>
1662
+ * <note>
1663
+ * <p>To prevent a new item from replacing an existing item, use a conditional expression
1664
+ * that contains the <code>attribute_not_exists</code> function with the name of the
1665
+ * attribute being used as the partition key for the table. Since every record must contain
1666
+ * that attribute, the <code>attribute_not_exists</code> function will only succeed if
1667
+ * no matching item exists.</p>
1668
+ * </note>
1669
+ * <p>For more information about <code>PutItem</code>, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithItems.html">Working with Items</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
1670
+ */
1671
+ public putItem(args: PutItemCommandInput, options?: __HttpHandlerOptions): Promise<PutItemCommandOutput>;
1672
+ public putItem(args: PutItemCommandInput, cb: (err: any, data?: PutItemCommandOutput) => void): void;
1673
+ public putItem(
1674
+ args: PutItemCommandInput,
1675
+ options: __HttpHandlerOptions,
1676
+ cb: (err: any, data?: PutItemCommandOutput) => void
1677
+ ): void;
1678
+ public putItem(
1679
+ args: PutItemCommandInput,
1680
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutItemCommandOutput) => void),
1681
+ cb?: (err: any, data?: PutItemCommandOutput) => void
1682
+ ): Promise<PutItemCommandOutput> | void {
1683
+ const command = new PutItemCommand(args);
1684
+ if (typeof optionsOrCb === "function") {
1685
+ this.send(command, optionsOrCb);
1686
+ } else if (typeof cb === "function") {
1687
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1688
+ this.send(command, optionsOrCb || {}, cb);
1689
+ } else {
1690
+ return this.send(command, optionsOrCb);
1691
+ }
1692
+ }
1693
+
1694
+ /**
1695
+ * <p>The <code>Query</code> operation finds items based on primary key values.
1696
+ * You can query any table or secondary index that has a composite primary key (a partition
1697
+ * key and a sort key).
1698
+ * </p>
1699
+ * <p>Use the <code>KeyConditionExpression</code> parameter to provide a specific value
1700
+ * for the partition key. The <code>Query</code> operation will return all of the items
1701
+ * from the table or index with that partition key value. You can optionally narrow the
1702
+ * scope of the <code>Query</code> operation by specifying a sort key value and a
1703
+ * comparison operator in <code>KeyConditionExpression</code>. To further refine the <code>Query</code> results,
1704
+ * you can optionally provide a <code>FilterExpression</code>. A <code>FilterExpression</code> determines which items
1705
+ * within the results should be returned to you. All of the other results are discarded.
1706
+ * </p>
1707
+ * <p>
1708
+ * A <code>Query</code> operation always returns a result set. If no matching items are found,
1709
+ * the result set will be empty. Queries that do not return results consume the minimum number of
1710
+ * read capacity units for that type of read operation.
1711
+ * </p>
1712
+ * <note>
1713
+ * <p>
1714
+ * DynamoDB calculates the number of read capacity units consumed based on item size,
1715
+ * not on the amount of data that is returned to an application. The number of capacity
1716
+ * units consumed will be the same whether you request all of the attributes (the default behavior)
1717
+ * or just some of them (using a projection expression). The number will also be the same
1718
+ * whether or not you use a <code>FilterExpression</code>.
1719
+ * </p>
1720
+ * </note>
1721
+ * <p>
1722
+ * <code>Query</code> results are always sorted by the sort key value. If the data type of the sort key is Number,
1723
+ * the results are returned in numeric order; otherwise, the results are returned in order of UTF-8 bytes.
1724
+ * By default, the sort order is ascending. To reverse the order, set the <code>ScanIndexForward</code> parameter
1725
+ * to false.
1726
+ * </p>
1727
+ * <p> A single <code>Query</code> operation will read up to the maximum number of items
1728
+ * set (if using the <code>Limit</code> parameter) or a maximum of 1 MB of data and then
1729
+ * apply any filtering to the results using <code>FilterExpression</code>. If
1730
+ * <code>LastEvaluatedKey</code> is present in the response, you will need to paginate
1731
+ * the result set. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Query.html#Query.Pagination">Paginating
1732
+ * the Results</a> in the <i>Amazon DynamoDB Developer Guide</i>. </p>
1733
+ * <p>
1734
+ * <code>FilterExpression</code> is applied after a <code>Query</code> finishes, but before
1735
+ * the results are returned.
1736
+ * A <code>FilterExpression</code> cannot contain partition key or sort key attributes.
1737
+ * You need to specify those attributes in the <code>KeyConditionExpression</code>.
1738
+ * </p>
1739
+ * <note>
1740
+ * <p>
1741
+ * A <code>Query</code> operation can return an empty result set and a <code>LastEvaluatedKey</code>
1742
+ * if all the items read for the page of results are filtered out.
1743
+ * </p>
1744
+ * </note>
1745
+ * <p>You can query a table, a local secondary index, or a global secondary index. For a
1746
+ * query on a table or on a local secondary index, you can set the
1747
+ * <code>ConsistentRead</code> parameter to <code>true</code> and obtain a
1748
+ * strongly consistent result. Global secondary indexes support eventually consistent reads
1749
+ * only, so do not specify <code>ConsistentRead</code> when querying a global
1750
+ * secondary index.</p>
1751
+ */
1752
+ public query(args: QueryCommandInput, options?: __HttpHandlerOptions): Promise<QueryCommandOutput>;
1753
+ public query(args: QueryCommandInput, cb: (err: any, data?: QueryCommandOutput) => void): void;
1754
+ public query(
1755
+ args: QueryCommandInput,
1756
+ options: __HttpHandlerOptions,
1757
+ cb: (err: any, data?: QueryCommandOutput) => void
1758
+ ): void;
1759
+ public query(
1760
+ args: QueryCommandInput,
1761
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: QueryCommandOutput) => void),
1762
+ cb?: (err: any, data?: QueryCommandOutput) => void
1763
+ ): Promise<QueryCommandOutput> | void {
1764
+ const command = new QueryCommand(args);
1765
+ if (typeof optionsOrCb === "function") {
1766
+ this.send(command, optionsOrCb);
1767
+ } else if (typeof cb === "function") {
1768
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1769
+ this.send(command, optionsOrCb || {}, cb);
1770
+ } else {
1771
+ return this.send(command, optionsOrCb);
1772
+ }
1773
+ }
1774
+
1775
+ /**
1776
+ * <p>Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores
1777
+ * (any type of restore) in a given account.
1778
+ * </p>
1779
+ * <p>You can call <code>RestoreTableFromBackup</code> at a maximum rate of 10 times per second.</p>
1780
+ * <p>You must manually set up the following on the restored table:</p>
1781
+ * <ul>
1782
+ * <li>
1783
+ * <p>Auto scaling policies</p>
1784
+ * </li>
1785
+ * <li>
1786
+ * <p>IAM policies</p>
1787
+ * </li>
1788
+ * <li>
1789
+ * <p>Amazon CloudWatch metrics and alarms</p>
1790
+ * </li>
1791
+ * <li>
1792
+ * <p>Tags</p>
1793
+ * </li>
1794
+ * <li>
1795
+ * <p>Stream settings</p>
1796
+ * </li>
1797
+ * <li>
1798
+ * <p>Time to Live (TTL) settings</p>
1799
+ * </li>
1800
+ * </ul>
1801
+ */
1802
+ public restoreTableFromBackup(
1803
+ args: RestoreTableFromBackupCommandInput,
1804
+ options?: __HttpHandlerOptions
1805
+ ): Promise<RestoreTableFromBackupCommandOutput>;
1806
+ public restoreTableFromBackup(
1807
+ args: RestoreTableFromBackupCommandInput,
1808
+ cb: (err: any, data?: RestoreTableFromBackupCommandOutput) => void
1809
+ ): void;
1810
+ public restoreTableFromBackup(
1811
+ args: RestoreTableFromBackupCommandInput,
1812
+ options: __HttpHandlerOptions,
1813
+ cb: (err: any, data?: RestoreTableFromBackupCommandOutput) => void
1814
+ ): void;
1815
+ public restoreTableFromBackup(
1816
+ args: RestoreTableFromBackupCommandInput,
1817
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RestoreTableFromBackupCommandOutput) => void),
1818
+ cb?: (err: any, data?: RestoreTableFromBackupCommandOutput) => void
1819
+ ): Promise<RestoreTableFromBackupCommandOutput> | void {
1820
+ const command = new RestoreTableFromBackupCommand(args);
1821
+ if (typeof optionsOrCb === "function") {
1822
+ this.send(command, optionsOrCb);
1823
+ } else if (typeof cb === "function") {
1824
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1825
+ this.send(command, optionsOrCb || {}, cb);
1826
+ } else {
1827
+ return this.send(command, optionsOrCb);
1828
+ }
1829
+ }
1830
+
1831
+ /**
1832
+ * <p>Restores the specified table to the specified point in time within
1833
+ * <code>EarliestRestorableDateTime</code> and <code>LatestRestorableDateTime</code>.
1834
+ * You can restore your table to any point in time during the last 35 days.
1835
+ * Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.
1836
+ * </p>
1837
+ * <p>
1838
+ * When you restore using point in time recovery, DynamoDB restores your table data to the state based on
1839
+ * the selected date and time (day:hour:minute:second) to a new table.
1840
+ * </p>
1841
+ * <p>
1842
+ * Along with data, the following are also included on the new restored table using point in time recovery:
1843
+ * </p>
1844
+ * <ul>
1845
+ * <li>
1846
+ * <p>Global secondary indexes (GSIs)</p>
1847
+ * </li>
1848
+ * <li>
1849
+ * <p>Local secondary indexes (LSIs)</p>
1850
+ * </li>
1851
+ * <li>
1852
+ * <p>Provisioned read and write capacity</p>
1853
+ * </li>
1854
+ * <li>
1855
+ * <p>Encryption settings</p>
1856
+ * <important>
1857
+ * <p>
1858
+ * All these settings come from the current settings of the source table at the time of restore.
1859
+ * </p>
1860
+ * </important>
1861
+ * </li>
1862
+ * </ul>
1863
+ *
1864
+ * <p>You must manually set up the following on the restored table:</p>
1865
+ * <ul>
1866
+ * <li>
1867
+ * <p>Auto scaling policies</p>
1868
+ * </li>
1869
+ * <li>
1870
+ * <p>IAM policies</p>
1871
+ * </li>
1872
+ * <li>
1873
+ * <p>Amazon CloudWatch metrics and alarms</p>
1874
+ * </li>
1875
+ * <li>
1876
+ * <p>Tags</p>
1877
+ * </li>
1878
+ * <li>
1879
+ * <p>Stream settings</p>
1880
+ * </li>
1881
+ * <li>
1882
+ * <p>Time to Live (TTL) settings</p>
1883
+ * </li>
1884
+ * <li>
1885
+ * <p>Point in time recovery settings</p>
1886
+ * </li>
1887
+ * </ul>
1888
+ */
1889
+ public restoreTableToPointInTime(
1890
+ args: RestoreTableToPointInTimeCommandInput,
1891
+ options?: __HttpHandlerOptions
1892
+ ): Promise<RestoreTableToPointInTimeCommandOutput>;
1893
+ public restoreTableToPointInTime(
1894
+ args: RestoreTableToPointInTimeCommandInput,
1895
+ cb: (err: any, data?: RestoreTableToPointInTimeCommandOutput) => void
1896
+ ): void;
1897
+ public restoreTableToPointInTime(
1898
+ args: RestoreTableToPointInTimeCommandInput,
1899
+ options: __HttpHandlerOptions,
1900
+ cb: (err: any, data?: RestoreTableToPointInTimeCommandOutput) => void
1901
+ ): void;
1902
+ public restoreTableToPointInTime(
1903
+ args: RestoreTableToPointInTimeCommandInput,
1904
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RestoreTableToPointInTimeCommandOutput) => void),
1905
+ cb?: (err: any, data?: RestoreTableToPointInTimeCommandOutput) => void
1906
+ ): Promise<RestoreTableToPointInTimeCommandOutput> | void {
1907
+ const command = new RestoreTableToPointInTimeCommand(args);
1908
+ if (typeof optionsOrCb === "function") {
1909
+ this.send(command, optionsOrCb);
1910
+ } else if (typeof cb === "function") {
1911
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1912
+ this.send(command, optionsOrCb || {}, cb);
1913
+ } else {
1914
+ return this.send(command, optionsOrCb);
1915
+ }
1916
+ }
1917
+
1918
+ /**
1919
+ * <p>The <code>Scan</code> operation returns one or more items and item attributes by accessing every
1920
+ * item in a table or a secondary index. To have DynamoDB return fewer items, you can provide a <code>FilterExpression</code> operation.</p>
1921
+ * <p>If the total number of scanned items exceeds the maximum dataset size limit of 1 MB, the
1922
+ * scan stops and results are returned to the user as a <code>LastEvaluatedKey</code> value
1923
+ * to continue the scan in a subsequent operation. The results also include the number of
1924
+ * items exceeding the limit. A scan can result in no table data meeting the filter
1925
+ * criteria. </p>
1926
+ * <p>A single <code>Scan</code> operation reads up to the maximum number of items set (if
1927
+ * using the <code>Limit</code> parameter) or a maximum of 1 MB of data and then apply any
1928
+ * filtering to the results using <code>FilterExpression</code>. If
1929
+ * <code>LastEvaluatedKey</code> is present in the response, you need to paginate the
1930
+ * result set. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.Pagination">Paginating the
1931
+ * Results</a> in the <i>Amazon DynamoDB Developer Guide</i>. </p>
1932
+ * <p>
1933
+ * <code>Scan</code> operations proceed sequentially; however, for faster performance on
1934
+ * a large table or secondary index, applications can request a parallel <code>Scan</code>
1935
+ * operation by providing the <code>Segment</code> and <code>TotalSegments</code>
1936
+ * parameters. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.ParallelScan">Parallel
1937
+ * Scan</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
1938
+ * <p>
1939
+ * <code>Scan</code> uses eventually consistent reads when accessing the data in a
1940
+ * table; therefore, the result set might not include the changes to data in the table
1941
+ * immediately before the operation began. If you need a consistent copy of the data, as of
1942
+ * the time that the <code>Scan</code> begins, you can set the <code>ConsistentRead</code>
1943
+ * parameter to <code>true</code>.</p>
1944
+ */
1945
+ public scan(args: ScanCommandInput, options?: __HttpHandlerOptions): Promise<ScanCommandOutput>;
1946
+ public scan(args: ScanCommandInput, cb: (err: any, data?: ScanCommandOutput) => void): void;
1947
+ public scan(
1948
+ args: ScanCommandInput,
1949
+ options: __HttpHandlerOptions,
1950
+ cb: (err: any, data?: ScanCommandOutput) => void
1951
+ ): void;
1952
+ public scan(
1953
+ args: ScanCommandInput,
1954
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ScanCommandOutput) => void),
1955
+ cb?: (err: any, data?: ScanCommandOutput) => void
1956
+ ): Promise<ScanCommandOutput> | void {
1957
+ const command = new ScanCommand(args);
1958
+ if (typeof optionsOrCb === "function") {
1959
+ this.send(command, optionsOrCb);
1960
+ } else if (typeof cb === "function") {
1961
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1962
+ this.send(command, optionsOrCb || {}, cb);
1963
+ } else {
1964
+ return this.send(command, optionsOrCb);
1965
+ }
1966
+ }
1967
+
1968
+ /**
1969
+ * <p>Associate a set of tags with an Amazon DynamoDB resource. You can then activate these
1970
+ * user-defined tags so that they appear on the Billing and Cost Management console for
1971
+ * cost allocation tracking. You can call TagResource up to five times per second, per
1972
+ * account. </p>
1973
+ * <p>For an overview on tagging DynamoDB resources, see
1974
+ * <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html">Tagging for DynamoDB</a>
1975
+ * in the <i>Amazon DynamoDB Developer Guide</i>.</p>
1976
+ */
1977
+ public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1978
+ public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1979
+ public tagResource(
1980
+ args: TagResourceCommandInput,
1981
+ options: __HttpHandlerOptions,
1982
+ cb: (err: any, data?: TagResourceCommandOutput) => void
1983
+ ): void;
1984
+ public tagResource(
1985
+ args: TagResourceCommandInput,
1986
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
1987
+ cb?: (err: any, data?: TagResourceCommandOutput) => void
1988
+ ): Promise<TagResourceCommandOutput> | void {
1989
+ const command = new TagResourceCommand(args);
1990
+ if (typeof optionsOrCb === "function") {
1991
+ this.send(command, optionsOrCb);
1992
+ } else if (typeof cb === "function") {
1993
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1994
+ this.send(command, optionsOrCb || {}, cb);
1995
+ } else {
1996
+ return this.send(command, optionsOrCb);
1997
+ }
1998
+ }
1999
+
2000
+ /**
2001
+ * <p>
2002
+ * <code>TransactGetItems</code> is a synchronous operation that atomically retrieves
2003
+ * multiple items from one or more tables (but not from indexes) in a single account and
2004
+ * Region. A <code>TransactGetItems</code> call can contain up to 25
2005
+ * <code>TransactGetItem</code> objects, each of which contains a <code>Get</code>
2006
+ * structure that specifies an item to retrieve from a table in the account and Region. A
2007
+ * call to <code>TransactGetItems</code> cannot retrieve items from tables in more than one
2008
+ * AWS account or Region. The aggregate size of the items in the transaction cannot exceed
2009
+ * 4 MB.</p>
2010
+ * <p>DynamoDB rejects the entire <code>TransactGetItems</code> request if any of the following is true:</p>
2011
+ * <ul>
2012
+ * <li>
2013
+ * <p>A conflicting operation is in the process of updating an
2014
+ * item to be read.</p>
2015
+ * </li>
2016
+ * <li>
2017
+ * <p>There is insufficient provisioned capacity for the transaction
2018
+ * to be completed.</p>
2019
+ * </li>
2020
+ * <li>
2021
+ * <p>There is a user error, such as an invalid data format.</p>
2022
+ * </li>
2023
+ * <li>
2024
+ * <p>The aggregate size of the items in the transaction cannot exceed 4 MB.</p>
2025
+ * </li>
2026
+ * </ul>
2027
+ */
2028
+ public transactGetItems(
2029
+ args: TransactGetItemsCommandInput,
2030
+ options?: __HttpHandlerOptions
2031
+ ): Promise<TransactGetItemsCommandOutput>;
2032
+ public transactGetItems(
2033
+ args: TransactGetItemsCommandInput,
2034
+ cb: (err: any, data?: TransactGetItemsCommandOutput) => void
2035
+ ): void;
2036
+ public transactGetItems(
2037
+ args: TransactGetItemsCommandInput,
2038
+ options: __HttpHandlerOptions,
2039
+ cb: (err: any, data?: TransactGetItemsCommandOutput) => void
2040
+ ): void;
2041
+ public transactGetItems(
2042
+ args: TransactGetItemsCommandInput,
2043
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TransactGetItemsCommandOutput) => void),
2044
+ cb?: (err: any, data?: TransactGetItemsCommandOutput) => void
2045
+ ): Promise<TransactGetItemsCommandOutput> | void {
2046
+ const command = new TransactGetItemsCommand(args);
2047
+ if (typeof optionsOrCb === "function") {
2048
+ this.send(command, optionsOrCb);
2049
+ } else if (typeof cb === "function") {
2050
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2051
+ this.send(command, optionsOrCb || {}, cb);
2052
+ } else {
2053
+ return this.send(command, optionsOrCb);
2054
+ }
2055
+ }
2056
+
2057
+ /**
2058
+ * <p>
2059
+ * <code>TransactWriteItems</code> is a synchronous write operation that groups up to 25
2060
+ * action requests. These actions can target items in different tables, but not in
2061
+ * different AWS accounts or Regions, and no two actions can target the same item. For
2062
+ * example, you cannot both <code>ConditionCheck</code> and <code>Update</code> the same
2063
+ * item. The aggregate size of the items in the transaction cannot exceed 4 MB.</p>
2064
+ *
2065
+ * <p>The actions are completed atomically so that either all of
2066
+ * them succeed, or all of them fail. They are defined by the following objects:</p>
2067
+ *
2068
+ * <ul>
2069
+ * <li>
2070
+ * <p>
2071
+ * <code>Put</code>  —   Initiates a <code>PutItem</code> operation to write a new
2072
+ * item. This structure specifies the primary key of the item to be written, the
2073
+ * name of the table to write it in, an optional condition expression that must be
2074
+ * satisfied for the write to succeed, a list of the item's attributes, and a field
2075
+ * indicating whether to retrieve the item's attributes if the condition is not
2076
+ * met.</p>
2077
+ * </li>
2078
+ * <li>
2079
+ * <p>
2080
+ * <code>Update</code>  —   Initiates an <code>UpdateItem</code> operation to
2081
+ * update an existing item. This structure specifies the primary key of the item to
2082
+ * be updated, the name of the table where it resides, an optional condition
2083
+ * expression that must be satisfied for the update to succeed, an expression that
2084
+ * defines one or more attributes to be updated, and a field indicating whether to
2085
+ * retrieve the item's attributes if the condition is not met.</p>
2086
+ * </li>
2087
+ * <li>
2088
+ * <p>
2089
+ * <code>Delete</code>  —   Initiates a <code>DeleteItem</code> operation to
2090
+ * delete an existing item. This structure specifies the primary key of the item to
2091
+ * be deleted, the name of the table where it resides, an optional condition
2092
+ * expression that must be satisfied for the deletion to succeed, and a field
2093
+ * indicating whether to retrieve the item's attributes if the condition is not
2094
+ * met.</p>
2095
+ * </li>
2096
+ * <li>
2097
+ * <p>
2098
+ * <code>ConditionCheck</code>  —   Applies a condition to an item that is not
2099
+ * being modified by the transaction. This structure specifies the primary key of
2100
+ * the item to be checked, the name of the table where it resides, a condition
2101
+ * expression that must be satisfied for the transaction to succeed, and a field
2102
+ * indicating whether to retrieve the item's attributes if the condition is not
2103
+ * met.</p>
2104
+ * </li>
2105
+ * </ul>
2106
+ *
2107
+ * <p>DynamoDB rejects the entire <code>TransactWriteItems</code> request if any of the following is true:</p>
2108
+ * <ul>
2109
+ * <li>
2110
+ * <p>A condition in one of the condition expressions is not met.</p>
2111
+ * </li>
2112
+ * <li>
2113
+ * <p>An ongoing operation is in the process of updating the same
2114
+ * item.</p>
2115
+ * </li>
2116
+ * <li>
2117
+ * <p>There is insufficient provisioned capacity for the transaction
2118
+ * to be completed.</p>
2119
+ * </li>
2120
+ * <li>
2121
+ * <p>An item size becomes too large (bigger than 400 KB), a local secondary index (LSI) becomes too
2122
+ * large, or a similar validation error occurs because of changes made by the
2123
+ * transaction.</p>
2124
+ * </li>
2125
+ * <li>
2126
+ * <p>The aggregate size of the items in the transaction exceeds 4 MB.</p>
2127
+ * </li>
2128
+ * <li>
2129
+ * <p>There is a user error, such as an invalid data format.</p>
2130
+ * </li>
2131
+ * </ul>
2132
+ */
2133
+ public transactWriteItems(
2134
+ args: TransactWriteItemsCommandInput,
2135
+ options?: __HttpHandlerOptions
2136
+ ): Promise<TransactWriteItemsCommandOutput>;
2137
+ public transactWriteItems(
2138
+ args: TransactWriteItemsCommandInput,
2139
+ cb: (err: any, data?: TransactWriteItemsCommandOutput) => void
2140
+ ): void;
2141
+ public transactWriteItems(
2142
+ args: TransactWriteItemsCommandInput,
2143
+ options: __HttpHandlerOptions,
2144
+ cb: (err: any, data?: TransactWriteItemsCommandOutput) => void
2145
+ ): void;
2146
+ public transactWriteItems(
2147
+ args: TransactWriteItemsCommandInput,
2148
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TransactWriteItemsCommandOutput) => void),
2149
+ cb?: (err: any, data?: TransactWriteItemsCommandOutput) => void
2150
+ ): Promise<TransactWriteItemsCommandOutput> | void {
2151
+ const command = new TransactWriteItemsCommand(args);
2152
+ if (typeof optionsOrCb === "function") {
2153
+ this.send(command, optionsOrCb);
2154
+ } else if (typeof cb === "function") {
2155
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2156
+ this.send(command, optionsOrCb || {}, cb);
2157
+ } else {
2158
+ return this.send(command, optionsOrCb);
2159
+ }
2160
+ }
2161
+
2162
+ /**
2163
+ * <p>Removes the association of tags from an Amazon DynamoDB resource. You can call
2164
+ * <code>UntagResource</code> up to five times per second, per account. </p>
2165
+ * <p>For an overview on tagging DynamoDB resources, see
2166
+ * <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html">Tagging for DynamoDB</a>
2167
+ * in the <i>Amazon DynamoDB Developer Guide</i>.</p>
2168
+ */
2169
+ public untagResource(
2170
+ args: UntagResourceCommandInput,
2171
+ options?: __HttpHandlerOptions
2172
+ ): Promise<UntagResourceCommandOutput>;
2173
+ public untagResource(
2174
+ args: UntagResourceCommandInput,
2175
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
2176
+ ): void;
2177
+ public untagResource(
2178
+ args: UntagResourceCommandInput,
2179
+ options: __HttpHandlerOptions,
2180
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
2181
+ ): void;
2182
+ public untagResource(
2183
+ args: UntagResourceCommandInput,
2184
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
2185
+ cb?: (err: any, data?: UntagResourceCommandOutput) => void
2186
+ ): Promise<UntagResourceCommandOutput> | void {
2187
+ const command = new UntagResourceCommand(args);
2188
+ if (typeof optionsOrCb === "function") {
2189
+ this.send(command, optionsOrCb);
2190
+ } else if (typeof cb === "function") {
2191
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2192
+ this.send(command, optionsOrCb || {}, cb);
2193
+ } else {
2194
+ return this.send(command, optionsOrCb);
2195
+ }
2196
+ }
2197
+
2198
+ /**
2199
+ * <p>
2200
+ * <code>UpdateContinuousBackups</code> enables or disables point in time recovery for the specified table.
2201
+ * A successful <code>UpdateContinuousBackups</code> call returns the current <code>ContinuousBackupsDescription</code>.
2202
+ * Continuous backups are <code>ENABLED</code> on all tables at table creation.
2203
+ * If point in time recovery is enabled, <code>PointInTimeRecoveryStatus</code> will be set to ENABLED.</p>
2204
+ * <p>
2205
+ * Once continuous backups and point in time recovery are enabled, you can restore to any point in time within
2206
+ * <code>EarliestRestorableDateTime</code> and <code>LatestRestorableDateTime</code>.
2207
+ * </p>
2208
+ * <p>
2209
+ * <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.
2210
+ * You can restore your table to any point in time during the last 35 days. </p>
2211
+ */
2212
+ public updateContinuousBackups(
2213
+ args: UpdateContinuousBackupsCommandInput,
2214
+ options?: __HttpHandlerOptions
2215
+ ): Promise<UpdateContinuousBackupsCommandOutput>;
2216
+ public updateContinuousBackups(
2217
+ args: UpdateContinuousBackupsCommandInput,
2218
+ cb: (err: any, data?: UpdateContinuousBackupsCommandOutput) => void
2219
+ ): void;
2220
+ public updateContinuousBackups(
2221
+ args: UpdateContinuousBackupsCommandInput,
2222
+ options: __HttpHandlerOptions,
2223
+ cb: (err: any, data?: UpdateContinuousBackupsCommandOutput) => void
2224
+ ): void;
2225
+ public updateContinuousBackups(
2226
+ args: UpdateContinuousBackupsCommandInput,
2227
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateContinuousBackupsCommandOutput) => void),
2228
+ cb?: (err: any, data?: UpdateContinuousBackupsCommandOutput) => void
2229
+ ): Promise<UpdateContinuousBackupsCommandOutput> | void {
2230
+ const command = new UpdateContinuousBackupsCommand(args);
2231
+ if (typeof optionsOrCb === "function") {
2232
+ this.send(command, optionsOrCb);
2233
+ } else if (typeof cb === "function") {
2234
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2235
+ this.send(command, optionsOrCb || {}, cb);
2236
+ } else {
2237
+ return this.send(command, optionsOrCb);
2238
+ }
2239
+ }
2240
+
2241
+ /**
2242
+ * <p>Updates the status for contributor insights for a specific table or index.</p>
2243
+ */
2244
+ public updateContributorInsights(
2245
+ args: UpdateContributorInsightsCommandInput,
2246
+ options?: __HttpHandlerOptions
2247
+ ): Promise<UpdateContributorInsightsCommandOutput>;
2248
+ public updateContributorInsights(
2249
+ args: UpdateContributorInsightsCommandInput,
2250
+ cb: (err: any, data?: UpdateContributorInsightsCommandOutput) => void
2251
+ ): void;
2252
+ public updateContributorInsights(
2253
+ args: UpdateContributorInsightsCommandInput,
2254
+ options: __HttpHandlerOptions,
2255
+ cb: (err: any, data?: UpdateContributorInsightsCommandOutput) => void
2256
+ ): void;
2257
+ public updateContributorInsights(
2258
+ args: UpdateContributorInsightsCommandInput,
2259
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateContributorInsightsCommandOutput) => void),
2260
+ cb?: (err: any, data?: UpdateContributorInsightsCommandOutput) => void
2261
+ ): Promise<UpdateContributorInsightsCommandOutput> | void {
2262
+ const command = new UpdateContributorInsightsCommand(args);
2263
+ if (typeof optionsOrCb === "function") {
2264
+ this.send(command, optionsOrCb);
2265
+ } else if (typeof cb === "function") {
2266
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2267
+ this.send(command, optionsOrCb || {}, cb);
2268
+ } else {
2269
+ return this.send(command, optionsOrCb);
2270
+ }
2271
+ }
2272
+
2273
+ /**
2274
+ * <p>Adds or removes replicas in the specified global table. The global table must already
2275
+ * exist to be able to use this operation. Any replica to be added must be empty, have the
2276
+ * same name as the global table, have the same key schema, have DynamoDB Streams enabled,
2277
+ * and have the same provisioned and maximum write capacity units.</p>
2278
+ * <note>
2279
+ * <p>Although you can use <code>UpdateGlobalTable</code> to add replicas and remove replicas in
2280
+ * a single request, for simplicity we recommend that you issue separate requests for
2281
+ * adding or removing replicas.</p>
2282
+ * </note>
2283
+ * <p>
2284
+ * If global secondary indexes are specified, then the following conditions must also be met:
2285
+ * </p>
2286
+ * <ul>
2287
+ * <li>
2288
+ * <p>
2289
+ * The global secondary indexes must have the same name.
2290
+ * </p>
2291
+ * </li>
2292
+ * <li>
2293
+ * <p>
2294
+ * The global secondary indexes must have the same hash key and sort key (if present).
2295
+ * </p>
2296
+ * </li>
2297
+ * <li>
2298
+ * <p>
2299
+ * The global secondary indexes must have the same provisioned and maximum write capacity units.
2300
+ * </p>
2301
+ * </li>
2302
+ * </ul>
2303
+ */
2304
+ public updateGlobalTable(
2305
+ args: UpdateGlobalTableCommandInput,
2306
+ options?: __HttpHandlerOptions
2307
+ ): Promise<UpdateGlobalTableCommandOutput>;
2308
+ public updateGlobalTable(
2309
+ args: UpdateGlobalTableCommandInput,
2310
+ cb: (err: any, data?: UpdateGlobalTableCommandOutput) => void
2311
+ ): void;
2312
+ public updateGlobalTable(
2313
+ args: UpdateGlobalTableCommandInput,
2314
+ options: __HttpHandlerOptions,
2315
+ cb: (err: any, data?: UpdateGlobalTableCommandOutput) => void
2316
+ ): void;
2317
+ public updateGlobalTable(
2318
+ args: UpdateGlobalTableCommandInput,
2319
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateGlobalTableCommandOutput) => void),
2320
+ cb?: (err: any, data?: UpdateGlobalTableCommandOutput) => void
2321
+ ): Promise<UpdateGlobalTableCommandOutput> | void {
2322
+ const command = new UpdateGlobalTableCommand(args);
2323
+ if (typeof optionsOrCb === "function") {
2324
+ this.send(command, optionsOrCb);
2325
+ } else if (typeof cb === "function") {
2326
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2327
+ this.send(command, optionsOrCb || {}, cb);
2328
+ } else {
2329
+ return this.send(command, optionsOrCb);
2330
+ }
2331
+ }
2332
+
2333
+ /**
2334
+ * <p>Updates settings for a global table.</p>
2335
+ */
2336
+ public updateGlobalTableSettings(
2337
+ args: UpdateGlobalTableSettingsCommandInput,
2338
+ options?: __HttpHandlerOptions
2339
+ ): Promise<UpdateGlobalTableSettingsCommandOutput>;
2340
+ public updateGlobalTableSettings(
2341
+ args: UpdateGlobalTableSettingsCommandInput,
2342
+ cb: (err: any, data?: UpdateGlobalTableSettingsCommandOutput) => void
2343
+ ): void;
2344
+ public updateGlobalTableSettings(
2345
+ args: UpdateGlobalTableSettingsCommandInput,
2346
+ options: __HttpHandlerOptions,
2347
+ cb: (err: any, data?: UpdateGlobalTableSettingsCommandOutput) => void
2348
+ ): void;
2349
+ public updateGlobalTableSettings(
2350
+ args: UpdateGlobalTableSettingsCommandInput,
2351
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateGlobalTableSettingsCommandOutput) => void),
2352
+ cb?: (err: any, data?: UpdateGlobalTableSettingsCommandOutput) => void
2353
+ ): Promise<UpdateGlobalTableSettingsCommandOutput> | void {
2354
+ const command = new UpdateGlobalTableSettingsCommand(args);
2355
+ if (typeof optionsOrCb === "function") {
2356
+ this.send(command, optionsOrCb);
2357
+ } else if (typeof cb === "function") {
2358
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2359
+ this.send(command, optionsOrCb || {}, cb);
2360
+ } else {
2361
+ return this.send(command, optionsOrCb);
2362
+ }
2363
+ }
2364
+
2365
+ /**
2366
+ * <p>Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values).</p>
2367
+ * <p>You can also return the item's attribute values in the same <code>UpdateItem</code>
2368
+ * operation using the <code>ReturnValues</code> parameter.</p>
2369
+ */
2370
+ public updateItem(args: UpdateItemCommandInput, options?: __HttpHandlerOptions): Promise<UpdateItemCommandOutput>;
2371
+ public updateItem(args: UpdateItemCommandInput, cb: (err: any, data?: UpdateItemCommandOutput) => void): void;
2372
+ public updateItem(
2373
+ args: UpdateItemCommandInput,
2374
+ options: __HttpHandlerOptions,
2375
+ cb: (err: any, data?: UpdateItemCommandOutput) => void
2376
+ ): void;
2377
+ public updateItem(
2378
+ args: UpdateItemCommandInput,
2379
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateItemCommandOutput) => void),
2380
+ cb?: (err: any, data?: UpdateItemCommandOutput) => void
2381
+ ): Promise<UpdateItemCommandOutput> | void {
2382
+ const command = new UpdateItemCommand(args);
2383
+ if (typeof optionsOrCb === "function") {
2384
+ this.send(command, optionsOrCb);
2385
+ } else if (typeof cb === "function") {
2386
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2387
+ this.send(command, optionsOrCb || {}, cb);
2388
+ } else {
2389
+ return this.send(command, optionsOrCb);
2390
+ }
2391
+ }
2392
+
2393
+ /**
2394
+ * <p>Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table.</p>
2395
+ * <p>You can only perform one of the following operations at once:</p>
2396
+ * <ul>
2397
+ * <li>
2398
+ * <p>Modify the provisioned throughput settings of the table.</p>
2399
+ * </li>
2400
+ * <li>
2401
+ * <p>Enable or disable DynamoDB Streams on the table.</p>
2402
+ * </li>
2403
+ * <li>
2404
+ * <p>Remove a global secondary index from the table.</p>
2405
+ * </li>
2406
+ * <li>
2407
+ * <p>Create a new global secondary index on the table. After the index begins
2408
+ * backfilling, you can use <code>UpdateTable</code> to perform other
2409
+ * operations.</p>
2410
+ * </li>
2411
+ * </ul>
2412
+ * <p>
2413
+ * <code>UpdateTable</code> is an asynchronous operation; while it is executing, the table status
2414
+ * changes from <code>ACTIVE</code> to <code>UPDATING</code>. While it is <code>UPDATING</code>,
2415
+ * you cannot issue another <code>UpdateTable</code> request. When the table returns to the
2416
+ * <code>ACTIVE</code> state, the <code>UpdateTable</code> operation is complete.</p>
2417
+ */
2418
+ public updateTable(args: UpdateTableCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTableCommandOutput>;
2419
+ public updateTable(args: UpdateTableCommandInput, cb: (err: any, data?: UpdateTableCommandOutput) => void): void;
2420
+ public updateTable(
2421
+ args: UpdateTableCommandInput,
2422
+ options: __HttpHandlerOptions,
2423
+ cb: (err: any, data?: UpdateTableCommandOutput) => void
2424
+ ): void;
2425
+ public updateTable(
2426
+ args: UpdateTableCommandInput,
2427
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateTableCommandOutput) => void),
2428
+ cb?: (err: any, data?: UpdateTableCommandOutput) => void
2429
+ ): Promise<UpdateTableCommandOutput> | void {
2430
+ const command = new UpdateTableCommand(args);
2431
+ if (typeof optionsOrCb === "function") {
2432
+ this.send(command, optionsOrCb);
2433
+ } else if (typeof cb === "function") {
2434
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2435
+ this.send(command, optionsOrCb || {}, cb);
2436
+ } else {
2437
+ return this.send(command, optionsOrCb);
2438
+ }
2439
+ }
2440
+
2441
+ /**
2442
+ * <p>Updates auto scaling settings on your global tables at once.</p>
2443
+ * <note>
2444
+ * <p>This operation only applies to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html">Version 2019.11.21</a> of global tables.</p>
2445
+ * </note>
2446
+ */
2447
+ public updateTableReplicaAutoScaling(
2448
+ args: UpdateTableReplicaAutoScalingCommandInput,
2449
+ options?: __HttpHandlerOptions
2450
+ ): Promise<UpdateTableReplicaAutoScalingCommandOutput>;
2451
+ public updateTableReplicaAutoScaling(
2452
+ args: UpdateTableReplicaAutoScalingCommandInput,
2453
+ cb: (err: any, data?: UpdateTableReplicaAutoScalingCommandOutput) => void
2454
+ ): void;
2455
+ public updateTableReplicaAutoScaling(
2456
+ args: UpdateTableReplicaAutoScalingCommandInput,
2457
+ options: __HttpHandlerOptions,
2458
+ cb: (err: any, data?: UpdateTableReplicaAutoScalingCommandOutput) => void
2459
+ ): void;
2460
+ public updateTableReplicaAutoScaling(
2461
+ args: UpdateTableReplicaAutoScalingCommandInput,
2462
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateTableReplicaAutoScalingCommandOutput) => void),
2463
+ cb?: (err: any, data?: UpdateTableReplicaAutoScalingCommandOutput) => void
2464
+ ): Promise<UpdateTableReplicaAutoScalingCommandOutput> | void {
2465
+ const command = new UpdateTableReplicaAutoScalingCommand(args);
2466
+ if (typeof optionsOrCb === "function") {
2467
+ this.send(command, optionsOrCb);
2468
+ } else if (typeof cb === "function") {
2469
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2470
+ this.send(command, optionsOrCb || {}, cb);
2471
+ } else {
2472
+ return this.send(command, optionsOrCb);
2473
+ }
2474
+ }
2475
+
2476
+ /**
2477
+ * <p>The <code>UpdateTimeToLive</code> method enables or disables Time to Live (TTL) for the
2478
+ * specified table. A successful <code>UpdateTimeToLive</code> call returns the current
2479
+ * <code>TimeToLiveSpecification</code>. It can take up to one hour for the change to
2480
+ * fully process. Any additional <code>UpdateTimeToLive</code> calls for the same table
2481
+ * during this one hour duration result in a <code>ValidationException</code>. </p>
2482
+ * <p>TTL compares the current time in epoch time format to the time stored in the TTL
2483
+ * attribute of an item. If the epoch time value stored in the attribute is less than the
2484
+ * current time, the item is marked as expired and subsequently deleted.</p>
2485
+ * <note>
2486
+ * <p> The epoch time format is the number of seconds elapsed since 12:00:00 AM January 1,
2487
+ * 1970 UTC. </p>
2488
+ * </note>
2489
+ * <p>DynamoDB deletes expired items on a best-effort basis to ensure availability of
2490
+ * throughput for other data operations.
2491
+ * </p>
2492
+ * <important>
2493
+ * <p>DynamoDB typically deletes expired items within two days of expiration. The exact duration
2494
+ * within which an item gets deleted after expiration is specific to the
2495
+ * nature of the workload. Items that have expired and not been deleted will still show up in reads,
2496
+ * queries, and scans.</p>
2497
+ * </important>
2498
+ * <p>As items are deleted, they are removed from any local secondary index and global
2499
+ * secondary index immediately in the same eventually consistent way as a standard delete
2500
+ * operation.</p>
2501
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html">Time To Live</a> in the Amazon DynamoDB Developer Guide. </p>
2502
+ */
2503
+ public updateTimeToLive(
2504
+ args: UpdateTimeToLiveCommandInput,
2505
+ options?: __HttpHandlerOptions
2506
+ ): Promise<UpdateTimeToLiveCommandOutput>;
2507
+ public updateTimeToLive(
2508
+ args: UpdateTimeToLiveCommandInput,
2509
+ cb: (err: any, data?: UpdateTimeToLiveCommandOutput) => void
2510
+ ): void;
2511
+ public updateTimeToLive(
2512
+ args: UpdateTimeToLiveCommandInput,
2513
+ options: __HttpHandlerOptions,
2514
+ cb: (err: any, data?: UpdateTimeToLiveCommandOutput) => void
2515
+ ): void;
2516
+ public updateTimeToLive(
2517
+ args: UpdateTimeToLiveCommandInput,
2518
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateTimeToLiveCommandOutput) => void),
2519
+ cb?: (err: any, data?: UpdateTimeToLiveCommandOutput) => void
2520
+ ): Promise<UpdateTimeToLiveCommandOutput> | void {
2521
+ const command = new UpdateTimeToLiveCommand(args);
2522
+ if (typeof optionsOrCb === "function") {
2523
+ this.send(command, optionsOrCb);
2524
+ } else if (typeof cb === "function") {
2525
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2526
+ this.send(command, optionsOrCb || {}, cb);
2527
+ } else {
2528
+ return this.send(command, optionsOrCb);
2529
+ }
2530
+ }
2531
+ }