@aws-sdk/client-managedblockchain-query 3.477.0 → 3.481.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.
Files changed (59) hide show
  1. package/dist-cjs/commands/BatchGetTokenBalanceCommand.js +18 -41
  2. package/dist-cjs/commands/GetAssetContractCommand.js +18 -41
  3. package/dist-cjs/commands/GetTokenBalanceCommand.js +18 -41
  4. package/dist-cjs/commands/GetTransactionCommand.js +18 -41
  5. package/dist-cjs/commands/ListAssetContractsCommand.js +18 -41
  6. package/dist-cjs/commands/ListTokenBalancesCommand.js +18 -41
  7. package/dist-cjs/commands/ListTransactionEventsCommand.js +18 -41
  8. package/dist-cjs/commands/ListTransactionsCommand.js +18 -41
  9. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  10. package/dist-cjs/models/models_0.js +8 -1
  11. package/dist-cjs/pagination/ListAssetContractsPaginator.js +2 -24
  12. package/dist-cjs/pagination/ListTokenBalancesPaginator.js +2 -24
  13. package/dist-cjs/pagination/ListTransactionEventsPaginator.js +2 -24
  14. package/dist-cjs/pagination/ListTransactionsPaginator.js +2 -24
  15. package/dist-cjs/protocols/Aws_restJson1.js +2 -0
  16. package/dist-es/commands/BatchGetTokenBalanceCommand.js +18 -41
  17. package/dist-es/commands/GetAssetContractCommand.js +18 -41
  18. package/dist-es/commands/GetTokenBalanceCommand.js +18 -41
  19. package/dist-es/commands/GetTransactionCommand.js +18 -41
  20. package/dist-es/commands/ListAssetContractsCommand.js +18 -41
  21. package/dist-es/commands/ListTokenBalancesCommand.js +18 -41
  22. package/dist-es/commands/ListTransactionEventsCommand.js +18 -41
  23. package/dist-es/commands/ListTransactionsCommand.js +18 -41
  24. package/dist-es/endpoint/EndpointParameters.js +6 -0
  25. package/dist-es/models/models_0.js +7 -0
  26. package/dist-es/pagination/ListAssetContractsPaginator.js +2 -23
  27. package/dist-es/pagination/ListTokenBalancesPaginator.js +2 -23
  28. package/dist-es/pagination/ListTransactionEventsPaginator.js +2 -23
  29. package/dist-es/pagination/ListTransactionsPaginator.js +2 -23
  30. package/dist-es/protocols/Aws_restJson1.js +2 -0
  31. package/dist-types/commands/BatchGetTokenBalanceCommand.d.ts +6 -21
  32. package/dist-types/commands/GetAssetContractCommand.d.ts +6 -21
  33. package/dist-types/commands/GetTokenBalanceCommand.d.ts +6 -21
  34. package/dist-types/commands/GetTransactionCommand.d.ts +9 -22
  35. package/dist-types/commands/ListAssetContractsCommand.d.ts +6 -21
  36. package/dist-types/commands/ListTokenBalancesCommand.d.ts +6 -21
  37. package/dist-types/commands/ListTransactionEventsCommand.d.ts +6 -21
  38. package/dist-types/commands/ListTransactionsCommand.d.ts +6 -21
  39. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  40. package/dist-types/models/models_0.d.ts +53 -3
  41. package/dist-types/pagination/ListAssetContractsPaginator.d.ts +1 -1
  42. package/dist-types/pagination/ListTokenBalancesPaginator.d.ts +1 -1
  43. package/dist-types/pagination/ListTransactionEventsPaginator.d.ts +1 -1
  44. package/dist-types/pagination/ListTransactionsPaginator.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/BatchGetTokenBalanceCommand.d.ts +12 -24
  46. package/dist-types/ts3.4/commands/GetAssetContractCommand.d.ts +14 -23
  47. package/dist-types/ts3.4/commands/GetTokenBalanceCommand.d.ts +14 -23
  48. package/dist-types/ts3.4/commands/GetTransactionCommand.d.ts +14 -23
  49. package/dist-types/ts3.4/commands/ListAssetContractsCommand.d.ts +14 -23
  50. package/dist-types/ts3.4/commands/ListTokenBalancesCommand.d.ts +14 -23
  51. package/dist-types/ts3.4/commands/ListTransactionEventsCommand.d.ts +12 -24
  52. package/dist-types/ts3.4/commands/ListTransactionsCommand.d.ts +14 -23
  53. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +14 -1
  55. package/dist-types/ts3.4/pagination/ListAssetContractsPaginator.d.ts +3 -3
  56. package/dist-types/ts3.4/pagination/ListTokenBalancesPaginator.d.ts +3 -3
  57. package/dist-types/ts3.4/pagination/ListTransactionEventsPaginator.d.ts +3 -3
  58. package/dist-types/ts3.4/pagination/ListTransactionsPaginator.d.ts +3 -3
  59. package/package.json +11 -11
@@ -75,7 +75,7 @@ export interface AssetContract {
75
75
  /**
76
76
  * @public
77
77
  * <p>The container for the contract identifier containing its blockchain network
78
- * and address.</p>
78
+ * and address.</p>
79
79
  */
80
80
  contractIdentifier: ContractIdentifier | undefined;
81
81
  /**
@@ -456,6 +456,17 @@ export declare class ValidationException extends __BaseException {
456
456
  */
457
457
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
458
458
  }
459
+ /**
460
+ * @public
461
+ * @enum
462
+ */
463
+ export declare const ConfirmationStatus: {
464
+ readonly FINAL: "FINAL";
465
+ };
466
+ /**
467
+ * @public
468
+ */
469
+ export type ConfirmationStatus = (typeof ConfirmationStatus)[keyof typeof ConfirmationStatus];
459
470
  /**
460
471
  * @public
461
472
  * <p>The contract or wallet address by which to filter the request.</p>
@@ -498,6 +509,18 @@ export interface ContractMetadata {
498
509
  */
499
510
  decimals?: number;
500
511
  }
512
+ /**
513
+ * @public
514
+ * @enum
515
+ */
516
+ export declare const ExecutionStatus: {
517
+ readonly FAILED: "FAILED";
518
+ readonly SUCCEEDED: "SUCCEEDED";
519
+ };
520
+ /**
521
+ * @public
522
+ */
523
+ export type ExecutionStatus = (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
501
524
  /**
502
525
  * @public
503
526
  */
@@ -681,9 +704,26 @@ export interface Transaction {
681
704
  numberOfTransactions: number | undefined;
682
705
  /**
683
706
  * @public
707
+ * @deprecated
708
+ *
684
709
  * <p>The status of the transaction.</p>
685
- */
686
- status: QueryTransactionStatus | undefined;
710
+ * <important>
711
+ * <p>This property is deprecated. You must use the <code>confirmationStatus</code>
712
+ * and the <code>executionStatus</code> properties to determine if the <code>status</code>
713
+ * of the transaction is <code>FINAL</code> or <code>FAILED</code>.</p>
714
+ * <ul>
715
+ * <li>
716
+ * <p>Transactions with a <code>status</code> of <code>FINAL</code> will now have the <code>confirmationStatus</code> set
717
+ * to <code>FINAL</code> and the <code>executionStatus</code> set to <code>SUCCEEDED</code>.</p>
718
+ * </li>
719
+ * <li>
720
+ * <p>Transactions with a <code>status</code> of <code>FAILED</code> will now have the <code>confirmationStatus</code> set
721
+ * to <code>FINAL</code> and the <code>executionStatus</code> set to <code>FAILED</code>.</p>
722
+ * </li>
723
+ * </ul>
724
+ * </important>
725
+ */
726
+ status?: QueryTransactionStatus;
687
727
  /**
688
728
  * @public
689
729
  * <p>The identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
@@ -740,6 +780,16 @@ export interface Transaction {
740
780
  * <p>The unique identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
741
781
  */
742
782
  transactionId?: string;
783
+ /**
784
+ * @public
785
+ * <p>Specifies whether the transaction has reached Finality.</p>
786
+ */
787
+ confirmationStatus?: ConfirmationStatus;
788
+ /**
789
+ * @public
790
+ * <p>Identifies whether the transaction has succeeded or failed.</p>
791
+ */
792
+ executionStatus?: ExecutionStatus;
743
793
  }
744
794
  /**
745
795
  * @public
@@ -4,4 +4,4 @@ import { ManagedBlockchainQueryPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListAssetContracts(config: ManagedBlockchainQueryPaginationConfiguration, input: ListAssetContractsCommandInput, ...additionalArguments: any): Paginator<ListAssetContractsCommandOutput>;
7
+ export declare const paginateListAssetContracts: (config: ManagedBlockchainQueryPaginationConfiguration, input: ListAssetContractsCommandInput, ...rest: any[]) => Paginator<ListAssetContractsCommandOutput>;
@@ -4,4 +4,4 @@ import { ManagedBlockchainQueryPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListTokenBalances(config: ManagedBlockchainQueryPaginationConfiguration, input: ListTokenBalancesCommandInput, ...additionalArguments: any): Paginator<ListTokenBalancesCommandOutput>;
7
+ export declare const paginateListTokenBalances: (config: ManagedBlockchainQueryPaginationConfiguration, input: ListTokenBalancesCommandInput, ...rest: any[]) => Paginator<ListTokenBalancesCommandOutput>;
@@ -4,4 +4,4 @@ import { ManagedBlockchainQueryPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListTransactionEvents(config: ManagedBlockchainQueryPaginationConfiguration, input: ListTransactionEventsCommandInput, ...additionalArguments: any): Paginator<ListTransactionEventsCommandOutput>;
7
+ export declare const paginateListTransactionEvents: (config: ManagedBlockchainQueryPaginationConfiguration, input: ListTransactionEventsCommandInput, ...rest: any[]) => Paginator<ListTransactionEventsCommandOutput>;
@@ -4,4 +4,4 @@ import { ManagedBlockchainQueryPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListTransactions(config: ManagedBlockchainQueryPaginationConfiguration, input: ListTransactionsCommandInput, ...additionalArguments: any): Paginator<ListTransactionsCommandOutput>;
7
+ export declare const paginateListTransactions: (config: ManagedBlockchainQueryPaginationConfiguration, input: ListTransactionsCommandInput, ...rest: any[]) => Paginator<ListTransactionsCommandOutput>;
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  ManagedBlockchainQueryClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,22 +15,16 @@ export interface BatchGetTokenBalanceCommandInput
21
15
  export interface BatchGetTokenBalanceCommandOutput
22
16
  extends BatchGetTokenBalanceOutput,
23
17
  __MetadataBearer {}
24
- export declare class BatchGetTokenBalanceCommand extends $Command<
25
- BatchGetTokenBalanceCommandInput,
26
- BatchGetTokenBalanceCommandOutput,
27
- ManagedBlockchainQueryClientResolvedConfig
28
- > {
29
- readonly input: BatchGetTokenBalanceCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: BatchGetTokenBalanceCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: ManagedBlockchainQueryClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const BatchGetTokenBalanceCommand_base: {
19
+ new (
20
+ input: BatchGetTokenBalanceCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  BatchGetTokenBalanceCommandInput,
38
- BatchGetTokenBalanceCommandOutput
23
+ BatchGetTokenBalanceCommandOutput,
24
+ ManagedBlockchainQueryClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class BatchGetTokenBalanceCommand extends BatchGetTokenBalanceCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  ManagedBlockchainQueryClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface GetAssetContractCommandInput extends GetAssetContractInput {}
20
14
  export interface GetAssetContractCommandOutput
21
15
  extends GetAssetContractOutput,
22
16
  __MetadataBearer {}
23
- export declare class GetAssetContractCommand extends $Command<
24
- GetAssetContractCommandInput,
25
- GetAssetContractCommandOutput,
26
- ManagedBlockchainQueryClientResolvedConfig
27
- > {
28
- readonly input: GetAssetContractCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: GetAssetContractCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: ManagedBlockchainQueryClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<GetAssetContractCommandInput, GetAssetContractCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const GetAssetContractCommand_base: {
18
+ new (
19
+ input: GetAssetContractCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ GetAssetContractCommandInput,
22
+ GetAssetContractCommandOutput,
23
+ ManagedBlockchainQueryClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class GetAssetContractCommand extends GetAssetContractCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  ManagedBlockchainQueryClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface GetTokenBalanceCommandInput extends GetTokenBalanceInput {}
20
14
  export interface GetTokenBalanceCommandOutput
21
15
  extends GetTokenBalanceOutput,
22
16
  __MetadataBearer {}
23
- export declare class GetTokenBalanceCommand extends $Command<
24
- GetTokenBalanceCommandInput,
25
- GetTokenBalanceCommandOutput,
26
- ManagedBlockchainQueryClientResolvedConfig
27
- > {
28
- readonly input: GetTokenBalanceCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: GetTokenBalanceCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: ManagedBlockchainQueryClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<GetTokenBalanceCommandInput, GetTokenBalanceCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const GetTokenBalanceCommand_base: {
18
+ new (
19
+ input: GetTokenBalanceCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ GetTokenBalanceCommandInput,
22
+ GetTokenBalanceCommandOutput,
23
+ ManagedBlockchainQueryClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class GetTokenBalanceCommand extends GetTokenBalanceCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  ManagedBlockchainQueryClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface GetTransactionCommandInput extends GetTransactionInput {}
17
11
  export interface GetTransactionCommandOutput
18
12
  extends GetTransactionOutput,
19
13
  __MetadataBearer {}
20
- export declare class GetTransactionCommand extends $Command<
21
- GetTransactionCommandInput,
22
- GetTransactionCommandOutput,
23
- ManagedBlockchainQueryClientResolvedConfig
24
- > {
25
- readonly input: GetTransactionCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: GetTransactionCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: ManagedBlockchainQueryClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<GetTransactionCommandInput, GetTransactionCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const GetTransactionCommand_base: {
15
+ new (
16
+ input: GetTransactionCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ GetTransactionCommandInput,
19
+ GetTransactionCommandOutput,
20
+ ManagedBlockchainQueryClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class GetTransactionCommand extends GetTransactionCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  ManagedBlockchainQueryClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,19 +15,16 @@ export interface ListAssetContractsCommandInput
21
15
  export interface ListAssetContractsCommandOutput
22
16
  extends ListAssetContractsOutput,
23
17
  __MetadataBearer {}
24
- export declare class ListAssetContractsCommand extends $Command<
25
- ListAssetContractsCommandInput,
26
- ListAssetContractsCommandOutput,
27
- ManagedBlockchainQueryClientResolvedConfig
28
- > {
29
- readonly input: ListAssetContractsCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: ListAssetContractsCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: ManagedBlockchainQueryClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<ListAssetContractsCommandInput, ListAssetContractsCommandOutput>;
37
- private serialize;
38
- private deserialize;
39
- }
18
+ declare const ListAssetContractsCommand_base: {
19
+ new (
20
+ input: ListAssetContractsCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ ListAssetContractsCommandInput,
23
+ ListAssetContractsCommandOutput,
24
+ ManagedBlockchainQueryClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class ListAssetContractsCommand extends ListAssetContractsCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  ManagedBlockchainQueryClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface ListTokenBalancesCommandInput extends ListTokenBalancesInput {}
20
14
  export interface ListTokenBalancesCommandOutput
21
15
  extends ListTokenBalancesOutput,
22
16
  __MetadataBearer {}
23
- export declare class ListTokenBalancesCommand extends $Command<
24
- ListTokenBalancesCommandInput,
25
- ListTokenBalancesCommandOutput,
26
- ManagedBlockchainQueryClientResolvedConfig
27
- > {
28
- readonly input: ListTokenBalancesCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: ListTokenBalancesCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: ManagedBlockchainQueryClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<ListTokenBalancesCommandInput, ListTokenBalancesCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const ListTokenBalancesCommand_base: {
18
+ new (
19
+ input: ListTokenBalancesCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ ListTokenBalancesCommandInput,
22
+ ListTokenBalancesCommandOutput,
23
+ ManagedBlockchainQueryClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class ListTokenBalancesCommand extends ListTokenBalancesCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  ManagedBlockchainQueryClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,22 +15,16 @@ export interface ListTransactionEventsCommandInput
21
15
  export interface ListTransactionEventsCommandOutput
22
16
  extends ListTransactionEventsOutput,
23
17
  __MetadataBearer {}
24
- export declare class ListTransactionEventsCommand extends $Command<
25
- ListTransactionEventsCommandInput,
26
- ListTransactionEventsCommandOutput,
27
- ManagedBlockchainQueryClientResolvedConfig
28
- > {
29
- readonly input: ListTransactionEventsCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: ListTransactionEventsCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: ManagedBlockchainQueryClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const ListTransactionEventsCommand_base: {
19
+ new (
20
+ input: ListTransactionEventsCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  ListTransactionEventsCommandInput,
38
- ListTransactionEventsCommandOutput
23
+ ListTransactionEventsCommandOutput,
24
+ ManagedBlockchainQueryClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class ListTransactionEventsCommand extends ListTransactionEventsCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  ManagedBlockchainQueryClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface ListTransactionsCommandInput extends ListTransactionsInput {}
20
14
  export interface ListTransactionsCommandOutput
21
15
  extends ListTransactionsOutput,
22
16
  __MetadataBearer {}
23
- export declare class ListTransactionsCommand extends $Command<
24
- ListTransactionsCommandInput,
25
- ListTransactionsCommandOutput,
26
- ManagedBlockchainQueryClientResolvedConfig
27
- > {
28
- readonly input: ListTransactionsCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: ListTransactionsCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: ManagedBlockchainQueryClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<ListTransactionsCommandInput, ListTransactionsCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const ListTransactionsCommand_base: {
18
+ new (
19
+ input: ListTransactionsCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ ListTransactionsCommandInput,
22
+ ListTransactionsCommandOutput,
23
+ ManagedBlockchainQueryClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class ListTransactionsCommand extends ListTransactionsCommand_base {}
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  ClientInputEndpointParameters & {
26
26
  defaultSigningName: string;
27
27
  };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
28
46
  export interface EndpointParameters extends __EndpointParameters {
29
47
  Region?: string;
30
48
  UseDualStack?: boolean;
@@ -140,6 +140,11 @@ export declare class ValidationException extends __BaseException {
140
140
  opts: __ExceptionOptionType<ValidationException, __BaseException>
141
141
  );
142
142
  }
143
+ export declare const ConfirmationStatus: {
144
+ readonly FINAL: "FINAL";
145
+ };
146
+ export type ConfirmationStatus =
147
+ (typeof ConfirmationStatus)[keyof typeof ConfirmationStatus];
143
148
  export interface ContractFilter {
144
149
  network: QueryNetwork | undefined;
145
150
  tokenStandard: QueryTokenStandard | undefined;
@@ -150,6 +155,12 @@ export interface ContractMetadata {
150
155
  symbol?: string;
151
156
  decimals?: number;
152
157
  }
158
+ export declare const ExecutionStatus: {
159
+ readonly FAILED: "FAILED";
160
+ readonly SUCCEEDED: "SUCCEEDED";
161
+ };
162
+ export type ExecutionStatus =
163
+ (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
153
164
  export interface GetAssetContractInput {
154
165
  contractIdentifier: ContractIdentifier | undefined;
155
166
  }
@@ -189,7 +200,7 @@ export interface Transaction {
189
200
  transactionTimestamp: Date | undefined;
190
201
  transactionIndex: number | undefined;
191
202
  numberOfTransactions: number | undefined;
192
- status: QueryTransactionStatus | undefined;
203
+ status?: QueryTransactionStatus;
193
204
  to: string | undefined;
194
205
  from?: string;
195
206
  contractAddress?: string;
@@ -201,6 +212,8 @@ export interface Transaction {
201
212
  signatureS?: string;
202
213
  transactionFee?: string;
203
214
  transactionId?: string;
215
+ confirmationStatus?: ConfirmationStatus;
216
+ executionStatus?: ExecutionStatus;
204
217
  }
205
218
  export interface GetTransactionOutput {
206
219
  transaction: Transaction | undefined;
@@ -4,8 +4,8 @@ import {
4
4
  ListAssetContractsCommandOutput,
5
5
  } from "../commands/ListAssetContractsCommand";
6
6
  import { ManagedBlockchainQueryPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListAssetContracts(
7
+ export declare const paginateListAssetContracts: (
8
8
  config: ManagedBlockchainQueryPaginationConfiguration,
9
9
  input: ListAssetContractsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListAssetContractsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListAssetContractsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListTokenBalancesCommandOutput,
5
5
  } from "../commands/ListTokenBalancesCommand";
6
6
  import { ManagedBlockchainQueryPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListTokenBalances(
7
+ export declare const paginateListTokenBalances: (
8
8
  config: ManagedBlockchainQueryPaginationConfiguration,
9
9
  input: ListTokenBalancesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListTokenBalancesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListTokenBalancesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListTransactionEventsCommandOutput,
5
5
  } from "../commands/ListTransactionEventsCommand";
6
6
  import { ManagedBlockchainQueryPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListTransactionEvents(
7
+ export declare const paginateListTransactionEvents: (
8
8
  config: ManagedBlockchainQueryPaginationConfiguration,
9
9
  input: ListTransactionEventsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListTransactionEventsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListTransactionEventsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListTransactionsCommandOutput,
5
5
  } from "../commands/ListTransactionsCommand";
6
6
  import { ManagedBlockchainQueryPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListTransactions(
7
+ export declare const paginateListTransactions: (
8
8
  config: ManagedBlockchainQueryPaginationConfiguration,
9
9
  input: ListTransactionsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListTransactionsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListTransactionsCommandOutput>;