@aws-sdk/client-managedblockchain-query 3.478.0 → 3.484.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 (37) 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-es/commands/BatchGetTokenBalanceCommand.js +18 -41
  11. package/dist-es/commands/GetAssetContractCommand.js +18 -41
  12. package/dist-es/commands/GetTokenBalanceCommand.js +18 -41
  13. package/dist-es/commands/GetTransactionCommand.js +18 -41
  14. package/dist-es/commands/ListAssetContractsCommand.js +18 -41
  15. package/dist-es/commands/ListTokenBalancesCommand.js +18 -41
  16. package/dist-es/commands/ListTransactionEventsCommand.js +18 -41
  17. package/dist-es/commands/ListTransactionsCommand.js +18 -41
  18. package/dist-es/endpoint/EndpointParameters.js +6 -0
  19. package/dist-types/commands/BatchGetTokenBalanceCommand.d.ts +6 -21
  20. package/dist-types/commands/GetAssetContractCommand.d.ts +6 -21
  21. package/dist-types/commands/GetTokenBalanceCommand.d.ts +6 -21
  22. package/dist-types/commands/GetTransactionCommand.d.ts +6 -21
  23. package/dist-types/commands/ListAssetContractsCommand.d.ts +6 -21
  24. package/dist-types/commands/ListTokenBalancesCommand.d.ts +6 -21
  25. package/dist-types/commands/ListTransactionEventsCommand.d.ts +6 -21
  26. package/dist-types/commands/ListTransactionsCommand.d.ts +6 -21
  27. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  28. package/dist-types/ts3.4/commands/BatchGetTokenBalanceCommand.d.ts +12 -24
  29. package/dist-types/ts3.4/commands/GetAssetContractCommand.d.ts +14 -23
  30. package/dist-types/ts3.4/commands/GetTokenBalanceCommand.d.ts +14 -23
  31. package/dist-types/ts3.4/commands/GetTransactionCommand.d.ts +14 -23
  32. package/dist-types/ts3.4/commands/ListAssetContractsCommand.d.ts +14 -23
  33. package/dist-types/ts3.4/commands/ListTokenBalancesCommand.d.ts +14 -23
  34. package/dist-types/ts3.4/commands/ListTransactionEventsCommand.d.ts +12 -24
  35. package/dist-types/ts3.4/commands/ListTransactionsCommand.d.ts +14 -23
  36. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  37. 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_GetAssetContractCommand, se_GetAssetContractCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetAssetContractCommand 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, GetAssetContractCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ManagedBlockchainQueryClient";
26
- const commandName = "GetAssetContractCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "TietonChainQueryService",
35
- operation: "GetAssetContract",
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_GetAssetContractCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetAssetContractCommand(output, context);
46
- }
7
+ export class GetAssetContractCommand 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", "GetAssetContract", {})
19
+ .n("ManagedBlockchainQueryClient", "GetAssetContractCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetAssetContractCommand)
22
+ .de(de_GetAssetContractCommand)
23
+ .build() {
47
24
  }
@@ -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_GetTokenBalanceCommand, se_GetTokenBalanceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetTokenBalanceCommand 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, GetTokenBalanceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ManagedBlockchainQueryClient";
26
- const commandName = "GetTokenBalanceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "TietonChainQueryService",
35
- operation: "GetTokenBalance",
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_GetTokenBalanceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetTokenBalanceCommand(output, context);
46
- }
7
+ export class GetTokenBalanceCommand 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", "GetTokenBalance", {})
19
+ .n("ManagedBlockchainQueryClient", "GetTokenBalanceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetTokenBalanceCommand)
22
+ .de(de_GetTokenBalanceCommand)
23
+ .build() {
47
24
  }
@@ -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_GetTransactionCommand, se_GetTransactionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetTransactionCommand 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, GetTransactionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ManagedBlockchainQueryClient";
26
- const commandName = "GetTransactionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "TietonChainQueryService",
35
- operation: "GetTransaction",
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_GetTransactionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetTransactionCommand(output, context);
46
- }
7
+ export class GetTransactionCommand 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", "GetTransaction", {})
19
+ .n("ManagedBlockchainQueryClient", "GetTransactionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetTransactionCommand)
22
+ .de(de_GetTransactionCommand)
23
+ .build() {
47
24
  }
@@ -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_ListAssetContractsCommand, se_ListAssetContractsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListAssetContractsCommand 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, ListAssetContractsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ManagedBlockchainQueryClient";
26
- const commandName = "ListAssetContractsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "TietonChainQueryService",
35
- operation: "ListAssetContracts",
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_ListAssetContractsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListAssetContractsCommand(output, context);
46
- }
7
+ export class ListAssetContractsCommand 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", "ListAssetContracts", {})
19
+ .n("ManagedBlockchainQueryClient", "ListAssetContractsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListAssetContractsCommand)
22
+ .de(de_ListAssetContractsCommand)
23
+ .build() {
47
24
  }
@@ -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_ListTokenBalancesCommand, se_ListTokenBalancesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTokenBalancesCommand 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, ListTokenBalancesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ManagedBlockchainQueryClient";
26
- const commandName = "ListTokenBalancesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "TietonChainQueryService",
35
- operation: "ListTokenBalances",
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_ListTokenBalancesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTokenBalancesCommand(output, context);
46
- }
7
+ export class ListTokenBalancesCommand 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", "ListTokenBalances", {})
19
+ .n("ManagedBlockchainQueryClient", "ListTokenBalancesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTokenBalancesCommand)
22
+ .de(de_ListTokenBalancesCommand)
23
+ .build() {
47
24
  }
@@ -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_ListTransactionEventsCommand, se_ListTransactionEventsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTransactionEventsCommand 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, ListTransactionEventsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ManagedBlockchainQueryClient";
26
- const commandName = "ListTransactionEventsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "TietonChainQueryService",
35
- operation: "ListTransactionEvents",
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_ListTransactionEventsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTransactionEventsCommand(output, context);
46
- }
7
+ export class ListTransactionEventsCommand 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", "ListTransactionEvents", {})
19
+ .n("ManagedBlockchainQueryClient", "ListTransactionEventsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTransactionEventsCommand)
22
+ .de(de_ListTransactionEventsCommand)
23
+ .build() {
47
24
  }
@@ -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
+ };
@@ -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
  }