@aws-sdk/client-dynamodb 3.477.0 → 3.481.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 (241) hide show
  1. package/dist-cjs/commands/BatchExecuteStatementCommand.js +18 -41
  2. package/dist-cjs/commands/BatchGetItemCommand.js +18 -41
  3. package/dist-cjs/commands/BatchWriteItemCommand.js +18 -41
  4. package/dist-cjs/commands/CreateBackupCommand.js +18 -41
  5. package/dist-cjs/commands/CreateGlobalTableCommand.js +18 -41
  6. package/dist-cjs/commands/CreateTableCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteBackupCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteItemCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteTableCommand.js +18 -41
  10. package/dist-cjs/commands/DescribeBackupCommand.js +18 -41
  11. package/dist-cjs/commands/DescribeContinuousBackupsCommand.js +18 -41
  12. package/dist-cjs/commands/DescribeContributorInsightsCommand.js +18 -41
  13. package/dist-cjs/commands/DescribeEndpointsCommand.js +18 -41
  14. package/dist-cjs/commands/DescribeExportCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeGlobalTableCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeImportCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeLimitsCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeTableCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeTimeToLiveCommand.js +18 -41
  23. package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js +18 -41
  24. package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js +18 -41
  25. package/dist-cjs/commands/ExecuteStatementCommand.js +18 -41
  26. package/dist-cjs/commands/ExecuteTransactionCommand.js +18 -41
  27. package/dist-cjs/commands/ExportTableToPointInTimeCommand.js +18 -41
  28. package/dist-cjs/commands/GetItemCommand.js +18 -41
  29. package/dist-cjs/commands/ImportTableCommand.js +18 -41
  30. package/dist-cjs/commands/ListBackupsCommand.js +18 -41
  31. package/dist-cjs/commands/ListContributorInsightsCommand.js +18 -41
  32. package/dist-cjs/commands/ListExportsCommand.js +18 -41
  33. package/dist-cjs/commands/ListGlobalTablesCommand.js +18 -41
  34. package/dist-cjs/commands/ListImportsCommand.js +18 -41
  35. package/dist-cjs/commands/ListTablesCommand.js +18 -41
  36. package/dist-cjs/commands/ListTagsOfResourceCommand.js +18 -41
  37. package/dist-cjs/commands/PutItemCommand.js +18 -41
  38. package/dist-cjs/commands/QueryCommand.js +18 -41
  39. package/dist-cjs/commands/RestoreTableFromBackupCommand.js +18 -41
  40. package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js +18 -41
  41. package/dist-cjs/commands/ScanCommand.js +18 -41
  42. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  43. package/dist-cjs/commands/TransactGetItemsCommand.js +18 -41
  44. package/dist-cjs/commands/TransactWriteItemsCommand.js +18 -41
  45. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  46. package/dist-cjs/commands/UpdateContinuousBackupsCommand.js +18 -41
  47. package/dist-cjs/commands/UpdateContributorInsightsCommand.js +18 -41
  48. package/dist-cjs/commands/UpdateGlobalTableCommand.js +18 -41
  49. package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js +18 -41
  50. package/dist-cjs/commands/UpdateItemCommand.js +18 -41
  51. package/dist-cjs/commands/UpdateTableCommand.js +18 -41
  52. package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js +18 -41
  53. package/dist-cjs/commands/UpdateTimeToLiveCommand.js +18 -41
  54. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  55. package/dist-cjs/pagination/ListContributorInsightsPaginator.js +2 -24
  56. package/dist-cjs/pagination/ListExportsPaginator.js +2 -24
  57. package/dist-cjs/pagination/ListImportsPaginator.js +2 -24
  58. package/dist-cjs/pagination/ListTablesPaginator.js +2 -24
  59. package/dist-cjs/pagination/QueryPaginator.js +2 -24
  60. package/dist-cjs/pagination/ScanPaginator.js +2 -24
  61. package/dist-es/commands/BatchExecuteStatementCommand.js +18 -41
  62. package/dist-es/commands/BatchGetItemCommand.js +18 -41
  63. package/dist-es/commands/BatchWriteItemCommand.js +18 -41
  64. package/dist-es/commands/CreateBackupCommand.js +18 -41
  65. package/dist-es/commands/CreateGlobalTableCommand.js +18 -41
  66. package/dist-es/commands/CreateTableCommand.js +18 -41
  67. package/dist-es/commands/DeleteBackupCommand.js +18 -41
  68. package/dist-es/commands/DeleteItemCommand.js +18 -41
  69. package/dist-es/commands/DeleteTableCommand.js +18 -41
  70. package/dist-es/commands/DescribeBackupCommand.js +18 -41
  71. package/dist-es/commands/DescribeContinuousBackupsCommand.js +18 -41
  72. package/dist-es/commands/DescribeContributorInsightsCommand.js +18 -41
  73. package/dist-es/commands/DescribeEndpointsCommand.js +18 -41
  74. package/dist-es/commands/DescribeExportCommand.js +18 -41
  75. package/dist-es/commands/DescribeGlobalTableCommand.js +18 -41
  76. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +18 -41
  77. package/dist-es/commands/DescribeImportCommand.js +18 -41
  78. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +18 -41
  79. package/dist-es/commands/DescribeLimitsCommand.js +18 -41
  80. package/dist-es/commands/DescribeTableCommand.js +18 -41
  81. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +18 -41
  82. package/dist-es/commands/DescribeTimeToLiveCommand.js +18 -41
  83. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +18 -41
  84. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +18 -41
  85. package/dist-es/commands/ExecuteStatementCommand.js +18 -41
  86. package/dist-es/commands/ExecuteTransactionCommand.js +18 -41
  87. package/dist-es/commands/ExportTableToPointInTimeCommand.js +18 -41
  88. package/dist-es/commands/GetItemCommand.js +18 -41
  89. package/dist-es/commands/ImportTableCommand.js +18 -41
  90. package/dist-es/commands/ListBackupsCommand.js +18 -41
  91. package/dist-es/commands/ListContributorInsightsCommand.js +18 -41
  92. package/dist-es/commands/ListExportsCommand.js +18 -41
  93. package/dist-es/commands/ListGlobalTablesCommand.js +18 -41
  94. package/dist-es/commands/ListImportsCommand.js +18 -41
  95. package/dist-es/commands/ListTablesCommand.js +18 -41
  96. package/dist-es/commands/ListTagsOfResourceCommand.js +18 -41
  97. package/dist-es/commands/PutItemCommand.js +18 -41
  98. package/dist-es/commands/QueryCommand.js +18 -41
  99. package/dist-es/commands/RestoreTableFromBackupCommand.js +18 -41
  100. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +18 -41
  101. package/dist-es/commands/ScanCommand.js +18 -41
  102. package/dist-es/commands/TagResourceCommand.js +18 -41
  103. package/dist-es/commands/TransactGetItemsCommand.js +18 -41
  104. package/dist-es/commands/TransactWriteItemsCommand.js +18 -41
  105. package/dist-es/commands/UntagResourceCommand.js +18 -41
  106. package/dist-es/commands/UpdateContinuousBackupsCommand.js +18 -41
  107. package/dist-es/commands/UpdateContributorInsightsCommand.js +18 -41
  108. package/dist-es/commands/UpdateGlobalTableCommand.js +18 -41
  109. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +18 -41
  110. package/dist-es/commands/UpdateItemCommand.js +18 -41
  111. package/dist-es/commands/UpdateTableCommand.js +18 -41
  112. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +18 -41
  113. package/dist-es/commands/UpdateTimeToLiveCommand.js +18 -41
  114. package/dist-es/endpoint/EndpointParameters.js +6 -0
  115. package/dist-es/pagination/ListContributorInsightsPaginator.js +2 -23
  116. package/dist-es/pagination/ListExportsPaginator.js +2 -23
  117. package/dist-es/pagination/ListImportsPaginator.js +2 -23
  118. package/dist-es/pagination/ListTablesPaginator.js +2 -23
  119. package/dist-es/pagination/QueryPaginator.js +2 -23
  120. package/dist-es/pagination/ScanPaginator.js +2 -23
  121. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +6 -21
  122. package/dist-types/commands/BatchGetItemCommand.d.ts +6 -21
  123. package/dist-types/commands/BatchWriteItemCommand.d.ts +6 -21
  124. package/dist-types/commands/CreateBackupCommand.d.ts +6 -21
  125. package/dist-types/commands/CreateGlobalTableCommand.d.ts +6 -21
  126. package/dist-types/commands/CreateTableCommand.d.ts +6 -21
  127. package/dist-types/commands/DeleteBackupCommand.d.ts +6 -21
  128. package/dist-types/commands/DeleteItemCommand.d.ts +6 -21
  129. package/dist-types/commands/DeleteTableCommand.d.ts +6 -21
  130. package/dist-types/commands/DescribeBackupCommand.d.ts +6 -21
  131. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +6 -21
  132. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +6 -21
  133. package/dist-types/commands/DescribeEndpointsCommand.d.ts +6 -21
  134. package/dist-types/commands/DescribeExportCommand.d.ts +6 -21
  135. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +6 -21
  136. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +6 -21
  137. package/dist-types/commands/DescribeImportCommand.d.ts +6 -21
  138. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +6 -21
  139. package/dist-types/commands/DescribeLimitsCommand.d.ts +6 -21
  140. package/dist-types/commands/DescribeTableCommand.d.ts +6 -21
  141. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +6 -21
  142. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +6 -21
  143. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +6 -21
  144. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +6 -21
  145. package/dist-types/commands/ExecuteStatementCommand.d.ts +6 -21
  146. package/dist-types/commands/ExecuteTransactionCommand.d.ts +6 -21
  147. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +6 -21
  148. package/dist-types/commands/GetItemCommand.d.ts +6 -21
  149. package/dist-types/commands/ImportTableCommand.d.ts +6 -21
  150. package/dist-types/commands/ListBackupsCommand.d.ts +6 -21
  151. package/dist-types/commands/ListContributorInsightsCommand.d.ts +6 -21
  152. package/dist-types/commands/ListExportsCommand.d.ts +6 -21
  153. package/dist-types/commands/ListGlobalTablesCommand.d.ts +6 -21
  154. package/dist-types/commands/ListImportsCommand.d.ts +6 -21
  155. package/dist-types/commands/ListTablesCommand.d.ts +6 -21
  156. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +6 -21
  157. package/dist-types/commands/PutItemCommand.d.ts +6 -21
  158. package/dist-types/commands/QueryCommand.d.ts +6 -21
  159. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +6 -21
  160. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +6 -21
  161. package/dist-types/commands/ScanCommand.d.ts +6 -21
  162. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  163. package/dist-types/commands/TransactGetItemsCommand.d.ts +6 -21
  164. package/dist-types/commands/TransactWriteItemsCommand.d.ts +6 -21
  165. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  166. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +6 -21
  167. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +6 -21
  168. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +6 -21
  169. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +6 -21
  170. package/dist-types/commands/UpdateItemCommand.d.ts +6 -21
  171. package/dist-types/commands/UpdateTableCommand.d.ts +6 -21
  172. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +6 -21
  173. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +6 -21
  174. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  175. package/dist-types/pagination/ListContributorInsightsPaginator.d.ts +1 -1
  176. package/dist-types/pagination/ListExportsPaginator.d.ts +1 -1
  177. package/dist-types/pagination/ListImportsPaginator.d.ts +1 -1
  178. package/dist-types/pagination/ListTablesPaginator.d.ts +1 -1
  179. package/dist-types/pagination/QueryPaginator.d.ts +1 -1
  180. package/dist-types/pagination/ScanPaginator.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +12 -24
  182. package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +14 -23
  188. package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +14 -23
  189. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +12 -24
  192. package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +12 -24
  193. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +14 -23
  196. package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +12 -24
  197. package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +12 -24
  199. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +12 -24
  202. package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +14 -23
  203. package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +12 -24
  204. package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +12 -24
  205. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +14 -23
  207. package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +12 -24
  208. package/dist-types/ts3.4/commands/GetItemCommand.d.ts +12 -23
  209. package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +14 -23
  210. package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +14 -23
  211. package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +12 -24
  212. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +14 -23
  217. package/dist-types/ts3.4/commands/PutItemCommand.d.ts +12 -23
  218. package/dist-types/ts3.4/commands/QueryCommand.d.ts +12 -23
  219. package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +12 -24
  220. package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +12 -24
  221. package/dist-types/ts3.4/commands/ScanCommand.d.ts +12 -23
  222. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  223. package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +14 -23
  224. package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +14 -23
  225. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  226. package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +12 -24
  227. package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +12 -24
  228. package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +14 -23
  229. package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +12 -24
  230. package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +14 -23
  231. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +14 -23
  232. package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +12 -24
  233. package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +14 -23
  234. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  235. package/dist-types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts +3 -3
  236. package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +3 -3
  237. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +3 -3
  238. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +3 -3
  239. package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +3 -3
  240. package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +3 -3
  241. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateTimeToLiveCommand, se_UpdateTimeToLiveCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class UpdateTimeToLiveCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateTimeToLiveCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DynamoDBClient";
26
- const commandName = "UpdateTimeToLiveCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DynamoDB_20120810",
35
- operation: "UpdateTimeToLive",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateTimeToLiveCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateTimeToLiveCommand(output, context);
46
- }
7
+ export class UpdateTimeToLiveCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("DynamoDB_20120810", "UpdateTimeToLive", {})
19
+ .n("DynamoDBClient", "UpdateTimeToLiveCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateTimeToLiveCommand)
22
+ .de(de_UpdateTimeToLiveCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "dynamodb",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListContributorInsightsCommand, } from "../commands/ListContributorInsightsCommand";
2
3
  import { DynamoDBClient } from "../DynamoDBClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListContributorInsightsCommand(input), ...args);
5
- };
6
- export async function* paginateListContributorInsights(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof DynamoDBClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected DynamoDB | DynamoDBClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListContributorInsights = createPaginator(DynamoDBClient, ListContributorInsightsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListExportsCommand } from "../commands/ListExportsCommand";
2
3
  import { DynamoDBClient } from "../DynamoDBClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListExportsCommand(input), ...args);
5
- };
6
- export async function* paginateListExports(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof DynamoDBClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected DynamoDB | DynamoDBClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListExports = createPaginator(DynamoDBClient, ListExportsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListImportsCommand } from "../commands/ListImportsCommand";
2
3
  import { DynamoDBClient } from "../DynamoDBClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListImportsCommand(input), ...args);
5
- };
6
- export async function* paginateListImports(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["PageSize"] = config.pageSize;
13
- if (config.client instanceof DynamoDBClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected DynamoDB | DynamoDBClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListImports = createPaginator(DynamoDBClient, ListImportsCommand, "NextToken", "NextToken", "PageSize");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTablesCommand } from "../commands/ListTablesCommand";
2
3
  import { DynamoDBClient } from "../DynamoDBClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTablesCommand(input), ...args);
5
- };
6
- export async function* paginateListTables(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.ExclusiveStartTableName = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof DynamoDBClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected DynamoDB | DynamoDBClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.LastEvaluatedTableName;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListTables = createPaginator(DynamoDBClient, ListTablesCommand, "ExclusiveStartTableName", "LastEvaluatedTableName", "Limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { QueryCommand } from "../commands/QueryCommand";
2
3
  import { DynamoDBClient } from "../DynamoDBClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new QueryCommand(input), ...args);
5
- };
6
- export async function* paginateQuery(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.ExclusiveStartKey = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof DynamoDBClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected DynamoDB | DynamoDBClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.LastEvaluatedKey;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateQuery = createPaginator(DynamoDBClient, QueryCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ScanCommand } from "../commands/ScanCommand";
2
3
  import { DynamoDBClient } from "../DynamoDBClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ScanCommand(input), ...args);
5
- };
6
- export async function* paginateScan(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.ExclusiveStartKey = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof DynamoDBClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected DynamoDB | DynamoDBClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.LastEvaluatedKey;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateScan = createPaginator(DynamoDBClient, ScanCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
4
  import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchExecuteStatementCommandInput extends BatchExecuteStatement
21
20
  */
22
21
  export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementOutput, __MetadataBearer {
23
22
  }
23
+ declare const BatchExecuteStatementCommand_base: {
24
+ new (input: BatchExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>This operation allows you to perform batch reads or writes on data stored in DynamoDB,
@@ -206,23 +209,5 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
206
209
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
207
210
  *
208
211
  */
209
- export declare class BatchExecuteStatementCommand extends $Command<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, DynamoDBClientResolvedConfig> {
210
- readonly input: BatchExecuteStatementCommandInput;
211
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
212
- /**
213
- * @public
214
- */
215
- constructor(input: BatchExecuteStatementCommandInput);
216
- /**
217
- * @internal
218
- */
219
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput>;
220
- /**
221
- * @internal
222
- */
223
- private serialize;
224
- /**
225
- * @internal
226
- */
227
- private deserialize;
212
+ export declare class BatchExecuteStatementCommand extends BatchExecuteStatementCommand_base {
228
213
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
4
  import { BatchGetItemInput, BatchGetItemOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchGetItemCommandInput extends BatchGetItemInput {
21
20
  */
22
21
  export interface BatchGetItemCommandOutput extends BatchGetItemOutput, __MetadataBearer {
23
22
  }
23
+ declare const BatchGetItemCommand_base: {
24
+ new (input: BatchGetItemCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetItemCommandInput, BatchGetItemCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>The <code>BatchGetItem</code> operation returns the attributes of one or more items
@@ -332,23 +335,5 @@ export interface BatchGetItemCommandOutput extends BatchGetItemOutput, __Metadat
332
335
  * ```
333
336
  *
334
337
  */
335
- export declare class BatchGetItemCommand extends $Command<BatchGetItemCommandInput, BatchGetItemCommandOutput, DynamoDBClientResolvedConfig> {
336
- readonly input: BatchGetItemCommandInput;
337
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
338
- /**
339
- * @public
340
- */
341
- constructor(input: BatchGetItemCommandInput);
342
- /**
343
- * @internal
344
- */
345
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetItemCommandInput, BatchGetItemCommandOutput>;
346
- /**
347
- * @internal
348
- */
349
- private serialize;
350
- /**
351
- * @internal
352
- */
353
- private deserialize;
338
+ export declare class BatchGetItemCommand extends BatchGetItemCommand_base {
354
339
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
4
  import { BatchWriteItemInput, BatchWriteItemOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchWriteItemCommandInput extends BatchWriteItemInput {
21
20
  */
22
21
  export interface BatchWriteItemCommandOutput extends BatchWriteItemOutput, __MetadataBearer {
23
22
  }
23
+ declare const BatchWriteItemCommand_base: {
24
+ new (input: BatchWriteItemCommandInput): import("@smithy/smithy-client").CommandImpl<BatchWriteItemCommandInput, BatchWriteItemCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>The <code>BatchWriteItem</code> operation puts or deletes multiple items in one or
@@ -370,23 +373,5 @@ export interface BatchWriteItemCommandOutput extends BatchWriteItemOutput, __Met
370
373
  * ```
371
374
  *
372
375
  */
373
- export declare class BatchWriteItemCommand extends $Command<BatchWriteItemCommandInput, BatchWriteItemCommandOutput, DynamoDBClientResolvedConfig> {
374
- readonly input: BatchWriteItemCommandInput;
375
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
376
- /**
377
- * @public
378
- */
379
- constructor(input: BatchWriteItemCommandInput);
380
- /**
381
- * @internal
382
- */
383
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchWriteItemCommandInput, BatchWriteItemCommandOutput>;
384
- /**
385
- * @internal
386
- */
387
- private serialize;
388
- /**
389
- * @internal
390
- */
391
- private deserialize;
376
+ export declare class BatchWriteItemCommand extends BatchWriteItemCommand_base {
392
377
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
4
  import { CreateBackupInput, CreateBackupOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateBackupCommandInput extends CreateBackupInput {
21
20
  */
22
21
  export interface CreateBackupCommandOutput extends CreateBackupOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateBackupCommand_base: {
24
+ new (input: CreateBackupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBackupCommandInput, CreateBackupCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a backup for an existing table.</p>
@@ -125,23 +128,5 @@ export interface CreateBackupCommandOutput extends CreateBackupOutput, __Metadat
125
128
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
126
129
  *
127
130
  */
128
- export declare class CreateBackupCommand extends $Command<CreateBackupCommandInput, CreateBackupCommandOutput, DynamoDBClientResolvedConfig> {
129
- readonly input: CreateBackupCommandInput;
130
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
131
- /**
132
- * @public
133
- */
134
- constructor(input: CreateBackupCommandInput);
135
- /**
136
- * @internal
137
- */
138
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateBackupCommandInput, CreateBackupCommandOutput>;
139
- /**
140
- * @internal
141
- */
142
- private serialize;
143
- /**
144
- * @internal
145
- */
146
- private deserialize;
131
+ export declare class CreateBackupCommand extends CreateBackupCommand_base {
147
132
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
4
  import { CreateGlobalTableInput, CreateGlobalTableOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateGlobalTableCommandInput extends CreateGlobalTableInput {
21
20
  */
22
21
  export interface CreateGlobalTableCommandOutput extends CreateGlobalTableOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateGlobalTableCommand_base: {
24
+ new (input: CreateGlobalTableCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGlobalTableCommandInput, CreateGlobalTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a global table from an existing table. A global table creates a replication
@@ -176,23 +179,5 @@ export interface CreateGlobalTableCommandOutput extends CreateGlobalTableOutput,
176
179
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
177
180
  *
178
181
  */
179
- export declare class CreateGlobalTableCommand extends $Command<CreateGlobalTableCommandInput, CreateGlobalTableCommandOutput, DynamoDBClientResolvedConfig> {
180
- readonly input: CreateGlobalTableCommandInput;
181
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
182
- /**
183
- * @public
184
- */
185
- constructor(input: CreateGlobalTableCommandInput);
186
- /**
187
- * @internal
188
- */
189
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateGlobalTableCommandInput, CreateGlobalTableCommandOutput>;
190
- /**
191
- * @internal
192
- */
193
- private serialize;
194
- /**
195
- * @internal
196
- */
197
- private deserialize;
182
+ export declare class CreateGlobalTableCommand extends CreateGlobalTableCommand_base {
198
183
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
4
  import { CreateTableInput, CreateTableOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateTableCommandInput extends CreateTableInput {
21
20
  */
22
21
  export interface CreateTableCommandOutput extends CreateTableOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateTableCommand_base: {
24
+ new (input: CreateTableCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTableCommandInput, CreateTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>The <code>CreateTable</code> operation adds a new table to your account. In an Amazon Web Services account, table names must be unique within each Region. That is, you can
@@ -365,23 +368,5 @@ export interface CreateTableCommandOutput extends CreateTableOutput, __MetadataB
365
368
  * ```
366
369
  *
367
370
  */
368
- export declare class CreateTableCommand extends $Command<CreateTableCommandInput, CreateTableCommandOutput, DynamoDBClientResolvedConfig> {
369
- readonly input: CreateTableCommandInput;
370
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
371
- /**
372
- * @public
373
- */
374
- constructor(input: CreateTableCommandInput);
375
- /**
376
- * @internal
377
- */
378
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTableCommandInput, CreateTableCommandOutput>;
379
- /**
380
- * @internal
381
- */
382
- private serialize;
383
- /**
384
- * @internal
385
- */
386
- private deserialize;
371
+ export declare class CreateTableCommand extends CreateTableCommand_base {
387
372
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
4
  import { DeleteBackupInput, DeleteBackupOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteBackupCommandInput extends DeleteBackupInput {
21
20
  */
22
21
  export interface DeleteBackupCommandOutput extends DeleteBackupOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteBackupCommand_base: {
24
+ new (input: DeleteBackupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBackupCommandInput, DeleteBackupCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes an existing backup of a table.</p>
@@ -164,23 +167,5 @@ export interface DeleteBackupCommandOutput extends DeleteBackupOutput, __Metadat
164
167
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
165
168
  *
166
169
  */
167
- export declare class DeleteBackupCommand extends $Command<DeleteBackupCommandInput, DeleteBackupCommandOutput, DynamoDBClientResolvedConfig> {
168
- readonly input: DeleteBackupCommandInput;
169
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
170
- /**
171
- * @public
172
- */
173
- constructor(input: DeleteBackupCommandInput);
174
- /**
175
- * @internal
176
- */
177
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBackupCommandInput, DeleteBackupCommandOutput>;
178
- /**
179
- * @internal
180
- */
181
- private serialize;
182
- /**
183
- * @internal
184
- */
185
- private deserialize;
170
+ export declare class DeleteBackupCommand extends DeleteBackupCommand_base {
186
171
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
4
  import { DeleteItemInput, DeleteItemOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteItemCommandInput extends DeleteItemInput {
21
20
  */
22
21
  export interface DeleteItemCommandOutput extends DeleteItemOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteItemCommand_base: {
24
+ new (input: DeleteItemCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteItemCommandInput, DeleteItemCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a single item in a table by primary key. You can perform a conditional delete
@@ -263,23 +266,5 @@ export interface DeleteItemCommandOutput extends DeleteItemOutput, __MetadataBea
263
266
  * ```
264
267
  *
265
268
  */
266
- export declare class DeleteItemCommand extends $Command<DeleteItemCommandInput, DeleteItemCommandOutput, DynamoDBClientResolvedConfig> {
267
- readonly input: DeleteItemCommandInput;
268
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
269
- /**
270
- * @public
271
- */
272
- constructor(input: DeleteItemCommandInput);
273
- /**
274
- * @internal
275
- */
276
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteItemCommandInput, DeleteItemCommandOutput>;
277
- /**
278
- * @internal
279
- */
280
- private serialize;
281
- /**
282
- * @internal
283
- */
284
- private deserialize;
269
+ export declare class DeleteItemCommand extends DeleteItemCommand_base {
285
270
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
4
  import { DeleteTableInput, DeleteTableOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteTableCommandInput extends DeleteTableInput {
21
20
  */
22
21
  export interface DeleteTableCommandOutput extends DeleteTableOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteTableCommand_base: {
24
+ new (input: DeleteTableCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTableCommandInput, DeleteTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>The <code>DeleteTable</code> operation deletes a table and all of its items. After a
@@ -263,23 +266,5 @@ export interface DeleteTableCommandOutput extends DeleteTableOutput, __MetadataB
263
266
  * ```
264
267
  *
265
268
  */
266
- export declare class DeleteTableCommand extends $Command<DeleteTableCommandInput, DeleteTableCommandOutput, DynamoDBClientResolvedConfig> {
267
- readonly input: DeleteTableCommandInput;
268
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
269
- /**
270
- * @public
271
- */
272
- constructor(input: DeleteTableCommandInput);
273
- /**
274
- * @internal
275
- */
276
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTableCommandInput, DeleteTableCommandOutput>;
277
- /**
278
- * @internal
279
- */
280
- private serialize;
281
- /**
282
- * @internal
283
- */
284
- private deserialize;
269
+ export declare class DeleteTableCommand extends DeleteTableCommand_base {
285
270
  }