@aws-sdk/client-managedblockchain-query 3.928.0 → 3.930.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 +593 -654
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ManagedBlockchainQueryClient.js +2 -0
- package/dist-es/commands/BatchGetTokenBalanceCommand.js +3 -9
- package/dist-es/commands/GetAssetContractCommand.js +3 -9
- package/dist-es/commands/GetTokenBalanceCommand.js +3 -9
- package/dist-es/commands/GetTransactionCommand.js +3 -9
- package/dist-es/commands/ListAssetContractsCommand.js +3 -9
- package/dist-es/commands/ListFilteredTransactionEventsCommand.js +3 -9
- package/dist-es/commands/ListTokenBalancesCommand.js +3 -9
- package/dist-es/commands/ListTransactionEventsCommand.js +3 -9
- package/dist-es/commands/ListTransactionsCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +558 -0
- package/dist-types/ManagedBlockchainQueryClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +68 -0
- package/dist-types/ts3.4/ManagedBlockchainQueryClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +73 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -575
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -83
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -113
|
@@ -0,0 +1,558 @@
|
|
|
1
|
+
const _AC = "AssetContract";
|
|
2
|
+
const _ACL = "AssetContractList";
|
|
3
|
+
const _ADE = "AccessDeniedException";
|
|
4
|
+
const _AIF = "AddressIdentifierFilter";
|
|
5
|
+
const _BGTB = "BatchGetTokenBalance";
|
|
6
|
+
const _BGTBE = "BatchGetTokenBalanceErrors";
|
|
7
|
+
const _BGTBEI = "BatchGetTokenBalanceErrorItem";
|
|
8
|
+
const _BGTBI = "BatchGetTokenBalanceInput";
|
|
9
|
+
const _BGTBII = "BatchGetTokenBalanceInputItem";
|
|
10
|
+
const _BGTBO = "BatchGetTokenBalanceOutput";
|
|
11
|
+
const _BGTBOI = "BatchGetTokenBalanceOutputItem";
|
|
12
|
+
const _BGTBOL = "BatchGetTokenBalanceOutputList";
|
|
13
|
+
const _BI = "BlockchainInstant";
|
|
14
|
+
const _CF = "ContractFilter";
|
|
15
|
+
const _CI = "ContractIdentifier";
|
|
16
|
+
const _CM = "ContractMetadata";
|
|
17
|
+
const _CSF = "ConfirmationStatusFilter";
|
|
18
|
+
const _GAC = "GetAssetContract";
|
|
19
|
+
const _GACI = "GetAssetContractInput";
|
|
20
|
+
const _GACO = "GetAssetContractOutput";
|
|
21
|
+
const _GT = "GetTransaction";
|
|
22
|
+
const _GTB = "GetTokenBalance";
|
|
23
|
+
const _GTBI = "GetTokenBalanceInput";
|
|
24
|
+
const _GTBIL = "GetTokenBalanceInputList";
|
|
25
|
+
const _GTBO = "GetTokenBalanceOutput";
|
|
26
|
+
const _GTI = "GetTransactionInput";
|
|
27
|
+
const _GTO = "GetTransactionOutput";
|
|
28
|
+
const _ISE = "InternalServerException";
|
|
29
|
+
const _LAC = "ListAssetContracts";
|
|
30
|
+
const _LACI = "ListAssetContractsInput";
|
|
31
|
+
const _LACO = "ListAssetContractsOutput";
|
|
32
|
+
const _LFTE = "ListFilteredTransactionEvents";
|
|
33
|
+
const _LFTEI = "ListFilteredTransactionEventsInput";
|
|
34
|
+
const _LFTEO = "ListFilteredTransactionEventsOutput";
|
|
35
|
+
const _LFTES = "ListFilteredTransactionEventsSort";
|
|
36
|
+
const _LT = "ListTransactions";
|
|
37
|
+
const _LTB = "ListTokenBalances";
|
|
38
|
+
const _LTBI = "ListTokenBalancesInput";
|
|
39
|
+
const _LTBO = "ListTokenBalancesOutput";
|
|
40
|
+
const _LTE = "ListTransactionEvents";
|
|
41
|
+
const _LTEI = "ListTransactionEventsInput";
|
|
42
|
+
const _LTEO = "ListTransactionEventsOutput";
|
|
43
|
+
const _LTI = "ListTransactionsInput";
|
|
44
|
+
const _LTO = "ListTransactionsOutput";
|
|
45
|
+
const _LTS = "ListTransactionsSort";
|
|
46
|
+
const _OF = "OwnerFilter";
|
|
47
|
+
const _OI = "OwnerIdentifier";
|
|
48
|
+
const _RA = "Retry-After";
|
|
49
|
+
const _RNFE = "ResourceNotFoundException";
|
|
50
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
51
|
+
const _T = "Transaction";
|
|
52
|
+
const _TB = "TokenBalance";
|
|
53
|
+
const _TBL = "TokenBalanceList";
|
|
54
|
+
const _TE = "ThrottlingException";
|
|
55
|
+
const _TEL = "TransactionEventList";
|
|
56
|
+
const _TEr = "TransactionEvent";
|
|
57
|
+
const _TF = "TimeFilter";
|
|
58
|
+
const _TFo = "TokenFilter";
|
|
59
|
+
const _TI = "TokenIdentifier";
|
|
60
|
+
const _TOI = "TransactionOutputItem";
|
|
61
|
+
const _TOL = "TransactionOutputList";
|
|
62
|
+
const _VE = "ValidationException";
|
|
63
|
+
const _VEF = "ValidationExceptionField";
|
|
64
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
65
|
+
const _VF = "VoutFilter";
|
|
66
|
+
const _a = "address";
|
|
67
|
+
const _aBI = "atBlockchainInstant";
|
|
68
|
+
const _aIF = "addressIdentifierFilter";
|
|
69
|
+
const _b = "balance";
|
|
70
|
+
const _bH = "blockHash";
|
|
71
|
+
const _bI = "blockchainInstant";
|
|
72
|
+
const _bN = "blockNumber";
|
|
73
|
+
const _c = "client";
|
|
74
|
+
const _cA = "contractAddress";
|
|
75
|
+
const _cF = "contractFilter";
|
|
76
|
+
const _cGU = "cumulativeGasUsed";
|
|
77
|
+
const _cI = "contractIdentifier";
|
|
78
|
+
const _cS = "confirmationStatus";
|
|
79
|
+
const _cSF = "confirmationStatusFilter";
|
|
80
|
+
const _co = "contracts";
|
|
81
|
+
const _d = "decimals";
|
|
82
|
+
const _dA = "deployerAddress";
|
|
83
|
+
const _e = "error";
|
|
84
|
+
const _eC = "errorCode";
|
|
85
|
+
const _eGP = "effectiveGasPrice";
|
|
86
|
+
const _eM = "errorMessage";
|
|
87
|
+
const _eS = "executionStatus";
|
|
88
|
+
const _eT = "errorType";
|
|
89
|
+
const _eTv = "eventType";
|
|
90
|
+
const _er = "errors";
|
|
91
|
+
const _ev = "events";
|
|
92
|
+
const _f = "from";
|
|
93
|
+
const _fBI = "fromBlockchainInstant";
|
|
94
|
+
const _fL = "fieldList";
|
|
95
|
+
const _gTBI = "getTokenBalanceInputs";
|
|
96
|
+
const _gU = "gasUsed";
|
|
97
|
+
const _h = "http";
|
|
98
|
+
const _hE = "httpError";
|
|
99
|
+
const _hH = "httpHeader";
|
|
100
|
+
const _i = "include";
|
|
101
|
+
const _lUT = "lastUpdatedTime";
|
|
102
|
+
const _m = "message";
|
|
103
|
+
const _mR = "maxResults";
|
|
104
|
+
const _me = "metadata";
|
|
105
|
+
const _n = "network";
|
|
106
|
+
const _nOT = "numberOfTransactions";
|
|
107
|
+
const _nT = "nextToken";
|
|
108
|
+
const _na = "name";
|
|
109
|
+
const _oF = "ownerFilter";
|
|
110
|
+
const _oI = "ownerIdentifier";
|
|
111
|
+
const _qC = "quotaCode";
|
|
112
|
+
const _r = "reason";
|
|
113
|
+
const _rAS = "retryAfterSeconds";
|
|
114
|
+
const _rI = "resourceId";
|
|
115
|
+
const _rT = "resourceType";
|
|
116
|
+
const _s = "symbol";
|
|
117
|
+
const _sB = "sortBy";
|
|
118
|
+
const _sC = "serviceCode";
|
|
119
|
+
const _sO = "sortOrder";
|
|
120
|
+
const _sR = "signatureR";
|
|
121
|
+
const _sS = "signatureS";
|
|
122
|
+
const _sV = "signatureV";
|
|
123
|
+
const _sVI = "spentVoutIndex";
|
|
124
|
+
const _sVTH = "spentVoutTransactionHash";
|
|
125
|
+
const _sVTI = "spentVoutTransactionId";
|
|
126
|
+
const _se = "server";
|
|
127
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.managedblockchainquery";
|
|
128
|
+
const _so = "sort";
|
|
129
|
+
const _t = "time";
|
|
130
|
+
const _tB = "tokenBalances";
|
|
131
|
+
const _tBI = "toBlockchainInstant";
|
|
132
|
+
const _tETA = "transactionEventToAddress";
|
|
133
|
+
const _tF = "timeFilter";
|
|
134
|
+
const _tFo = "tokenFilter";
|
|
135
|
+
const _tFr = "transactionFee";
|
|
136
|
+
const _tH = "transactionHash";
|
|
137
|
+
const _tI = "tokenIdentifier";
|
|
138
|
+
const _tIo = "tokenId";
|
|
139
|
+
const _tIr = "transactionId";
|
|
140
|
+
const _tIra = "transactionIndex";
|
|
141
|
+
const _tS = "tokenStandard";
|
|
142
|
+
const _tT = "transactionTimestamp";
|
|
143
|
+
const _to = "to";
|
|
144
|
+
const _tr = "transaction";
|
|
145
|
+
const _tra = "transactions";
|
|
146
|
+
const _v = "value";
|
|
147
|
+
const _vF = "voutFilter";
|
|
148
|
+
const _vI = "voutIndex";
|
|
149
|
+
const _vS = "voutSpent";
|
|
150
|
+
const n0 = "com.amazonaws.managedblockchainquery";
|
|
151
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
152
|
+
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
|
|
153
|
+
import { ManagedBlockchainQueryServiceException as __ManagedBlockchainQueryServiceException } from "../models/ManagedBlockchainQueryServiceException";
|
|
154
|
+
export var AccessDeniedException = [
|
|
155
|
+
-3,
|
|
156
|
+
n0,
|
|
157
|
+
_ADE,
|
|
158
|
+
{
|
|
159
|
+
[_e]: _c,
|
|
160
|
+
[_hE]: 403,
|
|
161
|
+
},
|
|
162
|
+
[_m],
|
|
163
|
+
[0],
|
|
164
|
+
];
|
|
165
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
166
|
+
export var AddressIdentifierFilter = [3, n0, _AIF, 0, [_tETA], [64 | 0]];
|
|
167
|
+
export var AssetContract = [3, n0, _AC, 0, [_cI, _tS, _dA], [() => ContractIdentifier, 0, 0]];
|
|
168
|
+
export var BatchGetTokenBalanceErrorItem = [
|
|
169
|
+
3,
|
|
170
|
+
n0,
|
|
171
|
+
_BGTBEI,
|
|
172
|
+
0,
|
|
173
|
+
[_tI, _oI, _aBI, _eC, _eM, _eT],
|
|
174
|
+
[() => TokenIdentifier, () => OwnerIdentifier, () => BlockchainInstant, 0, 0, 0],
|
|
175
|
+
];
|
|
176
|
+
export var BatchGetTokenBalanceInput = [
|
|
177
|
+
3,
|
|
178
|
+
n0,
|
|
179
|
+
_BGTBI,
|
|
180
|
+
0,
|
|
181
|
+
[_gTBI],
|
|
182
|
+
[() => GetTokenBalanceInputList],
|
|
183
|
+
];
|
|
184
|
+
export var BatchGetTokenBalanceInputItem = [
|
|
185
|
+
3,
|
|
186
|
+
n0,
|
|
187
|
+
_BGTBII,
|
|
188
|
+
0,
|
|
189
|
+
[_tI, _oI, _aBI],
|
|
190
|
+
[() => TokenIdentifier, () => OwnerIdentifier, () => BlockchainInstant],
|
|
191
|
+
];
|
|
192
|
+
export var BatchGetTokenBalanceOutput = [
|
|
193
|
+
3,
|
|
194
|
+
n0,
|
|
195
|
+
_BGTBO,
|
|
196
|
+
0,
|
|
197
|
+
[_tB, _er],
|
|
198
|
+
[() => BatchGetTokenBalanceOutputList, () => BatchGetTokenBalanceErrors],
|
|
199
|
+
];
|
|
200
|
+
export var BatchGetTokenBalanceOutputItem = [
|
|
201
|
+
3,
|
|
202
|
+
n0,
|
|
203
|
+
_BGTBOI,
|
|
204
|
+
0,
|
|
205
|
+
[_oI, _tI, _b, _aBI, _lUT],
|
|
206
|
+
[() => OwnerIdentifier, () => TokenIdentifier, 0, () => BlockchainInstant, () => BlockchainInstant],
|
|
207
|
+
];
|
|
208
|
+
export var BlockchainInstant = [3, n0, _BI, 0, [_t], [4]];
|
|
209
|
+
export var ConfirmationStatusFilter = [3, n0, _CSF, 0, [_i], [64 | 0]];
|
|
210
|
+
export var ContractFilter = [3, n0, _CF, 0, [_n, _tS, _dA], [0, 0, 0]];
|
|
211
|
+
export var ContractIdentifier = [3, n0, _CI, 0, [_n, _cA], [0, 0]];
|
|
212
|
+
export var ContractMetadata = [3, n0, _CM, 0, [_na, _s, _d], [0, 0, 1]];
|
|
213
|
+
export var GetAssetContractInput = [3, n0, _GACI, 0, [_cI], [() => ContractIdentifier]];
|
|
214
|
+
export var GetAssetContractOutput = [
|
|
215
|
+
3,
|
|
216
|
+
n0,
|
|
217
|
+
_GACO,
|
|
218
|
+
0,
|
|
219
|
+
[_cI, _tS, _dA, _me],
|
|
220
|
+
[() => ContractIdentifier, 0, 0, () => ContractMetadata],
|
|
221
|
+
];
|
|
222
|
+
export var GetTokenBalanceInput = [
|
|
223
|
+
3,
|
|
224
|
+
n0,
|
|
225
|
+
_GTBI,
|
|
226
|
+
0,
|
|
227
|
+
[_tI, _oI, _aBI],
|
|
228
|
+
[() => TokenIdentifier, () => OwnerIdentifier, () => BlockchainInstant],
|
|
229
|
+
];
|
|
230
|
+
export var GetTokenBalanceOutput = [
|
|
231
|
+
3,
|
|
232
|
+
n0,
|
|
233
|
+
_GTBO,
|
|
234
|
+
0,
|
|
235
|
+
[_oI, _tI, _b, _aBI, _lUT],
|
|
236
|
+
[() => OwnerIdentifier, () => TokenIdentifier, 0, () => BlockchainInstant, () => BlockchainInstant],
|
|
237
|
+
];
|
|
238
|
+
export var GetTransactionInput = [3, n0, _GTI, 0, [_tH, _tIr, _n], [0, 0, 0]];
|
|
239
|
+
export var GetTransactionOutput = [3, n0, _GTO, 0, [_tr], [() => Transaction]];
|
|
240
|
+
export var InternalServerException = [
|
|
241
|
+
-3,
|
|
242
|
+
n0,
|
|
243
|
+
_ISE,
|
|
244
|
+
{
|
|
245
|
+
[_e]: _se,
|
|
246
|
+
[_hE]: 500,
|
|
247
|
+
},
|
|
248
|
+
[_m, _rAS],
|
|
249
|
+
[
|
|
250
|
+
0,
|
|
251
|
+
[
|
|
252
|
+
1,
|
|
253
|
+
{
|
|
254
|
+
[_hH]: _RA,
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
],
|
|
258
|
+
];
|
|
259
|
+
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
260
|
+
export var ListAssetContractsInput = [
|
|
261
|
+
3,
|
|
262
|
+
n0,
|
|
263
|
+
_LACI,
|
|
264
|
+
0,
|
|
265
|
+
[_cF, _nT, _mR],
|
|
266
|
+
[() => ContractFilter, 0, 1],
|
|
267
|
+
];
|
|
268
|
+
export var ListAssetContractsOutput = [
|
|
269
|
+
3,
|
|
270
|
+
n0,
|
|
271
|
+
_LACO,
|
|
272
|
+
0,
|
|
273
|
+
[_co, _nT],
|
|
274
|
+
[() => AssetContractList, 0],
|
|
275
|
+
];
|
|
276
|
+
export var ListFilteredTransactionEventsInput = [
|
|
277
|
+
3,
|
|
278
|
+
n0,
|
|
279
|
+
_LFTEI,
|
|
280
|
+
0,
|
|
281
|
+
[_n, _aIF, _tF, _vF, _cSF, _so, _nT, _mR],
|
|
282
|
+
[
|
|
283
|
+
0,
|
|
284
|
+
() => AddressIdentifierFilter,
|
|
285
|
+
() => TimeFilter,
|
|
286
|
+
() => VoutFilter,
|
|
287
|
+
() => ConfirmationStatusFilter,
|
|
288
|
+
() => ListFilteredTransactionEventsSort,
|
|
289
|
+
0,
|
|
290
|
+
1,
|
|
291
|
+
],
|
|
292
|
+
];
|
|
293
|
+
export var ListFilteredTransactionEventsOutput = [
|
|
294
|
+
3,
|
|
295
|
+
n0,
|
|
296
|
+
_LFTEO,
|
|
297
|
+
0,
|
|
298
|
+
[_ev, _nT],
|
|
299
|
+
[() => TransactionEventList, 0],
|
|
300
|
+
];
|
|
301
|
+
export var ListFilteredTransactionEventsSort = [3, n0, _LFTES, 0, [_sB, _sO], [0, 0]];
|
|
302
|
+
export var ListTokenBalancesInput = [
|
|
303
|
+
3,
|
|
304
|
+
n0,
|
|
305
|
+
_LTBI,
|
|
306
|
+
0,
|
|
307
|
+
[_oF, _tFo, _nT, _mR],
|
|
308
|
+
[() => OwnerFilter, () => TokenFilter, 0, 1],
|
|
309
|
+
];
|
|
310
|
+
export var ListTokenBalancesOutput = [3, n0, _LTBO, 0, [_tB, _nT], [() => TokenBalanceList, 0]];
|
|
311
|
+
export var ListTransactionEventsInput = [
|
|
312
|
+
3,
|
|
313
|
+
n0,
|
|
314
|
+
_LTEI,
|
|
315
|
+
0,
|
|
316
|
+
[_tH, _tIr, _n, _nT, _mR],
|
|
317
|
+
[0, 0, 0, 0, 1],
|
|
318
|
+
];
|
|
319
|
+
export var ListTransactionEventsOutput = [
|
|
320
|
+
3,
|
|
321
|
+
n0,
|
|
322
|
+
_LTEO,
|
|
323
|
+
0,
|
|
324
|
+
[_ev, _nT],
|
|
325
|
+
[() => TransactionEventList, 0],
|
|
326
|
+
];
|
|
327
|
+
export var ListTransactionsInput = [
|
|
328
|
+
3,
|
|
329
|
+
n0,
|
|
330
|
+
_LTI,
|
|
331
|
+
0,
|
|
332
|
+
[_a, _n, _fBI, _tBI, _so, _nT, _mR, _cSF],
|
|
333
|
+
[
|
|
334
|
+
0,
|
|
335
|
+
0,
|
|
336
|
+
() => BlockchainInstant,
|
|
337
|
+
() => BlockchainInstant,
|
|
338
|
+
() => ListTransactionsSort,
|
|
339
|
+
0,
|
|
340
|
+
1,
|
|
341
|
+
() => ConfirmationStatusFilter,
|
|
342
|
+
],
|
|
343
|
+
];
|
|
344
|
+
export var ListTransactionsOutput = [
|
|
345
|
+
3,
|
|
346
|
+
n0,
|
|
347
|
+
_LTO,
|
|
348
|
+
0,
|
|
349
|
+
[_tra, _nT],
|
|
350
|
+
[() => TransactionOutputList, 0],
|
|
351
|
+
];
|
|
352
|
+
export var ListTransactionsSort = [3, n0, _LTS, 0, [_sB, _sO], [0, 0]];
|
|
353
|
+
export var OwnerFilter = [3, n0, _OF, 0, [_a], [0]];
|
|
354
|
+
export var OwnerIdentifier = [3, n0, _OI, 0, [_a], [0]];
|
|
355
|
+
export var ResourceNotFoundException = [
|
|
356
|
+
-3,
|
|
357
|
+
n0,
|
|
358
|
+
_RNFE,
|
|
359
|
+
{
|
|
360
|
+
[_e]: _c,
|
|
361
|
+
[_hE]: 404,
|
|
362
|
+
},
|
|
363
|
+
[_m, _rI, _rT],
|
|
364
|
+
[0, 0, 0],
|
|
365
|
+
];
|
|
366
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
|
|
367
|
+
export var ServiceQuotaExceededException = [
|
|
368
|
+
-3,
|
|
369
|
+
n0,
|
|
370
|
+
_SQEE,
|
|
371
|
+
{
|
|
372
|
+
[_e]: _c,
|
|
373
|
+
[_hE]: 402,
|
|
374
|
+
},
|
|
375
|
+
[_m, _rI, _rT, _sC, _qC],
|
|
376
|
+
[0, 0, 0, 0, 0],
|
|
377
|
+
];
|
|
378
|
+
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
|
|
379
|
+
export var ThrottlingException = [
|
|
380
|
+
-3,
|
|
381
|
+
n0,
|
|
382
|
+
_TE,
|
|
383
|
+
{
|
|
384
|
+
[_e]: _c,
|
|
385
|
+
[_hE]: 429,
|
|
386
|
+
},
|
|
387
|
+
[_m, _sC, _qC, _rAS],
|
|
388
|
+
[
|
|
389
|
+
0,
|
|
390
|
+
0,
|
|
391
|
+
0,
|
|
392
|
+
[
|
|
393
|
+
1,
|
|
394
|
+
{
|
|
395
|
+
[_hH]: _RA,
|
|
396
|
+
},
|
|
397
|
+
],
|
|
398
|
+
],
|
|
399
|
+
];
|
|
400
|
+
TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
|
|
401
|
+
export var TimeFilter = [
|
|
402
|
+
3,
|
|
403
|
+
n0,
|
|
404
|
+
_TF,
|
|
405
|
+
0,
|
|
406
|
+
[_f, _to],
|
|
407
|
+
[() => BlockchainInstant, () => BlockchainInstant],
|
|
408
|
+
];
|
|
409
|
+
export var TokenBalance = [
|
|
410
|
+
3,
|
|
411
|
+
n0,
|
|
412
|
+
_TB,
|
|
413
|
+
0,
|
|
414
|
+
[_oI, _tI, _b, _aBI, _lUT],
|
|
415
|
+
[() => OwnerIdentifier, () => TokenIdentifier, 0, () => BlockchainInstant, () => BlockchainInstant],
|
|
416
|
+
];
|
|
417
|
+
export var TokenFilter = [3, n0, _TFo, 0, [_n, _cA, _tIo], [0, 0, 0]];
|
|
418
|
+
export var TokenIdentifier = [3, n0, _TI, 0, [_n, _cA, _tIo], [0, 0, 0]];
|
|
419
|
+
export var Transaction = [
|
|
420
|
+
3,
|
|
421
|
+
n0,
|
|
422
|
+
_T,
|
|
423
|
+
0,
|
|
424
|
+
[_n, _bH, _tH, _bN, _tT, _tIra, _nOT, _to, _f, _cA, _gU, _cGU, _eGP, _sV, _sR, _sS, _tFr, _tIr, _cS, _eS],
|
|
425
|
+
[0, 0, 0, 0, 4, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0],
|
|
426
|
+
];
|
|
427
|
+
export var TransactionEvent = [
|
|
428
|
+
3,
|
|
429
|
+
n0,
|
|
430
|
+
_TEr,
|
|
431
|
+
0,
|
|
432
|
+
[_n, _tH, _eTv, _f, _to, _v, _cA, _tIo, _tIr, _vI, _vS, _sVTI, _sVTH, _sVI, _bI, _cS],
|
|
433
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 1, () => BlockchainInstant, 0],
|
|
434
|
+
];
|
|
435
|
+
export var TransactionOutputItem = [3, n0, _TOI, 0, [_tH, _tIr, _n, _tT, _cS], [0, 0, 0, 4, 0]];
|
|
436
|
+
export var ValidationException = [
|
|
437
|
+
-3,
|
|
438
|
+
n0,
|
|
439
|
+
_VE,
|
|
440
|
+
{
|
|
441
|
+
[_e]: _c,
|
|
442
|
+
[_hE]: 400,
|
|
443
|
+
},
|
|
444
|
+
[_m, _r, _fL],
|
|
445
|
+
[0, 0, () => ValidationExceptionFieldList],
|
|
446
|
+
];
|
|
447
|
+
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
448
|
+
export var ValidationExceptionField = [3, n0, _VEF, 0, [_na, _m], [0, 0]];
|
|
449
|
+
export var VoutFilter = [3, n0, _VF, 0, [_vS], [2]];
|
|
450
|
+
export var ManagedBlockchainQueryServiceException = [
|
|
451
|
+
-3,
|
|
452
|
+
_sm,
|
|
453
|
+
"ManagedBlockchainQueryServiceException",
|
|
454
|
+
0,
|
|
455
|
+
[],
|
|
456
|
+
[],
|
|
457
|
+
];
|
|
458
|
+
TypeRegistry.for(_sm).registerError(ManagedBlockchainQueryServiceException, __ManagedBlockchainQueryServiceException);
|
|
459
|
+
export var AssetContractList = [1, n0, _ACL, 0, () => AssetContract];
|
|
460
|
+
export var BatchGetTokenBalanceErrors = [1, n0, _BGTBE, 0, () => BatchGetTokenBalanceErrorItem];
|
|
461
|
+
export var BatchGetTokenBalanceOutputList = [1, n0, _BGTBOL, 0, () => BatchGetTokenBalanceOutputItem];
|
|
462
|
+
export var ChainAddresses = 64 | 0;
|
|
463
|
+
export var ConfirmationStatusIncludeList = 64 | 0;
|
|
464
|
+
export var GetTokenBalanceInputList = [1, n0, _GTBIL, 0, () => BatchGetTokenBalanceInputItem];
|
|
465
|
+
export var TokenBalanceList = [1, n0, _TBL, 0, () => TokenBalance];
|
|
466
|
+
export var TransactionEventList = [1, n0, _TEL, 0, () => TransactionEvent];
|
|
467
|
+
export var TransactionOutputList = [1, n0, _TOL, 0, () => TransactionOutputItem];
|
|
468
|
+
export var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
469
|
+
export var BatchGetTokenBalance = [
|
|
470
|
+
9,
|
|
471
|
+
n0,
|
|
472
|
+
_BGTB,
|
|
473
|
+
{
|
|
474
|
+
[_h]: ["POST", "/batch-get-token-balance", 200],
|
|
475
|
+
},
|
|
476
|
+
() => BatchGetTokenBalanceInput,
|
|
477
|
+
() => BatchGetTokenBalanceOutput,
|
|
478
|
+
];
|
|
479
|
+
export var GetAssetContract = [
|
|
480
|
+
9,
|
|
481
|
+
n0,
|
|
482
|
+
_GAC,
|
|
483
|
+
{
|
|
484
|
+
[_h]: ["POST", "/get-asset-contract", 200],
|
|
485
|
+
},
|
|
486
|
+
() => GetAssetContractInput,
|
|
487
|
+
() => GetAssetContractOutput,
|
|
488
|
+
];
|
|
489
|
+
export var GetTokenBalance = [
|
|
490
|
+
9,
|
|
491
|
+
n0,
|
|
492
|
+
_GTB,
|
|
493
|
+
{
|
|
494
|
+
[_h]: ["POST", "/get-token-balance", 200],
|
|
495
|
+
},
|
|
496
|
+
() => GetTokenBalanceInput,
|
|
497
|
+
() => GetTokenBalanceOutput,
|
|
498
|
+
];
|
|
499
|
+
export var GetTransaction = [
|
|
500
|
+
9,
|
|
501
|
+
n0,
|
|
502
|
+
_GT,
|
|
503
|
+
{
|
|
504
|
+
[_h]: ["POST", "/get-transaction", 200],
|
|
505
|
+
},
|
|
506
|
+
() => GetTransactionInput,
|
|
507
|
+
() => GetTransactionOutput,
|
|
508
|
+
];
|
|
509
|
+
export var ListAssetContracts = [
|
|
510
|
+
9,
|
|
511
|
+
n0,
|
|
512
|
+
_LAC,
|
|
513
|
+
{
|
|
514
|
+
[_h]: ["POST", "/list-asset-contracts", 200],
|
|
515
|
+
},
|
|
516
|
+
() => ListAssetContractsInput,
|
|
517
|
+
() => ListAssetContractsOutput,
|
|
518
|
+
];
|
|
519
|
+
export var ListFilteredTransactionEvents = [
|
|
520
|
+
9,
|
|
521
|
+
n0,
|
|
522
|
+
_LFTE,
|
|
523
|
+
{
|
|
524
|
+
[_h]: ["POST", "/list-filtered-transaction-events", 200],
|
|
525
|
+
},
|
|
526
|
+
() => ListFilteredTransactionEventsInput,
|
|
527
|
+
() => ListFilteredTransactionEventsOutput,
|
|
528
|
+
];
|
|
529
|
+
export var ListTokenBalances = [
|
|
530
|
+
9,
|
|
531
|
+
n0,
|
|
532
|
+
_LTB,
|
|
533
|
+
{
|
|
534
|
+
[_h]: ["POST", "/list-token-balances", 200],
|
|
535
|
+
},
|
|
536
|
+
() => ListTokenBalancesInput,
|
|
537
|
+
() => ListTokenBalancesOutput,
|
|
538
|
+
];
|
|
539
|
+
export var ListTransactionEvents = [
|
|
540
|
+
9,
|
|
541
|
+
n0,
|
|
542
|
+
_LTE,
|
|
543
|
+
{
|
|
544
|
+
[_h]: ["POST", "/list-transaction-events", 200],
|
|
545
|
+
},
|
|
546
|
+
() => ListTransactionEventsInput,
|
|
547
|
+
() => ListTransactionEventsOutput,
|
|
548
|
+
];
|
|
549
|
+
export var ListTransactions = [
|
|
550
|
+
9,
|
|
551
|
+
n0,
|
|
552
|
+
_LT,
|
|
553
|
+
{
|
|
554
|
+
[_h]: ["POST", "/list-transactions", 200],
|
|
555
|
+
},
|
|
556
|
+
() => ListTransactionsInput,
|
|
557
|
+
() => ListTransactionsOutput,
|
|
558
|
+
];
|
|
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
|
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
-
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { BatchGetTokenBalanceCommandInput, BatchGetTokenBalanceCommandOutput } from "./commands/BatchGetTokenBalanceCommand";
|
|
11
11
|
import { GetAssetContractCommandInput, GetAssetContractCommandOutput } from "./commands/GetAssetContractCommand";
|
|
@@ -150,6 +150,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
150
150
|
* Optional extensions
|
|
151
151
|
*/
|
|
152
152
|
extensions?: RuntimeExtension[];
|
|
153
|
+
/**
|
|
154
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
155
|
+
* may be overridden. A default will always be set by the client.
|
|
156
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
157
|
+
* the client.
|
|
158
|
+
* @alpha
|
|
159
|
+
*
|
|
160
|
+
*/
|
|
161
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
153
162
|
/**
|
|
154
163
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
155
164
|
*/
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: ManagedBlockchainQueryClientConf
|
|
|
29
29
|
profile?: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
32
33
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
34
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
35
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: ManagedBlockchainQueryClientConf
|
|
|
31
31
|
profile?: string;
|
|
32
32
|
logger: import("@smithy/types").Logger;
|
|
33
33
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
34
35
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
35
36
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
36
37
|
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;
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: ManagedBlockchainQueryClientConf
|
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
30
31
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
31
32
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
32
33
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: ManagedBlockchainQueryClientConf
|
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ManagedBlockchainQueryHttpAuthSchemeProvider;
|
|
15
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
16
|
logger: import("@smithy/types").Logger;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
17
18
|
serviceId: string;
|
|
18
19
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
20
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var AccessDeniedException: StaticErrorSchema;
|
|
3
|
+
export declare var AddressIdentifierFilter: StaticStructureSchema;
|
|
4
|
+
export declare var AssetContract: StaticStructureSchema;
|
|
5
|
+
export declare var BatchGetTokenBalanceErrorItem: StaticStructureSchema;
|
|
6
|
+
export declare var BatchGetTokenBalanceInput: StaticStructureSchema;
|
|
7
|
+
export declare var BatchGetTokenBalanceInputItem: StaticStructureSchema;
|
|
8
|
+
export declare var BatchGetTokenBalanceOutput: StaticStructureSchema;
|
|
9
|
+
export declare var BatchGetTokenBalanceOutputItem: StaticStructureSchema;
|
|
10
|
+
export declare var BlockchainInstant: StaticStructureSchema;
|
|
11
|
+
export declare var ConfirmationStatusFilter: StaticStructureSchema;
|
|
12
|
+
export declare var ContractFilter: StaticStructureSchema;
|
|
13
|
+
export declare var ContractIdentifier: StaticStructureSchema;
|
|
14
|
+
export declare var ContractMetadata: StaticStructureSchema;
|
|
15
|
+
export declare var GetAssetContractInput: StaticStructureSchema;
|
|
16
|
+
export declare var GetAssetContractOutput: StaticStructureSchema;
|
|
17
|
+
export declare var GetTokenBalanceInput: StaticStructureSchema;
|
|
18
|
+
export declare var GetTokenBalanceOutput: StaticStructureSchema;
|
|
19
|
+
export declare var GetTransactionInput: StaticStructureSchema;
|
|
20
|
+
export declare var GetTransactionOutput: StaticStructureSchema;
|
|
21
|
+
export declare var InternalServerException: StaticErrorSchema;
|
|
22
|
+
export declare var ListAssetContractsInput: StaticStructureSchema;
|
|
23
|
+
export declare var ListAssetContractsOutput: StaticStructureSchema;
|
|
24
|
+
export declare var ListFilteredTransactionEventsInput: StaticStructureSchema;
|
|
25
|
+
export declare var ListFilteredTransactionEventsOutput: StaticStructureSchema;
|
|
26
|
+
export declare var ListFilteredTransactionEventsSort: StaticStructureSchema;
|
|
27
|
+
export declare var ListTokenBalancesInput: StaticStructureSchema;
|
|
28
|
+
export declare var ListTokenBalancesOutput: StaticStructureSchema;
|
|
29
|
+
export declare var ListTransactionEventsInput: StaticStructureSchema;
|
|
30
|
+
export declare var ListTransactionEventsOutput: StaticStructureSchema;
|
|
31
|
+
export declare var ListTransactionsInput: StaticStructureSchema;
|
|
32
|
+
export declare var ListTransactionsOutput: StaticStructureSchema;
|
|
33
|
+
export declare var ListTransactionsSort: StaticStructureSchema;
|
|
34
|
+
export declare var OwnerFilter: StaticStructureSchema;
|
|
35
|
+
export declare var OwnerIdentifier: StaticStructureSchema;
|
|
36
|
+
export declare var ResourceNotFoundException: StaticErrorSchema;
|
|
37
|
+
export declare var ServiceQuotaExceededException: StaticErrorSchema;
|
|
38
|
+
export declare var ThrottlingException: StaticErrorSchema;
|
|
39
|
+
export declare var TimeFilter: StaticStructureSchema;
|
|
40
|
+
export declare var TokenBalance: StaticStructureSchema;
|
|
41
|
+
export declare var TokenFilter: StaticStructureSchema;
|
|
42
|
+
export declare var TokenIdentifier: StaticStructureSchema;
|
|
43
|
+
export declare var Transaction: StaticStructureSchema;
|
|
44
|
+
export declare var TransactionEvent: StaticStructureSchema;
|
|
45
|
+
export declare var TransactionOutputItem: StaticStructureSchema;
|
|
46
|
+
export declare var ValidationException: StaticErrorSchema;
|
|
47
|
+
export declare var ValidationExceptionField: StaticStructureSchema;
|
|
48
|
+
export declare var VoutFilter: StaticStructureSchema;
|
|
49
|
+
export declare var ManagedBlockchainQueryServiceException: StaticErrorSchema;
|
|
50
|
+
export declare var AssetContractList: StaticListSchema;
|
|
51
|
+
export declare var BatchGetTokenBalanceErrors: StaticListSchema;
|
|
52
|
+
export declare var BatchGetTokenBalanceOutputList: StaticListSchema;
|
|
53
|
+
export declare var ChainAddresses: number;
|
|
54
|
+
export declare var ConfirmationStatusIncludeList: number;
|
|
55
|
+
export declare var GetTokenBalanceInputList: StaticListSchema;
|
|
56
|
+
export declare var TokenBalanceList: StaticListSchema;
|
|
57
|
+
export declare var TransactionEventList: StaticListSchema;
|
|
58
|
+
export declare var TransactionOutputList: StaticListSchema;
|
|
59
|
+
export declare var ValidationExceptionFieldList: StaticListSchema;
|
|
60
|
+
export declare var BatchGetTokenBalance: StaticOperationSchema;
|
|
61
|
+
export declare var GetAssetContract: StaticOperationSchema;
|
|
62
|
+
export declare var GetTokenBalance: StaticOperationSchema;
|
|
63
|
+
export declare var GetTransaction: StaticOperationSchema;
|
|
64
|
+
export declare var ListAssetContracts: StaticOperationSchema;
|
|
65
|
+
export declare var ListFilteredTransactionEvents: StaticOperationSchema;
|
|
66
|
+
export declare var ListTokenBalances: StaticOperationSchema;
|
|
67
|
+
export declare var ListTransactionEvents: StaticOperationSchema;
|
|
68
|
+
export declare var ListTransactions: StaticOperationSchema;
|