@aws-sdk/client-managedblockchain-query 3.490.0 → 3.496.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.
@@ -1,12 +1 @@
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;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,153 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SortOrder = exports.ListTransactionsSortBy = exports.QueryTransactionEventType = exports.QueryTransactionStatus = exports.ExecutionStatus = exports.ConfirmationStatus = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ResourceType = exports.InternalServerException = exports.ErrorType = exports.QueryTokenStandard = exports.QueryNetwork = exports.AccessDeniedException = void 0;
4
- const ManagedBlockchainQueryServiceException_1 = require("./ManagedBlockchainQueryServiceException");
5
- class AccessDeniedException extends ManagedBlockchainQueryServiceException_1.ManagedBlockchainQueryServiceException {
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- this.name = "AccessDeniedException";
13
- this.$fault = "client";
14
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
- }
16
- }
17
- exports.AccessDeniedException = AccessDeniedException;
18
- exports.QueryNetwork = {
19
- BITCOIN_MAINNET: "BITCOIN_MAINNET",
20
- BITCOIN_TESTNET: "BITCOIN_TESTNET",
21
- ETHEREUM_MAINNET: "ETHEREUM_MAINNET",
22
- ETHEREUM_SEPOLIA_TESTNET: "ETHEREUM_SEPOLIA_TESTNET",
23
- };
24
- exports.QueryTokenStandard = {
25
- ERC1155: "ERC1155",
26
- ERC20: "ERC20",
27
- ERC721: "ERC721",
28
- };
29
- exports.ErrorType = {
30
- RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION",
31
- VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION",
32
- };
33
- class InternalServerException extends ManagedBlockchainQueryServiceException_1.ManagedBlockchainQueryServiceException {
34
- constructor(opts) {
35
- super({
36
- name: "InternalServerException",
37
- $fault: "server",
38
- ...opts,
39
- });
40
- this.name = "InternalServerException";
41
- this.$fault = "server";
42
- this.$retryable = {};
43
- Object.setPrototypeOf(this, InternalServerException.prototype);
44
- this.retryAfterSeconds = opts.retryAfterSeconds;
45
- }
46
- }
47
- exports.InternalServerException = InternalServerException;
48
- exports.ResourceType = {
49
- COLLECTION: "collection",
50
- };
51
- class ResourceNotFoundException extends ManagedBlockchainQueryServiceException_1.ManagedBlockchainQueryServiceException {
52
- constructor(opts) {
53
- super({
54
- name: "ResourceNotFoundException",
55
- $fault: "client",
56
- ...opts,
57
- });
58
- this.name = "ResourceNotFoundException";
59
- this.$fault = "client";
60
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
61
- this.resourceId = opts.resourceId;
62
- this.resourceType = opts.resourceType;
63
- }
64
- }
65
- exports.ResourceNotFoundException = ResourceNotFoundException;
66
- class ServiceQuotaExceededException extends ManagedBlockchainQueryServiceException_1.ManagedBlockchainQueryServiceException {
67
- constructor(opts) {
68
- super({
69
- name: "ServiceQuotaExceededException",
70
- $fault: "client",
71
- ...opts,
72
- });
73
- this.name = "ServiceQuotaExceededException";
74
- this.$fault = "client";
75
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
76
- this.resourceId = opts.resourceId;
77
- this.resourceType = opts.resourceType;
78
- this.serviceCode = opts.serviceCode;
79
- this.quotaCode = opts.quotaCode;
80
- }
81
- }
82
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
83
- class ThrottlingException extends ManagedBlockchainQueryServiceException_1.ManagedBlockchainQueryServiceException {
84
- constructor(opts) {
85
- super({
86
- name: "ThrottlingException",
87
- $fault: "client",
88
- ...opts,
89
- });
90
- this.name = "ThrottlingException";
91
- this.$fault = "client";
92
- this.$retryable = {
93
- throttling: true,
94
- };
95
- Object.setPrototypeOf(this, ThrottlingException.prototype);
96
- this.serviceCode = opts.serviceCode;
97
- this.quotaCode = opts.quotaCode;
98
- this.retryAfterSeconds = opts.retryAfterSeconds;
99
- }
100
- }
101
- exports.ThrottlingException = ThrottlingException;
102
- exports.ValidationExceptionReason = {
103
- CANNOT_PARSE: "cannotParse",
104
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
105
- OTHER: "other",
106
- UNKNOWN_OPERATION: "unknownOperation",
107
- };
108
- class ValidationException extends ManagedBlockchainQueryServiceException_1.ManagedBlockchainQueryServiceException {
109
- constructor(opts) {
110
- super({
111
- name: "ValidationException",
112
- $fault: "client",
113
- ...opts,
114
- });
115
- this.name = "ValidationException";
116
- this.$fault = "client";
117
- Object.setPrototypeOf(this, ValidationException.prototype);
118
- this.reason = opts.reason;
119
- this.fieldList = opts.fieldList;
120
- }
121
- }
122
- exports.ValidationException = ValidationException;
123
- exports.ConfirmationStatus = {
124
- FINAL: "FINAL",
125
- };
126
- exports.ExecutionStatus = {
127
- FAILED: "FAILED",
128
- SUCCEEDED: "SUCCEEDED",
129
- };
130
- exports.QueryTransactionStatus = {
131
- FAILED: "FAILED",
132
- FINAL: "FINAL",
133
- };
134
- exports.QueryTransactionEventType = {
135
- BITCOIN_VIN: "BITCOIN_VIN",
136
- BITCOIN_VOUT: "BITCOIN_VOUT",
137
- ERC1155_TRANSFER: "ERC1155_TRANSFER",
138
- ERC20_BURN: "ERC20_BURN",
139
- ERC20_DEPOSIT: "ERC20_DEPOSIT",
140
- ERC20_MINT: "ERC20_MINT",
141
- ERC20_TRANSFER: "ERC20_TRANSFER",
142
- ERC20_WITHDRAWAL: "ERC20_WITHDRAWAL",
143
- ERC721_TRANSFER: "ERC721_TRANSFER",
144
- ETH_TRANSFER: "ETH_TRANSFER",
145
- INTERNAL_ETH_TRANSFER: "INTERNAL_ETH_TRANSFER",
146
- };
147
- exports.ListTransactionsSortBy = {
148
- TRANSACTION_TIMESTAMP: "TRANSACTION_TIMESTAMP",
149
- };
150
- exports.SortOrder = {
151
- ASCENDING: "ASCENDING",
152
- DESCENDING: "DESCENDING",
153
- };
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListAssetContracts = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListAssetContractsCommand_1 = require("../commands/ListAssetContractsCommand");
6
- const ManagedBlockchainQueryClient_1 = require("../ManagedBlockchainQueryClient");
7
- exports.paginateListAssetContracts = (0, core_1.createPaginator)(ManagedBlockchainQueryClient_1.ManagedBlockchainQueryClient, ListAssetContractsCommand_1.ListAssetContractsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListTokenBalances = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListTokenBalancesCommand_1 = require("../commands/ListTokenBalancesCommand");
6
- const ManagedBlockchainQueryClient_1 = require("../ManagedBlockchainQueryClient");
7
- exports.paginateListTokenBalances = (0, core_1.createPaginator)(ManagedBlockchainQueryClient_1.ManagedBlockchainQueryClient, ListTokenBalancesCommand_1.ListTokenBalancesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListTransactionEvents = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListTransactionEventsCommand_1 = require("../commands/ListTransactionEventsCommand");
6
- const ManagedBlockchainQueryClient_1 = require("../ManagedBlockchainQueryClient");
7
- exports.paginateListTransactionEvents = (0, core_1.createPaginator)(ManagedBlockchainQueryClient_1.ManagedBlockchainQueryClient, ListTransactionEventsCommand_1.ListTransactionEventsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListTransactions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListTransactionsCommand_1 = require("../commands/ListTransactionsCommand");
6
- const ManagedBlockchainQueryClient_1 = require("../ManagedBlockchainQueryClient");
7
- exports.paginateListTransactions = (0, core_1.createPaginator)(ManagedBlockchainQueryClient_1.ManagedBlockchainQueryClient, ListTransactionsCommand_1.ListTransactionsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,8 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListAssetContractsPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListTokenBalancesPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListTransactionEventsPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListTransactionsPaginator"), exports);
1
+ module.exports = require("../index.js");