@aws-sdk/client-managedblockchain-query 3.987.0 → 3.988.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
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var ManagedBlockchainQueryServiceException = require('./models/ManagedBlockchainQueryServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,559 +113,6 @@ class ManagedBlockchainQueryClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class ManagedBlockchainQueryServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, ManagedBlockchainQueryServiceException.prototype);
117
- }
118
- }
119
-
120
- class AccessDeniedException extends ManagedBlockchainQueryServiceException {
121
- name = "AccessDeniedException";
122
- $fault = "client";
123
- constructor(opts) {
124
- super({
125
- name: "AccessDeniedException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
- }
131
- }
132
- class InternalServerException extends ManagedBlockchainQueryServiceException {
133
- name = "InternalServerException";
134
- $fault = "server";
135
- $retryable = {};
136
- retryAfterSeconds;
137
- constructor(opts) {
138
- super({
139
- name: "InternalServerException",
140
- $fault: "server",
141
- ...opts,
142
- });
143
- Object.setPrototypeOf(this, InternalServerException.prototype);
144
- this.retryAfterSeconds = opts.retryAfterSeconds;
145
- }
146
- }
147
- class ResourceNotFoundException extends ManagedBlockchainQueryServiceException {
148
- name = "ResourceNotFoundException";
149
- $fault = "client";
150
- resourceId;
151
- resourceType;
152
- constructor(opts) {
153
- super({
154
- name: "ResourceNotFoundException",
155
- $fault: "client",
156
- ...opts,
157
- });
158
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
159
- this.resourceId = opts.resourceId;
160
- this.resourceType = opts.resourceType;
161
- }
162
- }
163
- class ServiceQuotaExceededException extends ManagedBlockchainQueryServiceException {
164
- name = "ServiceQuotaExceededException";
165
- $fault = "client";
166
- resourceId;
167
- resourceType;
168
- serviceCode;
169
- quotaCode;
170
- constructor(opts) {
171
- super({
172
- name: "ServiceQuotaExceededException",
173
- $fault: "client",
174
- ...opts,
175
- });
176
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
177
- this.resourceId = opts.resourceId;
178
- this.resourceType = opts.resourceType;
179
- this.serviceCode = opts.serviceCode;
180
- this.quotaCode = opts.quotaCode;
181
- }
182
- }
183
- class ThrottlingException extends ManagedBlockchainQueryServiceException {
184
- name = "ThrottlingException";
185
- $fault = "client";
186
- $retryable = {
187
- throttling: true,
188
- };
189
- serviceCode;
190
- quotaCode;
191
- retryAfterSeconds;
192
- constructor(opts) {
193
- super({
194
- name: "ThrottlingException",
195
- $fault: "client",
196
- ...opts,
197
- });
198
- Object.setPrototypeOf(this, ThrottlingException.prototype);
199
- this.serviceCode = opts.serviceCode;
200
- this.quotaCode = opts.quotaCode;
201
- this.retryAfterSeconds = opts.retryAfterSeconds;
202
- }
203
- }
204
- class ValidationException extends ManagedBlockchainQueryServiceException {
205
- name = "ValidationException";
206
- $fault = "client";
207
- reason;
208
- fieldList;
209
- constructor(opts) {
210
- super({
211
- name: "ValidationException",
212
- $fault: "client",
213
- ...opts,
214
- });
215
- Object.setPrototypeOf(this, ValidationException.prototype);
216
- this.reason = opts.reason;
217
- this.fieldList = opts.fieldList;
218
- }
219
- }
220
-
221
- const _AC = "AssetContract";
222
- const _ACL = "AssetContractList";
223
- const _ADE = "AccessDeniedException";
224
- const _AIF = "AddressIdentifierFilter";
225
- const _BGTB = "BatchGetTokenBalance";
226
- const _BGTBE = "BatchGetTokenBalanceErrors";
227
- const _BGTBEI = "BatchGetTokenBalanceErrorItem";
228
- const _BGTBI = "BatchGetTokenBalanceInput";
229
- const _BGTBII = "BatchGetTokenBalanceInputItem";
230
- const _BGTBO = "BatchGetTokenBalanceOutput";
231
- const _BGTBOI = "BatchGetTokenBalanceOutputItem";
232
- const _BGTBOL = "BatchGetTokenBalanceOutputList";
233
- const _BI = "BlockchainInstant";
234
- const _CF = "ContractFilter";
235
- const _CI = "ContractIdentifier";
236
- const _CM = "ContractMetadata";
237
- const _CSF = "ConfirmationStatusFilter";
238
- const _GAC = "GetAssetContract";
239
- const _GACI = "GetAssetContractInput";
240
- const _GACO = "GetAssetContractOutput";
241
- const _GT = "GetTransaction";
242
- const _GTB = "GetTokenBalance";
243
- const _GTBI = "GetTokenBalanceInput";
244
- const _GTBIL = "GetTokenBalanceInputList";
245
- const _GTBO = "GetTokenBalanceOutput";
246
- const _GTI = "GetTransactionInput";
247
- const _GTO = "GetTransactionOutput";
248
- const _ISE = "InternalServerException";
249
- const _LAC = "ListAssetContracts";
250
- const _LACI = "ListAssetContractsInput";
251
- const _LACO = "ListAssetContractsOutput";
252
- const _LFTE = "ListFilteredTransactionEvents";
253
- const _LFTEI = "ListFilteredTransactionEventsInput";
254
- const _LFTEO = "ListFilteredTransactionEventsOutput";
255
- const _LFTES = "ListFilteredTransactionEventsSort";
256
- const _LT = "ListTransactions";
257
- const _LTB = "ListTokenBalances";
258
- const _LTBI = "ListTokenBalancesInput";
259
- const _LTBO = "ListTokenBalancesOutput";
260
- const _LTE = "ListTransactionEvents";
261
- const _LTEI = "ListTransactionEventsInput";
262
- const _LTEO = "ListTransactionEventsOutput";
263
- const _LTI = "ListTransactionsInput";
264
- const _LTO = "ListTransactionsOutput";
265
- const _LTS = "ListTransactionsSort";
266
- const _OF = "OwnerFilter";
267
- const _OI = "OwnerIdentifier";
268
- const _RA = "Retry-After";
269
- const _RNFE = "ResourceNotFoundException";
270
- const _SQEE = "ServiceQuotaExceededException";
271
- const _T = "Transaction";
272
- const _TB = "TokenBalance";
273
- const _TBL = "TokenBalanceList";
274
- const _TE = "ThrottlingException";
275
- const _TEL = "TransactionEventList";
276
- const _TEr = "TransactionEvent";
277
- const _TF = "TimeFilter";
278
- const _TFo = "TokenFilter";
279
- const _TI = "TokenIdentifier";
280
- const _TOI = "TransactionOutputItem";
281
- const _TOL = "TransactionOutputList";
282
- const _VE = "ValidationException";
283
- const _VEF = "ValidationExceptionField";
284
- const _VEFL = "ValidationExceptionFieldList";
285
- const _VF = "VoutFilter";
286
- const _a = "address";
287
- const _aBI = "atBlockchainInstant";
288
- const _aIF = "addressIdentifierFilter";
289
- const _b = "balance";
290
- const _bH = "blockHash";
291
- const _bI = "blockchainInstant";
292
- const _bN = "blockNumber";
293
- const _c = "client";
294
- const _cA = "contractAddress";
295
- const _cF = "contractFilter";
296
- const _cGU = "cumulativeGasUsed";
297
- const _cI = "contractIdentifier";
298
- const _cS = "confirmationStatus";
299
- const _cSF = "confirmationStatusFilter";
300
- const _co = "contracts";
301
- const _d = "decimals";
302
- const _dA = "deployerAddress";
303
- const _e = "error";
304
- const _eC = "errorCode";
305
- const _eGP = "effectiveGasPrice";
306
- const _eM = "errorMessage";
307
- const _eS = "executionStatus";
308
- const _eT = "errorType";
309
- const _eTv = "eventType";
310
- const _er = "errors";
311
- const _ev = "events";
312
- const _f = "from";
313
- const _fBI = "fromBlockchainInstant";
314
- const _fL = "fieldList";
315
- const _gTBI = "getTokenBalanceInputs";
316
- const _gU = "gasUsed";
317
- const _h = "http";
318
- const _hE = "httpError";
319
- const _hH = "httpHeader";
320
- const _i = "include";
321
- const _lUT = "lastUpdatedTime";
322
- const _m = "message";
323
- const _mR = "maxResults";
324
- const _me = "metadata";
325
- const _n = "network";
326
- const _nOT = "numberOfTransactions";
327
- const _nT = "nextToken";
328
- const _na = "name";
329
- const _oF = "ownerFilter";
330
- const _oI = "ownerIdentifier";
331
- const _qC = "quotaCode";
332
- const _r = "reason";
333
- const _rAS = "retryAfterSeconds";
334
- const _rI = "resourceId";
335
- const _rT = "resourceType";
336
- const _s = "symbol";
337
- const _sB = "sortBy";
338
- const _sC = "serviceCode";
339
- const _sO = "sortOrder";
340
- const _sR = "signatureR";
341
- const _sS = "signatureS";
342
- const _sV = "signatureV";
343
- const _sVI = "spentVoutIndex";
344
- const _sVTH = "spentVoutTransactionHash";
345
- const _sVTI = "spentVoutTransactionId";
346
- const _se = "server";
347
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.managedblockchainquery";
348
- const _so = "sort";
349
- const _t = "time";
350
- const _tB = "tokenBalances";
351
- const _tBI = "toBlockchainInstant";
352
- const _tETA = "transactionEventToAddress";
353
- const _tF = "timeFilter";
354
- const _tFo = "tokenFilter";
355
- const _tFr = "transactionFee";
356
- const _tH = "transactionHash";
357
- const _tI = "tokenIdentifier";
358
- const _tIo = "tokenId";
359
- const _tIr = "transactionId";
360
- const _tIra = "transactionIndex";
361
- const _tS = "tokenStandard";
362
- const _tT = "transactionTimestamp";
363
- const _to = "to";
364
- const _tr = "transaction";
365
- const _tra = "transactions";
366
- const _v = "value";
367
- const _vF = "voutFilter";
368
- const _vI = "voutIndex";
369
- const _vS = "voutSpent";
370
- const n0 = "com.amazonaws.managedblockchainquery";
371
- var AccessDeniedException$ = [-3, n0, _ADE,
372
- { [_e]: _c, [_hE]: 403 },
373
- [_m],
374
- [0], 1
375
- ];
376
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
377
- var AddressIdentifierFilter$ = [3, n0, _AIF,
378
- 0,
379
- [_tETA],
380
- [64 | 0], 1
381
- ];
382
- var AssetContract$ = [3, n0, _AC,
383
- 0,
384
- [_cI, _tS, _dA],
385
- [() => ContractIdentifier$, 0, 0], 3
386
- ];
387
- var BatchGetTokenBalanceErrorItem$ = [3, n0, _BGTBEI,
388
- 0,
389
- [_eC, _eM, _eT, _tI, _oI, _aBI],
390
- [0, 0, 0, () => TokenIdentifier$, () => OwnerIdentifier$, () => BlockchainInstant$], 3
391
- ];
392
- var BatchGetTokenBalanceInput$ = [3, n0, _BGTBI,
393
- 0,
394
- [_gTBI],
395
- [() => GetTokenBalanceInputList]
396
- ];
397
- var BatchGetTokenBalanceInputItem$ = [3, n0, _BGTBII,
398
- 0,
399
- [_tI, _oI, _aBI],
400
- [() => TokenIdentifier$, () => OwnerIdentifier$, () => BlockchainInstant$], 2
401
- ];
402
- var BatchGetTokenBalanceOutput$ = [3, n0, _BGTBO,
403
- 0,
404
- [_tB, _er],
405
- [() => BatchGetTokenBalanceOutputList, () => BatchGetTokenBalanceErrors], 2
406
- ];
407
- var BatchGetTokenBalanceOutputItem$ = [3, n0, _BGTBOI,
408
- 0,
409
- [_b, _aBI, _oI, _tI, _lUT],
410
- [0, () => BlockchainInstant$, () => OwnerIdentifier$, () => TokenIdentifier$, () => BlockchainInstant$], 2
411
- ];
412
- var BlockchainInstant$ = [3, n0, _BI,
413
- 0,
414
- [_t],
415
- [4]
416
- ];
417
- var ConfirmationStatusFilter$ = [3, n0, _CSF,
418
- 0,
419
- [_i],
420
- [64 | 0], 1
421
- ];
422
- var ContractFilter$ = [3, n0, _CF,
423
- 0,
424
- [_n, _tS, _dA],
425
- [0, 0, 0], 3
426
- ];
427
- var ContractIdentifier$ = [3, n0, _CI,
428
- 0,
429
- [_n, _cA],
430
- [0, 0], 2
431
- ];
432
- var ContractMetadata$ = [3, n0, _CM,
433
- 0,
434
- [_na, _s, _d],
435
- [0, 0, 1]
436
- ];
437
- var GetAssetContractInput$ = [3, n0, _GACI,
438
- 0,
439
- [_cI],
440
- [() => ContractIdentifier$], 1
441
- ];
442
- var GetAssetContractOutput$ = [3, n0, _GACO,
443
- 0,
444
- [_cI, _tS, _dA, _me],
445
- [() => ContractIdentifier$, 0, 0, () => ContractMetadata$], 3
446
- ];
447
- var GetTokenBalanceInput$ = [3, n0, _GTBI,
448
- 0,
449
- [_tI, _oI, _aBI],
450
- [() => TokenIdentifier$, () => OwnerIdentifier$, () => BlockchainInstant$], 2
451
- ];
452
- var GetTokenBalanceOutput$ = [3, n0, _GTBO,
453
- 0,
454
- [_b, _aBI, _oI, _tI, _lUT],
455
- [0, () => BlockchainInstant$, () => OwnerIdentifier$, () => TokenIdentifier$, () => BlockchainInstant$], 2
456
- ];
457
- var GetTransactionInput$ = [3, n0, _GTI,
458
- 0,
459
- [_n, _tH, _tIr],
460
- [0, 0, 0], 1
461
- ];
462
- var GetTransactionOutput$ = [3, n0, _GTO,
463
- 0,
464
- [_tr],
465
- [() => Transaction$], 1
466
- ];
467
- var InternalServerException$ = [-3, n0, _ISE,
468
- { [_e]: _se, [_hE]: 500 },
469
- [_m, _rAS],
470
- [0, [1, { [_hH]: _RA }]], 1
471
- ];
472
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
473
- var ListAssetContractsInput$ = [3, n0, _LACI,
474
- 0,
475
- [_cF, _nT, _mR],
476
- [() => ContractFilter$, 0, 1], 1
477
- ];
478
- var ListAssetContractsOutput$ = [3, n0, _LACO,
479
- 0,
480
- [_co, _nT],
481
- [() => AssetContractList, 0], 1
482
- ];
483
- var ListFilteredTransactionEventsInput$ = [3, n0, _LFTEI,
484
- 0,
485
- [_n, _aIF, _tF, _vF, _cSF, _so, _nT, _mR],
486
- [0, () => AddressIdentifierFilter$, () => TimeFilter$, () => VoutFilter$, () => ConfirmationStatusFilter$, () => ListFilteredTransactionEventsSort$, 0, 1], 2
487
- ];
488
- var ListFilteredTransactionEventsOutput$ = [3, n0, _LFTEO,
489
- 0,
490
- [_ev, _nT],
491
- [() => TransactionEventList, 0], 1
492
- ];
493
- var ListFilteredTransactionEventsSort$ = [3, n0, _LFTES,
494
- 0,
495
- [_sB, _sO],
496
- [0, 0]
497
- ];
498
- var ListTokenBalancesInput$ = [3, n0, _LTBI,
499
- 0,
500
- [_tFo, _oF, _nT, _mR],
501
- [() => TokenFilter$, () => OwnerFilter$, 0, 1], 1
502
- ];
503
- var ListTokenBalancesOutput$ = [3, n0, _LTBO,
504
- 0,
505
- [_tB, _nT],
506
- [() => TokenBalanceList, 0], 1
507
- ];
508
- var ListTransactionEventsInput$ = [3, n0, _LTEI,
509
- 0,
510
- [_n, _tH, _tIr, _nT, _mR],
511
- [0, 0, 0, 0, 1], 1
512
- ];
513
- var ListTransactionEventsOutput$ = [3, n0, _LTEO,
514
- 0,
515
- [_ev, _nT],
516
- [() => TransactionEventList, 0], 1
517
- ];
518
- var ListTransactionsInput$ = [3, n0, _LTI,
519
- 0,
520
- [_a, _n, _fBI, _tBI, _so, _nT, _mR, _cSF],
521
- [0, 0, () => BlockchainInstant$, () => BlockchainInstant$, () => ListTransactionsSort$, 0, 1, () => ConfirmationStatusFilter$], 2
522
- ];
523
- var ListTransactionsOutput$ = [3, n0, _LTO,
524
- 0,
525
- [_tra, _nT],
526
- [() => TransactionOutputList, 0], 1
527
- ];
528
- var ListTransactionsSort$ = [3, n0, _LTS,
529
- 0,
530
- [_sB, _sO],
531
- [0, 0]
532
- ];
533
- var OwnerFilter$ = [3, n0, _OF,
534
- 0,
535
- [_a],
536
- [0], 1
537
- ];
538
- var OwnerIdentifier$ = [3, n0, _OI,
539
- 0,
540
- [_a],
541
- [0], 1
542
- ];
543
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
544
- { [_e]: _c, [_hE]: 404 },
545
- [_m, _rI, _rT],
546
- [0, 0, 0], 3
547
- ];
548
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
549
- var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
550
- { [_e]: _c, [_hE]: 402 },
551
- [_m, _rI, _rT, _sC, _qC],
552
- [0, 0, 0, 0, 0], 5
553
- ];
554
- schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
555
- var ThrottlingException$ = [-3, n0, _TE,
556
- { [_e]: _c, [_hE]: 429 },
557
- [_m, _sC, _qC, _rAS],
558
- [0, 0, 0, [1, { [_hH]: _RA }]], 3
559
- ];
560
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
561
- var TimeFilter$ = [3, n0, _TF,
562
- 0,
563
- [_f, _to],
564
- [() => BlockchainInstant$, () => BlockchainInstant$]
565
- ];
566
- var TokenBalance$ = [3, n0, _TB,
567
- 0,
568
- [_b, _aBI, _oI, _tI, _lUT],
569
- [0, () => BlockchainInstant$, () => OwnerIdentifier$, () => TokenIdentifier$, () => BlockchainInstant$], 2
570
- ];
571
- var TokenFilter$ = [3, n0, _TFo,
572
- 0,
573
- [_n, _cA, _tIo],
574
- [0, 0, 0], 1
575
- ];
576
- var TokenIdentifier$ = [3, n0, _TI,
577
- 0,
578
- [_n, _cA, _tIo],
579
- [0, 0, 0], 1
580
- ];
581
- var Transaction$ = [3, n0, _T,
582
- 0,
583
- [_n, _tH, _tT, _tIra, _nOT, _to, _bH, _bN, _f, _cA, _gU, _cGU, _eGP, _sV, _sR, _sS, _tFr, _tIr, _cS, _eS],
584
- [0, 0, 4, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0], 6
585
- ];
586
- var TransactionEvent$ = [3, n0, _TEr,
587
- 0,
588
- [_n, _tH, _eTv, _f, _to, _v, _cA, _tIo, _tIr, _vI, _vS, _sVTI, _sVTH, _sVI, _bI, _cS],
589
- [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 1, () => BlockchainInstant$, 0], 3
590
- ];
591
- var TransactionOutputItem$ = [3, n0, _TOI,
592
- 0,
593
- [_tH, _n, _tT, _tIr, _cS],
594
- [0, 0, 4, 0, 0], 3
595
- ];
596
- var ValidationException$ = [-3, n0, _VE,
597
- { [_e]: _c, [_hE]: 400 },
598
- [_m, _r, _fL],
599
- [0, 0, () => ValidationExceptionFieldList], 2
600
- ];
601
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
602
- var ValidationExceptionField$ = [3, n0, _VEF,
603
- 0,
604
- [_na, _m],
605
- [0, 0], 2
606
- ];
607
- var VoutFilter$ = [3, n0, _VF,
608
- 0,
609
- [_vS],
610
- [2], 1
611
- ];
612
- var ManagedBlockchainQueryServiceException$ = [-3, _sm, "ManagedBlockchainQueryServiceException", 0, [], []];
613
- schema.TypeRegistry.for(_sm).registerError(ManagedBlockchainQueryServiceException$, ManagedBlockchainQueryServiceException);
614
- var AssetContractList = [1, n0, _ACL,
615
- 0, () => AssetContract$
616
- ];
617
- var BatchGetTokenBalanceErrors = [1, n0, _BGTBE,
618
- 0, () => BatchGetTokenBalanceErrorItem$
619
- ];
620
- var BatchGetTokenBalanceOutputList = [1, n0, _BGTBOL,
621
- 0, () => BatchGetTokenBalanceOutputItem$
622
- ];
623
- var GetTokenBalanceInputList = [1, n0, _GTBIL,
624
- 0, () => BatchGetTokenBalanceInputItem$
625
- ];
626
- var TokenBalanceList = [1, n0, _TBL,
627
- 0, () => TokenBalance$
628
- ];
629
- var TransactionEventList = [1, n0, _TEL,
630
- 0, () => TransactionEvent$
631
- ];
632
- var TransactionOutputList = [1, n0, _TOL,
633
- 0, () => TransactionOutputItem$
634
- ];
635
- var ValidationExceptionFieldList = [1, n0, _VEFL,
636
- 0, () => ValidationExceptionField$
637
- ];
638
- var BatchGetTokenBalance$ = [9, n0, _BGTB,
639
- { [_h]: ["POST", "/batch-get-token-balance", 200] }, () => BatchGetTokenBalanceInput$, () => BatchGetTokenBalanceOutput$
640
- ];
641
- var GetAssetContract$ = [9, n0, _GAC,
642
- { [_h]: ["POST", "/get-asset-contract", 200] }, () => GetAssetContractInput$, () => GetAssetContractOutput$
643
- ];
644
- var GetTokenBalance$ = [9, n0, _GTB,
645
- { [_h]: ["POST", "/get-token-balance", 200] }, () => GetTokenBalanceInput$, () => GetTokenBalanceOutput$
646
- ];
647
- var GetTransaction$ = [9, n0, _GT,
648
- { [_h]: ["POST", "/get-transaction", 200] }, () => GetTransactionInput$, () => GetTransactionOutput$
649
- ];
650
- var ListAssetContracts$ = [9, n0, _LAC,
651
- { [_h]: ["POST", "/list-asset-contracts", 200] }, () => ListAssetContractsInput$, () => ListAssetContractsOutput$
652
- ];
653
- var ListFilteredTransactionEvents$ = [9, n0, _LFTE,
654
- { [_h]: ["POST", "/list-filtered-transaction-events", 200] }, () => ListFilteredTransactionEventsInput$, () => ListFilteredTransactionEventsOutput$
655
- ];
656
- var ListTokenBalances$ = [9, n0, _LTB,
657
- { [_h]: ["POST", "/list-token-balances", 200] }, () => ListTokenBalancesInput$, () => ListTokenBalancesOutput$
658
- ];
659
- var ListTransactionEvents$ = [9, n0, _LTE,
660
- { [_h]: ["POST", "/list-transaction-events", 200] }, () => ListTransactionEventsInput$, () => ListTransactionEventsOutput$
661
- ];
662
- var ListTransactions$ = [9, n0, _LT,
663
- { [_h]: ["POST", "/list-transactions", 200] }, () => ListTransactionsInput$, () => ListTransactionsOutput$
664
- ];
665
-
666
116
  class BatchGetTokenBalanceCommand extends smithyClient.Command
667
117
  .classBuilder()
668
118
  .ep(commonParams)
@@ -671,7 +121,7 @@ class BatchGetTokenBalanceCommand extends smithyClient.Command
671
121
  })
672
122
  .s("TietonChainQueryService", "BatchGetTokenBalance", {})
673
123
  .n("ManagedBlockchainQueryClient", "BatchGetTokenBalanceCommand")
674
- .sc(BatchGetTokenBalance$)
124
+ .sc(schemas_0.BatchGetTokenBalance$)
675
125
  .build() {
676
126
  }
677
127
 
@@ -683,7 +133,7 @@ class GetAssetContractCommand extends smithyClient.Command
683
133
  })
684
134
  .s("TietonChainQueryService", "GetAssetContract", {})
685
135
  .n("ManagedBlockchainQueryClient", "GetAssetContractCommand")
686
- .sc(GetAssetContract$)
136
+ .sc(schemas_0.GetAssetContract$)
687
137
  .build() {
688
138
  }
689
139
 
@@ -695,7 +145,7 @@ class GetTokenBalanceCommand extends smithyClient.Command
695
145
  })
696
146
  .s("TietonChainQueryService", "GetTokenBalance", {})
697
147
  .n("ManagedBlockchainQueryClient", "GetTokenBalanceCommand")
698
- .sc(GetTokenBalance$)
148
+ .sc(schemas_0.GetTokenBalance$)
699
149
  .build() {
700
150
  }
701
151
 
@@ -707,7 +157,7 @@ class GetTransactionCommand extends smithyClient.Command
707
157
  })
708
158
  .s("TietonChainQueryService", "GetTransaction", {})
709
159
  .n("ManagedBlockchainQueryClient", "GetTransactionCommand")
710
- .sc(GetTransaction$)
160
+ .sc(schemas_0.GetTransaction$)
711
161
  .build() {
712
162
  }
713
163
 
@@ -719,7 +169,7 @@ class ListAssetContractsCommand extends smithyClient.Command
719
169
  })
720
170
  .s("TietonChainQueryService", "ListAssetContracts", {})
721
171
  .n("ManagedBlockchainQueryClient", "ListAssetContractsCommand")
722
- .sc(ListAssetContracts$)
172
+ .sc(schemas_0.ListAssetContracts$)
723
173
  .build() {
724
174
  }
725
175
 
@@ -731,7 +181,7 @@ class ListFilteredTransactionEventsCommand extends smithyClient.Command
731
181
  })
732
182
  .s("TietonChainQueryService", "ListFilteredTransactionEvents", {})
733
183
  .n("ManagedBlockchainQueryClient", "ListFilteredTransactionEventsCommand")
734
- .sc(ListFilteredTransactionEvents$)
184
+ .sc(schemas_0.ListFilteredTransactionEvents$)
735
185
  .build() {
736
186
  }
737
187
 
@@ -743,7 +193,7 @@ class ListTokenBalancesCommand extends smithyClient.Command
743
193
  })
744
194
  .s("TietonChainQueryService", "ListTokenBalances", {})
745
195
  .n("ManagedBlockchainQueryClient", "ListTokenBalancesCommand")
746
- .sc(ListTokenBalances$)
196
+ .sc(schemas_0.ListTokenBalances$)
747
197
  .build() {
748
198
  }
749
199
 
@@ -755,7 +205,7 @@ class ListTransactionEventsCommand extends smithyClient.Command
755
205
  })
756
206
  .s("TietonChainQueryService", "ListTransactionEvents", {})
757
207
  .n("ManagedBlockchainQueryClient", "ListTransactionEventsCommand")
758
- .sc(ListTransactionEvents$)
208
+ .sc(schemas_0.ListTransactionEvents$)
759
209
  .build() {
760
210
  }
761
211
 
@@ -767,7 +217,7 @@ class ListTransactionsCommand extends smithyClient.Command
767
217
  })
768
218
  .s("TietonChainQueryService", "ListTransactions", {})
769
219
  .n("ManagedBlockchainQueryClient", "ListTransactionsCommand")
770
- .sc(ListTransactions$)
220
+ .sc(schemas_0.ListTransactions$)
771
221
  .build() {
772
222
  }
773
223
 
@@ -867,94 +317,46 @@ Object.defineProperty(exports, "__Client", {
867
317
  enumerable: true,
868
318
  get: function () { return smithyClient.Client; }
869
319
  });
870
- exports.AccessDeniedException = AccessDeniedException;
871
- exports.AccessDeniedException$ = AccessDeniedException$;
872
- exports.AddressIdentifierFilter$ = AddressIdentifierFilter$;
873
- exports.AssetContract$ = AssetContract$;
874
- exports.BatchGetTokenBalance$ = BatchGetTokenBalance$;
320
+ Object.defineProperty(exports, "ManagedBlockchainQueryServiceException", {
321
+ enumerable: true,
322
+ get: function () { return ManagedBlockchainQueryServiceException.ManagedBlockchainQueryServiceException; }
323
+ });
875
324
  exports.BatchGetTokenBalanceCommand = BatchGetTokenBalanceCommand;
876
- exports.BatchGetTokenBalanceErrorItem$ = BatchGetTokenBalanceErrorItem$;
877
- exports.BatchGetTokenBalanceInput$ = BatchGetTokenBalanceInput$;
878
- exports.BatchGetTokenBalanceInputItem$ = BatchGetTokenBalanceInputItem$;
879
- exports.BatchGetTokenBalanceOutput$ = BatchGetTokenBalanceOutput$;
880
- exports.BatchGetTokenBalanceOutputItem$ = BatchGetTokenBalanceOutputItem$;
881
- exports.BlockchainInstant$ = BlockchainInstant$;
882
325
  exports.ConfirmationStatus = ConfirmationStatus;
883
- exports.ConfirmationStatusFilter$ = ConfirmationStatusFilter$;
884
- exports.ContractFilter$ = ContractFilter$;
885
- exports.ContractIdentifier$ = ContractIdentifier$;
886
- exports.ContractMetadata$ = ContractMetadata$;
887
326
  exports.ErrorType = ErrorType;
888
327
  exports.ExecutionStatus = ExecutionStatus;
889
- exports.GetAssetContract$ = GetAssetContract$;
890
328
  exports.GetAssetContractCommand = GetAssetContractCommand;
891
- exports.GetAssetContractInput$ = GetAssetContractInput$;
892
- exports.GetAssetContractOutput$ = GetAssetContractOutput$;
893
- exports.GetTokenBalance$ = GetTokenBalance$;
894
329
  exports.GetTokenBalanceCommand = GetTokenBalanceCommand;
895
- exports.GetTokenBalanceInput$ = GetTokenBalanceInput$;
896
- exports.GetTokenBalanceOutput$ = GetTokenBalanceOutput$;
897
- exports.GetTransaction$ = GetTransaction$;
898
330
  exports.GetTransactionCommand = GetTransactionCommand;
899
- exports.GetTransactionInput$ = GetTransactionInput$;
900
- exports.GetTransactionOutput$ = GetTransactionOutput$;
901
- exports.InternalServerException = InternalServerException;
902
- exports.InternalServerException$ = InternalServerException$;
903
- exports.ListAssetContracts$ = ListAssetContracts$;
904
331
  exports.ListAssetContractsCommand = ListAssetContractsCommand;
905
- exports.ListAssetContractsInput$ = ListAssetContractsInput$;
906
- exports.ListAssetContractsOutput$ = ListAssetContractsOutput$;
907
- exports.ListFilteredTransactionEvents$ = ListFilteredTransactionEvents$;
908
332
  exports.ListFilteredTransactionEventsCommand = ListFilteredTransactionEventsCommand;
909
- exports.ListFilteredTransactionEventsInput$ = ListFilteredTransactionEventsInput$;
910
- exports.ListFilteredTransactionEventsOutput$ = ListFilteredTransactionEventsOutput$;
911
- exports.ListFilteredTransactionEventsSort$ = ListFilteredTransactionEventsSort$;
912
333
  exports.ListFilteredTransactionEventsSortBy = ListFilteredTransactionEventsSortBy;
913
- exports.ListTokenBalances$ = ListTokenBalances$;
914
334
  exports.ListTokenBalancesCommand = ListTokenBalancesCommand;
915
- exports.ListTokenBalancesInput$ = ListTokenBalancesInput$;
916
- exports.ListTokenBalancesOutput$ = ListTokenBalancesOutput$;
917
- exports.ListTransactionEvents$ = ListTransactionEvents$;
918
335
  exports.ListTransactionEventsCommand = ListTransactionEventsCommand;
919
- exports.ListTransactionEventsInput$ = ListTransactionEventsInput$;
920
- exports.ListTransactionEventsOutput$ = ListTransactionEventsOutput$;
921
- exports.ListTransactions$ = ListTransactions$;
922
336
  exports.ListTransactionsCommand = ListTransactionsCommand;
923
- exports.ListTransactionsInput$ = ListTransactionsInput$;
924
- exports.ListTransactionsOutput$ = ListTransactionsOutput$;
925
- exports.ListTransactionsSort$ = ListTransactionsSort$;
926
337
  exports.ListTransactionsSortBy = ListTransactionsSortBy;
927
338
  exports.ManagedBlockchainQuery = ManagedBlockchainQuery;
928
339
  exports.ManagedBlockchainQueryClient = ManagedBlockchainQueryClient;
929
- exports.ManagedBlockchainQueryServiceException = ManagedBlockchainQueryServiceException;
930
- exports.ManagedBlockchainQueryServiceException$ = ManagedBlockchainQueryServiceException$;
931
- exports.OwnerFilter$ = OwnerFilter$;
932
- exports.OwnerIdentifier$ = OwnerIdentifier$;
933
340
  exports.QueryNetwork = QueryNetwork;
934
341
  exports.QueryTokenStandard = QueryTokenStandard;
935
342
  exports.QueryTransactionEventType = QueryTransactionEventType;
936
- exports.ResourceNotFoundException = ResourceNotFoundException;
937
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
938
343
  exports.ResourceType = ResourceType;
939
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
940
- exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
941
344
  exports.SortOrder = SortOrder;
942
- exports.ThrottlingException = ThrottlingException;
943
- exports.ThrottlingException$ = ThrottlingException$;
944
- exports.TimeFilter$ = TimeFilter$;
945
- exports.TokenBalance$ = TokenBalance$;
946
- exports.TokenFilter$ = TokenFilter$;
947
- exports.TokenIdentifier$ = TokenIdentifier$;
948
- exports.Transaction$ = Transaction$;
949
- exports.TransactionEvent$ = TransactionEvent$;
950
- exports.TransactionOutputItem$ = TransactionOutputItem$;
951
- exports.ValidationException = ValidationException;
952
- exports.ValidationException$ = ValidationException$;
953
- exports.ValidationExceptionField$ = ValidationExceptionField$;
954
345
  exports.ValidationExceptionReason = ValidationExceptionReason;
955
- exports.VoutFilter$ = VoutFilter$;
956
346
  exports.paginateListAssetContracts = paginateListAssetContracts;
957
347
  exports.paginateListFilteredTransactionEvents = paginateListFilteredTransactionEvents;
958
348
  exports.paginateListTokenBalances = paginateListTokenBalances;
959
349
  exports.paginateListTransactionEvents = paginateListTransactionEvents;
960
350
  exports.paginateListTransactions = paginateListTransactions;
351
+ Object.keys(schemas_0).forEach(function (k) {
352
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
353
+ enumerable: true,
354
+ get: function () { return schemas_0[k]; }
355
+ });
356
+ });
357
+ Object.keys(errors).forEach(function (k) {
358
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
359
+ enumerable: true,
360
+ get: function () { return errors[k]; }
361
+ });
362
+ });