@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
@@ -0,0 +1,42 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "DynamoDB_20120810", "DynamoDBClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _ep1 = {
7
+ ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
8
+ };
9
+ export const _ep2 = {
10
+ ResourceArn: { type: "contextParams", name: "TableName" },
11
+ };
12
+ export const _ep3 = {
13
+ ResourceArn: { type: "contextParams", name: "GlobalTableName" },
14
+ };
15
+ export const _ep4 = {
16
+ ResourceArn: { type: "contextParams", name: "BackupArn" },
17
+ };
18
+ export const _ep5 = {
19
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
20
+ };
21
+ export const _ep6 = {
22
+ ResourceArn: { type: "contextParams", name: "ExportArn" },
23
+ };
24
+ export const _ep7 = {
25
+ ResourceArn: { type: "contextParams", name: "ImportArn" },
26
+ };
27
+ export const _ep8 = {
28
+ ResourceArn: { type: "contextParams", name: "TableArn" },
29
+ };
30
+ export const _ep9 = {
31
+ ResourceArn: { type: "operationContextParams", get: (input) => input?.TableCreationParameters?.TableName },
32
+ };
33
+ export const _ep10 = {
34
+ ResourceArn: { type: "contextParams", name: "TargetTableName" },
35
+ };
36
+ export const _ep11 = {
37
+ ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => obj?.Get?.TableName) },
38
+ };
39
+ export const _ep12 = {
40
+ 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() },
41
+ };
42
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -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 { BatchExecuteStatement$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchExecuteStatementCommand 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", "BatchExecuteStatement", {})
13
- .n("DynamoDBClient", "BatchExecuteStatementCommand")
14
- .sc(BatchExecuteStatement$)
15
- .build() {
3
+ export class BatchExecuteStatementCommand extends command(_ep0, _mw0, "BatchExecuteStatement", BatchExecuteStatement$) {
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 { _ep1, _mw0, command } from "../commandBuilder";
4
2
  import { BatchGetItem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetItemCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "BatchGetItem", {})
16
- .n("DynamoDBClient", "BatchGetItemCommand")
17
- .sc(BatchGetItem$)
18
- .build() {
3
+ export class BatchGetItemCommand extends command(_ep1, _mw0, "BatchGetItem", BatchGetItem$) {
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 { _ep1, _mw0, command } from "../commandBuilder";
4
2
  import { BatchWriteItem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchWriteItemCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "BatchWriteItem", {})
16
- .n("DynamoDBClient", "BatchWriteItemCommand")
17
- .sc(BatchWriteItem$)
18
- .build() {
3
+ export class BatchWriteItemCommand extends command(_ep1, _mw0, "BatchWriteItem", BatchWriteItem$) {
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 { CreateBackup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateBackupCommand 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", "CreateBackup", {})
16
- .n("DynamoDBClient", "CreateBackupCommand")
17
- .sc(CreateBackup$)
18
- .build() {
3
+ export class CreateBackupCommand extends command(_ep2, _mw0, "CreateBackup", CreateBackup$) {
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 { CreateGlobalTable$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateGlobalTableCommand 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", "CreateGlobalTable", {})
16
- .n("DynamoDBClient", "CreateGlobalTableCommand")
17
- .sc(CreateGlobalTable$)
18
- .build() {
3
+ export class CreateGlobalTableCommand extends command(_ep3, _mw0, "CreateGlobalTable", CreateGlobalTable$) {
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 { CreateTable$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateTableCommand 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", "CreateTable", {})
16
- .n("DynamoDBClient", "CreateTableCommand")
17
- .sc(CreateTable$)
18
- .build() {
3
+ export class CreateTableCommand extends command(_ep2, _mw0, "CreateTable", CreateTable$) {
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 { _ep4, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteBackup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteBackupCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "BackupArn" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "DeleteBackup", {})
16
- .n("DynamoDBClient", "DeleteBackupCommand")
17
- .sc(DeleteBackup$)
18
- .build() {
3
+ export class DeleteBackupCommand extends command(_ep4, _mw0, "DeleteBackup", DeleteBackup$) {
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 { DeleteItem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteItemCommand 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", "DeleteItem", {})
16
- .n("DynamoDBClient", "DeleteItemCommand")
17
- .sc(DeleteItem$)
18
- .build() {
3
+ export class DeleteItemCommand extends command(_ep2, _mw0, "DeleteItem", DeleteItem$) {
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 { DeleteResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteResourcePolicyCommand 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", "DeleteResourcePolicy", {})
16
- .n("DynamoDBClient", "DeleteResourcePolicyCommand")
17
- .sc(DeleteResourcePolicy$)
18
- .build() {
3
+ export class DeleteResourcePolicyCommand extends command(_ep5, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
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 { DeleteTable$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteTableCommand 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", "DeleteTable", {})
16
- .n("DynamoDBClient", "DeleteTableCommand")
17
- .sc(DeleteTable$)
18
- .build() {
3
+ export class DeleteTableCommand extends command(_ep2, _mw0, "DeleteTable", DeleteTable$) {
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 { _ep4, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeBackup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeBackupCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "BackupArn" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "DescribeBackup", {})
16
- .n("DynamoDBClient", "DescribeBackupCommand")
17
- .sc(DescribeBackup$)
18
- .build() {
3
+ export class DescribeBackupCommand extends command(_ep4, _mw0, "DescribeBackup", DescribeBackup$) {
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 { DescribeContinuousBackups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeContinuousBackupsCommand 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", "DescribeContinuousBackups", {})
16
- .n("DynamoDBClient", "DescribeContinuousBackupsCommand")
17
- .sc(DescribeContinuousBackups$)
18
- .build() {
3
+ export class DescribeContinuousBackupsCommand extends command(_ep2, _mw0, "DescribeContinuousBackups", DescribeContinuousBackups$) {
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 { DescribeContributorInsights$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeContributorInsightsCommand 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", "DescribeContributorInsights", {})
16
- .n("DynamoDBClient", "DescribeContributorInsightsCommand")
17
- .sc(DescribeContributorInsights$)
18
- .build() {
3
+ export class DescribeContributorInsightsCommand extends command(_ep2, _mw0, "DescribeContributorInsights", DescribeContributorInsights$) {
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 { DescribeEndpoints$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEndpointsCommand 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", "DescribeEndpoints", {})
13
- .n("DynamoDBClient", "DescribeEndpointsCommand")
14
- .sc(DescribeEndpoints$)
15
- .build() {
3
+ export class DescribeEndpointsCommand extends command(_ep0, _mw0, "DescribeEndpoints", DescribeEndpoints$) {
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 { _ep6, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeExport$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeExportCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "ExportArn" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "DescribeExport", {})
16
- .n("DynamoDBClient", "DescribeExportCommand")
17
- .sc(DescribeExport$)
18
- .build() {
3
+ export class DescribeExportCommand extends command(_ep6, _mw0, "DescribeExport", DescribeExport$) {
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 { DescribeGlobalTable$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeGlobalTableCommand 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", "DescribeGlobalTable", {})
16
- .n("DynamoDBClient", "DescribeGlobalTableCommand")
17
- .sc(DescribeGlobalTable$)
18
- .build() {
3
+ export class DescribeGlobalTableCommand extends command(_ep3, _mw0, "DescribeGlobalTable", DescribeGlobalTable$) {
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 { DescribeGlobalTableSettings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeGlobalTableSettingsCommand 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", "DescribeGlobalTableSettings", {})
16
- .n("DynamoDBClient", "DescribeGlobalTableSettingsCommand")
17
- .sc(DescribeGlobalTableSettings$)
18
- .build() {
3
+ export class DescribeGlobalTableSettingsCommand extends command(_ep3, _mw0, "DescribeGlobalTableSettings", DescribeGlobalTableSettings$) {
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 { _ep7, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeImport$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeImportCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ResourceArn: { type: "contextParams", name: "ImportArn" },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("DynamoDB_20120810", "DescribeImport", {})
16
- .n("DynamoDBClient", "DescribeImportCommand")
17
- .sc(DescribeImport$)
18
- .build() {
3
+ export class DescribeImportCommand extends command(_ep7, _mw0, "DescribeImport", DescribeImport$) {
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 { DescribeKinesisStreamingDestination$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeKinesisStreamingDestinationCommand 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", "DescribeKinesisStreamingDestination", {})
16
- .n("DynamoDBClient", "DescribeKinesisStreamingDestinationCommand")
17
- .sc(DescribeKinesisStreamingDestination$)
18
- .build() {
3
+ export class DescribeKinesisStreamingDestinationCommand extends command(_ep2, _mw0, "DescribeKinesisStreamingDestination", DescribeKinesisStreamingDestination$) {
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 { DescribeLimits$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeLimitsCommand 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", "DescribeLimits", {})
13
- .n("DynamoDBClient", "DescribeLimitsCommand")
14
- .sc(DescribeLimits$)
15
- .build() {
3
+ export class DescribeLimitsCommand extends command(_ep0, _mw0, "DescribeLimits", DescribeLimits$) {
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 { _ep2, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeTable$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeTableCommand 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", "DescribeTable", {})
16
- .n("DynamoDBClient", "DescribeTableCommand")
17
- .sc(DescribeTable$)
18
- .build() {
3
+ export class DescribeTableCommand extends command(_ep2, _mw0, "DescribeTable", DescribeTable$) {
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 { DescribeTableReplicaAutoScaling$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeTableReplicaAutoScalingCommand 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", "DescribeTableReplicaAutoScaling", {})
16
- .n("DynamoDBClient", "DescribeTableReplicaAutoScalingCommand")
17
- .sc(DescribeTableReplicaAutoScaling$)
18
- .build() {
3
+ export class DescribeTableReplicaAutoScalingCommand extends command(_ep2, _mw0, "DescribeTableReplicaAutoScaling", DescribeTableReplicaAutoScaling$) {
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 { DescribeTimeToLive$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeTimeToLiveCommand 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", "DescribeTimeToLive", {})
16
- .n("DynamoDBClient", "DescribeTimeToLiveCommand")
17
- .sc(DescribeTimeToLive$)
18
- .build() {
3
+ export class DescribeTimeToLiveCommand extends command(_ep2, _mw0, "DescribeTimeToLive", DescribeTimeToLive$) {
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 { DisableKinesisStreamingDestination$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisableKinesisStreamingDestinationCommand 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", "DisableKinesisStreamingDestination", {})
16
- .n("DynamoDBClient", "DisableKinesisStreamingDestinationCommand")
17
- .sc(DisableKinesisStreamingDestination$)
18
- .build() {
3
+ export class DisableKinesisStreamingDestinationCommand extends command(_ep2, _mw0, "DisableKinesisStreamingDestination", DisableKinesisStreamingDestination$) {
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 { EnableKinesisStreamingDestination$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableKinesisStreamingDestinationCommand 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", "EnableKinesisStreamingDestination", {})
16
- .n("DynamoDBClient", "EnableKinesisStreamingDestinationCommand")
17
- .sc(EnableKinesisStreamingDestination$)
18
- .build() {
3
+ export class EnableKinesisStreamingDestinationCommand extends command(_ep2, _mw0, "EnableKinesisStreamingDestination", EnableKinesisStreamingDestination$) {
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 { ExecuteStatement$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ExecuteStatementCommand 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", "ExecuteStatement", {})
13
- .n("DynamoDBClient", "ExecuteStatementCommand")
14
- .sc(ExecuteStatement$)
15
- .build() {
3
+ export class ExecuteStatementCommand extends command(_ep0, _mw0, "ExecuteStatement", ExecuteStatement$) {
16
4
  }