@aws-sdk/client-dynamodb 3.1077.0 → 3.1079.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 (179) hide show
  1. package/dist-cjs/index.js +101 -723
  2. package/dist-es/commandBuilder.js +42 -0
  3. package/dist-es/commands/BatchExecuteStatementCommand.js +2 -14
  4. package/dist-es/commands/BatchGetItemCommand.js +2 -17
  5. package/dist-es/commands/BatchWriteItemCommand.js +2 -17
  6. package/dist-es/commands/CreateBackupCommand.js +2 -17
  7. package/dist-es/commands/CreateGlobalTableCommand.js +2 -17
  8. package/dist-es/commands/CreateTableCommand.js +2 -17
  9. package/dist-es/commands/DeleteBackupCommand.js +2 -17
  10. package/dist-es/commands/DeleteItemCommand.js +2 -17
  11. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -17
  12. package/dist-es/commands/DeleteTableCommand.js +2 -17
  13. package/dist-es/commands/DescribeBackupCommand.js +2 -17
  14. package/dist-es/commands/DescribeContinuousBackupsCommand.js +2 -17
  15. package/dist-es/commands/DescribeContributorInsightsCommand.js +2 -17
  16. package/dist-es/commands/DescribeEndpointsCommand.js +2 -14
  17. package/dist-es/commands/DescribeExportCommand.js +2 -17
  18. package/dist-es/commands/DescribeGlobalTableCommand.js +2 -17
  19. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +2 -17
  20. package/dist-es/commands/DescribeImportCommand.js +2 -17
  21. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +2 -17
  22. package/dist-es/commands/DescribeLimitsCommand.js +2 -14
  23. package/dist-es/commands/DescribeTableCommand.js +2 -17
  24. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +2 -17
  25. package/dist-es/commands/DescribeTimeToLiveCommand.js +2 -17
  26. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +2 -17
  27. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +2 -17
  28. package/dist-es/commands/ExecuteStatementCommand.js +2 -14
  29. package/dist-es/commands/ExecuteTransactionCommand.js +2 -14
  30. package/dist-es/commands/ExportTableToPointInTimeCommand.js +2 -17
  31. package/dist-es/commands/GetItemCommand.js +2 -17
  32. package/dist-es/commands/GetResourcePolicyCommand.js +2 -17
  33. package/dist-es/commands/ImportTableCommand.js +2 -17
  34. package/dist-es/commands/ListBackupsCommand.js +2 -17
  35. package/dist-es/commands/ListContributorInsightsCommand.js +2 -17
  36. package/dist-es/commands/ListExportsCommand.js +2 -17
  37. package/dist-es/commands/ListGlobalTablesCommand.js +2 -14
  38. package/dist-es/commands/ListImportsCommand.js +2 -17
  39. package/dist-es/commands/ListTablesCommand.js +2 -14
  40. package/dist-es/commands/ListTagsOfResourceCommand.js +2 -17
  41. package/dist-es/commands/PutItemCommand.js +2 -17
  42. package/dist-es/commands/PutResourcePolicyCommand.js +2 -17
  43. package/dist-es/commands/QueryCommand.js +2 -17
  44. package/dist-es/commands/RestoreTableFromBackupCommand.js +2 -17
  45. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +2 -17
  46. package/dist-es/commands/ScanCommand.js +2 -17
  47. package/dist-es/commands/TagResourceCommand.js +2 -17
  48. package/dist-es/commands/TransactGetItemsCommand.js +2 -17
  49. package/dist-es/commands/TransactWriteItemsCommand.js +2 -17
  50. package/dist-es/commands/UntagResourceCommand.js +2 -17
  51. package/dist-es/commands/UpdateContinuousBackupsCommand.js +2 -17
  52. package/dist-es/commands/UpdateContributorInsightsCommand.js +2 -17
  53. package/dist-es/commands/UpdateGlobalTableCommand.js +2 -17
  54. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +2 -17
  55. package/dist-es/commands/UpdateItemCommand.js +2 -17
  56. package/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js +2 -17
  57. package/dist-es/commands/UpdateTableCommand.js +2 -17
  58. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +2 -17
  59. package/dist-es/commands/UpdateTimeToLiveCommand.js +2 -17
  60. package/dist-es/index.js +1 -0
  61. package/dist-types/commandBuilder.d.ts +66 -0
  62. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +3 -8
  63. package/dist-types/commands/BatchGetItemCommand.d.ts +3 -8
  64. package/dist-types/commands/BatchWriteItemCommand.d.ts +3 -8
  65. package/dist-types/commands/CreateBackupCommand.d.ts +3 -8
  66. package/dist-types/commands/CreateGlobalTableCommand.d.ts +3 -8
  67. package/dist-types/commands/CreateTableCommand.d.ts +3 -8
  68. package/dist-types/commands/DeleteBackupCommand.d.ts +3 -8
  69. package/dist-types/commands/DeleteItemCommand.d.ts +3 -8
  70. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  71. package/dist-types/commands/DeleteTableCommand.d.ts +3 -8
  72. package/dist-types/commands/DescribeBackupCommand.d.ts +3 -8
  73. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +3 -8
  74. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +3 -8
  75. package/dist-types/commands/DescribeEndpointsCommand.d.ts +3 -8
  76. package/dist-types/commands/DescribeExportCommand.d.ts +3 -8
  77. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +3 -8
  78. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +3 -8
  79. package/dist-types/commands/DescribeImportCommand.d.ts +3 -8
  80. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +3 -8
  81. package/dist-types/commands/DescribeLimitsCommand.d.ts +3 -8
  82. package/dist-types/commands/DescribeTableCommand.d.ts +3 -8
  83. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +3 -8
  84. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +3 -8
  85. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +3 -8
  86. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +3 -8
  87. package/dist-types/commands/ExecuteStatementCommand.d.ts +3 -8
  88. package/dist-types/commands/ExecuteTransactionCommand.d.ts +3 -8
  89. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +3 -8
  90. package/dist-types/commands/GetItemCommand.d.ts +3 -8
  91. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  92. package/dist-types/commands/ImportTableCommand.d.ts +3 -8
  93. package/dist-types/commands/ListBackupsCommand.d.ts +3 -8
  94. package/dist-types/commands/ListContributorInsightsCommand.d.ts +3 -8
  95. package/dist-types/commands/ListExportsCommand.d.ts +3 -8
  96. package/dist-types/commands/ListGlobalTablesCommand.d.ts +3 -8
  97. package/dist-types/commands/ListImportsCommand.d.ts +3 -8
  98. package/dist-types/commands/ListTablesCommand.d.ts +3 -8
  99. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +3 -8
  100. package/dist-types/commands/PutItemCommand.d.ts +3 -8
  101. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  102. package/dist-types/commands/QueryCommand.d.ts +3 -8
  103. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +3 -8
  104. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +3 -8
  105. package/dist-types/commands/ScanCommand.d.ts +3 -8
  106. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  107. package/dist-types/commands/TransactGetItemsCommand.d.ts +3 -8
  108. package/dist-types/commands/TransactWriteItemsCommand.d.ts +3 -8
  109. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  110. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +3 -8
  111. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +3 -8
  112. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +3 -8
  113. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +3 -8
  114. package/dist-types/commands/UpdateItemCommand.d.ts +3 -8
  115. package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +3 -8
  116. package/dist-types/commands/UpdateTableCommand.d.ts +3 -8
  117. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +3 -8
  118. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +3 -8
  119. package/dist-types/index.d.ts +1 -0
  120. package/dist-types/ts3.4/commandBuilder.d.ts +58 -0
  121. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +7 -16
  136. package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +7 -16
  137. package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +7 -16
  138. package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +7 -16
  139. package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +7 -16
  140. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +7 -16
  141. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +7 -16
  146. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +7 -16
  147. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +7 -16
  148. package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +7 -16
  149. package/dist-types/ts3.4/commands/GetItemCommand.d.ts +7 -16
  150. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  151. package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +7 -16
  152. package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +7 -16
  153. package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +7 -16
  154. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +7 -16
  155. package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +7 -16
  156. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +7 -16
  157. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +7 -16
  158. package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +7 -16
  159. package/dist-types/ts3.4/commands/PutItemCommand.d.ts +7 -16
  160. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  161. package/dist-types/ts3.4/commands/QueryCommand.d.ts +7 -16
  162. package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +7 -16
  163. package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +7 -16
  164. package/dist-types/ts3.4/commands/ScanCommand.d.ts +7 -16
  165. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  166. package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +7 -16
  167. package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +7 -16
  168. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  169. package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +7 -16
  170. package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +7 -16
  171. package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +7 -16
  172. package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +7 -16
  173. package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +7 -16
  174. package/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts +7 -16
  175. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +7 -16
  176. package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +7 -16
  177. package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +7 -16
  178. package/dist-types/ts3.4/index.d.ts +1 -0
  179. package/package.json +11 -11
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ExecuteTransaction$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ExecuteTransactionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("DynamoDB_20120810", "ExecuteTransaction", {})
13
- .n("DynamoDBClient", "ExecuteTransactionCommand")
14
- .sc(ExecuteTransaction$)
15
- .build() {
3
+ export class ExecuteTransactionCommand extends command(_ep0, _mw0, "ExecuteTransaction", ExecuteTransaction$) {
16
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep8, _mw0, command } from "../commandBuilder";
4
2
  import { ExportTableToPointInTime$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ExportTableToPointInTimeCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "TableArn" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "ExportTableToPointInTime", {})
16
- .n("DynamoDBClient", "ExportTableToPointInTimeCommand")
17
- .sc(ExportTableToPointInTime$)
18
- .build() {
3
+ export class ExportTableToPointInTimeCommand extends command(_ep8, _mw0, "ExportTableToPointInTime", ExportTableToPointInTime$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep2, _mw0, command } from "../commandBuilder";
4
2
  import { GetItem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetItemCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "TableName" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "GetItem", {})
16
- .n("DynamoDBClient", "GetItemCommand")
17
- .sc(GetItem$)
18
- .build() {
3
+ export class GetItemCommand extends command(_ep2, _mw0, "GetItem", GetItem$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep5, _mw0, command } from "../commandBuilder";
4
2
  import { GetResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "ResourceArn" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "GetResourcePolicy", {})
16
- .n("DynamoDBClient", "GetResourcePolicyCommand")
17
- .sc(GetResourcePolicy$)
18
- .build() {
3
+ export class GetResourcePolicyCommand extends command(_ep5, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep9, _mw0, command } from "../commandBuilder";
4
2
  import { ImportTable$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ImportTableCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "operationContextParams", get: (input) => input?.TableCreationParameters?.TableName },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "ImportTable", {})
16
- .n("DynamoDBClient", "ImportTableCommand")
17
- .sc(ImportTable$)
18
- .build() {
3
+ export class ImportTableCommand extends command(_ep9, _mw0, "ImportTable", ImportTable$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep2, _mw0, command } from "../commandBuilder";
4
2
  import { ListBackups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListBackupsCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "TableName" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "ListBackups", {})
16
- .n("DynamoDBClient", "ListBackupsCommand")
17
- .sc(ListBackups$)
18
- .build() {
3
+ export class ListBackupsCommand extends command(_ep2, _mw0, "ListBackups", ListBackups$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep2, _mw0, command } from "../commandBuilder";
4
2
  import { ListContributorInsights$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListContributorInsightsCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "TableName" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "ListContributorInsights", {})
16
- .n("DynamoDBClient", "ListContributorInsightsCommand")
17
- .sc(ListContributorInsights$)
18
- .build() {
3
+ export class ListContributorInsightsCommand extends command(_ep2, _mw0, "ListContributorInsights", ListContributorInsights$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep8, _mw0, command } from "../commandBuilder";
4
2
  import { ListExports$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListExportsCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "TableArn" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "ListExports", {})
16
- .n("DynamoDBClient", "ListExportsCommand")
17
- .sc(ListExports$)
18
- .build() {
3
+ export class ListExportsCommand extends command(_ep8, _mw0, "ListExports", ListExports$) {
19
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListGlobalTables$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListGlobalTablesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("DynamoDB_20120810", "ListGlobalTables", {})
13
- .n("DynamoDBClient", "ListGlobalTablesCommand")
14
- .sc(ListGlobalTables$)
15
- .build() {
3
+ export class ListGlobalTablesCommand extends command(_ep0, _mw0, "ListGlobalTables", ListGlobalTables$) {
16
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep8, _mw0, command } from "../commandBuilder";
4
2
  import { ListImports$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListImportsCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "TableArn" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "ListImports", {})
16
- .n("DynamoDBClient", "ListImportsCommand")
17
- .sc(ListImports$)
18
- .build() {
3
+ export class ListImportsCommand extends command(_ep8, _mw0, "ListImports", ListImports$) {
19
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTables$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTablesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("DynamoDB_20120810", "ListTables", {})
13
- .n("DynamoDBClient", "ListTablesCommand")
14
- .sc(ListTables$)
15
- .build() {
3
+ export class ListTablesCommand extends command(_ep0, _mw0, "ListTables", ListTables$) {
16
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep5, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsOfResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsOfResourceCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "ResourceArn" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "ListTagsOfResource", {})
16
- .n("DynamoDBClient", "ListTagsOfResourceCommand")
17
- .sc(ListTagsOfResource$)
18
- .build() {
3
+ export class ListTagsOfResourceCommand extends command(_ep5, _mw0, "ListTagsOfResource", ListTagsOfResource$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep2, _mw0, command } from "../commandBuilder";
4
2
  import { PutItem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutItemCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "TableName" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "PutItem", {})
16
- .n("DynamoDBClient", "PutItemCommand")
17
- .sc(PutItem$)
18
- .build() {
3
+ export class PutItemCommand extends command(_ep2, _mw0, "PutItem", PutItem$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep5, _mw0, command } from "../commandBuilder";
4
2
  import { PutResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "ResourceArn" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "PutResourcePolicy", {})
16
- .n("DynamoDBClient", "PutResourcePolicyCommand")
17
- .sc(PutResourcePolicy$)
18
- .build() {
3
+ export class PutResourcePolicyCommand extends command(_ep5, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep2, _mw0, command } from "../commandBuilder";
4
2
  import { Query$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class QueryCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "TableName" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "Query", {})
16
- .n("DynamoDBClient", "QueryCommand")
17
- .sc(Query$)
18
- .build() {
3
+ export class QueryCommand extends command(_ep2, _mw0, "Query", Query$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep10, _mw0, command } from "../commandBuilder";
4
2
  import { RestoreTableFromBackup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RestoreTableFromBackupCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "TargetTableName" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "RestoreTableFromBackup", {})
16
- .n("DynamoDBClient", "RestoreTableFromBackupCommand")
17
- .sc(RestoreTableFromBackup$)
18
- .build() {
3
+ export class RestoreTableFromBackupCommand extends command(_ep10, _mw0, "RestoreTableFromBackup", RestoreTableFromBackup$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep10, _mw0, command } from "../commandBuilder";
4
2
  import { RestoreTableToPointInTime$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RestoreTableToPointInTimeCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "TargetTableName" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "RestoreTableToPointInTime", {})
16
- .n("DynamoDBClient", "RestoreTableToPointInTimeCommand")
17
- .sc(RestoreTableToPointInTime$)
18
- .build() {
3
+ export class RestoreTableToPointInTimeCommand extends command(_ep10, _mw0, "RestoreTableToPointInTime", RestoreTableToPointInTime$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep2, _mw0, command } from "../commandBuilder";
4
2
  import { Scan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ScanCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "TableName" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "Scan", {})
16
- .n("DynamoDBClient", "ScanCommand")
17
- .sc(Scan$)
18
- .build() {
3
+ export class ScanCommand extends command(_ep2, _mw0, "Scan", Scan$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep5, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "ResourceArn" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "TagResource", {})
16
- .n("DynamoDBClient", "TagResourceCommand")
17
- .sc(TagResource$)
18
- .build() {
3
+ export class TagResourceCommand extends command(_ep5, _mw0, "TagResource", TagResource$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep11, _mw0, command } from "../commandBuilder";
4
2
  import { TransactGetItems$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TransactGetItemsCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => obj?.Get?.TableName) },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "TransactGetItems", {})
16
- .n("DynamoDBClient", "TransactGetItemsCommand")
17
- .sc(TransactGetItems$)
18
- .build() {
3
+ export class TransactGetItemsCommand extends command(_ep11, _mw0, "TransactGetItems", TransactGetItems$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep12, _mw0, command } from "../commandBuilder";
4
2
  import { TransactWriteItems$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TransactWriteItemsCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => [obj?.ConditionCheck?.TableName, obj?.Put?.TableName, obj?.Delete?.TableName, obj?.Update?.TableName].filter((i) => i)).flat() },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "TransactWriteItems", {})
16
- .n("DynamoDBClient", "TransactWriteItemsCommand")
17
- .sc(TransactWriteItems$)
18
- .build() {
3
+ export class TransactWriteItemsCommand extends command(_ep12, _mw0, "TransactWriteItems", TransactWriteItems$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep5, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "ResourceArn" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "UntagResource", {})
16
- .n("DynamoDBClient", "UntagResourceCommand")
17
- .sc(UntagResource$)
18
- .build() {
3
+ export class UntagResourceCommand extends command(_ep5, _mw0, "UntagResource", UntagResource$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep2, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateContinuousBackups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateContinuousBackupsCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "TableName" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "UpdateContinuousBackups", {})
16
- .n("DynamoDBClient", "UpdateContinuousBackupsCommand")
17
- .sc(UpdateContinuousBackups$)
18
- .build() {
3
+ export class UpdateContinuousBackupsCommand extends command(_ep2, _mw0, "UpdateContinuousBackups", UpdateContinuousBackups$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep2, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateContributorInsights$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateContributorInsightsCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "TableName" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "UpdateContributorInsights", {})
16
- .n("DynamoDBClient", "UpdateContributorInsightsCommand")
17
- .sc(UpdateContributorInsights$)
18
- .build() {
3
+ export class UpdateContributorInsightsCommand extends command(_ep2, _mw0, "UpdateContributorInsights", UpdateContributorInsights$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep3, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateGlobalTable$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateGlobalTableCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "GlobalTableName" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "UpdateGlobalTable", {})
16
- .n("DynamoDBClient", "UpdateGlobalTableCommand")
17
- .sc(UpdateGlobalTable$)
18
- .build() {
3
+ export class UpdateGlobalTableCommand extends command(_ep3, _mw0, "UpdateGlobalTable", UpdateGlobalTable$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep3, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateGlobalTableSettings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateGlobalTableSettingsCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "GlobalTableName" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "UpdateGlobalTableSettings", {})
16
- .n("DynamoDBClient", "UpdateGlobalTableSettingsCommand")
17
- .sc(UpdateGlobalTableSettings$)
18
- .build() {
3
+ export class UpdateGlobalTableSettingsCommand extends command(_ep3, _mw0, "UpdateGlobalTableSettings", UpdateGlobalTableSettings$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep2, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateItem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateItemCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "TableName" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "UpdateItem", {})
16
- .n("DynamoDBClient", "UpdateItemCommand")
17
- .sc(UpdateItem$)
18
- .build() {
3
+ export class UpdateItemCommand extends command(_ep2, _mw0, "UpdateItem", UpdateItem$) {
19
4
  }
@@ -1,19 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep2, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateKinesisStreamingDestination$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateKinesisStreamingDestinationCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "TableName" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "UpdateKinesisStreamingDestination", {})
16
- .n("DynamoDBClient", "UpdateKinesisStreamingDestinationCommand")
17
- .sc(UpdateKinesisStreamingDestination$)
18
- .build() {
3
+ export class UpdateKinesisStreamingDestinationCommand extends command(_ep2, _mw0, "UpdateKinesisStreamingDestination", UpdateKinesisStreamingDestination$) {
19
4
  }