cdk-lambda-subminute 2.0.408 → 2.0.409

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.
@@ -51,6 +51,14 @@ declare class ManagedBlockchainQuery extends Service {
51
51
  * Lists all the contracts for a given contract type deployed by an address (either a contract address or a wallet address). The Bitcoin blockchain networks do not support this operation.
52
52
  */
53
53
  listAssetContracts(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.ListAssetContractsOutput) => void): Request<ManagedBlockchainQuery.Types.ListAssetContractsOutput, AWSError>;
54
+ /**
55
+ * Lists all the transaction events for an address on the blockchain. This operation is only supported on the Bitcoin networks.
56
+ */
57
+ listFilteredTransactionEvents(params: ManagedBlockchainQuery.Types.ListFilteredTransactionEventsInput, callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.ListFilteredTransactionEventsOutput) => void): Request<ManagedBlockchainQuery.Types.ListFilteredTransactionEventsOutput, AWSError>;
58
+ /**
59
+ * Lists all the transaction events for an address on the blockchain. This operation is only supported on the Bitcoin networks.
60
+ */
61
+ listFilteredTransactionEvents(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.ListFilteredTransactionEventsOutput) => void): Request<ManagedBlockchainQuery.Types.ListFilteredTransactionEventsOutput, AWSError>;
54
62
  /**
55
63
  * This action returns the following for a given blockchain network: Lists all token balances owned by an address (either a contract address or a wallet address). Lists all token balances for all tokens created by a contract. Lists all token balances for a given token. You must always specify the network property of the tokenFilter when using this operation.
56
64
  */
@@ -60,23 +68,30 @@ declare class ManagedBlockchainQuery extends Service {
60
68
  */
61
69
  listTokenBalances(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.ListTokenBalancesOutput) => void): Request<ManagedBlockchainQuery.Types.ListTokenBalancesOutput, AWSError>;
62
70
  /**
63
- * An array of TransactionEvent objects. Each object contains details about the transaction event. This action will return transaction details for all transactions that are confirmed on the blockchain, even if they have not reached finality.
71
+ * Lists all the transaction events for a transaction This action will return transaction details for all transactions that are confirmed on the blockchain, even if they have not reached finality.
64
72
  */
65
73
  listTransactionEvents(params: ManagedBlockchainQuery.Types.ListTransactionEventsInput, callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.ListTransactionEventsOutput) => void): Request<ManagedBlockchainQuery.Types.ListTransactionEventsOutput, AWSError>;
66
74
  /**
67
- * An array of TransactionEvent objects. Each object contains details about the transaction event. This action will return transaction details for all transactions that are confirmed on the blockchain, even if they have not reached finality.
75
+ * Lists all the transaction events for a transaction This action will return transaction details for all transactions that are confirmed on the blockchain, even if they have not reached finality.
68
76
  */
69
77
  listTransactionEvents(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.ListTransactionEventsOutput) => void): Request<ManagedBlockchainQuery.Types.ListTransactionEventsOutput, AWSError>;
70
78
  /**
71
- * Lists all of the transactions on a given wallet address or to a specific contract.
79
+ * Lists all the transaction events for a transaction.
72
80
  */
73
81
  listTransactions(params: ManagedBlockchainQuery.Types.ListTransactionsInput, callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.ListTransactionsOutput) => void): Request<ManagedBlockchainQuery.Types.ListTransactionsOutput, AWSError>;
74
82
  /**
75
- * Lists all of the transactions on a given wallet address or to a specific contract.
83
+ * Lists all the transaction events for a transaction.
76
84
  */
77
85
  listTransactions(callback?: (err: AWSError, data: ManagedBlockchainQuery.Types.ListTransactionsOutput) => void): Request<ManagedBlockchainQuery.Types.ListTransactionsOutput, AWSError>;
78
86
  }
79
87
  declare namespace ManagedBlockchainQuery {
88
+ export interface AddressIdentifierFilter {
89
+ /**
90
+ * The container for the recipient address of the transaction.
91
+ */
92
+ transactionEventToAddress: AddressIdentifierFilterTransactionEventToAddressList;
93
+ }
94
+ export type AddressIdentifierFilterTransactionEventToAddressList = ChainAddress[];
80
95
  export interface AssetContract {
81
96
  /**
82
97
  * The container for the contract identifier containing its blockchain network and address.
@@ -149,6 +164,7 @@ declare namespace ManagedBlockchainQuery {
149
164
  */
150
165
  time?: Timestamp;
151
166
  }
167
+ export type Boolean = boolean;
152
168
  export type ChainAddress = string;
153
169
  export type ConfirmationStatus = "FINAL"|"NONFINAL"|string;
154
170
  export interface ConfirmationStatusFilter {
@@ -246,7 +262,7 @@ declare namespace ManagedBlockchainQuery {
246
262
  }
247
263
  export interface GetTransactionInput {
248
264
  /**
249
- * The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
265
+ * The hash of a transaction. It is generated when a transaction is created.
250
266
  */
251
267
  transactionHash: QueryTransactionHash;
252
268
  /**
@@ -271,7 +287,7 @@ declare namespace ManagedBlockchainQuery {
271
287
  */
272
288
  nextToken?: NextToken;
273
289
  /**
274
- * The maximum number of contracts to list. Default:100 Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return
290
+ * The maximum number of contracts to list. Default: 100 Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return
275
291
  */
276
292
  maxResults?: ListAssetContractsInputMaxResultsInteger;
277
293
  }
@@ -286,6 +302,59 @@ declare namespace ManagedBlockchainQuery {
286
302
  */
287
303
  nextToken?: NextToken;
288
304
  }
305
+ export interface ListFilteredTransactionEventsInput {
306
+ /**
307
+ * The blockchain network where the transaction occurred. Valid Values: BITCOIN_MAINNET | BITCOIN_TESTNET
308
+ */
309
+ network: String;
310
+ /**
311
+ * This is the unique public address on the blockchain for which the transaction events are being requested.
312
+ */
313
+ addressIdentifierFilter: AddressIdentifierFilter;
314
+ /**
315
+ * This container specifies the time frame for the transaction events returned in the response.
316
+ */
317
+ timeFilter?: TimeFilter;
318
+ /**
319
+ * This container specifies filtering attributes related to BITCOIN_VOUT event types
320
+ */
321
+ voutFilter?: VoutFilter;
322
+ confirmationStatusFilter?: ConfirmationStatusFilter;
323
+ /**
324
+ * The order by which the results will be sorted.
325
+ */
326
+ sort?: ListFilteredTransactionEventsSort;
327
+ /**
328
+ * The pagination token that indicates the next set of results to retrieve.
329
+ */
330
+ nextToken?: NextToken;
331
+ /**
332
+ * The maximum number of transaction events to list. Default: 100 Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return
333
+ */
334
+ maxResults?: ListFilteredTransactionEventsInputMaxResultsInteger;
335
+ }
336
+ export type ListFilteredTransactionEventsInputMaxResultsInteger = number;
337
+ export interface ListFilteredTransactionEventsOutput {
338
+ /**
339
+ * The transaction events returned by the request.
340
+ */
341
+ events: TransactionEventList;
342
+ /**
343
+ * The pagination token that indicates the next set of results to retrieve.
344
+ */
345
+ nextToken?: NextToken;
346
+ }
347
+ export interface ListFilteredTransactionEventsSort {
348
+ /**
349
+ * Container on how the results will be sorted by?
350
+ */
351
+ sortBy?: ListFilteredTransactionEventsSortBy;
352
+ /**
353
+ * The container for the sort order for ListFilteredTransactionEvents. The SortOrder field only accepts the values ASCENDING and DESCENDING. Not providing SortOrder will default to ASCENDING.
354
+ */
355
+ sortOrder?: SortOrder;
356
+ }
357
+ export type ListFilteredTransactionEventsSortBy = "blockchainInstant"|string;
289
358
  export interface ListTokenBalancesInput {
290
359
  /**
291
360
  * The contract or wallet address on the blockchain network by which to filter the request. You must specify the address property of the ownerFilter when listing balances of tokens owned by the address.
@@ -300,7 +369,7 @@ declare namespace ManagedBlockchainQuery {
300
369
  */
301
370
  nextToken?: NextToken;
302
371
  /**
303
- * The maximum number of token balances to return. Default:100 Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return
372
+ * The maximum number of token balances to return. Default: 100 Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return
304
373
  */
305
374
  maxResults?: ListTokenBalancesInputMaxResultsInteger;
306
375
  }
@@ -317,9 +386,13 @@ declare namespace ManagedBlockchainQuery {
317
386
  }
318
387
  export interface ListTransactionEventsInput {
319
388
  /**
320
- * The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
389
+ * The hash of a transaction. It is generated when a transaction is created.
321
390
  */
322
- transactionHash: QueryTransactionHash;
391
+ transactionHash?: QueryTransactionHash;
392
+ /**
393
+ * The identifier of a Bitcoin transaction. It is generated when a transaction is created. transactionId is only supported on the Bitcoin networks.
394
+ */
395
+ transactionId?: QueryTransactionId;
323
396
  /**
324
397
  * The blockchain network where the transaction events occurred.
325
398
  */
@@ -329,7 +402,7 @@ declare namespace ManagedBlockchainQuery {
329
402
  */
330
403
  nextToken?: NextToken;
331
404
  /**
332
- * The maximum number of transaction events to list. Default:100 Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return
405
+ * The maximum number of transaction events to list. Default: 100 Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return
333
406
  */
334
407
  maxResults?: ListTransactionEventsInputMaxResultsInteger;
335
408
  }
@@ -356,7 +429,7 @@ declare namespace ManagedBlockchainQuery {
356
429
  fromBlockchainInstant?: BlockchainInstant;
357
430
  toBlockchainInstant?: BlockchainInstant;
358
431
  /**
359
- * The order by which the results will be sorted. If ASCENNDING is selected, the results will be ordered by fromTime.
432
+ * The order by which the results will be sorted.
360
433
  */
361
434
  sort?: ListTransactionsSort;
362
435
  /**
@@ -364,11 +437,11 @@ declare namespace ManagedBlockchainQuery {
364
437
  */
365
438
  nextToken?: NextToken;
366
439
  /**
367
- * The maximum number of transactions to list. Default:100 Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return
440
+ * The maximum number of transactions to list. Default: 100 Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return
368
441
  */
369
442
  maxResults?: ListTransactionsInputMaxResultsInteger;
370
443
  /**
371
- * This filter is used to include transactions in the response that haven't reached finality . Transactions that have reached finiality are always part of the response.
444
+ * This filter is used to include transactions in the response that haven't reached finality . Transactions that have reached finality are always part of the response.
372
445
  */
373
446
  confirmationStatusFilter?: ConfirmationStatusFilter;
374
447
  }
@@ -413,8 +486,13 @@ declare namespace ManagedBlockchainQuery {
413
486
  export type QueryTokenStandard = "ERC20"|"ERC721"|"ERC1155"|string;
414
487
  export type QueryTransactionEventType = "ERC20_TRANSFER"|"ERC20_MINT"|"ERC20_BURN"|"ERC20_DEPOSIT"|"ERC20_WITHDRAWAL"|"ERC721_TRANSFER"|"ERC1155_TRANSFER"|"BITCOIN_VIN"|"BITCOIN_VOUT"|"INTERNAL_ETH_TRANSFER"|"ETH_TRANSFER"|string;
415
488
  export type QueryTransactionHash = string;
489
+ export type QueryTransactionId = string;
416
490
  export type SortOrder = "ASCENDING"|"DESCENDING"|string;
417
491
  export type String = string;
492
+ export interface TimeFilter {
493
+ from?: BlockchainInstant;
494
+ to?: BlockchainInstant;
495
+ }
418
496
  export type Timestamp = Date;
419
497
  export interface TokenBalance {
420
498
  /**
@@ -477,7 +555,7 @@ declare namespace ManagedBlockchainQuery {
477
555
  */
478
556
  blockHash?: BlockHash;
479
557
  /**
480
- * The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
558
+ * The hash of a transaction. It is generated when a transaction is created.
481
559
  */
482
560
  transactionHash: QueryTransactionHash;
483
561
  /**
@@ -537,7 +615,7 @@ declare namespace ManagedBlockchainQuery {
537
615
  */
538
616
  transactionFee?: String;
539
617
  /**
540
- * The unique identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
618
+ * The identifier of a Bitcoin transaction. It is generated when a transaction is created.
541
619
  */
542
620
  transactionId?: String;
543
621
  /**
@@ -555,7 +633,7 @@ declare namespace ManagedBlockchainQuery {
555
633
  */
556
634
  network: QueryNetwork;
557
635
  /**
558
- * The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
636
+ * The hash of a transaction. It is generated when a transaction is created.
559
637
  */
560
638
  transactionHash: QueryTransactionHash;
561
639
  /**
@@ -575,7 +653,7 @@ declare namespace ManagedBlockchainQuery {
575
653
  */
576
654
  value?: String;
577
655
  /**
578
- * The blockchain address. for the contract
656
+ * The blockchain address for the contract
579
657
  */
580
658
  contractAddress?: ChainAddress;
581
659
  /**
@@ -583,18 +661,39 @@ declare namespace ManagedBlockchainQuery {
583
661
  */
584
662
  tokenId?: QueryTokenId;
585
663
  /**
586
- * The unique identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
664
+ * The identifier of a Bitcoin transaction. It is generated when a transaction is created.
587
665
  */
588
666
  transactionId?: String;
589
667
  /**
590
- * The position of the vout in the transaction output list.
668
+ * The position of the transaction output in the transaction output list.
591
669
  */
592
670
  voutIndex?: Integer;
671
+ /**
672
+ * Specifies if the transaction output is spent or unspent. This is only returned for BITCOIN_VOUT event types. This is only returned for BITCOIN_VOUT event types.
673
+ */
674
+ voutSpent?: Boolean;
675
+ /**
676
+ * The transactionId that created the spent transaction output. This is only returned for BITCOIN_VIN event types.
677
+ */
678
+ spentVoutTransactionId?: String;
679
+ /**
680
+ * The transactionHash that created the spent transaction output. This is only returned for BITCOIN_VIN event types.
681
+ */
682
+ spentVoutTransactionHash?: String;
683
+ /**
684
+ * The position of the spent transaction output in the output list of the creating transaction. This is only returned for BITCOIN_VIN event types.
685
+ */
686
+ spentVoutIndex?: Integer;
687
+ blockchainInstant?: BlockchainInstant;
688
+ /**
689
+ * This container specifies whether the transaction has reached Finality.
690
+ */
691
+ confirmationStatus?: ConfirmationStatus;
593
692
  }
594
693
  export type TransactionEventList = TransactionEvent[];
595
694
  export interface TransactionOutputItem {
596
695
  /**
597
- * The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
696
+ * The hash of a transaction. It is generated when a transaction is created.
598
697
  */
599
698
  transactionHash: QueryTransactionHash;
600
699
  /**
@@ -611,6 +710,12 @@ declare namespace ManagedBlockchainQuery {
611
710
  confirmationStatus?: ConfirmationStatus;
612
711
  }
613
712
  export type TransactionOutputList = TransactionOutputItem[];
713
+ export interface VoutFilter {
714
+ /**
715
+ * Specifies if the transaction output is spent or unspent.
716
+ */
717
+ voutSpent: Boolean;
718
+ }
614
719
  /**
615
720
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
616
721
  */
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1580.0',
86
+ VERSION: '2.1581.0',
87
87
 
88
88
  /**
89
89
  * @api private