@aws-sdk/client-managedblockchain-query 3.986.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 +28 -626
- package/dist-cjs/models/ManagedBlockchainQueryServiceException.js +12 -0
- package/dist-cjs/models/errors.js +110 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +459 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +42 -36
- package/dist-types/schemas/schemas_0.d.ts +13 -6
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -6
- package/package.json +13 -13
|
@@ -113,7 +113,7 @@ const _r = "reason";
|
|
|
113
113
|
const _rAS = "retryAfterSeconds";
|
|
114
114
|
const _rI = "resourceId";
|
|
115
115
|
const _rT = "resourceType";
|
|
116
|
-
const _s = "
|
|
116
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.managedblockchainquery";
|
|
117
117
|
const _sB = "sortBy";
|
|
118
118
|
const _sC = "serviceCode";
|
|
119
119
|
const _sO = "sortOrder";
|
|
@@ -124,8 +124,8 @@ const _sVI = "spentVoutIndex";
|
|
|
124
124
|
const _sVTH = "spentVoutTransactionHash";
|
|
125
125
|
const _sVTI = "spentVoutTransactionId";
|
|
126
126
|
const _se = "server";
|
|
127
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.managedblockchainquery";
|
|
128
127
|
const _so = "sort";
|
|
128
|
+
const _sy = "symbol";
|
|
129
129
|
const _t = "time";
|
|
130
130
|
const _tB = "tokenBalances";
|
|
131
131
|
const _tBI = "toBlockchainInstant";
|
|
@@ -151,12 +151,50 @@ const n0 = "com.amazonaws.managedblockchainquery";
|
|
|
151
151
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
152
152
|
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
153
153
|
import { ManagedBlockchainQueryServiceException } from "../models/ManagedBlockchainQueryServiceException";
|
|
154
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
155
|
+
export var ManagedBlockchainQueryServiceException$ = [-3, _s, "ManagedBlockchainQueryServiceException", 0, [], []];
|
|
156
|
+
_s_registry.registerError(ManagedBlockchainQueryServiceException$, ManagedBlockchainQueryServiceException);
|
|
157
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
154
158
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
155
159
|
{ [_e]: _c, [_hE]: 403 },
|
|
156
160
|
[_m],
|
|
157
161
|
[0], 1
|
|
158
162
|
];
|
|
159
|
-
|
|
163
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
164
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
165
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
166
|
+
[_m, _rAS],
|
|
167
|
+
[0, [1, { [_hH]: _RA }]], 1
|
|
168
|
+
];
|
|
169
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
170
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
171
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
172
|
+
[_m, _rI, _rT],
|
|
173
|
+
[0, 0, 0], 3
|
|
174
|
+
];
|
|
175
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
176
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
177
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
178
|
+
[_m, _rI, _rT, _sC, _qC],
|
|
179
|
+
[0, 0, 0, 0, 0], 5
|
|
180
|
+
];
|
|
181
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
182
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
183
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
184
|
+
[_m, _sC, _qC, _rAS],
|
|
185
|
+
[0, 0, 0, [1, { [_hH]: _RA }]], 3
|
|
186
|
+
];
|
|
187
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
188
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
189
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
190
|
+
[_m, _r, _fL],
|
|
191
|
+
[0, 0, () => ValidationExceptionFieldList], 2
|
|
192
|
+
];
|
|
193
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
194
|
+
export const errorTypeRegistries = [
|
|
195
|
+
_s_registry,
|
|
196
|
+
n0_registry,
|
|
197
|
+
];
|
|
160
198
|
export var AddressIdentifierFilter$ = [3, n0, _AIF,
|
|
161
199
|
0,
|
|
162
200
|
[_tETA],
|
|
@@ -214,7 +252,7 @@ export var ContractIdentifier$ = [3, n0, _CI,
|
|
|
214
252
|
];
|
|
215
253
|
export var ContractMetadata$ = [3, n0, _CM,
|
|
216
254
|
0,
|
|
217
|
-
[_na,
|
|
255
|
+
[_na, _sy, _d],
|
|
218
256
|
[0, 0, 1]
|
|
219
257
|
];
|
|
220
258
|
export var GetAssetContractInput$ = [3, n0, _GACI,
|
|
@@ -247,12 +285,6 @@ export var GetTransactionOutput$ = [3, n0, _GTO,
|
|
|
247
285
|
[_tr],
|
|
248
286
|
[() => Transaction$], 1
|
|
249
287
|
];
|
|
250
|
-
export var InternalServerException$ = [-3, n0, _ISE,
|
|
251
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
252
|
-
[_m, _rAS],
|
|
253
|
-
[0, [1, { [_hH]: _RA }]], 1
|
|
254
|
-
];
|
|
255
|
-
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
256
288
|
export var ListAssetContractsInput$ = [3, n0, _LACI,
|
|
257
289
|
0,
|
|
258
290
|
[_cF, _nT, _mR],
|
|
@@ -323,24 +355,6 @@ export var OwnerIdentifier$ = [3, n0, _OI,
|
|
|
323
355
|
[_a],
|
|
324
356
|
[0], 1
|
|
325
357
|
];
|
|
326
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
327
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
328
|
-
[_m, _rI, _rT],
|
|
329
|
-
[0, 0, 0], 3
|
|
330
|
-
];
|
|
331
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
332
|
-
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
333
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
334
|
-
[_m, _rI, _rT, _sC, _qC],
|
|
335
|
-
[0, 0, 0, 0, 0], 5
|
|
336
|
-
];
|
|
337
|
-
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
338
|
-
export var ThrottlingException$ = [-3, n0, _TE,
|
|
339
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
340
|
-
[_m, _sC, _qC, _rAS],
|
|
341
|
-
[0, 0, 0, [1, { [_hH]: _RA }]], 3
|
|
342
|
-
];
|
|
343
|
-
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
344
358
|
export var TimeFilter$ = [3, n0, _TF,
|
|
345
359
|
0,
|
|
346
360
|
[_f, _to],
|
|
@@ -376,12 +390,6 @@ export var TransactionOutputItem$ = [3, n0, _TOI,
|
|
|
376
390
|
[_tH, _n, _tT, _tIr, _cS],
|
|
377
391
|
[0, 0, 4, 0, 0], 3
|
|
378
392
|
];
|
|
379
|
-
export var ValidationException$ = [-3, n0, _VE,
|
|
380
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
381
|
-
[_m, _r, _fL],
|
|
382
|
-
[0, 0, () => ValidationExceptionFieldList], 2
|
|
383
|
-
];
|
|
384
|
-
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
385
393
|
export var ValidationExceptionField$ = [3, n0, _VEF,
|
|
386
394
|
0,
|
|
387
395
|
[_na, _m],
|
|
@@ -392,8 +400,6 @@ export var VoutFilter$ = [3, n0, _VF,
|
|
|
392
400
|
[_vS],
|
|
393
401
|
[2], 1
|
|
394
402
|
];
|
|
395
|
-
export var ManagedBlockchainQueryServiceException$ = [-3, _sm, "ManagedBlockchainQueryServiceException", 0, [], []];
|
|
396
|
-
TypeRegistry.for(_sm).registerError(ManagedBlockchainQueryServiceException$, ManagedBlockchainQueryServiceException);
|
|
397
403
|
var AssetContractList = [1, n0, _ACL,
|
|
398
404
|
0, () => AssetContract$
|
|
399
405
|
];
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var ManagedBlockchainQueryServiceException$: StaticErrorSchema;
|
|
2
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
5
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
6
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
7
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
8
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
9
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
10
|
+
/**
|
|
11
|
+
* TypeRegistry instances containing modeled errors.
|
|
12
|
+
* @internal
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
3
16
|
export declare var AddressIdentifierFilter$: StaticStructureSchema;
|
|
4
17
|
export declare var AssetContract$: StaticStructureSchema;
|
|
5
18
|
export declare var BatchGetTokenBalanceErrorItem$: StaticStructureSchema;
|
|
@@ -18,7 +31,6 @@ export declare var GetTokenBalanceInput$: StaticStructureSchema;
|
|
|
18
31
|
export declare var GetTokenBalanceOutput$: StaticStructureSchema;
|
|
19
32
|
export declare var GetTransactionInput$: StaticStructureSchema;
|
|
20
33
|
export declare var GetTransactionOutput$: StaticStructureSchema;
|
|
21
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
22
34
|
export declare var ListAssetContractsInput$: StaticStructureSchema;
|
|
23
35
|
export declare var ListAssetContractsOutput$: StaticStructureSchema;
|
|
24
36
|
export declare var ListFilteredTransactionEventsInput$: StaticStructureSchema;
|
|
@@ -33,9 +45,6 @@ export declare var ListTransactionsOutput$: StaticStructureSchema;
|
|
|
33
45
|
export declare var ListTransactionsSort$: StaticStructureSchema;
|
|
34
46
|
export declare var OwnerFilter$: StaticStructureSchema;
|
|
35
47
|
export declare var OwnerIdentifier$: StaticStructureSchema;
|
|
36
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
37
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
38
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
39
48
|
export declare var TimeFilter$: StaticStructureSchema;
|
|
40
49
|
export declare var TokenBalance$: StaticStructureSchema;
|
|
41
50
|
export declare var TokenFilter$: StaticStructureSchema;
|
|
@@ -43,10 +52,8 @@ export declare var TokenIdentifier$: StaticStructureSchema;
|
|
|
43
52
|
export declare var Transaction$: StaticStructureSchema;
|
|
44
53
|
export declare var TransactionEvent$: StaticStructureSchema;
|
|
45
54
|
export declare var TransactionOutputItem$: StaticStructureSchema;
|
|
46
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
47
55
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
48
56
|
export declare var VoutFilter$: StaticStructureSchema;
|
|
49
|
-
export declare var ManagedBlockchainQueryServiceException$: StaticErrorSchema;
|
|
50
57
|
export declare var BatchGetTokenBalance$: StaticOperationSchema;
|
|
51
58
|
export declare var GetAssetContract$: StaticOperationSchema;
|
|
52
59
|
export declare var GetTokenBalance$: StaticOperationSchema;
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var ManagedBlockchainQueryServiceException$: StaticErrorSchema;
|
|
6
8
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
10
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
11
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
12
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
13
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
14
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
7
15
|
export declare var AddressIdentifierFilter$: StaticStructureSchema;
|
|
8
16
|
export declare var AssetContract$: StaticStructureSchema;
|
|
9
17
|
export declare var BatchGetTokenBalanceErrorItem$: StaticStructureSchema;
|
|
@@ -22,7 +30,6 @@ export declare var GetTokenBalanceInput$: StaticStructureSchema;
|
|
|
22
30
|
export declare var GetTokenBalanceOutput$: StaticStructureSchema;
|
|
23
31
|
export declare var GetTransactionInput$: StaticStructureSchema;
|
|
24
32
|
export declare var GetTransactionOutput$: StaticStructureSchema;
|
|
25
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
26
33
|
export declare var ListAssetContractsInput$: StaticStructureSchema;
|
|
27
34
|
export declare var ListAssetContractsOutput$: StaticStructureSchema;
|
|
28
35
|
export declare var ListFilteredTransactionEventsInput$: StaticStructureSchema;
|
|
@@ -37,9 +44,6 @@ export declare var ListTransactionsOutput$: StaticStructureSchema;
|
|
|
37
44
|
export declare var ListTransactionsSort$: StaticStructureSchema;
|
|
38
45
|
export declare var OwnerFilter$: StaticStructureSchema;
|
|
39
46
|
export declare var OwnerIdentifier$: StaticStructureSchema;
|
|
40
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
41
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
42
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
43
47
|
export declare var TimeFilter$: StaticStructureSchema;
|
|
44
48
|
export declare var TokenBalance$: StaticStructureSchema;
|
|
45
49
|
export declare var TokenFilter$: StaticStructureSchema;
|
|
@@ -47,10 +51,8 @@ export declare var TokenIdentifier$: StaticStructureSchema;
|
|
|
47
51
|
export declare var Transaction$: StaticStructureSchema;
|
|
48
52
|
export declare var TransactionEvent$: StaticStructureSchema;
|
|
49
53
|
export declare var TransactionOutputItem$: StaticStructureSchema;
|
|
50
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
51
54
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
52
55
|
export declare var VoutFilter$: StaticStructureSchema;
|
|
53
|
-
export declare var ManagedBlockchainQueryServiceException$: StaticErrorSchema;
|
|
54
56
|
export declare var BatchGetTokenBalance$: StaticOperationSchema;
|
|
55
57
|
export declare var GetAssetContract$: StaticOperationSchema;
|
|
56
58
|
export declare var GetTokenBalance$: StaticOperationSchema;
|
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.
|
|
4
|
+
"version": "3.988.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-managedblockchain-query",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.7",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.8",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.988.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|