@aws-sdk/client-managedblockchain-query 3.935.0 → 3.939.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
@@ -905,6 +905,62 @@ const paginateListTransactionEvents = core.createPaginator(ManagedBlockchainQuer
905
905
 
906
906
  const paginateListTransactions = core.createPaginator(ManagedBlockchainQueryClient, ListTransactionsCommand, "nextToken", "nextToken", "maxResults");
907
907
 
908
+ const QueryNetwork = {
909
+ BITCOIN_MAINNET: "BITCOIN_MAINNET",
910
+ BITCOIN_TESTNET: "BITCOIN_TESTNET",
911
+ ETHEREUM_MAINNET: "ETHEREUM_MAINNET",
912
+ ETHEREUM_SEPOLIA_TESTNET: "ETHEREUM_SEPOLIA_TESTNET",
913
+ };
914
+ const QueryTokenStandard = {
915
+ ERC1155: "ERC1155",
916
+ ERC20: "ERC20",
917
+ ERC721: "ERC721",
918
+ };
919
+ const ErrorType = {
920
+ RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION",
921
+ VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION",
922
+ };
923
+ const ResourceType = {
924
+ COLLECTION: "collection",
925
+ };
926
+ const ValidationExceptionReason = {
927
+ CANNOT_PARSE: "cannotParse",
928
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
929
+ OTHER: "other",
930
+ UNKNOWN_OPERATION: "unknownOperation",
931
+ };
932
+ const ConfirmationStatus = {
933
+ FINAL: "FINAL",
934
+ NONFINAL: "NONFINAL",
935
+ };
936
+ const ExecutionStatus = {
937
+ FAILED: "FAILED",
938
+ SUCCEEDED: "SUCCEEDED",
939
+ };
940
+ const ListFilteredTransactionEventsSortBy = {
941
+ blockchainInstant: "blockchainInstant",
942
+ };
943
+ const SortOrder = {
944
+ ASCENDING: "ASCENDING",
945
+ DESCENDING: "DESCENDING",
946
+ };
947
+ const QueryTransactionEventType = {
948
+ BITCOIN_VIN: "BITCOIN_VIN",
949
+ BITCOIN_VOUT: "BITCOIN_VOUT",
950
+ ERC1155_TRANSFER: "ERC1155_TRANSFER",
951
+ ERC20_BURN: "ERC20_BURN",
952
+ ERC20_DEPOSIT: "ERC20_DEPOSIT",
953
+ ERC20_MINT: "ERC20_MINT",
954
+ ERC20_TRANSFER: "ERC20_TRANSFER",
955
+ ERC20_WITHDRAWAL: "ERC20_WITHDRAWAL",
956
+ ERC721_TRANSFER: "ERC721_TRANSFER",
957
+ ETH_TRANSFER: "ETH_TRANSFER",
958
+ INTERNAL_ETH_TRANSFER: "INTERNAL_ETH_TRANSFER",
959
+ };
960
+ const ListTransactionsSortBy = {
961
+ TRANSACTION_TIMESTAMP: "TRANSACTION_TIMESTAMP",
962
+ };
963
+
908
964
  Object.defineProperty(exports, "$Command", {
909
965
  enumerable: true,
910
966
  get: function () { return smithyClient.Command; }
@@ -915,22 +971,33 @@ Object.defineProperty(exports, "__Client", {
915
971
  });
916
972
  exports.AccessDeniedException = AccessDeniedException$1;
917
973
  exports.BatchGetTokenBalanceCommand = BatchGetTokenBalanceCommand;
974
+ exports.ConfirmationStatus = ConfirmationStatus;
975
+ exports.ErrorType = ErrorType;
976
+ exports.ExecutionStatus = ExecutionStatus;
918
977
  exports.GetAssetContractCommand = GetAssetContractCommand;
919
978
  exports.GetTokenBalanceCommand = GetTokenBalanceCommand;
920
979
  exports.GetTransactionCommand = GetTransactionCommand;
921
980
  exports.InternalServerException = InternalServerException$1;
922
981
  exports.ListAssetContractsCommand = ListAssetContractsCommand;
923
982
  exports.ListFilteredTransactionEventsCommand = ListFilteredTransactionEventsCommand;
983
+ exports.ListFilteredTransactionEventsSortBy = ListFilteredTransactionEventsSortBy;
924
984
  exports.ListTokenBalancesCommand = ListTokenBalancesCommand;
925
985
  exports.ListTransactionEventsCommand = ListTransactionEventsCommand;
926
986
  exports.ListTransactionsCommand = ListTransactionsCommand;
987
+ exports.ListTransactionsSortBy = ListTransactionsSortBy;
927
988
  exports.ManagedBlockchainQuery = ManagedBlockchainQuery;
928
989
  exports.ManagedBlockchainQueryClient = ManagedBlockchainQueryClient;
929
990
  exports.ManagedBlockchainQueryServiceException = ManagedBlockchainQueryServiceException$1;
991
+ exports.QueryNetwork = QueryNetwork;
992
+ exports.QueryTokenStandard = QueryTokenStandard;
993
+ exports.QueryTransactionEventType = QueryTransactionEventType;
930
994
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
995
+ exports.ResourceType = ResourceType;
931
996
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
997
+ exports.SortOrder = SortOrder;
932
998
  exports.ThrottlingException = ThrottlingException$1;
933
999
  exports.ValidationException = ValidationException$1;
1000
+ exports.ValidationExceptionReason = ValidationExceptionReason;
934
1001
  exports.paginateListAssetContracts = paginateListAssetContracts;
935
1002
  exports.paginateListFilteredTransactionEvents = paginateListFilteredTransactionEvents;
936
1003
  exports.paginateListTokenBalances = paginateListTokenBalances;
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./ManagedBlockchainQueryClient";
2
2
  export * from "./ManagedBlockchainQuery";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
+ export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { ManagedBlockchainQueryServiceException } from "./models/ManagedBlockchainQueryServiceException";
@@ -0,0 +1,55 @@
1
+ export const QueryNetwork = {
2
+ BITCOIN_MAINNET: "BITCOIN_MAINNET",
3
+ BITCOIN_TESTNET: "BITCOIN_TESTNET",
4
+ ETHEREUM_MAINNET: "ETHEREUM_MAINNET",
5
+ ETHEREUM_SEPOLIA_TESTNET: "ETHEREUM_SEPOLIA_TESTNET",
6
+ };
7
+ export const QueryTokenStandard = {
8
+ ERC1155: "ERC1155",
9
+ ERC20: "ERC20",
10
+ ERC721: "ERC721",
11
+ };
12
+ export const ErrorType = {
13
+ RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION",
14
+ VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION",
15
+ };
16
+ export const ResourceType = {
17
+ COLLECTION: "collection",
18
+ };
19
+ export const ValidationExceptionReason = {
20
+ CANNOT_PARSE: "cannotParse",
21
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
22
+ OTHER: "other",
23
+ UNKNOWN_OPERATION: "unknownOperation",
24
+ };
25
+ export const ConfirmationStatus = {
26
+ FINAL: "FINAL",
27
+ NONFINAL: "NONFINAL",
28
+ };
29
+ export const ExecutionStatus = {
30
+ FAILED: "FAILED",
31
+ SUCCEEDED: "SUCCEEDED",
32
+ };
33
+ export const ListFilteredTransactionEventsSortBy = {
34
+ blockchainInstant: "blockchainInstant",
35
+ };
36
+ export const SortOrder = {
37
+ ASCENDING: "ASCENDING",
38
+ DESCENDING: "DESCENDING",
39
+ };
40
+ export const QueryTransactionEventType = {
41
+ BITCOIN_VIN: "BITCOIN_VIN",
42
+ BITCOIN_VOUT: "BITCOIN_VOUT",
43
+ ERC1155_TRANSFER: "ERC1155_TRANSFER",
44
+ ERC20_BURN: "ERC20_BURN",
45
+ ERC20_DEPOSIT: "ERC20_DEPOSIT",
46
+ ERC20_MINT: "ERC20_MINT",
47
+ ERC20_TRANSFER: "ERC20_TRANSFER",
48
+ ERC20_WITHDRAWAL: "ERC20_WITHDRAWAL",
49
+ ERC721_TRANSFER: "ERC721_TRANSFER",
50
+ ETH_TRANSFER: "ETH_TRANSFER",
51
+ INTERNAL_ETH_TRANSFER: "INTERNAL_ETH_TRANSFER",
52
+ };
53
+ export const ListTransactionsSortBy = {
54
+ TRANSACTION_TIMESTAMP: "TRANSACTION_TIMESTAMP",
55
+ };
@@ -1,55 +1 @@
1
- export const QueryNetwork = {
2
- BITCOIN_MAINNET: "BITCOIN_MAINNET",
3
- BITCOIN_TESTNET: "BITCOIN_TESTNET",
4
- ETHEREUM_MAINNET: "ETHEREUM_MAINNET",
5
- ETHEREUM_SEPOLIA_TESTNET: "ETHEREUM_SEPOLIA_TESTNET",
6
- };
7
- export const QueryTokenStandard = {
8
- ERC1155: "ERC1155",
9
- ERC20: "ERC20",
10
- ERC721: "ERC721",
11
- };
12
- export const ErrorType = {
13
- RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION",
14
- VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION",
15
- };
16
- export const ResourceType = {
17
- COLLECTION: "collection",
18
- };
19
- export const ValidationExceptionReason = {
20
- CANNOT_PARSE: "cannotParse",
21
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
22
- OTHER: "other",
23
- UNKNOWN_OPERATION: "unknownOperation",
24
- };
25
- export const ConfirmationStatus = {
26
- FINAL: "FINAL",
27
- NONFINAL: "NONFINAL",
28
- };
29
- export const ExecutionStatus = {
30
- FAILED: "FAILED",
31
- SUCCEEDED: "SUCCEEDED",
32
- };
33
- export const ListFilteredTransactionEventsSortBy = {
34
- blockchainInstant: "blockchainInstant",
35
- };
36
- export const SortOrder = {
37
- ASCENDING: "ASCENDING",
38
- DESCENDING: "DESCENDING",
39
- };
40
- export const QueryTransactionEventType = {
41
- BITCOIN_VIN: "BITCOIN_VIN",
42
- BITCOIN_VOUT: "BITCOIN_VOUT",
43
- ERC1155_TRANSFER: "ERC1155_TRANSFER",
44
- ERC20_BURN: "ERC20_BURN",
45
- ERC20_DEPOSIT: "ERC20_DEPOSIT",
46
- ERC20_MINT: "ERC20_MINT",
47
- ERC20_TRANSFER: "ERC20_TRANSFER",
48
- ERC20_WITHDRAWAL: "ERC20_WITHDRAWAL",
49
- ERC721_TRANSFER: "ERC721_TRANSFER",
50
- ETH_TRANSFER: "ETH_TRANSFER",
51
- INTERNAL_ETH_TRANSFER: "INTERNAL_ETH_TRANSFER",
52
- };
53
- export const ListTransactionsSortBy = {
54
- TRANSACTION_TIMESTAMP: "TRANSACTION_TIMESTAMP",
55
- };
1
+ export {};
@@ -16,6 +16,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
16
16
  export type { ManagedBlockchainQueryExtensionConfiguration } from "./extensionConfiguration";
17
17
  export * from "./commands";
18
18
  export * from "./pagination";
19
+ export * from "./models/enums";
19
20
  export * from "./models/errors";
20
21
  export type * from "./models/models_0";
21
22
  export { ManagedBlockchainQueryServiceException } from "./models/ManagedBlockchainQueryServiceException";
@@ -0,0 +1,206 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const QueryNetwork: {
6
+ /**
7
+ * Bitcoin main network
8
+ */
9
+ readonly BITCOIN_MAINNET: "BITCOIN_MAINNET";
10
+ /**
11
+ * Bitcoin test network
12
+ */
13
+ readonly BITCOIN_TESTNET: "BITCOIN_TESTNET";
14
+ /**
15
+ * Ethereum main network
16
+ */
17
+ readonly ETHEREUM_MAINNET: "ETHEREUM_MAINNET";
18
+ /**
19
+ * SEPOLIA network (ethereum testnet)
20
+ */
21
+ readonly ETHEREUM_SEPOLIA_TESTNET: "ETHEREUM_SEPOLIA_TESTNET";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type QueryNetwork = (typeof QueryNetwork)[keyof typeof QueryNetwork];
27
+ /**
28
+ * @public
29
+ * @enum
30
+ */
31
+ export declare const QueryTokenStandard: {
32
+ readonly ERC1155: "ERC1155";
33
+ readonly ERC20: "ERC20";
34
+ readonly ERC721: "ERC721";
35
+ };
36
+ /**
37
+ * @public
38
+ */
39
+ export type QueryTokenStandard = (typeof QueryTokenStandard)[keyof typeof QueryTokenStandard];
40
+ /**
41
+ * @public
42
+ * @enum
43
+ */
44
+ export declare const ErrorType: {
45
+ /**
46
+ * An API request retrieving an item that can't be found
47
+ */
48
+ readonly RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION";
49
+ /**
50
+ * An API request validation exception
51
+ */
52
+ readonly VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION";
53
+ };
54
+ /**
55
+ * @public
56
+ */
57
+ export type ErrorType = (typeof ErrorType)[keyof typeof ErrorType];
58
+ /**
59
+ * @public
60
+ * @enum
61
+ */
62
+ export declare const ResourceType: {
63
+ readonly COLLECTION: "collection";
64
+ };
65
+ /**
66
+ * @public
67
+ */
68
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
69
+ /**
70
+ * @public
71
+ * @enum
72
+ */
73
+ export declare const ValidationExceptionReason: {
74
+ readonly CANNOT_PARSE: "cannotParse";
75
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
76
+ readonly OTHER: "other";
77
+ readonly UNKNOWN_OPERATION: "unknownOperation";
78
+ };
79
+ /**
80
+ * @public
81
+ */
82
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
83
+ /**
84
+ * @public
85
+ * @enum
86
+ */
87
+ export declare const ConfirmationStatus: {
88
+ readonly FINAL: "FINAL";
89
+ readonly NONFINAL: "NONFINAL";
90
+ };
91
+ /**
92
+ * @public
93
+ */
94
+ export type ConfirmationStatus = (typeof ConfirmationStatus)[keyof typeof ConfirmationStatus];
95
+ /**
96
+ * @public
97
+ * @enum
98
+ */
99
+ export declare const ExecutionStatus: {
100
+ readonly FAILED: "FAILED";
101
+ readonly SUCCEEDED: "SUCCEEDED";
102
+ };
103
+ /**
104
+ * @public
105
+ */
106
+ export type ExecutionStatus = (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
107
+ /**
108
+ * @public
109
+ * @enum
110
+ */
111
+ export declare const ListFilteredTransactionEventsSortBy: {
112
+ /**
113
+ * Timestamp of a transaction
114
+ */
115
+ readonly blockchainInstant: "blockchainInstant";
116
+ };
117
+ /**
118
+ * @public
119
+ */
120
+ export type ListFilteredTransactionEventsSortBy = (typeof ListFilteredTransactionEventsSortBy)[keyof typeof ListFilteredTransactionEventsSortBy];
121
+ /**
122
+ * @public
123
+ * @enum
124
+ */
125
+ export declare const SortOrder: {
126
+ /**
127
+ * Result sorted in ascending order
128
+ */
129
+ readonly ASCENDING: "ASCENDING";
130
+ /**
131
+ * Result sorted in descending order
132
+ */
133
+ readonly DESCENDING: "DESCENDING";
134
+ };
135
+ /**
136
+ * @public
137
+ */
138
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
139
+ /**
140
+ * @public
141
+ * @enum
142
+ */
143
+ export declare const QueryTransactionEventType: {
144
+ /**
145
+ * A Bitcoin Vin transfer type
146
+ */
147
+ readonly BITCOIN_VIN: "BITCOIN_VIN";
148
+ /**
149
+ * A Bitcoin Vout transfer type
150
+ */
151
+ readonly BITCOIN_VOUT: "BITCOIN_VOUT";
152
+ /**
153
+ * An ERC1155 transfer type
154
+ */
155
+ readonly ERC1155_TRANSFER: "ERC1155_TRANSFER";
156
+ /**
157
+ * An ERC20_BURN transfer type
158
+ */
159
+ readonly ERC20_BURN: "ERC20_BURN";
160
+ /**
161
+ * An ERC20_DEPOSIT transfer type
162
+ */
163
+ readonly ERC20_DEPOSIT: "ERC20_DEPOSIT";
164
+ /**
165
+ * An ERC20_MINT transfer type
166
+ */
167
+ readonly ERC20_MINT: "ERC20_MINT";
168
+ /**
169
+ * An ERC20 transfer type
170
+ */
171
+ readonly ERC20_TRANSFER: "ERC20_TRANSFER";
172
+ /**
173
+ * An ERC20_WITHDRAWAL transfer type
174
+ */
175
+ readonly ERC20_WITHDRAWAL: "ERC20_WITHDRAWAL";
176
+ /**
177
+ * An ERC721 transfer type
178
+ */
179
+ readonly ERC721_TRANSFER: "ERC721_TRANSFER";
180
+ /**
181
+ * An ETH transfer type
182
+ */
183
+ readonly ETH_TRANSFER: "ETH_TRANSFER";
184
+ /**
185
+ * An internal ETH transfer type
186
+ */
187
+ readonly INTERNAL_ETH_TRANSFER: "INTERNAL_ETH_TRANSFER";
188
+ };
189
+ /**
190
+ * @public
191
+ */
192
+ export type QueryTransactionEventType = (typeof QueryTransactionEventType)[keyof typeof QueryTransactionEventType];
193
+ /**
194
+ * @public
195
+ * @enum
196
+ */
197
+ export declare const ListTransactionsSortBy: {
198
+ /**
199
+ * Timestamp of a transaction
200
+ */
201
+ readonly TRANSACTION_TIMESTAMP: "TRANSACTION_TIMESTAMP";
202
+ };
203
+ /**
204
+ * @public
205
+ */
206
+ export type ListTransactionsSortBy = (typeof ListTransactionsSortBy)[keyof typeof ListTransactionsSortBy];
@@ -1,6 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ResourceType, ValidationExceptionReason } from "./enums";
2
3
  import { ManagedBlockchainQueryServiceException as __BaseException } from "./ManagedBlockchainQueryServiceException";
3
- import { ResourceType, ValidationExceptionField, ValidationExceptionReason } from "./models_0";
4
+ import { ValidationExceptionField } from "./models_0";
4
5
  /**
5
6
  * <p>The Amazon Web Services account doesn’t have access to this resource. </p>
6
7
  * @public
@@ -1,3 +1,4 @@
1
+ import { ConfirmationStatus, ErrorType, ExecutionStatus, ListFilteredTransactionEventsSortBy, ListTransactionsSortBy, QueryNetwork, QueryTokenStandard, QueryTransactionEventType, SortOrder } from "./enums";
1
2
  /**
2
3
  * <p>This is the container for the unique public address on the blockchain.</p>
3
4
  * @public
@@ -9,32 +10,6 @@ export interface AddressIdentifierFilter {
9
10
  */
10
11
  transactionEventToAddress: string[] | undefined;
11
12
  }
12
- /**
13
- * @public
14
- * @enum
15
- */
16
- export declare const QueryNetwork: {
17
- /**
18
- * Bitcoin main network
19
- */
20
- readonly BITCOIN_MAINNET: "BITCOIN_MAINNET";
21
- /**
22
- * Bitcoin test network
23
- */
24
- readonly BITCOIN_TESTNET: "BITCOIN_TESTNET";
25
- /**
26
- * Ethereum main network
27
- */
28
- readonly ETHEREUM_MAINNET: "ETHEREUM_MAINNET";
29
- /**
30
- * SEPOLIA network (ethereum testnet)
31
- */
32
- readonly ETHEREUM_SEPOLIA_TESTNET: "ETHEREUM_SEPOLIA_TESTNET";
33
- };
34
- /**
35
- * @public
36
- */
37
- export type QueryNetwork = (typeof QueryNetwork)[keyof typeof QueryNetwork];
38
13
  /**
39
14
  * <p>Container for the blockchain address and network information about a contract.</p>
40
15
  * @public
@@ -51,19 +26,6 @@ export interface ContractIdentifier {
51
26
  */
52
27
  contractAddress: string | undefined;
53
28
  }
54
- /**
55
- * @public
56
- * @enum
57
- */
58
- export declare const QueryTokenStandard: {
59
- readonly ERC1155: "ERC1155";
60
- readonly ERC20: "ERC20";
61
- readonly ERC721: "ERC721";
62
- };
63
- /**
64
- * @public
65
- */
66
- export type QueryTokenStandard = (typeof QueryTokenStandard)[keyof typeof QueryTokenStandard];
67
29
  /**
68
30
  * <p>This container contains information about an contract.</p>
69
31
  * @public
@@ -177,24 +139,6 @@ export interface BatchGetTokenBalanceInput {
177
139
  */
178
140
  getTokenBalanceInputs?: BatchGetTokenBalanceInputItem[] | undefined;
179
141
  }
180
- /**
181
- * @public
182
- * @enum
183
- */
184
- export declare const ErrorType: {
185
- /**
186
- * An API request retrieving an item that can't be found
187
- */
188
- readonly RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION";
189
- /**
190
- * An API request validation exception
191
- */
192
- readonly VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION";
193
- };
194
- /**
195
- * @public
196
- */
197
- export type ErrorType = (typeof ErrorType)[keyof typeof ErrorType];
198
142
  /**
199
143
  * <p>Error generated from a failed <code>BatchGetTokenBalance</code> request.</p>
200
144
  * @public
@@ -285,17 +229,6 @@ export interface BatchGetTokenBalanceOutput {
285
229
  */
286
230
  errors: BatchGetTokenBalanceErrorItem[] | undefined;
287
231
  }
288
- /**
289
- * @public
290
- * @enum
291
- */
292
- export declare const ResourceType: {
293
- readonly COLLECTION: "collection";
294
- };
295
- /**
296
- * @public
297
- */
298
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
299
232
  /**
300
233
  * <p>The resource passed is invalid.</p>
301
234
  * @public
@@ -312,32 +245,6 @@ export interface ValidationExceptionField {
312
245
  */
313
246
  message: string | undefined;
314
247
  }
315
- /**
316
- * @public
317
- * @enum
318
- */
319
- export declare const ValidationExceptionReason: {
320
- readonly CANNOT_PARSE: "cannotParse";
321
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
322
- readonly OTHER: "other";
323
- readonly UNKNOWN_OPERATION: "unknownOperation";
324
- };
325
- /**
326
- * @public
327
- */
328
- export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
329
- /**
330
- * @public
331
- * @enum
332
- */
333
- export declare const ConfirmationStatus: {
334
- readonly FINAL: "FINAL";
335
- readonly NONFINAL: "NONFINAL";
336
- };
337
- /**
338
- * @public
339
- */
340
- export type ConfirmationStatus = (typeof ConfirmationStatus)[keyof typeof ConfirmationStatus];
341
248
  /**
342
249
  * <p>The container for the <code>ConfirmationStatusFilter</code> that filters for the <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality">
343
250
  * <i>finality</i>
@@ -396,18 +303,6 @@ export interface ContractMetadata {
396
303
  */
397
304
  decimals?: number | undefined;
398
305
  }
399
- /**
400
- * @public
401
- * @enum
402
- */
403
- export declare const ExecutionStatus: {
404
- readonly FAILED: "FAILED";
405
- readonly SUCCEEDED: "SUCCEEDED";
406
- };
407
- /**
408
- * @public
409
- */
410
- export type ExecutionStatus = (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
411
306
  /**
412
307
  * @public
413
308
  */
@@ -701,38 +596,6 @@ export interface ListAssetContractsOutput {
701
596
  */
702
597
  nextToken?: string | undefined;
703
598
  }
704
- /**
705
- * @public
706
- * @enum
707
- */
708
- export declare const ListFilteredTransactionEventsSortBy: {
709
- /**
710
- * Timestamp of a transaction
711
- */
712
- readonly blockchainInstant: "blockchainInstant";
713
- };
714
- /**
715
- * @public
716
- */
717
- export type ListFilteredTransactionEventsSortBy = (typeof ListFilteredTransactionEventsSortBy)[keyof typeof ListFilteredTransactionEventsSortBy];
718
- /**
719
- * @public
720
- * @enum
721
- */
722
- export declare const SortOrder: {
723
- /**
724
- * Result sorted in ascending order
725
- */
726
- readonly ASCENDING: "ASCENDING";
727
- /**
728
- * Result sorted in descending order
729
- */
730
- readonly DESCENDING: "DESCENDING";
731
- };
732
- /**
733
- * @public
734
- */
735
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
736
599
  /**
737
600
  * <p>Lists all the transaction events for an address on the blockchain.</p>
738
601
  * <note>
@@ -840,60 +703,6 @@ export interface ListFilteredTransactionEventsInput {
840
703
  */
841
704
  maxResults?: number | undefined;
842
705
  }
843
- /**
844
- * @public
845
- * @enum
846
- */
847
- export declare const QueryTransactionEventType: {
848
- /**
849
- * A Bitcoin Vin transfer type
850
- */
851
- readonly BITCOIN_VIN: "BITCOIN_VIN";
852
- /**
853
- * A Bitcoin Vout transfer type
854
- */
855
- readonly BITCOIN_VOUT: "BITCOIN_VOUT";
856
- /**
857
- * An ERC1155 transfer type
858
- */
859
- readonly ERC1155_TRANSFER: "ERC1155_TRANSFER";
860
- /**
861
- * An ERC20_BURN transfer type
862
- */
863
- readonly ERC20_BURN: "ERC20_BURN";
864
- /**
865
- * An ERC20_DEPOSIT transfer type
866
- */
867
- readonly ERC20_DEPOSIT: "ERC20_DEPOSIT";
868
- /**
869
- * An ERC20_MINT transfer type
870
- */
871
- readonly ERC20_MINT: "ERC20_MINT";
872
- /**
873
- * An ERC20 transfer type
874
- */
875
- readonly ERC20_TRANSFER: "ERC20_TRANSFER";
876
- /**
877
- * An ERC20_WITHDRAWAL transfer type
878
- */
879
- readonly ERC20_WITHDRAWAL: "ERC20_WITHDRAWAL";
880
- /**
881
- * An ERC721 transfer type
882
- */
883
- readonly ERC721_TRANSFER: "ERC721_TRANSFER";
884
- /**
885
- * An ETH transfer type
886
- */
887
- readonly ETH_TRANSFER: "ETH_TRANSFER";
888
- /**
889
- * An internal ETH transfer type
890
- */
891
- readonly INTERNAL_ETH_TRANSFER: "INTERNAL_ETH_TRANSFER";
892
- };
893
- /**
894
- * @public
895
- */
896
- export type QueryTransactionEventType = (typeof QueryTransactionEventType)[keyof typeof QueryTransactionEventType];
897
706
  /**
898
707
  * <p>The container for the properties of a transaction event.</p>
899
708
  * @public
@@ -1197,20 +1006,6 @@ export interface ListTransactionEventsOutput {
1197
1006
  */
1198
1007
  nextToken?: string | undefined;
1199
1008
  }
1200
- /**
1201
- * @public
1202
- * @enum
1203
- */
1204
- export declare const ListTransactionsSortBy: {
1205
- /**
1206
- * Timestamp of a transaction
1207
- */
1208
- readonly TRANSACTION_TIMESTAMP: "TRANSACTION_TIMESTAMP";
1209
- };
1210
- /**
1211
- * @public
1212
- */
1213
- export type ListTransactionsSortBy = (typeof ListTransactionsSortBy)[keyof typeof ListTransactionsSortBy];
1214
1009
  /**
1215
1010
  * <p>The container for determining how the list transaction result will
1216
1011
  * be sorted.</p>
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ManagedBlockchainQueryExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
+ export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
10
11
  export { ManagedBlockchainQueryServiceException } from "./models/ManagedBlockchainQueryServiceException";
@@ -0,0 +1,73 @@
1
+ export declare const QueryNetwork: {
2
+ readonly BITCOIN_MAINNET: "BITCOIN_MAINNET";
3
+ readonly BITCOIN_TESTNET: "BITCOIN_TESTNET";
4
+ readonly ETHEREUM_MAINNET: "ETHEREUM_MAINNET";
5
+ readonly ETHEREUM_SEPOLIA_TESTNET: "ETHEREUM_SEPOLIA_TESTNET";
6
+ };
7
+ export type QueryNetwork = (typeof QueryNetwork)[keyof typeof QueryNetwork];
8
+ export declare const QueryTokenStandard: {
9
+ readonly ERC1155: "ERC1155";
10
+ readonly ERC20: "ERC20";
11
+ readonly ERC721: "ERC721";
12
+ };
13
+ export type QueryTokenStandard =
14
+ (typeof QueryTokenStandard)[keyof typeof QueryTokenStandard];
15
+ export declare const ErrorType: {
16
+ readonly RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION";
17
+ readonly VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION";
18
+ };
19
+ export type ErrorType = (typeof ErrorType)[keyof typeof ErrorType];
20
+ export declare const ResourceType: {
21
+ readonly COLLECTION: "collection";
22
+ };
23
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
24
+ export declare const ValidationExceptionReason: {
25
+ readonly CANNOT_PARSE: "cannotParse";
26
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
27
+ readonly OTHER: "other";
28
+ readonly UNKNOWN_OPERATION: "unknownOperation";
29
+ };
30
+ export type ValidationExceptionReason =
31
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
32
+ export declare const ConfirmationStatus: {
33
+ readonly FINAL: "FINAL";
34
+ readonly NONFINAL: "NONFINAL";
35
+ };
36
+ export type ConfirmationStatus =
37
+ (typeof ConfirmationStatus)[keyof typeof ConfirmationStatus];
38
+ export declare const ExecutionStatus: {
39
+ readonly FAILED: "FAILED";
40
+ readonly SUCCEEDED: "SUCCEEDED";
41
+ };
42
+ export type ExecutionStatus =
43
+ (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
44
+ export declare const ListFilteredTransactionEventsSortBy: {
45
+ readonly blockchainInstant: "blockchainInstant";
46
+ };
47
+ export type ListFilteredTransactionEventsSortBy =
48
+ (typeof ListFilteredTransactionEventsSortBy)[keyof typeof ListFilteredTransactionEventsSortBy];
49
+ export declare const SortOrder: {
50
+ readonly ASCENDING: "ASCENDING";
51
+ readonly DESCENDING: "DESCENDING";
52
+ };
53
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
54
+ export declare const QueryTransactionEventType: {
55
+ readonly BITCOIN_VIN: "BITCOIN_VIN";
56
+ readonly BITCOIN_VOUT: "BITCOIN_VOUT";
57
+ readonly ERC1155_TRANSFER: "ERC1155_TRANSFER";
58
+ readonly ERC20_BURN: "ERC20_BURN";
59
+ readonly ERC20_DEPOSIT: "ERC20_DEPOSIT";
60
+ readonly ERC20_MINT: "ERC20_MINT";
61
+ readonly ERC20_TRANSFER: "ERC20_TRANSFER";
62
+ readonly ERC20_WITHDRAWAL: "ERC20_WITHDRAWAL";
63
+ readonly ERC721_TRANSFER: "ERC721_TRANSFER";
64
+ readonly ETH_TRANSFER: "ETH_TRANSFER";
65
+ readonly INTERNAL_ETH_TRANSFER: "INTERNAL_ETH_TRANSFER";
66
+ };
67
+ export type QueryTransactionEventType =
68
+ (typeof QueryTransactionEventType)[keyof typeof QueryTransactionEventType];
69
+ export declare const ListTransactionsSortBy: {
70
+ readonly TRANSACTION_TIMESTAMP: "TRANSACTION_TIMESTAMP";
71
+ };
72
+ export type ListTransactionsSortBy =
73
+ (typeof ListTransactionsSortBy)[keyof typeof ListTransactionsSortBy];
@@ -1,10 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ResourceType, ValidationExceptionReason } from "./enums";
2
3
  import { ManagedBlockchainQueryServiceException as __BaseException } from "./ManagedBlockchainQueryServiceException";
3
- import {
4
- ResourceType,
5
- ValidationExceptionField,
6
- ValidationExceptionReason,
7
- } from "./models_0";
4
+ import { ValidationExceptionField } from "./models_0";
8
5
  export declare class AccessDeniedException extends __BaseException {
9
6
  readonly name: "AccessDeniedException";
10
7
  readonly $fault: "client";
@@ -1,24 +1,21 @@
1
+ import {
2
+ ConfirmationStatus,
3
+ ErrorType,
4
+ ExecutionStatus,
5
+ ListFilteredTransactionEventsSortBy,
6
+ ListTransactionsSortBy,
7
+ QueryNetwork,
8
+ QueryTokenStandard,
9
+ QueryTransactionEventType,
10
+ SortOrder,
11
+ } from "./enums";
1
12
  export interface AddressIdentifierFilter {
2
13
  transactionEventToAddress: string[] | undefined;
3
14
  }
4
- export declare const QueryNetwork: {
5
- readonly BITCOIN_MAINNET: "BITCOIN_MAINNET";
6
- readonly BITCOIN_TESTNET: "BITCOIN_TESTNET";
7
- readonly ETHEREUM_MAINNET: "ETHEREUM_MAINNET";
8
- readonly ETHEREUM_SEPOLIA_TESTNET: "ETHEREUM_SEPOLIA_TESTNET";
9
- };
10
- export type QueryNetwork = (typeof QueryNetwork)[keyof typeof QueryNetwork];
11
15
  export interface ContractIdentifier {
12
16
  network: QueryNetwork | undefined;
13
17
  contractAddress: string | undefined;
14
18
  }
15
- export declare const QueryTokenStandard: {
16
- readonly ERC1155: "ERC1155";
17
- readonly ERC20: "ERC20";
18
- readonly ERC721: "ERC721";
19
- };
20
- export type QueryTokenStandard =
21
- (typeof QueryTokenStandard)[keyof typeof QueryTokenStandard];
22
19
  export interface AssetContract {
23
20
  contractIdentifier: ContractIdentifier | undefined;
24
21
  tokenStandard: QueryTokenStandard | undefined;
@@ -43,11 +40,6 @@ export interface BatchGetTokenBalanceInputItem {
43
40
  export interface BatchGetTokenBalanceInput {
44
41
  getTokenBalanceInputs?: BatchGetTokenBalanceInputItem[] | undefined;
45
42
  }
46
- export declare const ErrorType: {
47
- readonly RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION";
48
- readonly VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION";
49
- };
50
- export type ErrorType = (typeof ErrorType)[keyof typeof ErrorType];
51
43
  export interface BatchGetTokenBalanceErrorItem {
52
44
  tokenIdentifier?: TokenIdentifier | undefined;
53
45
  ownerIdentifier?: OwnerIdentifier | undefined;
@@ -67,28 +59,10 @@ export interface BatchGetTokenBalanceOutput {
67
59
  tokenBalances: BatchGetTokenBalanceOutputItem[] | undefined;
68
60
  errors: BatchGetTokenBalanceErrorItem[] | undefined;
69
61
  }
70
- export declare const ResourceType: {
71
- readonly COLLECTION: "collection";
72
- };
73
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
74
62
  export interface ValidationExceptionField {
75
63
  name: string | undefined;
76
64
  message: string | undefined;
77
65
  }
78
- export declare const ValidationExceptionReason: {
79
- readonly CANNOT_PARSE: "cannotParse";
80
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
81
- readonly OTHER: "other";
82
- readonly UNKNOWN_OPERATION: "unknownOperation";
83
- };
84
- export type ValidationExceptionReason =
85
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
86
- export declare const ConfirmationStatus: {
87
- readonly FINAL: "FINAL";
88
- readonly NONFINAL: "NONFINAL";
89
- };
90
- export type ConfirmationStatus =
91
- (typeof ConfirmationStatus)[keyof typeof ConfirmationStatus];
92
66
  export interface ConfirmationStatusFilter {
93
67
  include: ConfirmationStatus[] | undefined;
94
68
  }
@@ -102,12 +76,6 @@ export interface ContractMetadata {
102
76
  symbol?: string | undefined;
103
77
  decimals?: number | undefined;
104
78
  }
105
- export declare const ExecutionStatus: {
106
- readonly FAILED: "FAILED";
107
- readonly SUCCEEDED: "SUCCEEDED";
108
- };
109
- export type ExecutionStatus =
110
- (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
111
79
  export interface GetAssetContractInput {
112
80
  contractIdentifier: ContractIdentifier | undefined;
113
81
  }
@@ -168,16 +136,6 @@ export interface ListAssetContractsOutput {
168
136
  contracts: AssetContract[] | undefined;
169
137
  nextToken?: string | undefined;
170
138
  }
171
- export declare const ListFilteredTransactionEventsSortBy: {
172
- readonly blockchainInstant: "blockchainInstant";
173
- };
174
- export type ListFilteredTransactionEventsSortBy =
175
- (typeof ListFilteredTransactionEventsSortBy)[keyof typeof ListFilteredTransactionEventsSortBy];
176
- export declare const SortOrder: {
177
- readonly ASCENDING: "ASCENDING";
178
- readonly DESCENDING: "DESCENDING";
179
- };
180
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
181
139
  export interface ListFilteredTransactionEventsSort {
182
140
  sortBy?: ListFilteredTransactionEventsSortBy | undefined;
183
141
  sortOrder?: SortOrder | undefined;
@@ -199,21 +157,6 @@ export interface ListFilteredTransactionEventsInput {
199
157
  nextToken?: string | undefined;
200
158
  maxResults?: number | undefined;
201
159
  }
202
- export declare const QueryTransactionEventType: {
203
- readonly BITCOIN_VIN: "BITCOIN_VIN";
204
- readonly BITCOIN_VOUT: "BITCOIN_VOUT";
205
- readonly ERC1155_TRANSFER: "ERC1155_TRANSFER";
206
- readonly ERC20_BURN: "ERC20_BURN";
207
- readonly ERC20_DEPOSIT: "ERC20_DEPOSIT";
208
- readonly ERC20_MINT: "ERC20_MINT";
209
- readonly ERC20_TRANSFER: "ERC20_TRANSFER";
210
- readonly ERC20_WITHDRAWAL: "ERC20_WITHDRAWAL";
211
- readonly ERC721_TRANSFER: "ERC721_TRANSFER";
212
- readonly ETH_TRANSFER: "ETH_TRANSFER";
213
- readonly INTERNAL_ETH_TRANSFER: "INTERNAL_ETH_TRANSFER";
214
- };
215
- export type QueryTransactionEventType =
216
- (typeof QueryTransactionEventType)[keyof typeof QueryTransactionEventType];
217
160
  export interface TransactionEvent {
218
161
  network: QueryNetwork | undefined;
219
162
  transactionHash: string | undefined;
@@ -272,11 +215,6 @@ export interface ListTransactionEventsOutput {
272
215
  events: TransactionEvent[] | undefined;
273
216
  nextToken?: string | undefined;
274
217
  }
275
- export declare const ListTransactionsSortBy: {
276
- readonly TRANSACTION_TIMESTAMP: "TRANSACTION_TIMESTAMP";
277
- };
278
- export type ListTransactionsSortBy =
279
- (typeof ListTransactionsSortBy)[keyof typeof ListTransactionsSortBy];
280
218
  export interface ListTransactionsSort {
281
219
  sortBy?: ListTransactionsSortBy | undefined;
282
220
  sortOrder?: SortOrder | undefined;
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.935.0",
4
+ "version": "3.939.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-managedblockchain-query",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.935.0",
24
- "@aws-sdk/credential-provider-node": "3.935.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.935.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.935.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.939.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",