@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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ManagedBlockchainQueryServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class ManagedBlockchainQueryServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, ManagedBlockchainQueryServiceException.prototype);
10
+ }
11
+ }
12
+ exports.ManagedBlockchainQueryServiceException = ManagedBlockchainQueryServiceException;
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
+ const ManagedBlockchainQueryServiceException_1 = require("./ManagedBlockchainQueryServiceException");
5
+ class AccessDeniedException extends ManagedBlockchainQueryServiceException_1.ManagedBlockchainQueryServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccessDeniedException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
+ }
16
+ }
17
+ exports.AccessDeniedException = AccessDeniedException;
18
+ class InternalServerException extends ManagedBlockchainQueryServiceException_1.ManagedBlockchainQueryServiceException {
19
+ name = "InternalServerException";
20
+ $fault = "server";
21
+ $retryable = {};
22
+ retryAfterSeconds;
23
+ constructor(opts) {
24
+ super({
25
+ name: "InternalServerException",
26
+ $fault: "server",
27
+ ...opts,
28
+ });
29
+ Object.setPrototypeOf(this, InternalServerException.prototype);
30
+ this.retryAfterSeconds = opts.retryAfterSeconds;
31
+ }
32
+ }
33
+ exports.InternalServerException = InternalServerException;
34
+ class ResourceNotFoundException extends ManagedBlockchainQueryServiceException_1.ManagedBlockchainQueryServiceException {
35
+ name = "ResourceNotFoundException";
36
+ $fault = "client";
37
+ resourceId;
38
+ resourceType;
39
+ constructor(opts) {
40
+ super({
41
+ name: "ResourceNotFoundException",
42
+ $fault: "client",
43
+ ...opts,
44
+ });
45
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
46
+ this.resourceId = opts.resourceId;
47
+ this.resourceType = opts.resourceType;
48
+ }
49
+ }
50
+ exports.ResourceNotFoundException = ResourceNotFoundException;
51
+ class ServiceQuotaExceededException extends ManagedBlockchainQueryServiceException_1.ManagedBlockchainQueryServiceException {
52
+ name = "ServiceQuotaExceededException";
53
+ $fault = "client";
54
+ resourceId;
55
+ resourceType;
56
+ serviceCode;
57
+ quotaCode;
58
+ constructor(opts) {
59
+ super({
60
+ name: "ServiceQuotaExceededException",
61
+ $fault: "client",
62
+ ...opts,
63
+ });
64
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
65
+ this.resourceId = opts.resourceId;
66
+ this.resourceType = opts.resourceType;
67
+ this.serviceCode = opts.serviceCode;
68
+ this.quotaCode = opts.quotaCode;
69
+ }
70
+ }
71
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
72
+ class ThrottlingException extends ManagedBlockchainQueryServiceException_1.ManagedBlockchainQueryServiceException {
73
+ name = "ThrottlingException";
74
+ $fault = "client";
75
+ $retryable = {
76
+ throttling: true,
77
+ };
78
+ serviceCode;
79
+ quotaCode;
80
+ retryAfterSeconds;
81
+ constructor(opts) {
82
+ super({
83
+ name: "ThrottlingException",
84
+ $fault: "client",
85
+ ...opts,
86
+ });
87
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
88
+ this.serviceCode = opts.serviceCode;
89
+ this.quotaCode = opts.quotaCode;
90
+ this.retryAfterSeconds = opts.retryAfterSeconds;
91
+ }
92
+ }
93
+ exports.ThrottlingException = ThrottlingException;
94
+ class ValidationException extends ManagedBlockchainQueryServiceException_1.ManagedBlockchainQueryServiceException {
95
+ name = "ValidationException";
96
+ $fault = "client";
97
+ reason;
98
+ fieldList;
99
+ constructor(opts) {
100
+ super({
101
+ name: "ValidationException",
102
+ $fault: "client",
103
+ ...opts,
104
+ });
105
+ Object.setPrototypeOf(this, ValidationException.prototype);
106
+ this.reason = opts.reason;
107
+ this.fieldList = opts.fieldList;
108
+ }
109
+ }
110
+ exports.ValidationException = ValidationException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2023-05-04",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.managedblockchainquery",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2023-05-04",
33
35
  serviceTarget: "TietonChainQueryService",
34
36
  },
@@ -0,0 +1,459 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchGetTokenBalance$ = exports.VoutFilter$ = exports.ValidationExceptionField$ = exports.TransactionOutputItem$ = exports.TransactionEvent$ = exports.Transaction$ = exports.TokenIdentifier$ = exports.TokenFilter$ = exports.TokenBalance$ = exports.TimeFilter$ = exports.OwnerIdentifier$ = exports.OwnerFilter$ = exports.ListTransactionsSort$ = exports.ListTransactionsOutput$ = exports.ListTransactionsInput$ = exports.ListTransactionEventsOutput$ = exports.ListTransactionEventsInput$ = exports.ListTokenBalancesOutput$ = exports.ListTokenBalancesInput$ = exports.ListFilteredTransactionEventsSort$ = exports.ListFilteredTransactionEventsOutput$ = exports.ListFilteredTransactionEventsInput$ = exports.ListAssetContractsOutput$ = exports.ListAssetContractsInput$ = exports.GetTransactionOutput$ = exports.GetTransactionInput$ = exports.GetTokenBalanceOutput$ = exports.GetTokenBalanceInput$ = exports.GetAssetContractOutput$ = exports.GetAssetContractInput$ = exports.ContractMetadata$ = exports.ContractIdentifier$ = exports.ContractFilter$ = exports.ConfirmationStatusFilter$ = exports.BlockchainInstant$ = exports.BatchGetTokenBalanceOutputItem$ = exports.BatchGetTokenBalanceOutput$ = exports.BatchGetTokenBalanceInputItem$ = exports.BatchGetTokenBalanceInput$ = exports.BatchGetTokenBalanceErrorItem$ = exports.AssetContract$ = exports.AddressIdentifierFilter$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.ManagedBlockchainQueryServiceException$ = void 0;
4
+ exports.ListTransactions$ = exports.ListTransactionEvents$ = exports.ListTokenBalances$ = exports.ListFilteredTransactionEvents$ = exports.ListAssetContracts$ = exports.GetTransaction$ = exports.GetTokenBalance$ = exports.GetAssetContract$ = void 0;
5
+ const _AC = "AssetContract";
6
+ const _ACL = "AssetContractList";
7
+ const _ADE = "AccessDeniedException";
8
+ const _AIF = "AddressIdentifierFilter";
9
+ const _BGTB = "BatchGetTokenBalance";
10
+ const _BGTBE = "BatchGetTokenBalanceErrors";
11
+ const _BGTBEI = "BatchGetTokenBalanceErrorItem";
12
+ const _BGTBI = "BatchGetTokenBalanceInput";
13
+ const _BGTBII = "BatchGetTokenBalanceInputItem";
14
+ const _BGTBO = "BatchGetTokenBalanceOutput";
15
+ const _BGTBOI = "BatchGetTokenBalanceOutputItem";
16
+ const _BGTBOL = "BatchGetTokenBalanceOutputList";
17
+ const _BI = "BlockchainInstant";
18
+ const _CF = "ContractFilter";
19
+ const _CI = "ContractIdentifier";
20
+ const _CM = "ContractMetadata";
21
+ const _CSF = "ConfirmationStatusFilter";
22
+ const _GAC = "GetAssetContract";
23
+ const _GACI = "GetAssetContractInput";
24
+ const _GACO = "GetAssetContractOutput";
25
+ const _GT = "GetTransaction";
26
+ const _GTB = "GetTokenBalance";
27
+ const _GTBI = "GetTokenBalanceInput";
28
+ const _GTBIL = "GetTokenBalanceInputList";
29
+ const _GTBO = "GetTokenBalanceOutput";
30
+ const _GTI = "GetTransactionInput";
31
+ const _GTO = "GetTransactionOutput";
32
+ const _ISE = "InternalServerException";
33
+ const _LAC = "ListAssetContracts";
34
+ const _LACI = "ListAssetContractsInput";
35
+ const _LACO = "ListAssetContractsOutput";
36
+ const _LFTE = "ListFilteredTransactionEvents";
37
+ const _LFTEI = "ListFilteredTransactionEventsInput";
38
+ const _LFTEO = "ListFilteredTransactionEventsOutput";
39
+ const _LFTES = "ListFilteredTransactionEventsSort";
40
+ const _LT = "ListTransactions";
41
+ const _LTB = "ListTokenBalances";
42
+ const _LTBI = "ListTokenBalancesInput";
43
+ const _LTBO = "ListTokenBalancesOutput";
44
+ const _LTE = "ListTransactionEvents";
45
+ const _LTEI = "ListTransactionEventsInput";
46
+ const _LTEO = "ListTransactionEventsOutput";
47
+ const _LTI = "ListTransactionsInput";
48
+ const _LTO = "ListTransactionsOutput";
49
+ const _LTS = "ListTransactionsSort";
50
+ const _OF = "OwnerFilter";
51
+ const _OI = "OwnerIdentifier";
52
+ const _RA = "Retry-After";
53
+ const _RNFE = "ResourceNotFoundException";
54
+ const _SQEE = "ServiceQuotaExceededException";
55
+ const _T = "Transaction";
56
+ const _TB = "TokenBalance";
57
+ const _TBL = "TokenBalanceList";
58
+ const _TE = "ThrottlingException";
59
+ const _TEL = "TransactionEventList";
60
+ const _TEr = "TransactionEvent";
61
+ const _TF = "TimeFilter";
62
+ const _TFo = "TokenFilter";
63
+ const _TI = "TokenIdentifier";
64
+ const _TOI = "TransactionOutputItem";
65
+ const _TOL = "TransactionOutputList";
66
+ const _VE = "ValidationException";
67
+ const _VEF = "ValidationExceptionField";
68
+ const _VEFL = "ValidationExceptionFieldList";
69
+ const _VF = "VoutFilter";
70
+ const _a = "address";
71
+ const _aBI = "atBlockchainInstant";
72
+ const _aIF = "addressIdentifierFilter";
73
+ const _b = "balance";
74
+ const _bH = "blockHash";
75
+ const _bI = "blockchainInstant";
76
+ const _bN = "blockNumber";
77
+ const _c = "client";
78
+ const _cA = "contractAddress";
79
+ const _cF = "contractFilter";
80
+ const _cGU = "cumulativeGasUsed";
81
+ const _cI = "contractIdentifier";
82
+ const _cS = "confirmationStatus";
83
+ const _cSF = "confirmationStatusFilter";
84
+ const _co = "contracts";
85
+ const _d = "decimals";
86
+ const _dA = "deployerAddress";
87
+ const _e = "error";
88
+ const _eC = "errorCode";
89
+ const _eGP = "effectiveGasPrice";
90
+ const _eM = "errorMessage";
91
+ const _eS = "executionStatus";
92
+ const _eT = "errorType";
93
+ const _eTv = "eventType";
94
+ const _er = "errors";
95
+ const _ev = "events";
96
+ const _f = "from";
97
+ const _fBI = "fromBlockchainInstant";
98
+ const _fL = "fieldList";
99
+ const _gTBI = "getTokenBalanceInputs";
100
+ const _gU = "gasUsed";
101
+ const _h = "http";
102
+ const _hE = "httpError";
103
+ const _hH = "httpHeader";
104
+ const _i = "include";
105
+ const _lUT = "lastUpdatedTime";
106
+ const _m = "message";
107
+ const _mR = "maxResults";
108
+ const _me = "metadata";
109
+ const _n = "network";
110
+ const _nOT = "numberOfTransactions";
111
+ const _nT = "nextToken";
112
+ const _na = "name";
113
+ const _oF = "ownerFilter";
114
+ const _oI = "ownerIdentifier";
115
+ const _qC = "quotaCode";
116
+ const _r = "reason";
117
+ const _rAS = "retryAfterSeconds";
118
+ const _rI = "resourceId";
119
+ const _rT = "resourceType";
120
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.managedblockchainquery";
121
+ const _sB = "sortBy";
122
+ const _sC = "serviceCode";
123
+ const _sO = "sortOrder";
124
+ const _sR = "signatureR";
125
+ const _sS = "signatureS";
126
+ const _sV = "signatureV";
127
+ const _sVI = "spentVoutIndex";
128
+ const _sVTH = "spentVoutTransactionHash";
129
+ const _sVTI = "spentVoutTransactionId";
130
+ const _se = "server";
131
+ const _so = "sort";
132
+ const _sy = "symbol";
133
+ const _t = "time";
134
+ const _tB = "tokenBalances";
135
+ const _tBI = "toBlockchainInstant";
136
+ const _tETA = "transactionEventToAddress";
137
+ const _tF = "timeFilter";
138
+ const _tFo = "tokenFilter";
139
+ const _tFr = "transactionFee";
140
+ const _tH = "transactionHash";
141
+ const _tI = "tokenIdentifier";
142
+ const _tIo = "tokenId";
143
+ const _tIr = "transactionId";
144
+ const _tIra = "transactionIndex";
145
+ const _tS = "tokenStandard";
146
+ const _tT = "transactionTimestamp";
147
+ const _to = "to";
148
+ const _tr = "transaction";
149
+ const _tra = "transactions";
150
+ const _v = "value";
151
+ const _vF = "voutFilter";
152
+ const _vI = "voutIndex";
153
+ const _vS = "voutSpent";
154
+ const n0 = "com.amazonaws.managedblockchainquery";
155
+ const schema_1 = require("@smithy/core/schema");
156
+ const errors_1 = require("../models/errors");
157
+ const ManagedBlockchainQueryServiceException_1 = require("../models/ManagedBlockchainQueryServiceException");
158
+ const _s_registry = schema_1.TypeRegistry.for(_s);
159
+ exports.ManagedBlockchainQueryServiceException$ = [-3, _s, "ManagedBlockchainQueryServiceException", 0, [], []];
160
+ _s_registry.registerError(exports.ManagedBlockchainQueryServiceException$, ManagedBlockchainQueryServiceException_1.ManagedBlockchainQueryServiceException);
161
+ const n0_registry = schema_1.TypeRegistry.for(n0);
162
+ exports.AccessDeniedException$ = [-3, n0, _ADE,
163
+ { [_e]: _c, [_hE]: 403 },
164
+ [_m],
165
+ [0], 1
166
+ ];
167
+ n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
168
+ exports.InternalServerException$ = [-3, n0, _ISE,
169
+ { [_e]: _se, [_hE]: 500 },
170
+ [_m, _rAS],
171
+ [0, [1, { [_hH]: _RA }]], 1
172
+ ];
173
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
174
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
175
+ { [_e]: _c, [_hE]: 404 },
176
+ [_m, _rI, _rT],
177
+ [0, 0, 0], 3
178
+ ];
179
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
180
+ exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
181
+ { [_e]: _c, [_hE]: 402 },
182
+ [_m, _rI, _rT, _sC, _qC],
183
+ [0, 0, 0, 0, 0], 5
184
+ ];
185
+ n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
186
+ exports.ThrottlingException$ = [-3, n0, _TE,
187
+ { [_e]: _c, [_hE]: 429 },
188
+ [_m, _sC, _qC, _rAS],
189
+ [0, 0, 0, [1, { [_hH]: _RA }]], 3
190
+ ];
191
+ n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
192
+ exports.ValidationException$ = [-3, n0, _VE,
193
+ { [_e]: _c, [_hE]: 400 },
194
+ [_m, _r, _fL],
195
+ [0, 0, () => ValidationExceptionFieldList], 2
196
+ ];
197
+ n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
198
+ exports.errorTypeRegistries = [
199
+ _s_registry,
200
+ n0_registry,
201
+ ];
202
+ exports.AddressIdentifierFilter$ = [3, n0, _AIF,
203
+ 0,
204
+ [_tETA],
205
+ [64 | 0], 1
206
+ ];
207
+ exports.AssetContract$ = [3, n0, _AC,
208
+ 0,
209
+ [_cI, _tS, _dA],
210
+ [() => exports.ContractIdentifier$, 0, 0], 3
211
+ ];
212
+ exports.BatchGetTokenBalanceErrorItem$ = [3, n0, _BGTBEI,
213
+ 0,
214
+ [_eC, _eM, _eT, _tI, _oI, _aBI],
215
+ [0, 0, 0, () => exports.TokenIdentifier$, () => exports.OwnerIdentifier$, () => exports.BlockchainInstant$], 3
216
+ ];
217
+ exports.BatchGetTokenBalanceInput$ = [3, n0, _BGTBI,
218
+ 0,
219
+ [_gTBI],
220
+ [() => GetTokenBalanceInputList]
221
+ ];
222
+ exports.BatchGetTokenBalanceInputItem$ = [3, n0, _BGTBII,
223
+ 0,
224
+ [_tI, _oI, _aBI],
225
+ [() => exports.TokenIdentifier$, () => exports.OwnerIdentifier$, () => exports.BlockchainInstant$], 2
226
+ ];
227
+ exports.BatchGetTokenBalanceOutput$ = [3, n0, _BGTBO,
228
+ 0,
229
+ [_tB, _er],
230
+ [() => BatchGetTokenBalanceOutputList, () => BatchGetTokenBalanceErrors], 2
231
+ ];
232
+ exports.BatchGetTokenBalanceOutputItem$ = [3, n0, _BGTBOI,
233
+ 0,
234
+ [_b, _aBI, _oI, _tI, _lUT],
235
+ [0, () => exports.BlockchainInstant$, () => exports.OwnerIdentifier$, () => exports.TokenIdentifier$, () => exports.BlockchainInstant$], 2
236
+ ];
237
+ exports.BlockchainInstant$ = [3, n0, _BI,
238
+ 0,
239
+ [_t],
240
+ [4]
241
+ ];
242
+ exports.ConfirmationStatusFilter$ = [3, n0, _CSF,
243
+ 0,
244
+ [_i],
245
+ [64 | 0], 1
246
+ ];
247
+ exports.ContractFilter$ = [3, n0, _CF,
248
+ 0,
249
+ [_n, _tS, _dA],
250
+ [0, 0, 0], 3
251
+ ];
252
+ exports.ContractIdentifier$ = [3, n0, _CI,
253
+ 0,
254
+ [_n, _cA],
255
+ [0, 0], 2
256
+ ];
257
+ exports.ContractMetadata$ = [3, n0, _CM,
258
+ 0,
259
+ [_na, _sy, _d],
260
+ [0, 0, 1]
261
+ ];
262
+ exports.GetAssetContractInput$ = [3, n0, _GACI,
263
+ 0,
264
+ [_cI],
265
+ [() => exports.ContractIdentifier$], 1
266
+ ];
267
+ exports.GetAssetContractOutput$ = [3, n0, _GACO,
268
+ 0,
269
+ [_cI, _tS, _dA, _me],
270
+ [() => exports.ContractIdentifier$, 0, 0, () => exports.ContractMetadata$], 3
271
+ ];
272
+ exports.GetTokenBalanceInput$ = [3, n0, _GTBI,
273
+ 0,
274
+ [_tI, _oI, _aBI],
275
+ [() => exports.TokenIdentifier$, () => exports.OwnerIdentifier$, () => exports.BlockchainInstant$], 2
276
+ ];
277
+ exports.GetTokenBalanceOutput$ = [3, n0, _GTBO,
278
+ 0,
279
+ [_b, _aBI, _oI, _tI, _lUT],
280
+ [0, () => exports.BlockchainInstant$, () => exports.OwnerIdentifier$, () => exports.TokenIdentifier$, () => exports.BlockchainInstant$], 2
281
+ ];
282
+ exports.GetTransactionInput$ = [3, n0, _GTI,
283
+ 0,
284
+ [_n, _tH, _tIr],
285
+ [0, 0, 0], 1
286
+ ];
287
+ exports.GetTransactionOutput$ = [3, n0, _GTO,
288
+ 0,
289
+ [_tr],
290
+ [() => exports.Transaction$], 1
291
+ ];
292
+ exports.ListAssetContractsInput$ = [3, n0, _LACI,
293
+ 0,
294
+ [_cF, _nT, _mR],
295
+ [() => exports.ContractFilter$, 0, 1], 1
296
+ ];
297
+ exports.ListAssetContractsOutput$ = [3, n0, _LACO,
298
+ 0,
299
+ [_co, _nT],
300
+ [() => AssetContractList, 0], 1
301
+ ];
302
+ exports.ListFilteredTransactionEventsInput$ = [3, n0, _LFTEI,
303
+ 0,
304
+ [_n, _aIF, _tF, _vF, _cSF, _so, _nT, _mR],
305
+ [0, () => exports.AddressIdentifierFilter$, () => exports.TimeFilter$, () => exports.VoutFilter$, () => exports.ConfirmationStatusFilter$, () => exports.ListFilteredTransactionEventsSort$, 0, 1], 2
306
+ ];
307
+ exports.ListFilteredTransactionEventsOutput$ = [3, n0, _LFTEO,
308
+ 0,
309
+ [_ev, _nT],
310
+ [() => TransactionEventList, 0], 1
311
+ ];
312
+ exports.ListFilteredTransactionEventsSort$ = [3, n0, _LFTES,
313
+ 0,
314
+ [_sB, _sO],
315
+ [0, 0]
316
+ ];
317
+ exports.ListTokenBalancesInput$ = [3, n0, _LTBI,
318
+ 0,
319
+ [_tFo, _oF, _nT, _mR],
320
+ [() => exports.TokenFilter$, () => exports.OwnerFilter$, 0, 1], 1
321
+ ];
322
+ exports.ListTokenBalancesOutput$ = [3, n0, _LTBO,
323
+ 0,
324
+ [_tB, _nT],
325
+ [() => TokenBalanceList, 0], 1
326
+ ];
327
+ exports.ListTransactionEventsInput$ = [3, n0, _LTEI,
328
+ 0,
329
+ [_n, _tH, _tIr, _nT, _mR],
330
+ [0, 0, 0, 0, 1], 1
331
+ ];
332
+ exports.ListTransactionEventsOutput$ = [3, n0, _LTEO,
333
+ 0,
334
+ [_ev, _nT],
335
+ [() => TransactionEventList, 0], 1
336
+ ];
337
+ exports.ListTransactionsInput$ = [3, n0, _LTI,
338
+ 0,
339
+ [_a, _n, _fBI, _tBI, _so, _nT, _mR, _cSF],
340
+ [0, 0, () => exports.BlockchainInstant$, () => exports.BlockchainInstant$, () => exports.ListTransactionsSort$, 0, 1, () => exports.ConfirmationStatusFilter$], 2
341
+ ];
342
+ exports.ListTransactionsOutput$ = [3, n0, _LTO,
343
+ 0,
344
+ [_tra, _nT],
345
+ [() => TransactionOutputList, 0], 1
346
+ ];
347
+ exports.ListTransactionsSort$ = [3, n0, _LTS,
348
+ 0,
349
+ [_sB, _sO],
350
+ [0, 0]
351
+ ];
352
+ exports.OwnerFilter$ = [3, n0, _OF,
353
+ 0,
354
+ [_a],
355
+ [0], 1
356
+ ];
357
+ exports.OwnerIdentifier$ = [3, n0, _OI,
358
+ 0,
359
+ [_a],
360
+ [0], 1
361
+ ];
362
+ exports.TimeFilter$ = [3, n0, _TF,
363
+ 0,
364
+ [_f, _to],
365
+ [() => exports.BlockchainInstant$, () => exports.BlockchainInstant$]
366
+ ];
367
+ exports.TokenBalance$ = [3, n0, _TB,
368
+ 0,
369
+ [_b, _aBI, _oI, _tI, _lUT],
370
+ [0, () => exports.BlockchainInstant$, () => exports.OwnerIdentifier$, () => exports.TokenIdentifier$, () => exports.BlockchainInstant$], 2
371
+ ];
372
+ exports.TokenFilter$ = [3, n0, _TFo,
373
+ 0,
374
+ [_n, _cA, _tIo],
375
+ [0, 0, 0], 1
376
+ ];
377
+ exports.TokenIdentifier$ = [3, n0, _TI,
378
+ 0,
379
+ [_n, _cA, _tIo],
380
+ [0, 0, 0], 1
381
+ ];
382
+ exports.Transaction$ = [3, n0, _T,
383
+ 0,
384
+ [_n, _tH, _tT, _tIra, _nOT, _to, _bH, _bN, _f, _cA, _gU, _cGU, _eGP, _sV, _sR, _sS, _tFr, _tIr, _cS, _eS],
385
+ [0, 0, 4, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0], 6
386
+ ];
387
+ exports.TransactionEvent$ = [3, n0, _TEr,
388
+ 0,
389
+ [_n, _tH, _eTv, _f, _to, _v, _cA, _tIo, _tIr, _vI, _vS, _sVTI, _sVTH, _sVI, _bI, _cS],
390
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 1, () => exports.BlockchainInstant$, 0], 3
391
+ ];
392
+ exports.TransactionOutputItem$ = [3, n0, _TOI,
393
+ 0,
394
+ [_tH, _n, _tT, _tIr, _cS],
395
+ [0, 0, 4, 0, 0], 3
396
+ ];
397
+ exports.ValidationExceptionField$ = [3, n0, _VEF,
398
+ 0,
399
+ [_na, _m],
400
+ [0, 0], 2
401
+ ];
402
+ exports.VoutFilter$ = [3, n0, _VF,
403
+ 0,
404
+ [_vS],
405
+ [2], 1
406
+ ];
407
+ var AssetContractList = [1, n0, _ACL,
408
+ 0, () => exports.AssetContract$
409
+ ];
410
+ var BatchGetTokenBalanceErrors = [1, n0, _BGTBE,
411
+ 0, () => exports.BatchGetTokenBalanceErrorItem$
412
+ ];
413
+ var BatchGetTokenBalanceOutputList = [1, n0, _BGTBOL,
414
+ 0, () => exports.BatchGetTokenBalanceOutputItem$
415
+ ];
416
+ var ChainAddresses = 64 | 0;
417
+ var ConfirmationStatusIncludeList = 64 | 0;
418
+ var GetTokenBalanceInputList = [1, n0, _GTBIL,
419
+ 0, () => exports.BatchGetTokenBalanceInputItem$
420
+ ];
421
+ var TokenBalanceList = [1, n0, _TBL,
422
+ 0, () => exports.TokenBalance$
423
+ ];
424
+ var TransactionEventList = [1, n0, _TEL,
425
+ 0, () => exports.TransactionEvent$
426
+ ];
427
+ var TransactionOutputList = [1, n0, _TOL,
428
+ 0, () => exports.TransactionOutputItem$
429
+ ];
430
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
431
+ 0, () => exports.ValidationExceptionField$
432
+ ];
433
+ exports.BatchGetTokenBalance$ = [9, n0, _BGTB,
434
+ { [_h]: ["POST", "/batch-get-token-balance", 200] }, () => exports.BatchGetTokenBalanceInput$, () => exports.BatchGetTokenBalanceOutput$
435
+ ];
436
+ exports.GetAssetContract$ = [9, n0, _GAC,
437
+ { [_h]: ["POST", "/get-asset-contract", 200] }, () => exports.GetAssetContractInput$, () => exports.GetAssetContractOutput$
438
+ ];
439
+ exports.GetTokenBalance$ = [9, n0, _GTB,
440
+ { [_h]: ["POST", "/get-token-balance", 200] }, () => exports.GetTokenBalanceInput$, () => exports.GetTokenBalanceOutput$
441
+ ];
442
+ exports.GetTransaction$ = [9, n0, _GT,
443
+ { [_h]: ["POST", "/get-transaction", 200] }, () => exports.GetTransactionInput$, () => exports.GetTransactionOutput$
444
+ ];
445
+ exports.ListAssetContracts$ = [9, n0, _LAC,
446
+ { [_h]: ["POST", "/list-asset-contracts", 200] }, () => exports.ListAssetContractsInput$, () => exports.ListAssetContractsOutput$
447
+ ];
448
+ exports.ListFilteredTransactionEvents$ = [9, n0, _LFTE,
449
+ { [_h]: ["POST", "/list-filtered-transaction-events", 200] }, () => exports.ListFilteredTransactionEventsInput$, () => exports.ListFilteredTransactionEventsOutput$
450
+ ];
451
+ exports.ListTokenBalances$ = [9, n0, _LTB,
452
+ { [_h]: ["POST", "/list-token-balances", 200] }, () => exports.ListTokenBalancesInput$, () => exports.ListTokenBalancesOutput$
453
+ ];
454
+ exports.ListTransactionEvents$ = [9, n0, _LTE,
455
+ { [_h]: ["POST", "/list-transaction-events", 200] }, () => exports.ListTransactionEventsInput$, () => exports.ListTransactionEventsOutput$
456
+ ];
457
+ exports.ListTransactions$ = [9, n0, _LT,
458
+ { [_h]: ["POST", "/list-transactions", 200] }, () => exports.ListTransactionsInput$, () => exports.ListTransactionsOutput$
459
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultManagedBlockchainQueryHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2023-05-04",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.managedblockchainquery",
30
+ errorTypeRegistries,
29
31
  version: "2023-05-04",
30
32
  serviceTarget: "TietonChainQueryService",
31
33
  },