@aws-sdk/client-dynamodb 3.1076.0 → 3.1078.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 (191) hide show
  1. package/dist-cjs/index.js +104 -725
  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-es/runtimeConfig.browser.js +0 -2
  62. package/dist-es/runtimeConfig.js +1 -2
  63. package/dist-es/runtimeConfig.native.js +0 -2
  64. package/dist-es/runtimeConfig.shared.js +2 -0
  65. package/dist-types/commandBuilder.d.ts +66 -0
  66. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +3 -8
  67. package/dist-types/commands/BatchGetItemCommand.d.ts +3 -8
  68. package/dist-types/commands/BatchWriteItemCommand.d.ts +3 -8
  69. package/dist-types/commands/CreateBackupCommand.d.ts +3 -8
  70. package/dist-types/commands/CreateGlobalTableCommand.d.ts +3 -8
  71. package/dist-types/commands/CreateTableCommand.d.ts +3 -8
  72. package/dist-types/commands/DeleteBackupCommand.d.ts +3 -8
  73. package/dist-types/commands/DeleteItemCommand.d.ts +3 -8
  74. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  75. package/dist-types/commands/DeleteTableCommand.d.ts +3 -8
  76. package/dist-types/commands/DescribeBackupCommand.d.ts +3 -8
  77. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +3 -8
  78. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +3 -8
  79. package/dist-types/commands/DescribeEndpointsCommand.d.ts +3 -8
  80. package/dist-types/commands/DescribeExportCommand.d.ts +3 -8
  81. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +3 -8
  82. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +3 -8
  83. package/dist-types/commands/DescribeImportCommand.d.ts +3 -8
  84. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +3 -8
  85. package/dist-types/commands/DescribeLimitsCommand.d.ts +3 -8
  86. package/dist-types/commands/DescribeTableCommand.d.ts +3 -8
  87. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +3 -8
  88. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +3 -8
  89. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +3 -8
  90. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +3 -8
  91. package/dist-types/commands/ExecuteStatementCommand.d.ts +3 -8
  92. package/dist-types/commands/ExecuteTransactionCommand.d.ts +3 -8
  93. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +3 -8
  94. package/dist-types/commands/GetItemCommand.d.ts +3 -8
  95. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  96. package/dist-types/commands/ImportTableCommand.d.ts +3 -8
  97. package/dist-types/commands/ListBackupsCommand.d.ts +3 -8
  98. package/dist-types/commands/ListContributorInsightsCommand.d.ts +3 -8
  99. package/dist-types/commands/ListExportsCommand.d.ts +3 -8
  100. package/dist-types/commands/ListGlobalTablesCommand.d.ts +3 -8
  101. package/dist-types/commands/ListImportsCommand.d.ts +3 -8
  102. package/dist-types/commands/ListTablesCommand.d.ts +3 -8
  103. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +3 -8
  104. package/dist-types/commands/PutItemCommand.d.ts +3 -8
  105. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  106. package/dist-types/commands/QueryCommand.d.ts +3 -8
  107. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +3 -8
  108. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +3 -8
  109. package/dist-types/commands/ScanCommand.d.ts +3 -8
  110. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  111. package/dist-types/commands/TransactGetItemsCommand.d.ts +3 -8
  112. package/dist-types/commands/TransactWriteItemsCommand.d.ts +3 -8
  113. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  114. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +3 -8
  115. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +3 -8
  116. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +3 -8
  117. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +3 -8
  118. package/dist-types/commands/UpdateItemCommand.d.ts +3 -8
  119. package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +3 -8
  120. package/dist-types/commands/UpdateTableCommand.d.ts +3 -8
  121. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +3 -8
  122. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +3 -8
  123. package/dist-types/index.d.ts +1 -0
  124. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  125. package/dist-types/runtimeConfig.d.ts +1 -1
  126. package/dist-types/runtimeConfig.native.d.ts +1 -1
  127. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  128. package/dist-types/ts3.4/commandBuilder.d.ts +58 -0
  129. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +7 -16
  136. package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +7 -16
  137. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  138. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +7 -16
  139. package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +7 -16
  140. package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +7 -16
  141. package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +7 -16
  146. package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +7 -16
  147. package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +7 -16
  148. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +7 -16
  149. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +7 -16
  150. package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +7 -16
  151. package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +7 -16
  152. package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +7 -16
  153. package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +7 -16
  154. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +7 -16
  155. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +7 -16
  156. package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +7 -16
  157. package/dist-types/ts3.4/commands/GetItemCommand.d.ts +7 -16
  158. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  159. package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +7 -16
  160. package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +7 -16
  161. package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +7 -16
  162. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +7 -16
  163. package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +7 -16
  164. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +7 -16
  165. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +7 -16
  166. package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +7 -16
  167. package/dist-types/ts3.4/commands/PutItemCommand.d.ts +7 -16
  168. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  169. package/dist-types/ts3.4/commands/QueryCommand.d.ts +7 -16
  170. package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +7 -16
  171. package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +7 -16
  172. package/dist-types/ts3.4/commands/ScanCommand.d.ts +7 -16
  173. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  174. package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +7 -16
  175. package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +7 -16
  176. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  177. package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +7 -16
  178. package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +7 -16
  179. package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +7 -16
  180. package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +7 -16
  181. package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +7 -16
  182. package/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts +7 -16
  183. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +7 -16
  184. package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +7 -16
  185. package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +7 -16
  186. package/dist-types/ts3.4/index.d.ts +1 -0
  187. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  188. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  189. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  190. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  191. package/package.json +11 -13
package/dist-cjs/index.js CHANGED
@@ -2,8 +2,9 @@ const { NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS, resolveAccountIdEndpointMo
2
2
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
3
  const { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS, resolveEndpointDiscoveryConfig } = require("@aws-sdk/middleware-endpoint-discovery");
4
4
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
5
- const { normalizeProvider, getSmithyContext, ServiceException, Command, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
6
- exports.$Command = Command;
5
+ const { normalizeProvider, getSmithyContext, makeBuilder, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
6
+ const { Command: $Command } = require("@smithy/core/client");
7
+ exports.$Command = $Command;
7
8
  exports.__Client = Client;
8
9
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
9
10
  const { getEndpointPlugin, BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig } = require("@smithy/core/endpoints");
@@ -12,10 +13,11 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
12
13
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
13
14
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
14
15
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
15
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
16
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
16
17
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
17
18
  const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
18
19
  const { DynamoDBJsonCodec } = require("@aws-sdk/dynamodb-codec");
20
+ const { Sha256 } = require("@smithy/core/checksum");
19
21
 
20
22
  const defaultDynamoDBHttpAuthSchemeParametersProvider = async (config, context, input) => {
21
23
  return {
@@ -72,6 +74,46 @@ const commonParams = {
72
74
  AccountIdEndpointMode: { type: "builtInParams", name: "accountIdEndpointMode" },
73
75
  };
74
76
 
77
+ const command = makeBuilder(commonParams, "DynamoDB_20120810", "DynamoDBClient", getEndpointPlugin);
78
+ const _ep0 = {};
79
+ const _ep1 = {
80
+ ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
81
+ };
82
+ const _ep2 = {
83
+ ResourceArn: { type: "contextParams", name: "TableName" },
84
+ };
85
+ const _ep3 = {
86
+ ResourceArn: { type: "contextParams", name: "GlobalTableName" },
87
+ };
88
+ const _ep4 = {
89
+ ResourceArn: { type: "contextParams", name: "BackupArn" },
90
+ };
91
+ const _ep5 = {
92
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
93
+ };
94
+ const _ep6 = {
95
+ ResourceArn: { type: "contextParams", name: "ExportArn" },
96
+ };
97
+ const _ep7 = {
98
+ ResourceArn: { type: "contextParams", name: "ImportArn" },
99
+ };
100
+ const _ep8 = {
101
+ ResourceArn: { type: "contextParams", name: "TableArn" },
102
+ };
103
+ const _ep9 = {
104
+ ResourceArn: { type: "operationContextParams", get: (input) => input?.TableCreationParameters?.TableName },
105
+ };
106
+ const _ep10 = {
107
+ ResourceArn: { type: "contextParams", name: "TargetTableName" },
108
+ };
109
+ const _ep11 = {
110
+ ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => obj?.Get?.TableName) },
111
+ };
112
+ const _ep12 = {
113
+ 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() },
114
+ };
115
+ const _mw0 = (Command, cs, config, o) => [];
116
+
75
117
  class DynamoDBServiceException extends ServiceException {
76
118
  constructor(options) {
77
119
  super(options);
@@ -2888,19 +2930,10 @@ var UpdateTimeToLive$ = [9, n0, _UTTL,
2888
2930
  0, () => UpdateTimeToLiveInput$, () => UpdateTimeToLiveOutput$
2889
2931
  ];
2890
2932
 
2891
- class DescribeEndpointsCommand extends Command
2892
- .classBuilder()
2893
- .ep(commonParams)
2894
- .m(function (Command, cs, config, o) {
2895
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2896
- })
2897
- .s("DynamoDB_20120810", "DescribeEndpoints", {})
2898
- .n("DynamoDBClient", "DescribeEndpointsCommand")
2899
- .sc(DescribeEndpoints$)
2900
- .build() {
2933
+ class DescribeEndpointsCommand extends command(_ep0, _mw0, "DescribeEndpoints", DescribeEndpoints$) {
2901
2934
  }
2902
2935
 
2903
- var version = "3.1075.0";
2936
+ var version = "3.1077.0";
2904
2937
  var packageInfo = {
2905
2938
  version: version};
2906
2939
 
@@ -3088,6 +3121,7 @@ const getRuntimeConfig$1 = (config) => {
3088
3121
  jsonCodec: new DynamoDBJsonCodec(),
3089
3122
  },
3090
3123
  serviceId: config?.serviceId ?? "DynamoDB",
3124
+ sha256: config?.sha256 ?? Sha256,
3091
3125
  urlParser: config?.urlParser ?? parseUrl,
3092
3126
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
3093
3127
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -3123,7 +3157,6 @@ const getRuntimeConfig = (config) => {
3123
3157
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
3124
3158
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
3125
3159
  }, config),
3126
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
3127
3160
  streamCollector: config?.streamCollector ?? streamCollector,
3128
3161
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
3129
3162
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -3213,826 +3246,172 @@ class DynamoDBClient extends Client {
3213
3246
  }
3214
3247
  }
3215
3248
 
3216
- class BatchExecuteStatementCommand extends Command
3217
- .classBuilder()
3218
- .ep(commonParams)
3219
- .m(function (Command, cs, config, o) {
3220
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3221
- })
3222
- .s("DynamoDB_20120810", "BatchExecuteStatement", {})
3223
- .n("DynamoDBClient", "BatchExecuteStatementCommand")
3224
- .sc(BatchExecuteStatement$)
3225
- .build() {
3249
+ class BatchExecuteStatementCommand extends command(_ep0, _mw0, "BatchExecuteStatement", BatchExecuteStatement$) {
3226
3250
  }
3227
3251
 
3228
- class BatchGetItemCommand extends Command
3229
- .classBuilder()
3230
- .ep({
3231
- ...commonParams,
3232
- ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
3233
- })
3234
- .m(function (Command, cs, config, o) {
3235
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3236
- })
3237
- .s("DynamoDB_20120810", "BatchGetItem", {})
3238
- .n("DynamoDBClient", "BatchGetItemCommand")
3239
- .sc(BatchGetItem$)
3240
- .build() {
3252
+ class BatchGetItemCommand extends command(_ep1, _mw0, "BatchGetItem", BatchGetItem$) {
3241
3253
  }
3242
3254
 
3243
- class BatchWriteItemCommand extends Command
3244
- .classBuilder()
3245
- .ep({
3246
- ...commonParams,
3247
- ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
3248
- })
3249
- .m(function (Command, cs, config, o) {
3250
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3251
- })
3252
- .s("DynamoDB_20120810", "BatchWriteItem", {})
3253
- .n("DynamoDBClient", "BatchWriteItemCommand")
3254
- .sc(BatchWriteItem$)
3255
- .build() {
3255
+ class BatchWriteItemCommand extends command(_ep1, _mw0, "BatchWriteItem", BatchWriteItem$) {
3256
3256
  }
3257
3257
 
3258
- class CreateBackupCommand extends Command
3259
- .classBuilder()
3260
- .ep({
3261
- ...commonParams,
3262
- ResourceArn: { type: "contextParams", name: "TableName" },
3263
- })
3264
- .m(function (Command, cs, config, o) {
3265
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3266
- })
3267
- .s("DynamoDB_20120810", "CreateBackup", {})
3268
- .n("DynamoDBClient", "CreateBackupCommand")
3269
- .sc(CreateBackup$)
3270
- .build() {
3258
+ class CreateBackupCommand extends command(_ep2, _mw0, "CreateBackup", CreateBackup$) {
3271
3259
  }
3272
3260
 
3273
- class CreateGlobalTableCommand extends Command
3274
- .classBuilder()
3275
- .ep({
3276
- ...commonParams,
3277
- ResourceArn: { type: "contextParams", name: "GlobalTableName" },
3278
- })
3279
- .m(function (Command, cs, config, o) {
3280
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3281
- })
3282
- .s("DynamoDB_20120810", "CreateGlobalTable", {})
3283
- .n("DynamoDBClient", "CreateGlobalTableCommand")
3284
- .sc(CreateGlobalTable$)
3285
- .build() {
3261
+ class CreateGlobalTableCommand extends command(_ep3, _mw0, "CreateGlobalTable", CreateGlobalTable$) {
3286
3262
  }
3287
3263
 
3288
- class CreateTableCommand extends Command
3289
- .classBuilder()
3290
- .ep({
3291
- ...commonParams,
3292
- ResourceArn: { type: "contextParams", name: "TableName" },
3293
- })
3294
- .m(function (Command, cs, config, o) {
3295
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3296
- })
3297
- .s("DynamoDB_20120810", "CreateTable", {})
3298
- .n("DynamoDBClient", "CreateTableCommand")
3299
- .sc(CreateTable$)
3300
- .build() {
3264
+ class CreateTableCommand extends command(_ep2, _mw0, "CreateTable", CreateTable$) {
3301
3265
  }
3302
3266
 
3303
- class DeleteBackupCommand extends Command
3304
- .classBuilder()
3305
- .ep({
3306
- ...commonParams,
3307
- ResourceArn: { type: "contextParams", name: "BackupArn" },
3308
- })
3309
- .m(function (Command, cs, config, o) {
3310
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3311
- })
3312
- .s("DynamoDB_20120810", "DeleteBackup", {})
3313
- .n("DynamoDBClient", "DeleteBackupCommand")
3314
- .sc(DeleteBackup$)
3315
- .build() {
3267
+ class DeleteBackupCommand extends command(_ep4, _mw0, "DeleteBackup", DeleteBackup$) {
3316
3268
  }
3317
3269
 
3318
- class DeleteItemCommand extends Command
3319
- .classBuilder()
3320
- .ep({
3321
- ...commonParams,
3322
- ResourceArn: { type: "contextParams", name: "TableName" },
3323
- })
3324
- .m(function (Command, cs, config, o) {
3325
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3326
- })
3327
- .s("DynamoDB_20120810", "DeleteItem", {})
3328
- .n("DynamoDBClient", "DeleteItemCommand")
3329
- .sc(DeleteItem$)
3330
- .build() {
3270
+ class DeleteItemCommand extends command(_ep2, _mw0, "DeleteItem", DeleteItem$) {
3331
3271
  }
3332
3272
 
3333
- class DeleteResourcePolicyCommand extends Command
3334
- .classBuilder()
3335
- .ep({
3336
- ...commonParams,
3337
- ResourceArn: { type: "contextParams", name: "ResourceArn" },
3338
- })
3339
- .m(function (Command, cs, config, o) {
3340
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3341
- })
3342
- .s("DynamoDB_20120810", "DeleteResourcePolicy", {})
3343
- .n("DynamoDBClient", "DeleteResourcePolicyCommand")
3344
- .sc(DeleteResourcePolicy$)
3345
- .build() {
3273
+ class DeleteResourcePolicyCommand extends command(_ep5, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
3346
3274
  }
3347
3275
 
3348
- class DeleteTableCommand extends Command
3349
- .classBuilder()
3350
- .ep({
3351
- ...commonParams,
3352
- ResourceArn: { type: "contextParams", name: "TableName" },
3353
- })
3354
- .m(function (Command, cs, config, o) {
3355
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3356
- })
3357
- .s("DynamoDB_20120810", "DeleteTable", {})
3358
- .n("DynamoDBClient", "DeleteTableCommand")
3359
- .sc(DeleteTable$)
3360
- .build() {
3276
+ class DeleteTableCommand extends command(_ep2, _mw0, "DeleteTable", DeleteTable$) {
3361
3277
  }
3362
3278
 
3363
- class DescribeBackupCommand extends Command
3364
- .classBuilder()
3365
- .ep({
3366
- ...commonParams,
3367
- ResourceArn: { type: "contextParams", name: "BackupArn" },
3368
- })
3369
- .m(function (Command, cs, config, o) {
3370
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3371
- })
3372
- .s("DynamoDB_20120810", "DescribeBackup", {})
3373
- .n("DynamoDBClient", "DescribeBackupCommand")
3374
- .sc(DescribeBackup$)
3375
- .build() {
3279
+ class DescribeBackupCommand extends command(_ep4, _mw0, "DescribeBackup", DescribeBackup$) {
3376
3280
  }
3377
3281
 
3378
- class DescribeContinuousBackupsCommand extends Command
3379
- .classBuilder()
3380
- .ep({
3381
- ...commonParams,
3382
- ResourceArn: { type: "contextParams", name: "TableName" },
3383
- })
3384
- .m(function (Command, cs, config, o) {
3385
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3386
- })
3387
- .s("DynamoDB_20120810", "DescribeContinuousBackups", {})
3388
- .n("DynamoDBClient", "DescribeContinuousBackupsCommand")
3389
- .sc(DescribeContinuousBackups$)
3390
- .build() {
3282
+ class DescribeContinuousBackupsCommand extends command(_ep2, _mw0, "DescribeContinuousBackups", DescribeContinuousBackups$) {
3391
3283
  }
3392
3284
 
3393
- class DescribeContributorInsightsCommand extends Command
3394
- .classBuilder()
3395
- .ep({
3396
- ...commonParams,
3397
- ResourceArn: { type: "contextParams", name: "TableName" },
3398
- })
3399
- .m(function (Command, cs, config, o) {
3400
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3401
- })
3402
- .s("DynamoDB_20120810", "DescribeContributorInsights", {})
3403
- .n("DynamoDBClient", "DescribeContributorInsightsCommand")
3404
- .sc(DescribeContributorInsights$)
3405
- .build() {
3285
+ class DescribeContributorInsightsCommand extends command(_ep2, _mw0, "DescribeContributorInsights", DescribeContributorInsights$) {
3406
3286
  }
3407
3287
 
3408
- class DescribeExportCommand extends Command
3409
- .classBuilder()
3410
- .ep({
3411
- ...commonParams,
3412
- ResourceArn: { type: "contextParams", name: "ExportArn" },
3413
- })
3414
- .m(function (Command, cs, config, o) {
3415
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3416
- })
3417
- .s("DynamoDB_20120810", "DescribeExport", {})
3418
- .n("DynamoDBClient", "DescribeExportCommand")
3419
- .sc(DescribeExport$)
3420
- .build() {
3288
+ class DescribeExportCommand extends command(_ep6, _mw0, "DescribeExport", DescribeExport$) {
3421
3289
  }
3422
3290
 
3423
- class DescribeGlobalTableCommand extends Command
3424
- .classBuilder()
3425
- .ep({
3426
- ...commonParams,
3427
- ResourceArn: { type: "contextParams", name: "GlobalTableName" },
3428
- })
3429
- .m(function (Command, cs, config, o) {
3430
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3431
- })
3432
- .s("DynamoDB_20120810", "DescribeGlobalTable", {})
3433
- .n("DynamoDBClient", "DescribeGlobalTableCommand")
3434
- .sc(DescribeGlobalTable$)
3435
- .build() {
3291
+ class DescribeGlobalTableCommand extends command(_ep3, _mw0, "DescribeGlobalTable", DescribeGlobalTable$) {
3436
3292
  }
3437
3293
 
3438
- class DescribeGlobalTableSettingsCommand extends Command
3439
- .classBuilder()
3440
- .ep({
3441
- ...commonParams,
3442
- ResourceArn: { type: "contextParams", name: "GlobalTableName" },
3443
- })
3444
- .m(function (Command, cs, config, o) {
3445
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3446
- })
3447
- .s("DynamoDB_20120810", "DescribeGlobalTableSettings", {})
3448
- .n("DynamoDBClient", "DescribeGlobalTableSettingsCommand")
3449
- .sc(DescribeGlobalTableSettings$)
3450
- .build() {
3294
+ class DescribeGlobalTableSettingsCommand extends command(_ep3, _mw0, "DescribeGlobalTableSettings", DescribeGlobalTableSettings$) {
3451
3295
  }
3452
3296
 
3453
- class DescribeImportCommand extends Command
3454
- .classBuilder()
3455
- .ep({
3456
- ...commonParams,
3457
- ResourceArn: { type: "contextParams", name: "ImportArn" },
3458
- })
3459
- .m(function (Command, cs, config, o) {
3460
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3461
- })
3462
- .s("DynamoDB_20120810", "DescribeImport", {})
3463
- .n("DynamoDBClient", "DescribeImportCommand")
3464
- .sc(DescribeImport$)
3465
- .build() {
3297
+ class DescribeImportCommand extends command(_ep7, _mw0, "DescribeImport", DescribeImport$) {
3466
3298
  }
3467
3299
 
3468
- class DescribeKinesisStreamingDestinationCommand extends Command
3469
- .classBuilder()
3470
- .ep({
3471
- ...commonParams,
3472
- ResourceArn: { type: "contextParams", name: "TableName" },
3473
- })
3474
- .m(function (Command, cs, config, o) {
3475
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3476
- })
3477
- .s("DynamoDB_20120810", "DescribeKinesisStreamingDestination", {})
3478
- .n("DynamoDBClient", "DescribeKinesisStreamingDestinationCommand")
3479
- .sc(DescribeKinesisStreamingDestination$)
3480
- .build() {
3300
+ class DescribeKinesisStreamingDestinationCommand extends command(_ep2, _mw0, "DescribeKinesisStreamingDestination", DescribeKinesisStreamingDestination$) {
3481
3301
  }
3482
3302
 
3483
- class DescribeLimitsCommand extends Command
3484
- .classBuilder()
3485
- .ep(commonParams)
3486
- .m(function (Command, cs, config, o) {
3487
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3488
- })
3489
- .s("DynamoDB_20120810", "DescribeLimits", {})
3490
- .n("DynamoDBClient", "DescribeLimitsCommand")
3491
- .sc(DescribeLimits$)
3492
- .build() {
3303
+ class DescribeLimitsCommand extends command(_ep0, _mw0, "DescribeLimits", DescribeLimits$) {
3493
3304
  }
3494
3305
 
3495
- class DescribeTableCommand extends Command
3496
- .classBuilder()
3497
- .ep({
3498
- ...commonParams,
3499
- ResourceArn: { type: "contextParams", name: "TableName" },
3500
- })
3501
- .m(function (Command, cs, config, o) {
3502
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3503
- })
3504
- .s("DynamoDB_20120810", "DescribeTable", {})
3505
- .n("DynamoDBClient", "DescribeTableCommand")
3506
- .sc(DescribeTable$)
3507
- .build() {
3306
+ class DescribeTableCommand extends command(_ep2, _mw0, "DescribeTable", DescribeTable$) {
3508
3307
  }
3509
3308
 
3510
- class DescribeTableReplicaAutoScalingCommand extends Command
3511
- .classBuilder()
3512
- .ep({
3513
- ...commonParams,
3514
- ResourceArn: { type: "contextParams", name: "TableName" },
3515
- })
3516
- .m(function (Command, cs, config, o) {
3517
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3518
- })
3519
- .s("DynamoDB_20120810", "DescribeTableReplicaAutoScaling", {})
3520
- .n("DynamoDBClient", "DescribeTableReplicaAutoScalingCommand")
3521
- .sc(DescribeTableReplicaAutoScaling$)
3522
- .build() {
3309
+ class DescribeTableReplicaAutoScalingCommand extends command(_ep2, _mw0, "DescribeTableReplicaAutoScaling", DescribeTableReplicaAutoScaling$) {
3523
3310
  }
3524
3311
 
3525
- class DescribeTimeToLiveCommand extends Command
3526
- .classBuilder()
3527
- .ep({
3528
- ...commonParams,
3529
- ResourceArn: { type: "contextParams", name: "TableName" },
3530
- })
3531
- .m(function (Command, cs, config, o) {
3532
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3533
- })
3534
- .s("DynamoDB_20120810", "DescribeTimeToLive", {})
3535
- .n("DynamoDBClient", "DescribeTimeToLiveCommand")
3536
- .sc(DescribeTimeToLive$)
3537
- .build() {
3312
+ class DescribeTimeToLiveCommand extends command(_ep2, _mw0, "DescribeTimeToLive", DescribeTimeToLive$) {
3538
3313
  }
3539
3314
 
3540
- class DisableKinesisStreamingDestinationCommand extends Command
3541
- .classBuilder()
3542
- .ep({
3543
- ...commonParams,
3544
- ResourceArn: { type: "contextParams", name: "TableName" },
3545
- })
3546
- .m(function (Command, cs, config, o) {
3547
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3548
- })
3549
- .s("DynamoDB_20120810", "DisableKinesisStreamingDestination", {})
3550
- .n("DynamoDBClient", "DisableKinesisStreamingDestinationCommand")
3551
- .sc(DisableKinesisStreamingDestination$)
3552
- .build() {
3315
+ class DisableKinesisStreamingDestinationCommand extends command(_ep2, _mw0, "DisableKinesisStreamingDestination", DisableKinesisStreamingDestination$) {
3553
3316
  }
3554
3317
 
3555
- class EnableKinesisStreamingDestinationCommand extends Command
3556
- .classBuilder()
3557
- .ep({
3558
- ...commonParams,
3559
- ResourceArn: { type: "contextParams", name: "TableName" },
3560
- })
3561
- .m(function (Command, cs, config, o) {
3562
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3563
- })
3564
- .s("DynamoDB_20120810", "EnableKinesisStreamingDestination", {})
3565
- .n("DynamoDBClient", "EnableKinesisStreamingDestinationCommand")
3566
- .sc(EnableKinesisStreamingDestination$)
3567
- .build() {
3318
+ class EnableKinesisStreamingDestinationCommand extends command(_ep2, _mw0, "EnableKinesisStreamingDestination", EnableKinesisStreamingDestination$) {
3568
3319
  }
3569
3320
 
3570
- class ExecuteStatementCommand extends Command
3571
- .classBuilder()
3572
- .ep(commonParams)
3573
- .m(function (Command, cs, config, o) {
3574
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3575
- })
3576
- .s("DynamoDB_20120810", "ExecuteStatement", {})
3577
- .n("DynamoDBClient", "ExecuteStatementCommand")
3578
- .sc(ExecuteStatement$)
3579
- .build() {
3321
+ class ExecuteStatementCommand extends command(_ep0, _mw0, "ExecuteStatement", ExecuteStatement$) {
3580
3322
  }
3581
3323
 
3582
- class ExecuteTransactionCommand extends Command
3583
- .classBuilder()
3584
- .ep(commonParams)
3585
- .m(function (Command, cs, config, o) {
3586
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3587
- })
3588
- .s("DynamoDB_20120810", "ExecuteTransaction", {})
3589
- .n("DynamoDBClient", "ExecuteTransactionCommand")
3590
- .sc(ExecuteTransaction$)
3591
- .build() {
3324
+ class ExecuteTransactionCommand extends command(_ep0, _mw0, "ExecuteTransaction", ExecuteTransaction$) {
3592
3325
  }
3593
3326
 
3594
- class ExportTableToPointInTimeCommand extends Command
3595
- .classBuilder()
3596
- .ep({
3597
- ...commonParams,
3598
- ResourceArn: { type: "contextParams", name: "TableArn" },
3599
- })
3600
- .m(function (Command, cs, config, o) {
3601
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3602
- })
3603
- .s("DynamoDB_20120810", "ExportTableToPointInTime", {})
3604
- .n("DynamoDBClient", "ExportTableToPointInTimeCommand")
3605
- .sc(ExportTableToPointInTime$)
3606
- .build() {
3327
+ class ExportTableToPointInTimeCommand extends command(_ep8, _mw0, "ExportTableToPointInTime", ExportTableToPointInTime$) {
3607
3328
  }
3608
3329
 
3609
- class GetItemCommand extends Command
3610
- .classBuilder()
3611
- .ep({
3612
- ...commonParams,
3613
- ResourceArn: { type: "contextParams", name: "TableName" },
3614
- })
3615
- .m(function (Command, cs, config, o) {
3616
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3617
- })
3618
- .s("DynamoDB_20120810", "GetItem", {})
3619
- .n("DynamoDBClient", "GetItemCommand")
3620
- .sc(GetItem$)
3621
- .build() {
3330
+ class GetItemCommand extends command(_ep2, _mw0, "GetItem", GetItem$) {
3622
3331
  }
3623
3332
 
3624
- class GetResourcePolicyCommand extends Command
3625
- .classBuilder()
3626
- .ep({
3627
- ...commonParams,
3628
- ResourceArn: { type: "contextParams", name: "ResourceArn" },
3629
- })
3630
- .m(function (Command, cs, config, o) {
3631
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3632
- })
3633
- .s("DynamoDB_20120810", "GetResourcePolicy", {})
3634
- .n("DynamoDBClient", "GetResourcePolicyCommand")
3635
- .sc(GetResourcePolicy$)
3636
- .build() {
3333
+ class GetResourcePolicyCommand extends command(_ep5, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
3637
3334
  }
3638
3335
 
3639
- class ImportTableCommand extends Command
3640
- .classBuilder()
3641
- .ep({
3642
- ...commonParams,
3643
- ResourceArn: { type: "operationContextParams", get: (input) => input?.TableCreationParameters?.TableName },
3644
- })
3645
- .m(function (Command, cs, config, o) {
3646
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3647
- })
3648
- .s("DynamoDB_20120810", "ImportTable", {})
3649
- .n("DynamoDBClient", "ImportTableCommand")
3650
- .sc(ImportTable$)
3651
- .build() {
3336
+ class ImportTableCommand extends command(_ep9, _mw0, "ImportTable", ImportTable$) {
3652
3337
  }
3653
3338
 
3654
- class ListBackupsCommand extends Command
3655
- .classBuilder()
3656
- .ep({
3657
- ...commonParams,
3658
- ResourceArn: { type: "contextParams", name: "TableName" },
3659
- })
3660
- .m(function (Command, cs, config, o) {
3661
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3662
- })
3663
- .s("DynamoDB_20120810", "ListBackups", {})
3664
- .n("DynamoDBClient", "ListBackupsCommand")
3665
- .sc(ListBackups$)
3666
- .build() {
3339
+ class ListBackupsCommand extends command(_ep2, _mw0, "ListBackups", ListBackups$) {
3667
3340
  }
3668
3341
 
3669
- class ListContributorInsightsCommand extends Command
3670
- .classBuilder()
3671
- .ep({
3672
- ...commonParams,
3673
- ResourceArn: { type: "contextParams", name: "TableName" },
3674
- })
3675
- .m(function (Command, cs, config, o) {
3676
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3677
- })
3678
- .s("DynamoDB_20120810", "ListContributorInsights", {})
3679
- .n("DynamoDBClient", "ListContributorInsightsCommand")
3680
- .sc(ListContributorInsights$)
3681
- .build() {
3342
+ class ListContributorInsightsCommand extends command(_ep2, _mw0, "ListContributorInsights", ListContributorInsights$) {
3682
3343
  }
3683
3344
 
3684
- class ListExportsCommand extends Command
3685
- .classBuilder()
3686
- .ep({
3687
- ...commonParams,
3688
- ResourceArn: { type: "contextParams", name: "TableArn" },
3689
- })
3690
- .m(function (Command, cs, config, o) {
3691
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3692
- })
3693
- .s("DynamoDB_20120810", "ListExports", {})
3694
- .n("DynamoDBClient", "ListExportsCommand")
3695
- .sc(ListExports$)
3696
- .build() {
3345
+ class ListExportsCommand extends command(_ep8, _mw0, "ListExports", ListExports$) {
3697
3346
  }
3698
3347
 
3699
- class ListGlobalTablesCommand extends Command
3700
- .classBuilder()
3701
- .ep(commonParams)
3702
- .m(function (Command, cs, config, o) {
3703
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3704
- })
3705
- .s("DynamoDB_20120810", "ListGlobalTables", {})
3706
- .n("DynamoDBClient", "ListGlobalTablesCommand")
3707
- .sc(ListGlobalTables$)
3708
- .build() {
3348
+ class ListGlobalTablesCommand extends command(_ep0, _mw0, "ListGlobalTables", ListGlobalTables$) {
3709
3349
  }
3710
3350
 
3711
- class ListImportsCommand extends Command
3712
- .classBuilder()
3713
- .ep({
3714
- ...commonParams,
3715
- ResourceArn: { type: "contextParams", name: "TableArn" },
3716
- })
3717
- .m(function (Command, cs, config, o) {
3718
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3719
- })
3720
- .s("DynamoDB_20120810", "ListImports", {})
3721
- .n("DynamoDBClient", "ListImportsCommand")
3722
- .sc(ListImports$)
3723
- .build() {
3351
+ class ListImportsCommand extends command(_ep8, _mw0, "ListImports", ListImports$) {
3724
3352
  }
3725
3353
 
3726
- class ListTablesCommand extends Command
3727
- .classBuilder()
3728
- .ep(commonParams)
3729
- .m(function (Command, cs, config, o) {
3730
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3731
- })
3732
- .s("DynamoDB_20120810", "ListTables", {})
3733
- .n("DynamoDBClient", "ListTablesCommand")
3734
- .sc(ListTables$)
3735
- .build() {
3354
+ class ListTablesCommand extends command(_ep0, _mw0, "ListTables", ListTables$) {
3736
3355
  }
3737
3356
 
3738
- class ListTagsOfResourceCommand extends Command
3739
- .classBuilder()
3740
- .ep({
3741
- ...commonParams,
3742
- ResourceArn: { type: "contextParams", name: "ResourceArn" },
3743
- })
3744
- .m(function (Command, cs, config, o) {
3745
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3746
- })
3747
- .s("DynamoDB_20120810", "ListTagsOfResource", {})
3748
- .n("DynamoDBClient", "ListTagsOfResourceCommand")
3749
- .sc(ListTagsOfResource$)
3750
- .build() {
3357
+ class ListTagsOfResourceCommand extends command(_ep5, _mw0, "ListTagsOfResource", ListTagsOfResource$) {
3751
3358
  }
3752
3359
 
3753
- class PutItemCommand extends Command
3754
- .classBuilder()
3755
- .ep({
3756
- ...commonParams,
3757
- ResourceArn: { type: "contextParams", name: "TableName" },
3758
- })
3759
- .m(function (Command, cs, config, o) {
3760
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3761
- })
3762
- .s("DynamoDB_20120810", "PutItem", {})
3763
- .n("DynamoDBClient", "PutItemCommand")
3764
- .sc(PutItem$)
3765
- .build() {
3360
+ class PutItemCommand extends command(_ep2, _mw0, "PutItem", PutItem$) {
3766
3361
  }
3767
3362
 
3768
- class PutResourcePolicyCommand extends Command
3769
- .classBuilder()
3770
- .ep({
3771
- ...commonParams,
3772
- ResourceArn: { type: "contextParams", name: "ResourceArn" },
3773
- })
3774
- .m(function (Command, cs, config, o) {
3775
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3776
- })
3777
- .s("DynamoDB_20120810", "PutResourcePolicy", {})
3778
- .n("DynamoDBClient", "PutResourcePolicyCommand")
3779
- .sc(PutResourcePolicy$)
3780
- .build() {
3363
+ class PutResourcePolicyCommand extends command(_ep5, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
3781
3364
  }
3782
3365
 
3783
- class QueryCommand extends Command
3784
- .classBuilder()
3785
- .ep({
3786
- ...commonParams,
3787
- ResourceArn: { type: "contextParams", name: "TableName" },
3788
- })
3789
- .m(function (Command, cs, config, o) {
3790
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3791
- })
3792
- .s("DynamoDB_20120810", "Query", {})
3793
- .n("DynamoDBClient", "QueryCommand")
3794
- .sc(Query$)
3795
- .build() {
3366
+ class QueryCommand extends command(_ep2, _mw0, "Query", Query$) {
3796
3367
  }
3797
3368
 
3798
- class RestoreTableFromBackupCommand extends Command
3799
- .classBuilder()
3800
- .ep({
3801
- ...commonParams,
3802
- ResourceArn: { type: "contextParams", name: "TargetTableName" },
3803
- })
3804
- .m(function (Command, cs, config, o) {
3805
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3806
- })
3807
- .s("DynamoDB_20120810", "RestoreTableFromBackup", {})
3808
- .n("DynamoDBClient", "RestoreTableFromBackupCommand")
3809
- .sc(RestoreTableFromBackup$)
3810
- .build() {
3369
+ class RestoreTableFromBackupCommand extends command(_ep10, _mw0, "RestoreTableFromBackup", RestoreTableFromBackup$) {
3811
3370
  }
3812
3371
 
3813
- class RestoreTableToPointInTimeCommand extends Command
3814
- .classBuilder()
3815
- .ep({
3816
- ...commonParams,
3817
- ResourceArn: { type: "contextParams", name: "TargetTableName" },
3818
- })
3819
- .m(function (Command, cs, config, o) {
3820
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3821
- })
3822
- .s("DynamoDB_20120810", "RestoreTableToPointInTime", {})
3823
- .n("DynamoDBClient", "RestoreTableToPointInTimeCommand")
3824
- .sc(RestoreTableToPointInTime$)
3825
- .build() {
3372
+ class RestoreTableToPointInTimeCommand extends command(_ep10, _mw0, "RestoreTableToPointInTime", RestoreTableToPointInTime$) {
3826
3373
  }
3827
3374
 
3828
- class ScanCommand extends Command
3829
- .classBuilder()
3830
- .ep({
3831
- ...commonParams,
3832
- ResourceArn: { type: "contextParams", name: "TableName" },
3833
- })
3834
- .m(function (Command, cs, config, o) {
3835
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3836
- })
3837
- .s("DynamoDB_20120810", "Scan", {})
3838
- .n("DynamoDBClient", "ScanCommand")
3839
- .sc(Scan$)
3840
- .build() {
3375
+ class ScanCommand extends command(_ep2, _mw0, "Scan", Scan$) {
3841
3376
  }
3842
3377
 
3843
- class TagResourceCommand extends Command
3844
- .classBuilder()
3845
- .ep({
3846
- ...commonParams,
3847
- ResourceArn: { type: "contextParams", name: "ResourceArn" },
3848
- })
3849
- .m(function (Command, cs, config, o) {
3850
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3851
- })
3852
- .s("DynamoDB_20120810", "TagResource", {})
3853
- .n("DynamoDBClient", "TagResourceCommand")
3854
- .sc(TagResource$)
3855
- .build() {
3378
+ class TagResourceCommand extends command(_ep5, _mw0, "TagResource", TagResource$) {
3856
3379
  }
3857
3380
 
3858
- class TransactGetItemsCommand extends Command
3859
- .classBuilder()
3860
- .ep({
3861
- ...commonParams,
3862
- ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => obj?.Get?.TableName) },
3863
- })
3864
- .m(function (Command, cs, config, o) {
3865
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3866
- })
3867
- .s("DynamoDB_20120810", "TransactGetItems", {})
3868
- .n("DynamoDBClient", "TransactGetItemsCommand")
3869
- .sc(TransactGetItems$)
3870
- .build() {
3381
+ class TransactGetItemsCommand extends command(_ep11, _mw0, "TransactGetItems", TransactGetItems$) {
3871
3382
  }
3872
3383
 
3873
- class TransactWriteItemsCommand extends Command
3874
- .classBuilder()
3875
- .ep({
3876
- ...commonParams,
3877
- 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() },
3878
- })
3879
- .m(function (Command, cs, config, o) {
3880
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3881
- })
3882
- .s("DynamoDB_20120810", "TransactWriteItems", {})
3883
- .n("DynamoDBClient", "TransactWriteItemsCommand")
3884
- .sc(TransactWriteItems$)
3885
- .build() {
3384
+ class TransactWriteItemsCommand extends command(_ep12, _mw0, "TransactWriteItems", TransactWriteItems$) {
3886
3385
  }
3887
3386
 
3888
- class UntagResourceCommand extends Command
3889
- .classBuilder()
3890
- .ep({
3891
- ...commonParams,
3892
- ResourceArn: { type: "contextParams", name: "ResourceArn" },
3893
- })
3894
- .m(function (Command, cs, config, o) {
3895
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3896
- })
3897
- .s("DynamoDB_20120810", "UntagResource", {})
3898
- .n("DynamoDBClient", "UntagResourceCommand")
3899
- .sc(UntagResource$)
3900
- .build() {
3387
+ class UntagResourceCommand extends command(_ep5, _mw0, "UntagResource", UntagResource$) {
3901
3388
  }
3902
3389
 
3903
- class UpdateContinuousBackupsCommand extends Command
3904
- .classBuilder()
3905
- .ep({
3906
- ...commonParams,
3907
- ResourceArn: { type: "contextParams", name: "TableName" },
3908
- })
3909
- .m(function (Command, cs, config, o) {
3910
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3911
- })
3912
- .s("DynamoDB_20120810", "UpdateContinuousBackups", {})
3913
- .n("DynamoDBClient", "UpdateContinuousBackupsCommand")
3914
- .sc(UpdateContinuousBackups$)
3915
- .build() {
3390
+ class UpdateContinuousBackupsCommand extends command(_ep2, _mw0, "UpdateContinuousBackups", UpdateContinuousBackups$) {
3916
3391
  }
3917
3392
 
3918
- class UpdateContributorInsightsCommand extends Command
3919
- .classBuilder()
3920
- .ep({
3921
- ...commonParams,
3922
- ResourceArn: { type: "contextParams", name: "TableName" },
3923
- })
3924
- .m(function (Command, cs, config, o) {
3925
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3926
- })
3927
- .s("DynamoDB_20120810", "UpdateContributorInsights", {})
3928
- .n("DynamoDBClient", "UpdateContributorInsightsCommand")
3929
- .sc(UpdateContributorInsights$)
3930
- .build() {
3393
+ class UpdateContributorInsightsCommand extends command(_ep2, _mw0, "UpdateContributorInsights", UpdateContributorInsights$) {
3931
3394
  }
3932
3395
 
3933
- class UpdateGlobalTableCommand extends Command
3934
- .classBuilder()
3935
- .ep({
3936
- ...commonParams,
3937
- ResourceArn: { type: "contextParams", name: "GlobalTableName" },
3938
- })
3939
- .m(function (Command, cs, config, o) {
3940
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3941
- })
3942
- .s("DynamoDB_20120810", "UpdateGlobalTable", {})
3943
- .n("DynamoDBClient", "UpdateGlobalTableCommand")
3944
- .sc(UpdateGlobalTable$)
3945
- .build() {
3396
+ class UpdateGlobalTableCommand extends command(_ep3, _mw0, "UpdateGlobalTable", UpdateGlobalTable$) {
3946
3397
  }
3947
3398
 
3948
- class UpdateGlobalTableSettingsCommand extends Command
3949
- .classBuilder()
3950
- .ep({
3951
- ...commonParams,
3952
- ResourceArn: { type: "contextParams", name: "GlobalTableName" },
3953
- })
3954
- .m(function (Command, cs, config, o) {
3955
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3956
- })
3957
- .s("DynamoDB_20120810", "UpdateGlobalTableSettings", {})
3958
- .n("DynamoDBClient", "UpdateGlobalTableSettingsCommand")
3959
- .sc(UpdateGlobalTableSettings$)
3960
- .build() {
3399
+ class UpdateGlobalTableSettingsCommand extends command(_ep3, _mw0, "UpdateGlobalTableSettings", UpdateGlobalTableSettings$) {
3961
3400
  }
3962
3401
 
3963
- class UpdateItemCommand extends Command
3964
- .classBuilder()
3965
- .ep({
3966
- ...commonParams,
3967
- ResourceArn: { type: "contextParams", name: "TableName" },
3968
- })
3969
- .m(function (Command, cs, config, o) {
3970
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3971
- })
3972
- .s("DynamoDB_20120810", "UpdateItem", {})
3973
- .n("DynamoDBClient", "UpdateItemCommand")
3974
- .sc(UpdateItem$)
3975
- .build() {
3402
+ class UpdateItemCommand extends command(_ep2, _mw0, "UpdateItem", UpdateItem$) {
3976
3403
  }
3977
3404
 
3978
- class UpdateKinesisStreamingDestinationCommand extends Command
3979
- .classBuilder()
3980
- .ep({
3981
- ...commonParams,
3982
- ResourceArn: { type: "contextParams", name: "TableName" },
3983
- })
3984
- .m(function (Command, cs, config, o) {
3985
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3986
- })
3987
- .s("DynamoDB_20120810", "UpdateKinesisStreamingDestination", {})
3988
- .n("DynamoDBClient", "UpdateKinesisStreamingDestinationCommand")
3989
- .sc(UpdateKinesisStreamingDestination$)
3990
- .build() {
3405
+ class UpdateKinesisStreamingDestinationCommand extends command(_ep2, _mw0, "UpdateKinesisStreamingDestination", UpdateKinesisStreamingDestination$) {
3991
3406
  }
3992
3407
 
3993
- class UpdateTableCommand extends Command
3994
- .classBuilder()
3995
- .ep({
3996
- ...commonParams,
3997
- ResourceArn: { type: "contextParams", name: "TableName" },
3998
- })
3999
- .m(function (Command, cs, config, o) {
4000
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4001
- })
4002
- .s("DynamoDB_20120810", "UpdateTable", {})
4003
- .n("DynamoDBClient", "UpdateTableCommand")
4004
- .sc(UpdateTable$)
4005
- .build() {
3408
+ class UpdateTableCommand extends command(_ep2, _mw0, "UpdateTable", UpdateTable$) {
4006
3409
  }
4007
3410
 
4008
- class UpdateTableReplicaAutoScalingCommand extends Command
4009
- .classBuilder()
4010
- .ep({
4011
- ...commonParams,
4012
- ResourceArn: { type: "contextParams", name: "TableName" },
4013
- })
4014
- .m(function (Command, cs, config, o) {
4015
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4016
- })
4017
- .s("DynamoDB_20120810", "UpdateTableReplicaAutoScaling", {})
4018
- .n("DynamoDBClient", "UpdateTableReplicaAutoScalingCommand")
4019
- .sc(UpdateTableReplicaAutoScaling$)
4020
- .build() {
3411
+ class UpdateTableReplicaAutoScalingCommand extends command(_ep2, _mw0, "UpdateTableReplicaAutoScaling", UpdateTableReplicaAutoScaling$) {
4021
3412
  }
4022
3413
 
4023
- class UpdateTimeToLiveCommand extends Command
4024
- .classBuilder()
4025
- .ep({
4026
- ...commonParams,
4027
- ResourceArn: { type: "contextParams", name: "TableName" },
4028
- })
4029
- .m(function (Command, cs, config, o) {
4030
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4031
- })
4032
- .s("DynamoDB_20120810", "UpdateTimeToLive", {})
4033
- .n("DynamoDBClient", "UpdateTimeToLiveCommand")
4034
- .sc(UpdateTimeToLive$)
4035
- .build() {
3414
+ class UpdateTimeToLiveCommand extends command(_ep2, _mw0, "UpdateTimeToLive", UpdateTimeToLive$) {
4036
3415
  }
4037
3416
 
4038
3417
  const paginateListContributorInsights = createPaginator(DynamoDBClient, ListContributorInsightsCommand, "NextToken", "NextToken", "MaxResults");