@aws-sdk/client-managedblockchain-query 3.721.0 → 3.723.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.
package/dist-cjs/index.js CHANGED
@@ -155,7 +155,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
155
155
  }, "resolveRuntimeExtensions");
156
156
 
157
157
  // src/ManagedBlockchainQueryClient.ts
158
- var _ManagedBlockchainQueryClient = class _ManagedBlockchainQueryClient extends import_smithy_client.Client {
158
+ var ManagedBlockchainQueryClient = class extends import_smithy_client.Client {
159
+ static {
160
+ __name(this, "ManagedBlockchainQueryClient");
161
+ }
162
+ /**
163
+ * The resolved configuration of ManagedBlockchainQueryClient class. This is resolved and normalized from the {@link ManagedBlockchainQueryClientConfig | constructor configuration interface}.
164
+ */
165
+ config;
159
166
  constructor(...[configuration]) {
160
167
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
161
168
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -165,7 +172,7 @@ var _ManagedBlockchainQueryClient = class _ManagedBlockchainQueryClient extends
165
172
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
166
173
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
167
174
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
168
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
175
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
169
176
  super(_config_8);
170
177
  this.config = _config_8;
171
178
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -193,8 +200,6 @@ var _ManagedBlockchainQueryClient = class _ManagedBlockchainQueryClient extends
193
200
  super.destroy();
194
201
  }
195
202
  };
196
- __name(_ManagedBlockchainQueryClient, "ManagedBlockchainQueryClient");
197
- var ManagedBlockchainQueryClient = _ManagedBlockchainQueryClient;
198
203
 
199
204
  // src/ManagedBlockchainQuery.ts
200
205
 
@@ -211,7 +216,10 @@ var import_core2 = require("@aws-sdk/core");
211
216
 
212
217
  // src/models/ManagedBlockchainQueryServiceException.ts
213
218
 
214
- var _ManagedBlockchainQueryServiceException = class _ManagedBlockchainQueryServiceException extends import_smithy_client.ServiceException {
219
+ var ManagedBlockchainQueryServiceException = class _ManagedBlockchainQueryServiceException extends import_smithy_client.ServiceException {
220
+ static {
221
+ __name(this, "ManagedBlockchainQueryServiceException");
222
+ }
215
223
  /**
216
224
  * @internal
217
225
  */
@@ -220,11 +228,14 @@ var _ManagedBlockchainQueryServiceException = class _ManagedBlockchainQueryServi
220
228
  Object.setPrototypeOf(this, _ManagedBlockchainQueryServiceException.prototype);
221
229
  }
222
230
  };
223
- __name(_ManagedBlockchainQueryServiceException, "ManagedBlockchainQueryServiceException");
224
- var ManagedBlockchainQueryServiceException = _ManagedBlockchainQueryServiceException;
225
231
 
226
232
  // src/models/models_0.ts
227
- var _AccessDeniedException = class _AccessDeniedException extends ManagedBlockchainQueryServiceException {
233
+ var AccessDeniedException = class _AccessDeniedException extends ManagedBlockchainQueryServiceException {
234
+ static {
235
+ __name(this, "AccessDeniedException");
236
+ }
237
+ name = "AccessDeniedException";
238
+ $fault = "client";
228
239
  /**
229
240
  * @internal
230
241
  */
@@ -234,13 +245,9 @@ var _AccessDeniedException = class _AccessDeniedException extends ManagedBlockch
234
245
  $fault: "client",
235
246
  ...opts
236
247
  });
237
- this.name = "AccessDeniedException";
238
- this.$fault = "client";
239
248
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
240
249
  }
241
250
  };
242
- __name(_AccessDeniedException, "AccessDeniedException");
243
- var AccessDeniedException = _AccessDeniedException;
244
251
  var QueryNetwork = {
245
252
  /**
246
253
  * Bitcoin main network
@@ -274,7 +281,18 @@ var ErrorType = {
274
281
  */
275
282
  VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION"
276
283
  };
277
- var _InternalServerException = class _InternalServerException extends ManagedBlockchainQueryServiceException {
284
+ var InternalServerException = class _InternalServerException extends ManagedBlockchainQueryServiceException {
285
+ static {
286
+ __name(this, "InternalServerException");
287
+ }
288
+ name = "InternalServerException";
289
+ $fault = "server";
290
+ $retryable = {};
291
+ /**
292
+ * <p>Specifies the <code>retryAfterSeconds</code> value.</p>
293
+ * @public
294
+ */
295
+ retryAfterSeconds;
278
296
  /**
279
297
  * @internal
280
298
  */
@@ -284,19 +302,29 @@ var _InternalServerException = class _InternalServerException extends ManagedBlo
284
302
  $fault: "server",
285
303
  ...opts
286
304
  });
287
- this.name = "InternalServerException";
288
- this.$fault = "server";
289
- this.$retryable = {};
290
305
  Object.setPrototypeOf(this, _InternalServerException.prototype);
291
306
  this.retryAfterSeconds = opts.retryAfterSeconds;
292
307
  }
293
308
  };
294
- __name(_InternalServerException, "InternalServerException");
295
- var InternalServerException = _InternalServerException;
296
309
  var ResourceType = {
297
310
  COLLECTION: "collection"
298
311
  };
299
- var _ResourceNotFoundException = class _ResourceNotFoundException extends ManagedBlockchainQueryServiceException {
312
+ var ResourceNotFoundException = class _ResourceNotFoundException extends ManagedBlockchainQueryServiceException {
313
+ static {
314
+ __name(this, "ResourceNotFoundException");
315
+ }
316
+ name = "ResourceNotFoundException";
317
+ $fault = "client";
318
+ /**
319
+ * <p>The <code>resourceId</code> of the resource that caused the exception.</p>
320
+ * @public
321
+ */
322
+ resourceId;
323
+ /**
324
+ * <p>The <code>resourceType</code> of the resource that caused the exception.</p>
325
+ * @public
326
+ */
327
+ resourceType;
300
328
  /**
301
329
  * @internal
302
330
  */
@@ -306,16 +334,37 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Manage
306
334
  $fault: "client",
307
335
  ...opts
308
336
  });
309
- this.name = "ResourceNotFoundException";
310
- this.$fault = "client";
311
337
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
312
338
  this.resourceId = opts.resourceId;
313
339
  this.resourceType = opts.resourceType;
314
340
  }
315
341
  };
316
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
317
- var ResourceNotFoundException = _ResourceNotFoundException;
318
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ManagedBlockchainQueryServiceException {
342
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ManagedBlockchainQueryServiceException {
343
+ static {
344
+ __name(this, "ServiceQuotaExceededException");
345
+ }
346
+ name = "ServiceQuotaExceededException";
347
+ $fault = "client";
348
+ /**
349
+ * <p>The <code>resourceId</code> of the resource that caused the exception.</p>
350
+ * @public
351
+ */
352
+ resourceId;
353
+ /**
354
+ * <p>The <code>resourceType</code> of the resource that caused the exception.</p>
355
+ * @public
356
+ */
357
+ resourceType;
358
+ /**
359
+ * <p>The container for the <code>serviceCode</code>.</p>
360
+ * @public
361
+ */
362
+ serviceCode;
363
+ /**
364
+ * <p>The container for the <code>quotaCode</code>.</p>
365
+ * @public
366
+ */
367
+ quotaCode;
319
368
  /**
320
369
  * @internal
321
370
  */
@@ -325,8 +374,6 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
325
374
  $fault: "client",
326
375
  ...opts
327
376
  });
328
- this.name = "ServiceQuotaExceededException";
329
- this.$fault = "client";
330
377
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
331
378
  this.resourceId = opts.resourceId;
332
379
  this.resourceType = opts.resourceType;
@@ -334,9 +381,30 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
334
381
  this.quotaCode = opts.quotaCode;
335
382
  }
336
383
  };
337
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
338
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
339
- var _ThrottlingException = class _ThrottlingException extends ManagedBlockchainQueryServiceException {
384
+ var ThrottlingException = class _ThrottlingException extends ManagedBlockchainQueryServiceException {
385
+ static {
386
+ __name(this, "ThrottlingException");
387
+ }
388
+ name = "ThrottlingException";
389
+ $fault = "client";
390
+ $retryable = {
391
+ throttling: true
392
+ };
393
+ /**
394
+ * <p>The container for the <code>serviceCode</code>.</p>
395
+ * @public
396
+ */
397
+ serviceCode;
398
+ /**
399
+ * <p>The container for the <code>quotaCode</code>.</p>
400
+ * @public
401
+ */
402
+ quotaCode;
403
+ /**
404
+ * <p>The container of the <code>retryAfterSeconds</code> value.</p>
405
+ * @public
406
+ */
407
+ retryAfterSeconds;
340
408
  /**
341
409
  * @internal
342
410
  */
@@ -346,26 +414,34 @@ var _ThrottlingException = class _ThrottlingException extends ManagedBlockchainQ
346
414
  $fault: "client",
347
415
  ...opts
348
416
  });
349
- this.name = "ThrottlingException";
350
- this.$fault = "client";
351
- this.$retryable = {
352
- throttling: true
353
- };
354
417
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
355
418
  this.serviceCode = opts.serviceCode;
356
419
  this.quotaCode = opts.quotaCode;
357
420
  this.retryAfterSeconds = opts.retryAfterSeconds;
358
421
  }
359
422
  };
360
- __name(_ThrottlingException, "ThrottlingException");
361
- var ThrottlingException = _ThrottlingException;
362
423
  var ValidationExceptionReason = {
363
424
  CANNOT_PARSE: "cannotParse",
364
425
  FIELD_VALIDATION_FAILED: "fieldValidationFailed",
365
426
  OTHER: "other",
366
427
  UNKNOWN_OPERATION: "unknownOperation"
367
428
  };
368
- var _ValidationException = class _ValidationException extends ManagedBlockchainQueryServiceException {
429
+ var ValidationException = class _ValidationException extends ManagedBlockchainQueryServiceException {
430
+ static {
431
+ __name(this, "ValidationException");
432
+ }
433
+ name = "ValidationException";
434
+ $fault = "client";
435
+ /**
436
+ * <p>The container for the reason for the exception</p>
437
+ * @public
438
+ */
439
+ reason;
440
+ /**
441
+ * <p>The container for the <code>fieldList</code> of the exception.</p>
442
+ * @public
443
+ */
444
+ fieldList;
369
445
  /**
370
446
  * @internal
371
447
  */
@@ -375,15 +451,11 @@ var _ValidationException = class _ValidationException extends ManagedBlockchainQ
375
451
  $fault: "client",
376
452
  ...opts
377
453
  });
378
- this.name = "ValidationException";
379
- this.$fault = "client";
380
454
  Object.setPrototypeOf(this, _ValidationException.prototype);
381
455
  this.reason = opts.reason;
382
456
  this.fieldList = opts.fieldList;
383
457
  }
384
458
  };
385
- __name(_ValidationException, "ValidationException");
386
- var ValidationException = _ValidationException;
387
459
  var ConfirmationStatus = {
388
460
  FINAL: "FINAL",
389
461
  NONFINAL: "NONFINAL"
@@ -1039,127 +1111,136 @@ var _rAS = "retryAfterSeconds";
1039
1111
  var _ra = "retry-after";
1040
1112
 
1041
1113
  // src/commands/BatchGetTokenBalanceCommand.ts
1042
- var _BatchGetTokenBalanceCommand = class _BatchGetTokenBalanceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1114
+ var BatchGetTokenBalanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1043
1115
  return [
1044
1116
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1045
1117
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1046
1118
  ];
1047
1119
  }).s("TietonChainQueryService", "BatchGetTokenBalance", {}).n("ManagedBlockchainQueryClient", "BatchGetTokenBalanceCommand").f(void 0, void 0).ser(se_BatchGetTokenBalanceCommand).de(de_BatchGetTokenBalanceCommand).build() {
1120
+ static {
1121
+ __name(this, "BatchGetTokenBalanceCommand");
1122
+ }
1048
1123
  };
1049
- __name(_BatchGetTokenBalanceCommand, "BatchGetTokenBalanceCommand");
1050
- var BatchGetTokenBalanceCommand = _BatchGetTokenBalanceCommand;
1051
1124
 
1052
1125
  // src/commands/GetAssetContractCommand.ts
1053
1126
 
1054
1127
 
1055
1128
 
1056
- var _GetAssetContractCommand = class _GetAssetContractCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1129
+ var GetAssetContractCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1057
1130
  return [
1058
1131
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1059
1132
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1060
1133
  ];
1061
1134
  }).s("TietonChainQueryService", "GetAssetContract", {}).n("ManagedBlockchainQueryClient", "GetAssetContractCommand").f(void 0, void 0).ser(se_GetAssetContractCommand).de(de_GetAssetContractCommand).build() {
1135
+ static {
1136
+ __name(this, "GetAssetContractCommand");
1137
+ }
1062
1138
  };
1063
- __name(_GetAssetContractCommand, "GetAssetContractCommand");
1064
- var GetAssetContractCommand = _GetAssetContractCommand;
1065
1139
 
1066
1140
  // src/commands/GetTokenBalanceCommand.ts
1067
1141
 
1068
1142
 
1069
1143
 
1070
- var _GetTokenBalanceCommand = class _GetTokenBalanceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1144
+ var GetTokenBalanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1071
1145
  return [
1072
1146
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1073
1147
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1074
1148
  ];
1075
1149
  }).s("TietonChainQueryService", "GetTokenBalance", {}).n("ManagedBlockchainQueryClient", "GetTokenBalanceCommand").f(void 0, void 0).ser(se_GetTokenBalanceCommand).de(de_GetTokenBalanceCommand).build() {
1150
+ static {
1151
+ __name(this, "GetTokenBalanceCommand");
1152
+ }
1076
1153
  };
1077
- __name(_GetTokenBalanceCommand, "GetTokenBalanceCommand");
1078
- var GetTokenBalanceCommand = _GetTokenBalanceCommand;
1079
1154
 
1080
1155
  // src/commands/GetTransactionCommand.ts
1081
1156
 
1082
1157
 
1083
1158
 
1084
- var _GetTransactionCommand = class _GetTransactionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1159
+ var GetTransactionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1085
1160
  return [
1086
1161
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1087
1162
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1088
1163
  ];
1089
1164
  }).s("TietonChainQueryService", "GetTransaction", {}).n("ManagedBlockchainQueryClient", "GetTransactionCommand").f(void 0, void 0).ser(se_GetTransactionCommand).de(de_GetTransactionCommand).build() {
1165
+ static {
1166
+ __name(this, "GetTransactionCommand");
1167
+ }
1090
1168
  };
1091
- __name(_GetTransactionCommand, "GetTransactionCommand");
1092
- var GetTransactionCommand = _GetTransactionCommand;
1093
1169
 
1094
1170
  // src/commands/ListAssetContractsCommand.ts
1095
1171
 
1096
1172
 
1097
1173
 
1098
- var _ListAssetContractsCommand = class _ListAssetContractsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1174
+ var ListAssetContractsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1099
1175
  return [
1100
1176
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1101
1177
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1102
1178
  ];
1103
1179
  }).s("TietonChainQueryService", "ListAssetContracts", {}).n("ManagedBlockchainQueryClient", "ListAssetContractsCommand").f(void 0, void 0).ser(se_ListAssetContractsCommand).de(de_ListAssetContractsCommand).build() {
1180
+ static {
1181
+ __name(this, "ListAssetContractsCommand");
1182
+ }
1104
1183
  };
1105
- __name(_ListAssetContractsCommand, "ListAssetContractsCommand");
1106
- var ListAssetContractsCommand = _ListAssetContractsCommand;
1107
1184
 
1108
1185
  // src/commands/ListFilteredTransactionEventsCommand.ts
1109
1186
 
1110
1187
 
1111
1188
 
1112
- var _ListFilteredTransactionEventsCommand = class _ListFilteredTransactionEventsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1189
+ var ListFilteredTransactionEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1113
1190
  return [
1114
1191
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1115
1192
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1116
1193
  ];
1117
1194
  }).s("TietonChainQueryService", "ListFilteredTransactionEvents", {}).n("ManagedBlockchainQueryClient", "ListFilteredTransactionEventsCommand").f(void 0, void 0).ser(se_ListFilteredTransactionEventsCommand).de(de_ListFilteredTransactionEventsCommand).build() {
1195
+ static {
1196
+ __name(this, "ListFilteredTransactionEventsCommand");
1197
+ }
1118
1198
  };
1119
- __name(_ListFilteredTransactionEventsCommand, "ListFilteredTransactionEventsCommand");
1120
- var ListFilteredTransactionEventsCommand = _ListFilteredTransactionEventsCommand;
1121
1199
 
1122
1200
  // src/commands/ListTokenBalancesCommand.ts
1123
1201
 
1124
1202
 
1125
1203
 
1126
- var _ListTokenBalancesCommand = class _ListTokenBalancesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1204
+ var ListTokenBalancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1127
1205
  return [
1128
1206
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1129
1207
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1130
1208
  ];
1131
1209
  }).s("TietonChainQueryService", "ListTokenBalances", {}).n("ManagedBlockchainQueryClient", "ListTokenBalancesCommand").f(void 0, void 0).ser(se_ListTokenBalancesCommand).de(de_ListTokenBalancesCommand).build() {
1210
+ static {
1211
+ __name(this, "ListTokenBalancesCommand");
1212
+ }
1132
1213
  };
1133
- __name(_ListTokenBalancesCommand, "ListTokenBalancesCommand");
1134
- var ListTokenBalancesCommand = _ListTokenBalancesCommand;
1135
1214
 
1136
1215
  // src/commands/ListTransactionEventsCommand.ts
1137
1216
 
1138
1217
 
1139
1218
 
1140
- var _ListTransactionEventsCommand = class _ListTransactionEventsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1219
+ var ListTransactionEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1141
1220
  return [
1142
1221
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1143
1222
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1144
1223
  ];
1145
1224
  }).s("TietonChainQueryService", "ListTransactionEvents", {}).n("ManagedBlockchainQueryClient", "ListTransactionEventsCommand").f(void 0, void 0).ser(se_ListTransactionEventsCommand).de(de_ListTransactionEventsCommand).build() {
1225
+ static {
1226
+ __name(this, "ListTransactionEventsCommand");
1227
+ }
1146
1228
  };
1147
- __name(_ListTransactionEventsCommand, "ListTransactionEventsCommand");
1148
- var ListTransactionEventsCommand = _ListTransactionEventsCommand;
1149
1229
 
1150
1230
  // src/commands/ListTransactionsCommand.ts
1151
1231
 
1152
1232
 
1153
1233
 
1154
- var _ListTransactionsCommand = class _ListTransactionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1234
+ var ListTransactionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1155
1235
  return [
1156
1236
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1157
1237
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1158
1238
  ];
1159
1239
  }).s("TietonChainQueryService", "ListTransactions", {}).n("ManagedBlockchainQueryClient", "ListTransactionsCommand").f(void 0, void 0).ser(se_ListTransactionsCommand).de(de_ListTransactionsCommand).build() {
1240
+ static {
1241
+ __name(this, "ListTransactionsCommand");
1242
+ }
1160
1243
  };
1161
- __name(_ListTransactionsCommand, "ListTransactionsCommand");
1162
- var ListTransactionsCommand = _ListTransactionsCommand;
1163
1244
 
1164
1245
  // src/ManagedBlockchainQuery.ts
1165
1246
  var commands = {
@@ -1173,10 +1254,11 @@ var commands = {
1173
1254
  ListTransactionEventsCommand,
1174
1255
  ListTransactionsCommand
1175
1256
  };
1176
- var _ManagedBlockchainQuery = class _ManagedBlockchainQuery extends ManagedBlockchainQueryClient {
1257
+ var ManagedBlockchainQuery = class extends ManagedBlockchainQueryClient {
1258
+ static {
1259
+ __name(this, "ManagedBlockchainQuery");
1260
+ }
1177
1261
  };
1178
- __name(_ManagedBlockchainQuery, "ManagedBlockchainQuery");
1179
- var ManagedBlockchainQuery = _ManagedBlockchainQuery;
1180
1262
  (0, import_smithy_client.createAggregatedClient)(commands, ManagedBlockchainQuery);
1181
1263
 
1182
1264
  // src/pagination/ListAssetContractsPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class ManagedBlockchainQueryClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,13 +1,13 @@
1
1
  import { ManagedBlockchainQueryServiceException as __BaseException } from "./ManagedBlockchainQueryServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
3
5
  constructor(opts) {
4
6
  super({
5
7
  name: "AccessDeniedException",
6
8
  $fault: "client",
7
9
  ...opts,
8
10
  });
9
- this.name = "AccessDeniedException";
10
- this.$fault = "client";
11
11
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
12
  }
13
13
  }
@@ -27,15 +27,16 @@ export const ErrorType = {
27
27
  VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION",
28
28
  };
29
29
  export class InternalServerException extends __BaseException {
30
+ name = "InternalServerException";
31
+ $fault = "server";
32
+ $retryable = {};
33
+ retryAfterSeconds;
30
34
  constructor(opts) {
31
35
  super({
32
36
  name: "InternalServerException",
33
37
  $fault: "server",
34
38
  ...opts,
35
39
  });
36
- this.name = "InternalServerException";
37
- this.$fault = "server";
38
- this.$retryable = {};
39
40
  Object.setPrototypeOf(this, InternalServerException.prototype);
40
41
  this.retryAfterSeconds = opts.retryAfterSeconds;
41
42
  }
@@ -44,28 +45,34 @@ export const ResourceType = {
44
45
  COLLECTION: "collection",
45
46
  };
46
47
  export class ResourceNotFoundException extends __BaseException {
48
+ name = "ResourceNotFoundException";
49
+ $fault = "client";
50
+ resourceId;
51
+ resourceType;
47
52
  constructor(opts) {
48
53
  super({
49
54
  name: "ResourceNotFoundException",
50
55
  $fault: "client",
51
56
  ...opts,
52
57
  });
53
- this.name = "ResourceNotFoundException";
54
- this.$fault = "client";
55
58
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
56
59
  this.resourceId = opts.resourceId;
57
60
  this.resourceType = opts.resourceType;
58
61
  }
59
62
  }
60
63
  export class ServiceQuotaExceededException extends __BaseException {
64
+ name = "ServiceQuotaExceededException";
65
+ $fault = "client";
66
+ resourceId;
67
+ resourceType;
68
+ serviceCode;
69
+ quotaCode;
61
70
  constructor(opts) {
62
71
  super({
63
72
  name: "ServiceQuotaExceededException",
64
73
  $fault: "client",
65
74
  ...opts,
66
75
  });
67
- this.name = "ServiceQuotaExceededException";
68
- this.$fault = "client";
69
76
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
70
77
  this.resourceId = opts.resourceId;
71
78
  this.resourceType = opts.resourceType;
@@ -74,17 +81,20 @@ export class ServiceQuotaExceededException extends __BaseException {
74
81
  }
75
82
  }
76
83
  export class ThrottlingException extends __BaseException {
84
+ name = "ThrottlingException";
85
+ $fault = "client";
86
+ $retryable = {
87
+ throttling: true,
88
+ };
89
+ serviceCode;
90
+ quotaCode;
91
+ retryAfterSeconds;
77
92
  constructor(opts) {
78
93
  super({
79
94
  name: "ThrottlingException",
80
95
  $fault: "client",
81
96
  ...opts,
82
97
  });
83
- this.name = "ThrottlingException";
84
- this.$fault = "client";
85
- this.$retryable = {
86
- throttling: true,
87
- };
88
98
  Object.setPrototypeOf(this, ThrottlingException.prototype);
89
99
  this.serviceCode = opts.serviceCode;
90
100
  this.quotaCode = opts.quotaCode;
@@ -98,14 +108,16 @@ export const ValidationExceptionReason = {
98
108
  UNKNOWN_OPERATION: "unknownOperation",
99
109
  };
100
110
  export class ValidationException extends __BaseException {
111
+ name = "ValidationException";
112
+ $fault = "client";
113
+ reason;
114
+ fieldList;
101
115
  constructor(opts) {
102
116
  super({
103
117
  name: "ValidationException",
104
118
  $fault: "client",
105
119
  ...opts,
106
120
  });
107
- this.name = "ValidationException";
108
- this.$fault = "client";
109
121
  Object.setPrototypeOf(this, ValidationException.prototype);
110
122
  this.reason = opts.reason;
111
123
  this.fieldList = opts.fieldList;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ManagedBlockchainQueryClientConf
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ManagedBlockchainQueryClientConf
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: ManagedBlockchainQueryClientConf
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: ManagedBlockchainQueryClientConf
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
52
54
  | import("@smithy/types").RetryStrategyV2
53
55
  | undefined;
54
56
  endpoint?:
55
- | string
56
- | import("@smithy/types").Endpoint
57
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
- | import("@smithy/types").EndpointV2
59
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | ((
58
+ | string
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ) &
64
+ (
65
+ | string
66
+ | import("@smithy/types").Provider<string>
67
+ | import("@smithy/types").Endpoint
68
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
69
+ | import("@smithy/types").EndpointV2
70
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
71
+ ))
60
72
  | undefined;
61
73
  endpointProvider: (
62
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-managedblockchain-query",
3
3
  "description": "AWS SDK for JavaScript Managedblockchain Query Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-managedblockchain-query",
@@ -20,56 +20,56 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {