@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
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListTransactionsCommand, se_ListTransactionsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTransactionsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListTransactionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ManagedBlockchainQueryClient";
26
- const commandName = "ListTransactionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "TietonChainQueryService",
35
- operation: "ListTransactions",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListTransactionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTransactionsCommand(output, context);
46
- }
7
+ export class ListTransactionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("TietonChainQueryService", "ListTransactions", {})
19
+ .n("ManagedBlockchainQueryClient", "ListTransactionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTransactionsCommand)
22
+ .de(de_ListTransactionsCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "managedblockchain-query",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -111,6 +111,13 @@ export class ValidationException extends __BaseException {
111
111
  this.fieldList = opts.fieldList;
112
112
  }
113
113
  }
114
+ export const ConfirmationStatus = {
115
+ FINAL: "FINAL",
116
+ };
117
+ export const ExecutionStatus = {
118
+ FAILED: "FAILED",
119
+ SUCCEEDED: "SUCCEEDED",
120
+ };
114
121
  export const QueryTransactionStatus = {
115
122
  FAILED: "FAILED",
116
123
  FINAL: "FINAL",
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAssetContractsCommand, } from "../commands/ListAssetContractsCommand";
2
3
  import { ManagedBlockchainQueryClient } from "../ManagedBlockchainQueryClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAssetContractsCommand(input), ...args);
5
- };
6
- export async function* paginateListAssetContracts(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof ManagedBlockchainQueryClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ManagedBlockchainQuery | ManagedBlockchainQueryClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListAssetContracts = createPaginator(ManagedBlockchainQueryClient, ListAssetContractsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTokenBalancesCommand, } from "../commands/ListTokenBalancesCommand";
2
3
  import { ManagedBlockchainQueryClient } from "../ManagedBlockchainQueryClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTokenBalancesCommand(input), ...args);
5
- };
6
- export async function* paginateListTokenBalances(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof ManagedBlockchainQueryClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ManagedBlockchainQuery | ManagedBlockchainQueryClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListTokenBalances = createPaginator(ManagedBlockchainQueryClient, ListTokenBalancesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTransactionEventsCommand, } from "../commands/ListTransactionEventsCommand";
2
3
  import { ManagedBlockchainQueryClient } from "../ManagedBlockchainQueryClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTransactionEventsCommand(input), ...args);
5
- };
6
- export async function* paginateListTransactionEvents(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof ManagedBlockchainQueryClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ManagedBlockchainQuery | ManagedBlockchainQueryClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListTransactionEvents = createPaginator(ManagedBlockchainQueryClient, ListTransactionEventsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTransactionsCommand, } from "../commands/ListTransactionsCommand";
2
3
  import { ManagedBlockchainQueryClient } from "../ManagedBlockchainQueryClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTransactionsCommand(input), ...args);
5
- };
6
- export async function* paginateListTransactions(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof ManagedBlockchainQueryClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ManagedBlockchainQuery | ManagedBlockchainQueryClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListTransactions = createPaginator(ManagedBlockchainQueryClient, ListTransactionsCommand, "nextToken", "nextToken", "maxResults");
@@ -680,9 +680,11 @@ const de_Transaction = (output, context) => {
680
680
  return take(output, {
681
681
  blockHash: __expectString,
682
682
  blockNumber: __expectString,
683
+ confirmationStatus: __expectString,
683
684
  contractAddress: __expectString,
684
685
  cumulativeGasUsed: __expectString,
685
686
  effectiveGasPrice: __expectString,
687
+ executionStatus: __expectString,
686
688
  from: __expectString,
687
689
  gasUsed: __expectString,
688
690
  network: __expectString,
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ManagedBlockchainQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ManagedBlockchainQueryClient";
5
4
  import { BatchGetTokenBalanceInput, BatchGetTokenBalanceOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchGetTokenBalanceCommandInput extends BatchGetTokenBalanceIn
21
20
  */
22
21
  export interface BatchGetTokenBalanceCommandOutput extends BatchGetTokenBalanceOutput, __MetadataBearer {
23
22
  }
23
+ declare const BatchGetTokenBalanceCommand_base: {
24
+ new (input: BatchGetTokenBalanceCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetTokenBalanceCommandInput, BatchGetTokenBalanceCommandOutput, ManagedBlockchainQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets the token balance for a batch of tokens by using the <code>BatchGetTokenBalance</code>
@@ -127,23 +130,5 @@ export interface BatchGetTokenBalanceCommandOutput extends BatchGetTokenBalanceO
127
130
  * <p>Base exception class for all service exceptions from ManagedBlockchainQuery service.</p>
128
131
  *
129
132
  */
130
- export declare class BatchGetTokenBalanceCommand extends $Command<BatchGetTokenBalanceCommandInput, BatchGetTokenBalanceCommandOutput, ManagedBlockchainQueryClientResolvedConfig> {
131
- readonly input: BatchGetTokenBalanceCommandInput;
132
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
133
- /**
134
- * @public
135
- */
136
- constructor(input: BatchGetTokenBalanceCommandInput);
137
- /**
138
- * @internal
139
- */
140
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ManagedBlockchainQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetTokenBalanceCommandInput, BatchGetTokenBalanceCommandOutput>;
141
- /**
142
- * @internal
143
- */
144
- private serialize;
145
- /**
146
- * @internal
147
- */
148
- private deserialize;
133
+ export declare class BatchGetTokenBalanceCommand extends BatchGetTokenBalanceCommand_base {
149
134
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ManagedBlockchainQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ManagedBlockchainQueryClient";
5
4
  import { GetAssetContractInput, GetAssetContractOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetAssetContractCommandInput extends GetAssetContractInput {
21
20
  */
22
21
  export interface GetAssetContractCommandOutput extends GetAssetContractOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetAssetContractCommand_base: {
24
+ new (input: GetAssetContractCommandInput): import("@smithy/smithy-client").CommandImpl<GetAssetContractCommandInput, GetAssetContractCommandOutput, ManagedBlockchainQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets the information about a specific contract deployed on the blockchain.</p>
@@ -97,23 +100,5 @@ export interface GetAssetContractCommandOutput extends GetAssetContractOutput, _
97
100
  * <p>Base exception class for all service exceptions from ManagedBlockchainQuery service.</p>
98
101
  *
99
102
  */
100
- export declare class GetAssetContractCommand extends $Command<GetAssetContractCommandInput, GetAssetContractCommandOutput, ManagedBlockchainQueryClientResolvedConfig> {
101
- readonly input: GetAssetContractCommandInput;
102
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
103
- /**
104
- * @public
105
- */
106
- constructor(input: GetAssetContractCommandInput);
107
- /**
108
- * @internal
109
- */
110
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ManagedBlockchainQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAssetContractCommandInput, GetAssetContractCommandOutput>;
111
- /**
112
- * @internal
113
- */
114
- private serialize;
115
- /**
116
- * @internal
117
- */
118
- private deserialize;
103
+ export declare class GetAssetContractCommand extends GetAssetContractCommand_base {
119
104
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ManagedBlockchainQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ManagedBlockchainQueryClient";
5
4
  import { GetTokenBalanceInput, GetTokenBalanceOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetTokenBalanceCommandInput extends GetTokenBalanceInput {
21
20
  */
22
21
  export interface GetTokenBalanceCommandOutput extends GetTokenBalanceOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetTokenBalanceCommand_base: {
24
+ new (input: GetTokenBalanceCommandInput): import("@smithy/smithy-client").CommandImpl<GetTokenBalanceCommandInput, GetTokenBalanceCommandOutput, ManagedBlockchainQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the blockchain.</p>
@@ -100,23 +103,5 @@ export interface GetTokenBalanceCommandOutput extends GetTokenBalanceOutput, __M
100
103
  * <p>Base exception class for all service exceptions from ManagedBlockchainQuery service.</p>
101
104
  *
102
105
  */
103
- export declare class GetTokenBalanceCommand extends $Command<GetTokenBalanceCommandInput, GetTokenBalanceCommandOutput, ManagedBlockchainQueryClientResolvedConfig> {
104
- readonly input: GetTokenBalanceCommandInput;
105
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
106
- /**
107
- * @public
108
- */
109
- constructor(input: GetTokenBalanceCommandInput);
110
- /**
111
- * @internal
112
- */
113
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ManagedBlockchainQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTokenBalanceCommandInput, GetTokenBalanceCommandOutput>;
114
- /**
115
- * @internal
116
- */
117
- private serialize;
118
- /**
119
- * @internal
120
- */
121
- private deserialize;
106
+ export declare class GetTokenBalanceCommand extends GetTokenBalanceCommand_base {
122
107
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ManagedBlockchainQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ManagedBlockchainQueryClient";
5
4
  import { GetTransactionInput, GetTransactionOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetTransactionCommandInput extends GetTransactionInput {
21
20
  */
22
21
  export interface GetTransactionCommandOutput extends GetTransactionOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetTransactionCommand_base: {
24
+ new (input: GetTransactionCommandInput): import("@smithy/smithy-client").CommandImpl<GetTransactionCommandInput, GetTransactionCommandOutput, ManagedBlockchainQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Get the details of a transaction.</p>
@@ -45,7 +48,7 @@ export interface GetTransactionCommandOutput extends GetTransactionOutput, __Met
45
48
  * // transactionTimestamp: new Date("TIMESTAMP"), // required
46
49
  * // transactionIndex: Number("long"), // required
47
50
  * // numberOfTransactions: Number("long"), // required
48
- * // status: "STRING_VALUE", // required
51
+ * // status: "STRING_VALUE",
49
52
  * // to: "STRING_VALUE", // required
50
53
  * // from: "STRING_VALUE",
51
54
  * // contractAddress: "STRING_VALUE",
@@ -57,6 +60,8 @@ export interface GetTransactionCommandOutput extends GetTransactionOutput, __Met
57
60
  * // signatureS: "STRING_VALUE",
58
61
  * // transactionFee: "STRING_VALUE",
59
62
  * // transactionId: "STRING_VALUE",
63
+ * // confirmationStatus: "STRING_VALUE",
64
+ * // executionStatus: "STRING_VALUE",
60
65
  * // },
61
66
  * // };
62
67
  *
@@ -93,23 +98,5 @@ export interface GetTransactionCommandOutput extends GetTransactionOutput, __Met
93
98
  * <p>Base exception class for all service exceptions from ManagedBlockchainQuery service.</p>
94
99
  *
95
100
  */
96
- export declare class GetTransactionCommand extends $Command<GetTransactionCommandInput, GetTransactionCommandOutput, ManagedBlockchainQueryClientResolvedConfig> {
97
- readonly input: GetTransactionCommandInput;
98
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
99
- /**
100
- * @public
101
- */
102
- constructor(input: GetTransactionCommandInput);
103
- /**
104
- * @internal
105
- */
106
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ManagedBlockchainQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTransactionCommandInput, GetTransactionCommandOutput>;
107
- /**
108
- * @internal
109
- */
110
- private serialize;
111
- /**
112
- * @internal
113
- */
114
- private deserialize;
101
+ export declare class GetTransactionCommand extends GetTransactionCommand_base {
115
102
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ManagedBlockchainQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ManagedBlockchainQueryClient";
5
4
  import { ListAssetContractsInput, ListAssetContractsOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListAssetContractsCommandInput extends ListAssetContractsInput
21
20
  */
22
21
  export interface ListAssetContractsCommandOutput extends ListAssetContractsOutput, __MetadataBearer {
23
22
  }
23
+ declare const ListAssetContractsCommand_base: {
24
+ new (input: ListAssetContractsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAssetContractsCommandInput, ListAssetContractsCommandOutput, ManagedBlockchainQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists all the contracts for a given contract type deployed by an address
@@ -88,23 +91,5 @@ export interface ListAssetContractsCommandOutput extends ListAssetContractsOutpu
88
91
  * <p>Base exception class for all service exceptions from ManagedBlockchainQuery service.</p>
89
92
  *
90
93
  */
91
- export declare class ListAssetContractsCommand extends $Command<ListAssetContractsCommandInput, ListAssetContractsCommandOutput, ManagedBlockchainQueryClientResolvedConfig> {
92
- readonly input: ListAssetContractsCommandInput;
93
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
94
- /**
95
- * @public
96
- */
97
- constructor(input: ListAssetContractsCommandInput);
98
- /**
99
- * @internal
100
- */
101
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ManagedBlockchainQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAssetContractsCommandInput, ListAssetContractsCommandOutput>;
102
- /**
103
- * @internal
104
- */
105
- private serialize;
106
- /**
107
- * @internal
108
- */
109
- private deserialize;
94
+ export declare class ListAssetContractsCommand extends ListAssetContractsCommand_base {
110
95
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ManagedBlockchainQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ManagedBlockchainQueryClient";
5
4
  import { ListTokenBalancesInput, ListTokenBalancesOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTokenBalancesCommandInput extends ListTokenBalancesInput {
21
20
  */
22
21
  export interface ListTokenBalancesCommandOutput extends ListTokenBalancesOutput, __MetadataBearer {
23
22
  }
23
+ declare const ListTokenBalancesCommand_base: {
24
+ new (input: ListTokenBalancesCommandInput): import("@smithy/smithy-client").CommandImpl<ListTokenBalancesCommandInput, ListTokenBalancesCommandOutput, ManagedBlockchainQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>This action returns the following for a given blockchain network:</p>
@@ -113,23 +116,5 @@ export interface ListTokenBalancesCommandOutput extends ListTokenBalancesOutput,
113
116
  * <p>Base exception class for all service exceptions from ManagedBlockchainQuery service.</p>
114
117
  *
115
118
  */
116
- export declare class ListTokenBalancesCommand extends $Command<ListTokenBalancesCommandInput, ListTokenBalancesCommandOutput, ManagedBlockchainQueryClientResolvedConfig> {
117
- readonly input: ListTokenBalancesCommandInput;
118
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
119
- /**
120
- * @public
121
- */
122
- constructor(input: ListTokenBalancesCommandInput);
123
- /**
124
- * @internal
125
- */
126
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ManagedBlockchainQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTokenBalancesCommandInput, ListTokenBalancesCommandOutput>;
127
- /**
128
- * @internal
129
- */
130
- private serialize;
131
- /**
132
- * @internal
133
- */
134
- private deserialize;
119
+ export declare class ListTokenBalancesCommand extends ListTokenBalancesCommand_base {
135
120
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ManagedBlockchainQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ManagedBlockchainQueryClient";
5
4
  import { ListTransactionEventsInput, ListTransactionEventsOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTransactionEventsCommandInput extends ListTransactionEvents
21
20
  */
22
21
  export interface ListTransactionEventsCommandOutput extends ListTransactionEventsOutput, __MetadataBearer {
23
22
  }
23
+ declare const ListTransactionEventsCommand_base: {
24
+ new (input: ListTransactionEventsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTransactionEventsCommandInput, ListTransactionEventsCommandOutput, ManagedBlockchainQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>An array of <code>TransactionEvent</code> objects. Each object contains details
@@ -87,23 +90,5 @@ export interface ListTransactionEventsCommandOutput extends ListTransactionEvent
87
90
  * <p>Base exception class for all service exceptions from ManagedBlockchainQuery service.</p>
88
91
  *
89
92
  */
90
- export declare class ListTransactionEventsCommand extends $Command<ListTransactionEventsCommandInput, ListTransactionEventsCommandOutput, ManagedBlockchainQueryClientResolvedConfig> {
91
- readonly input: ListTransactionEventsCommandInput;
92
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
- /**
94
- * @public
95
- */
96
- constructor(input: ListTransactionEventsCommandInput);
97
- /**
98
- * @internal
99
- */
100
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ManagedBlockchainQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTransactionEventsCommandInput, ListTransactionEventsCommandOutput>;
101
- /**
102
- * @internal
103
- */
104
- private serialize;
105
- /**
106
- * @internal
107
- */
108
- private deserialize;
93
+ export declare class ListTransactionEventsCommand extends ListTransactionEventsCommand_base {
109
94
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ManagedBlockchainQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ManagedBlockchainQueryClient";
5
4
  import { ListTransactionsInput, ListTransactionsOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTransactionsCommandInput extends ListTransactionsInput {
21
20
  */
22
21
  export interface ListTransactionsCommandOutput extends ListTransactionsOutput, __MetadataBearer {
23
22
  }
23
+ declare const ListTransactionsCommand_base: {
24
+ new (input: ListTransactionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTransactionsCommandInput, ListTransactionsCommandOutput, ManagedBlockchainQueryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists all of the transactions on a given wallet address or to a specific contract.</p>
@@ -89,23 +92,5 @@ export interface ListTransactionsCommandOutput extends ListTransactionsOutput, _
89
92
  * <p>Base exception class for all service exceptions from ManagedBlockchainQuery service.</p>
90
93
  *
91
94
  */
92
- export declare class ListTransactionsCommand extends $Command<ListTransactionsCommandInput, ListTransactionsCommandOutput, ManagedBlockchainQueryClientResolvedConfig> {
93
- readonly input: ListTransactionsCommandInput;
94
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
- /**
96
- * @public
97
- */
98
- constructor(input: ListTransactionsCommandInput);
99
- /**
100
- * @internal
101
- */
102
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ManagedBlockchainQueryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTransactionsCommandInput, ListTransactionsCommandOutput>;
103
- /**
104
- * @internal
105
- */
106
- private serialize;
107
- /**
108
- * @internal
109
- */
110
- private deserialize;
95
+ export declare class ListTransactionsCommand extends ListTransactionsCommand_base {
111
96
  }
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
15
  defaultSigningName: string;
16
16
  };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
17
35
  export interface EndpointParameters extends __EndpointParameters {
18
36
  Region?: string;
19
37
  UseDualStack?: boolean;