@depup/aws-sdk__client-dynamodb 3.1005.0-depup.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +31 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +27 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +1667 -0
  7. package/dist-cjs/models/DynamoDBServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +478 -0
  9. package/dist-cjs/runtimeConfig.browser.js +41 -0
  10. package/dist-cjs/runtimeConfig.js +57 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +46 -0
  13. package/dist-cjs/schemas/schemas_0.js +2390 -0
  14. package/dist-es/DynamoDB.js +149 -0
  15. package/dist-es/DynamoDBClient.js +55 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/BatchExecuteStatementCommand.js +16 -0
  19. package/dist-es/commands/BatchGetItemCommand.js +19 -0
  20. package/dist-es/commands/BatchWriteItemCommand.js +19 -0
  21. package/dist-es/commands/CreateBackupCommand.js +19 -0
  22. package/dist-es/commands/CreateGlobalTableCommand.js +19 -0
  23. package/dist-es/commands/CreateTableCommand.js +19 -0
  24. package/dist-es/commands/DeleteBackupCommand.js +19 -0
  25. package/dist-es/commands/DeleteItemCommand.js +19 -0
  26. package/dist-es/commands/DeleteResourcePolicyCommand.js +19 -0
  27. package/dist-es/commands/DeleteTableCommand.js +19 -0
  28. package/dist-es/commands/DescribeBackupCommand.js +19 -0
  29. package/dist-es/commands/DescribeContinuousBackupsCommand.js +19 -0
  30. package/dist-es/commands/DescribeContributorInsightsCommand.js +19 -0
  31. package/dist-es/commands/DescribeEndpointsCommand.js +16 -0
  32. package/dist-es/commands/DescribeExportCommand.js +19 -0
  33. package/dist-es/commands/DescribeGlobalTableCommand.js +19 -0
  34. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +19 -0
  35. package/dist-es/commands/DescribeImportCommand.js +19 -0
  36. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +19 -0
  37. package/dist-es/commands/DescribeLimitsCommand.js +16 -0
  38. package/dist-es/commands/DescribeTableCommand.js +19 -0
  39. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +19 -0
  40. package/dist-es/commands/DescribeTimeToLiveCommand.js +19 -0
  41. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +19 -0
  42. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +19 -0
  43. package/dist-es/commands/ExecuteStatementCommand.js +16 -0
  44. package/dist-es/commands/ExecuteTransactionCommand.js +16 -0
  45. package/dist-es/commands/ExportTableToPointInTimeCommand.js +19 -0
  46. package/dist-es/commands/GetItemCommand.js +19 -0
  47. package/dist-es/commands/GetResourcePolicyCommand.js +19 -0
  48. package/dist-es/commands/ImportTableCommand.js +19 -0
  49. package/dist-es/commands/ListBackupsCommand.js +19 -0
  50. package/dist-es/commands/ListContributorInsightsCommand.js +19 -0
  51. package/dist-es/commands/ListExportsCommand.js +19 -0
  52. package/dist-es/commands/ListGlobalTablesCommand.js +16 -0
  53. package/dist-es/commands/ListImportsCommand.js +19 -0
  54. package/dist-es/commands/ListTablesCommand.js +16 -0
  55. package/dist-es/commands/ListTagsOfResourceCommand.js +19 -0
  56. package/dist-es/commands/PutItemCommand.js +19 -0
  57. package/dist-es/commands/PutResourcePolicyCommand.js +19 -0
  58. package/dist-es/commands/QueryCommand.js +19 -0
  59. package/dist-es/commands/RestoreTableFromBackupCommand.js +19 -0
  60. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +19 -0
  61. package/dist-es/commands/ScanCommand.js +19 -0
  62. package/dist-es/commands/TagResourceCommand.js +19 -0
  63. package/dist-es/commands/TransactGetItemsCommand.js +19 -0
  64. package/dist-es/commands/TransactWriteItemsCommand.js +19 -0
  65. package/dist-es/commands/UntagResourceCommand.js +19 -0
  66. package/dist-es/commands/UpdateContinuousBackupsCommand.js +19 -0
  67. package/dist-es/commands/UpdateContributorInsightsCommand.js +19 -0
  68. package/dist-es/commands/UpdateGlobalTableCommand.js +19 -0
  69. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +19 -0
  70. package/dist-es/commands/UpdateItemCommand.js +19 -0
  71. package/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js +19 -0
  72. package/dist-es/commands/UpdateTableCommand.js +19 -0
  73. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +19 -0
  74. package/dist-es/commands/UpdateTimeToLiveCommand.js +19 -0
  75. package/dist-es/commands/index.js +57 -0
  76. package/dist-es/endpoint/EndpointParameters.js +15 -0
  77. package/dist-es/endpoint/endpointResolver.js +23 -0
  78. package/dist-es/endpoint/ruleset.js +4 -0
  79. package/dist-es/extensionConfiguration.js +1 -0
  80. package/dist-es/index.js +10 -0
  81. package/dist-es/models/DynamoDBServiceException.js +8 -0
  82. package/dist-es/models/enums.js +245 -0
  83. package/dist-es/models/errors.js +440 -0
  84. package/dist-es/models/models_0.js +1 -0
  85. package/dist-es/pagination/Interfaces.js +1 -0
  86. package/dist-es/pagination/ListContributorInsightsPaginator.js +4 -0
  87. package/dist-es/pagination/ListExportsPaginator.js +4 -0
  88. package/dist-es/pagination/ListImportsPaginator.js +4 -0
  89. package/dist-es/pagination/ListTablesPaginator.js +4 -0
  90. package/dist-es/pagination/QueryPaginator.js +4 -0
  91. package/dist-es/pagination/ScanPaginator.js +4 -0
  92. package/dist-es/pagination/index.js +7 -0
  93. package/dist-es/runtimeConfig.browser.js +36 -0
  94. package/dist-es/runtimeConfig.js +52 -0
  95. package/dist-es/runtimeConfig.native.js +11 -0
  96. package/dist-es/runtimeConfig.shared.js +42 -0
  97. package/dist-es/runtimeExtensions.js +9 -0
  98. package/dist-es/schemas/schemas_0.js +2381 -0
  99. package/dist-es/waiters/index.js +6 -0
  100. package/dist-es/waiters/waitForContributorInsightsEnabled.js +40 -0
  101. package/dist-es/waiters/waitForExportCompleted.js +40 -0
  102. package/dist-es/waiters/waitForImportCompleted.js +49 -0
  103. package/dist-es/waiters/waitForKinesisStreamingDestinationActive.js +49 -0
  104. package/dist-es/waiters/waitForTableExists.js +34 -0
  105. package/dist-es/waiters/waitForTableNotExists.js +25 -0
  106. package/dist-types/DynamoDB.d.ts +512 -0
  107. package/dist-types/DynamoDBClient.d.ts +272 -0
  108. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  109. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  110. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +234 -0
  111. package/dist-types/commands/BatchGetItemCommand.d.ts +366 -0
  112. package/dist-types/commands/BatchWriteItemCommand.d.ts +414 -0
  113. package/dist-types/commands/CreateBackupCommand.d.ts +151 -0
  114. package/dist-types/commands/CreateGlobalTableCommand.d.ts +211 -0
  115. package/dist-types/commands/CreateTableCommand.d.ts +394 -0
  116. package/dist-types/commands/DeleteBackupCommand.d.ts +197 -0
  117. package/dist-types/commands/DeleteItemCommand.d.ts +296 -0
  118. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +145 -0
  119. package/dist-types/commands/DeleteTableCommand.d.ts +338 -0
  120. package/dist-types/commands/DescribeBackupCommand.d.ts +175 -0
  121. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +104 -0
  122. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +94 -0
  123. package/dist-types/commands/DescribeEndpointsCommand.d.ts +78 -0
  124. package/dist-types/commands/DescribeExportCommand.d.ts +124 -0
  125. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +133 -0
  126. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +178 -0
  127. package/dist-types/commands/DescribeImportCommand.d.ts +165 -0
  128. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +91 -0
  129. package/dist-types/commands/DescribeLimitsCommand.d.ts +165 -0
  130. package/dist-types/commands/DescribeTableCommand.d.ts +269 -0
  131. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +164 -0
  132. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +86 -0
  133. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +128 -0
  134. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +130 -0
  135. package/dist-types/commands/ExecuteStatementCommand.d.ts +251 -0
  136. package/dist-types/commands/ExecuteTransactionCommand.d.ts +534 -0
  137. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +152 -0
  138. package/dist-types/commands/GetItemCommand.d.ts +264 -0
  139. package/dist-types/commands/GetResourcePolicyCommand.d.ts +124 -0
  140. package/dist-types/commands/ImportTableCommand.d.ts +275 -0
  141. package/dist-types/commands/ListBackupsCommand.d.ts +109 -0
  142. package/dist-types/commands/ListContributorInsightsCommand.d.ts +92 -0
  143. package/dist-types/commands/ListExportsCommand.d.ts +104 -0
  144. package/dist-types/commands/ListGlobalTablesCommand.d.ts +95 -0
  145. package/dist-types/commands/ListImportsCommand.d.ts +110 -0
  146. package/dist-types/commands/ListTablesCommand.d.ts +103 -0
  147. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +93 -0
  148. package/dist-types/commands/PutItemCommand.d.ts +315 -0
  149. package/dist-types/commands/PutResourcePolicyCommand.d.ts +147 -0
  150. package/dist-types/commands/QueryCommand.d.ts +338 -0
  151. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +373 -0
  152. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +407 -0
  153. package/dist-types/commands/ScanCommand.d.ts +337 -0
  154. package/dist-types/commands/TagResourceCommand.d.ts +145 -0
  155. package/dist-types/commands/TransactGetItemsCommand.d.ts +496 -0
  156. package/dist-types/commands/TransactWriteItemsCommand.d.ts +659 -0
  157. package/dist-types/commands/UntagResourceCommand.d.ts +140 -0
  158. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +111 -0
  159. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +93 -0
  160. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +179 -0
  161. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +286 -0
  162. package/dist-types/commands/UpdateItemCommand.d.ts +323 -0
  163. package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +127 -0
  164. package/dist-types/commands/UpdateTableCommand.d.ts +458 -0
  165. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +246 -0
  166. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +149 -0
  167. package/dist-types/commands/index.d.ts +57 -0
  168. package/dist-types/endpoint/EndpointParameters.d.ts +64 -0
  169. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  170. package/dist-types/endpoint/ruleset.d.ts +2 -0
  171. package/dist-types/extensionConfiguration.d.ts +9 -0
  172. package/dist-types/index.d.ts +34 -0
  173. package/dist-types/models/DynamoDBServiceException.d.ts +14 -0
  174. package/dist-types/models/enums.d.ts +589 -0
  175. package/dist-types/models/errors.d.ts +803 -0
  176. package/dist-types/models/models_0.d.ts +10010 -0
  177. package/dist-types/pagination/Interfaces.d.ts +8 -0
  178. package/dist-types/pagination/ListContributorInsightsPaginator.d.ts +7 -0
  179. package/dist-types/pagination/ListExportsPaginator.d.ts +7 -0
  180. package/dist-types/pagination/ListImportsPaginator.d.ts +7 -0
  181. package/dist-types/pagination/ListTablesPaginator.d.ts +7 -0
  182. package/dist-types/pagination/QueryPaginator.d.ts +7 -0
  183. package/dist-types/pagination/ScanPaginator.d.ts +7 -0
  184. package/dist-types/pagination/index.d.ts +7 -0
  185. package/dist-types/runtimeConfig.browser.d.ts +60 -0
  186. package/dist-types/runtimeConfig.d.ts +60 -0
  187. package/dist-types/runtimeConfig.native.d.ts +59 -0
  188. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  189. package/dist-types/runtimeExtensions.d.ts +17 -0
  190. package/dist-types/schemas/schemas_0.d.ts +325 -0
  191. package/dist-types/ts3.4/DynamoDB.d.ts +1102 -0
  192. package/dist-types/ts3.4/DynamoDBClient.d.ts +472 -0
  193. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  194. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  195. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +51 -0
  196. package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +47 -0
  197. package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +47 -0
  198. package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +47 -0
  199. package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +50 -0
  200. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +47 -0
  201. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +47 -0
  202. package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +47 -0
  203. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
  204. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +47 -0
  205. package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +47 -0
  206. package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +51 -0
  207. package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +51 -0
  208. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +51 -0
  209. package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +47 -0
  210. package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +51 -0
  211. package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +51 -0
  212. package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +47 -0
  213. package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +51 -0
  214. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +47 -0
  215. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +47 -0
  216. package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +51 -0
  217. package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +51 -0
  218. package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +51 -0
  219. package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +51 -0
  220. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +50 -0
  221. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +51 -0
  222. package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +51 -0
  223. package/dist-types/ts3.4/commands/GetItemCommand.d.ts +41 -0
  224. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +50 -0
  225. package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +47 -0
  226. package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +47 -0
  227. package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +51 -0
  228. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +47 -0
  229. package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +50 -0
  230. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +47 -0
  231. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +47 -0
  232. package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +51 -0
  233. package/dist-types/ts3.4/commands/PutItemCommand.d.ts +41 -0
  234. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +50 -0
  235. package/dist-types/ts3.4/commands/QueryCommand.d.ts +41 -0
  236. package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +51 -0
  237. package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +51 -0
  238. package/dist-types/ts3.4/commands/ScanCommand.d.ts +41 -0
  239. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
  240. package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +50 -0
  241. package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +51 -0
  242. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
  243. package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +51 -0
  244. package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +51 -0
  245. package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +50 -0
  246. package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +51 -0
  247. package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +47 -0
  248. package/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts +51 -0
  249. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +47 -0
  250. package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +51 -0
  251. package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +50 -0
  252. package/dist-types/ts3.4/commands/index.d.ts +57 -0
  253. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +65 -0
  254. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  255. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  256. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  257. package/dist-types/ts3.4/index.d.ts +13 -0
  258. package/dist-types/ts3.4/models/DynamoDBServiceException.d.ts +9 -0
  259. package/dist-types/ts3.4/models/enums.d.ts +313 -0
  260. package/dist-types/ts3.4/models/errors.d.ts +286 -0
  261. package/dist-types/ts3.4/models/models_0.d.ts +1557 -0
  262. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  263. package/dist-types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts +11 -0
  264. package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +11 -0
  265. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +11 -0
  266. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +11 -0
  267. package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +11 -0
  268. package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +8 -0
  269. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  270. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +114 -0
  271. package/dist-types/ts3.4/runtimeConfig.d.ts +111 -0
  272. package/dist-types/ts3.4/runtimeConfig.native.d.ts +118 -0
  273. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  274. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  275. package/dist-types/ts3.4/schemas/schemas_0.d.ts +325 -0
  276. package/dist-types/ts3.4/waiters/index.d.ts +6 -0
  277. package/dist-types/ts3.4/waiters/waitForContributorInsightsEnabled.d.ts +11 -0
  278. package/dist-types/ts3.4/waiters/waitForExportCompleted.d.ts +11 -0
  279. package/dist-types/ts3.4/waiters/waitForImportCompleted.d.ts +11 -0
  280. package/dist-types/ts3.4/waiters/waitForKinesisStreamingDestinationActive.d.ts +11 -0
  281. package/dist-types/ts3.4/waiters/waitForTableExists.d.ts +11 -0
  282. package/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts +11 -0
  283. package/dist-types/waiters/index.d.ts +6 -0
  284. package/dist-types/waiters/waitForContributorInsightsEnabled.d.ts +14 -0
  285. package/dist-types/waiters/waitForExportCompleted.d.ts +14 -0
  286. package/dist-types/waiters/waitForImportCompleted.d.ts +14 -0
  287. package/dist-types/waiters/waitForKinesisStreamingDestinationActive.d.ts +14 -0
  288. package/dist-types/waiters/waitForTableExists.d.ts +14 -0
  289. package/dist-types/waiters/waitForTableNotExists.d.ts +14 -0
  290. package/package.json +130 -0
@@ -0,0 +1,407 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
4
+ import type { RestoreTableToPointInTimeInput, RestoreTableToPointInTimeOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RestoreTableToPointInTimeCommand}.
14
+ */
15
+ export interface RestoreTableToPointInTimeCommandInput extends RestoreTableToPointInTimeInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RestoreTableToPointInTimeCommand}.
21
+ */
22
+ export interface RestoreTableToPointInTimeCommandOutput extends RestoreTableToPointInTimeOutput, __MetadataBearer {
23
+ }
24
+ declare const RestoreTableToPointInTimeCommand_base: {
25
+ new (input: RestoreTableToPointInTimeCommandInput): import("@smithy/smithy-client").CommandImpl<RestoreTableToPointInTimeCommandInput, RestoreTableToPointInTimeCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: RestoreTableToPointInTimeCommandInput): import("@smithy/smithy-client").CommandImpl<RestoreTableToPointInTimeCommandInput, RestoreTableToPointInTimeCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Restores the specified table to the specified point in time within
31
+ * <code>EarliestRestorableDateTime</code> and <code>LatestRestorableDateTime</code>.
32
+ * You can restore your table to any point in time in the last 35 days. You can set the
33
+ * recovery period to any value between 1 and 35 days. Any number of users can execute up
34
+ * to 50 concurrent restores (any type of restore) in a given account. </p>
35
+ * <p>When you restore using point in time recovery, DynamoDB restores your table data to
36
+ * the state based on the selected date and time (day:hour:minute:second) to a new table. </p>
37
+ * <p>Along with data, the following are also included on the new restored table using point
38
+ * in time recovery: </p>
39
+ * <ul>
40
+ * <li>
41
+ * <p>Global secondary indexes (GSIs)</p>
42
+ * </li>
43
+ * <li>
44
+ * <p>Local secondary indexes (LSIs)</p>
45
+ * </li>
46
+ * <li>
47
+ * <p>Provisioned read and write capacity</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>Encryption settings</p>
51
+ * <important>
52
+ * <p> All these settings come from the current settings of the source table at
53
+ * the time of restore. </p>
54
+ * </important>
55
+ * </li>
56
+ * </ul>
57
+ * <p>You must manually set up the following on the restored table:</p>
58
+ * <ul>
59
+ * <li>
60
+ * <p>Auto scaling policies</p>
61
+ * </li>
62
+ * <li>
63
+ * <p>IAM policies</p>
64
+ * </li>
65
+ * <li>
66
+ * <p>Amazon CloudWatch metrics and alarms</p>
67
+ * </li>
68
+ * <li>
69
+ * <p>Tags</p>
70
+ * </li>
71
+ * <li>
72
+ * <p>Stream settings</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>Time to Live (TTL) settings</p>
76
+ * </li>
77
+ * <li>
78
+ * <p>Point in time recovery settings</p>
79
+ * </li>
80
+ * </ul>
81
+ * @example
82
+ * Use a bare-bones client and the command you need to make an API call.
83
+ * ```javascript
84
+ * import { DynamoDBClient, RestoreTableToPointInTimeCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
85
+ * // const { DynamoDBClient, RestoreTableToPointInTimeCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
86
+ * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb";
87
+ * const config = {}; // type is DynamoDBClientConfig
88
+ * const client = new DynamoDBClient(config);
89
+ * const input = { // RestoreTableToPointInTimeInput
90
+ * SourceTableArn: "STRING_VALUE",
91
+ * SourceTableName: "STRING_VALUE",
92
+ * TargetTableName: "STRING_VALUE", // required
93
+ * UseLatestRestorableTime: true || false,
94
+ * RestoreDateTime: new Date("TIMESTAMP"),
95
+ * BillingModeOverride: "PROVISIONED" || "PAY_PER_REQUEST",
96
+ * GlobalSecondaryIndexOverride: [ // GlobalSecondaryIndexList
97
+ * { // GlobalSecondaryIndex
98
+ * IndexName: "STRING_VALUE", // required
99
+ * KeySchema: [ // KeySchema // required
100
+ * { // KeySchemaElement
101
+ * AttributeName: "STRING_VALUE", // required
102
+ * KeyType: "HASH" || "RANGE", // required
103
+ * },
104
+ * ],
105
+ * Projection: { // Projection
106
+ * ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
107
+ * NonKeyAttributes: [ // NonKeyAttributeNameList
108
+ * "STRING_VALUE",
109
+ * ],
110
+ * },
111
+ * ProvisionedThroughput: { // ProvisionedThroughput
112
+ * ReadCapacityUnits: Number("long"), // required
113
+ * WriteCapacityUnits: Number("long"), // required
114
+ * },
115
+ * OnDemandThroughput: { // OnDemandThroughput
116
+ * MaxReadRequestUnits: Number("long"),
117
+ * MaxWriteRequestUnits: Number("long"),
118
+ * },
119
+ * WarmThroughput: { // WarmThroughput
120
+ * ReadUnitsPerSecond: Number("long"),
121
+ * WriteUnitsPerSecond: Number("long"),
122
+ * },
123
+ * },
124
+ * ],
125
+ * LocalSecondaryIndexOverride: [ // LocalSecondaryIndexList
126
+ * { // LocalSecondaryIndex
127
+ * IndexName: "STRING_VALUE", // required
128
+ * KeySchema: [ // required
129
+ * {
130
+ * AttributeName: "STRING_VALUE", // required
131
+ * KeyType: "HASH" || "RANGE", // required
132
+ * },
133
+ * ],
134
+ * Projection: {
135
+ * ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
136
+ * NonKeyAttributes: [
137
+ * "STRING_VALUE",
138
+ * ],
139
+ * },
140
+ * },
141
+ * ],
142
+ * ProvisionedThroughputOverride: {
143
+ * ReadCapacityUnits: Number("long"), // required
144
+ * WriteCapacityUnits: Number("long"), // required
145
+ * },
146
+ * OnDemandThroughputOverride: {
147
+ * MaxReadRequestUnits: Number("long"),
148
+ * MaxWriteRequestUnits: Number("long"),
149
+ * },
150
+ * SSESpecificationOverride: { // SSESpecification
151
+ * Enabled: true || false,
152
+ * SSEType: "AES256" || "KMS",
153
+ * KMSMasterKeyId: "STRING_VALUE",
154
+ * },
155
+ * };
156
+ * const command = new RestoreTableToPointInTimeCommand(input);
157
+ * const response = await client.send(command);
158
+ * // { // RestoreTableToPointInTimeOutput
159
+ * // TableDescription: { // TableDescription
160
+ * // AttributeDefinitions: [ // AttributeDefinitions
161
+ * // { // AttributeDefinition
162
+ * // AttributeName: "STRING_VALUE", // required
163
+ * // AttributeType: "S" || "N" || "B", // required
164
+ * // },
165
+ * // ],
166
+ * // TableName: "STRING_VALUE",
167
+ * // KeySchema: [ // KeySchema
168
+ * // { // KeySchemaElement
169
+ * // AttributeName: "STRING_VALUE", // required
170
+ * // KeyType: "HASH" || "RANGE", // required
171
+ * // },
172
+ * // ],
173
+ * // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
174
+ * // CreationDateTime: new Date("TIMESTAMP"),
175
+ * // ProvisionedThroughput: { // ProvisionedThroughputDescription
176
+ * // LastIncreaseDateTime: new Date("TIMESTAMP"),
177
+ * // LastDecreaseDateTime: new Date("TIMESTAMP"),
178
+ * // NumberOfDecreasesToday: Number("long"),
179
+ * // ReadCapacityUnits: Number("long"),
180
+ * // WriteCapacityUnits: Number("long"),
181
+ * // },
182
+ * // TableSizeBytes: Number("long"),
183
+ * // ItemCount: Number("long"),
184
+ * // TableArn: "STRING_VALUE",
185
+ * // TableId: "STRING_VALUE",
186
+ * // BillingModeSummary: { // BillingModeSummary
187
+ * // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
188
+ * // LastUpdateToPayPerRequestDateTime: new Date("TIMESTAMP"),
189
+ * // },
190
+ * // LocalSecondaryIndexes: [ // LocalSecondaryIndexDescriptionList
191
+ * // { // LocalSecondaryIndexDescription
192
+ * // IndexName: "STRING_VALUE",
193
+ * // KeySchema: [
194
+ * // {
195
+ * // AttributeName: "STRING_VALUE", // required
196
+ * // KeyType: "HASH" || "RANGE", // required
197
+ * // },
198
+ * // ],
199
+ * // Projection: { // Projection
200
+ * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
201
+ * // NonKeyAttributes: [ // NonKeyAttributeNameList
202
+ * // "STRING_VALUE",
203
+ * // ],
204
+ * // },
205
+ * // IndexSizeBytes: Number("long"),
206
+ * // ItemCount: Number("long"),
207
+ * // IndexArn: "STRING_VALUE",
208
+ * // },
209
+ * // ],
210
+ * // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexDescriptionList
211
+ * // { // GlobalSecondaryIndexDescription
212
+ * // IndexName: "STRING_VALUE",
213
+ * // KeySchema: [
214
+ * // {
215
+ * // AttributeName: "STRING_VALUE", // required
216
+ * // KeyType: "HASH" || "RANGE", // required
217
+ * // },
218
+ * // ],
219
+ * // Projection: {
220
+ * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
221
+ * // NonKeyAttributes: [
222
+ * // "STRING_VALUE",
223
+ * // ],
224
+ * // },
225
+ * // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
226
+ * // Backfilling: true || false,
227
+ * // ProvisionedThroughput: {
228
+ * // LastIncreaseDateTime: new Date("TIMESTAMP"),
229
+ * // LastDecreaseDateTime: new Date("TIMESTAMP"),
230
+ * // NumberOfDecreasesToday: Number("long"),
231
+ * // ReadCapacityUnits: Number("long"),
232
+ * // WriteCapacityUnits: Number("long"),
233
+ * // },
234
+ * // IndexSizeBytes: Number("long"),
235
+ * // ItemCount: Number("long"),
236
+ * // IndexArn: "STRING_VALUE",
237
+ * // OnDemandThroughput: { // OnDemandThroughput
238
+ * // MaxReadRequestUnits: Number("long"),
239
+ * // MaxWriteRequestUnits: Number("long"),
240
+ * // },
241
+ * // WarmThroughput: { // GlobalSecondaryIndexWarmThroughputDescription
242
+ * // ReadUnitsPerSecond: Number("long"),
243
+ * // WriteUnitsPerSecond: Number("long"),
244
+ * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
245
+ * // },
246
+ * // },
247
+ * // ],
248
+ * // StreamSpecification: { // StreamSpecification
249
+ * // StreamEnabled: true || false, // required
250
+ * // StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY",
251
+ * // },
252
+ * // LatestStreamLabel: "STRING_VALUE",
253
+ * // LatestStreamArn: "STRING_VALUE",
254
+ * // GlobalTableVersion: "STRING_VALUE",
255
+ * // Replicas: [ // ReplicaDescriptionList
256
+ * // { // ReplicaDescription
257
+ * // RegionName: "STRING_VALUE",
258
+ * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
259
+ * // ReplicaStatusDescription: "STRING_VALUE",
260
+ * // ReplicaStatusPercentProgress: "STRING_VALUE",
261
+ * // KMSMasterKeyId: "STRING_VALUE",
262
+ * // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
263
+ * // ReadCapacityUnits: Number("long"),
264
+ * // },
265
+ * // OnDemandThroughputOverride: { // OnDemandThroughputOverride
266
+ * // MaxReadRequestUnits: Number("long"),
267
+ * // },
268
+ * // WarmThroughput: { // TableWarmThroughputDescription
269
+ * // ReadUnitsPerSecond: Number("long"),
270
+ * // WriteUnitsPerSecond: Number("long"),
271
+ * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
272
+ * // },
273
+ * // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
274
+ * // { // ReplicaGlobalSecondaryIndexDescription
275
+ * // IndexName: "STRING_VALUE",
276
+ * // ProvisionedThroughputOverride: {
277
+ * // ReadCapacityUnits: Number("long"),
278
+ * // },
279
+ * // OnDemandThroughputOverride: {
280
+ * // MaxReadRequestUnits: Number("long"),
281
+ * // },
282
+ * // WarmThroughput: {
283
+ * // ReadUnitsPerSecond: Number("long"),
284
+ * // WriteUnitsPerSecond: Number("long"),
285
+ * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
286
+ * // },
287
+ * // },
288
+ * // ],
289
+ * // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
290
+ * // ReplicaTableClassSummary: { // TableClassSummary
291
+ * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
292
+ * // LastUpdateDateTime: new Date("TIMESTAMP"),
293
+ * // },
294
+ * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
295
+ * // },
296
+ * // ],
297
+ * // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList
298
+ * // { // GlobalTableWitnessDescription
299
+ * // RegionName: "STRING_VALUE",
300
+ * // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE",
301
+ * // },
302
+ * // ],
303
+ * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
304
+ * // RestoreSummary: { // RestoreSummary
305
+ * // SourceBackupArn: "STRING_VALUE",
306
+ * // SourceTableArn: "STRING_VALUE",
307
+ * // RestoreDateTime: new Date("TIMESTAMP"), // required
308
+ * // RestoreInProgress: true || false, // required
309
+ * // },
310
+ * // SSEDescription: { // SSEDescription
311
+ * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING",
312
+ * // SSEType: "AES256" || "KMS",
313
+ * // KMSMasterKeyArn: "STRING_VALUE",
314
+ * // InaccessibleEncryptionDateTime: new Date("TIMESTAMP"),
315
+ * // },
316
+ * // ArchivalSummary: { // ArchivalSummary
317
+ * // ArchivalDateTime: new Date("TIMESTAMP"),
318
+ * // ArchivalReason: "STRING_VALUE",
319
+ * // ArchivalBackupArn: "STRING_VALUE",
320
+ * // },
321
+ * // TableClassSummary: {
322
+ * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
323
+ * // LastUpdateDateTime: new Date("TIMESTAMP"),
324
+ * // },
325
+ * // DeletionProtectionEnabled: true || false,
326
+ * // OnDemandThroughput: {
327
+ * // MaxReadRequestUnits: Number("long"),
328
+ * // MaxWriteRequestUnits: Number("long"),
329
+ * // },
330
+ * // WarmThroughput: {
331
+ * // ReadUnitsPerSecond: Number("long"),
332
+ * // WriteUnitsPerSecond: Number("long"),
333
+ * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
334
+ * // },
335
+ * // MultiRegionConsistency: "EVENTUAL" || "STRONG",
336
+ * // },
337
+ * // };
338
+ *
339
+ * ```
340
+ *
341
+ * @param RestoreTableToPointInTimeCommandInput - {@link RestoreTableToPointInTimeCommandInput}
342
+ * @returns {@link RestoreTableToPointInTimeCommandOutput}
343
+ * @see {@link RestoreTableToPointInTimeCommandInput} for command's `input` shape.
344
+ * @see {@link RestoreTableToPointInTimeCommandOutput} for command's `response` shape.
345
+ * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
346
+ *
347
+ * @throws {@link InternalServerError} (server fault)
348
+ * <p>An error occurred on the server side.</p>
349
+ *
350
+ * @throws {@link InvalidEndpointException} (client fault)
351
+ *
352
+ * @throws {@link InvalidRestoreTimeException} (client fault)
353
+ * <p>An invalid restore time was specified. RestoreDateTime must be between
354
+ * EarliestRestorableDateTime and LatestRestorableDateTime.</p>
355
+ *
356
+ * @throws {@link LimitExceededException} (client fault)
357
+ * <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
358
+ * <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
359
+ * These operations include <code>CreateTable</code>, <code>UpdateTable</code>,
360
+ * <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
361
+ * <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
362
+ * <p>When you are creating a table with one or more secondary indexes, you can have up
363
+ * to 250 such requests running at a time. However, if the table or index specifications
364
+ * are complex, then DynamoDB might temporarily reduce the number of concurrent
365
+ * operations.</p>
366
+ * <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
367
+ * allowed per account.</p>
368
+ * <p>There is a soft account quota of 2,500 tables.</p>
369
+ * <p>GetRecords was called with a value of more than 1000 for the limit request
370
+ * parameter.</p>
371
+ * <p>More than 2 processes are reading from the same streams shard at the same time.
372
+ * Exceeding this limit may result in request throttling.</p>
373
+ *
374
+ * @throws {@link PointInTimeRecoveryUnavailableException} (client fault)
375
+ * <p>Point in time recovery has not yet been enabled for this source table.</p>
376
+ *
377
+ * @throws {@link TableAlreadyExistsException} (client fault)
378
+ * <p>A target table with the specified name already exists. </p>
379
+ *
380
+ * @throws {@link TableInUseException} (client fault)
381
+ * <p>A target table with the specified name is either being created or deleted.
382
+ * </p>
383
+ *
384
+ * @throws {@link TableNotFoundException} (client fault)
385
+ * <p>A source table with the name <code>TableName</code> does not currently exist within
386
+ * the subscriber's account or the subscriber is operating in the wrong Amazon Web Services
387
+ * Region.</p>
388
+ *
389
+ * @throws {@link DynamoDBServiceException}
390
+ * <p>Base exception class for all service exceptions from DynamoDB service.</p>
391
+ *
392
+ *
393
+ * @public
394
+ */
395
+ export declare class RestoreTableToPointInTimeCommand extends RestoreTableToPointInTimeCommand_base {
396
+ /** @internal type navigation helper, not in runtime. */
397
+ protected static __types: {
398
+ api: {
399
+ input: RestoreTableToPointInTimeInput;
400
+ output: RestoreTableToPointInTimeOutput;
401
+ };
402
+ sdk: {
403
+ input: RestoreTableToPointInTimeCommandInput;
404
+ output: RestoreTableToPointInTimeCommandOutput;
405
+ };
406
+ };
407
+ }