@aws-sdk/client-managedblockchain-query 3.490.0 → 3.495.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.
@@ -1,27 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ManagedBlockchainQuery = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const BatchGetTokenBalanceCommand_1 = require("./commands/BatchGetTokenBalanceCommand");
6
- const GetAssetContractCommand_1 = require("./commands/GetAssetContractCommand");
7
- const GetTokenBalanceCommand_1 = require("./commands/GetTokenBalanceCommand");
8
- const GetTransactionCommand_1 = require("./commands/GetTransactionCommand");
9
- const ListAssetContractsCommand_1 = require("./commands/ListAssetContractsCommand");
10
- const ListTokenBalancesCommand_1 = require("./commands/ListTokenBalancesCommand");
11
- const ListTransactionEventsCommand_1 = require("./commands/ListTransactionEventsCommand");
12
- const ListTransactionsCommand_1 = require("./commands/ListTransactionsCommand");
13
- const ManagedBlockchainQueryClient_1 = require("./ManagedBlockchainQueryClient");
14
- const commands = {
15
- BatchGetTokenBalanceCommand: BatchGetTokenBalanceCommand_1.BatchGetTokenBalanceCommand,
16
- GetAssetContractCommand: GetAssetContractCommand_1.GetAssetContractCommand,
17
- GetTokenBalanceCommand: GetTokenBalanceCommand_1.GetTokenBalanceCommand,
18
- GetTransactionCommand: GetTransactionCommand_1.GetTransactionCommand,
19
- ListAssetContractsCommand: ListAssetContractsCommand_1.ListAssetContractsCommand,
20
- ListTokenBalancesCommand: ListTokenBalancesCommand_1.ListTokenBalancesCommand,
21
- ListTransactionEventsCommand: ListTransactionEventsCommand_1.ListTransactionEventsCommand,
22
- ListTransactionsCommand: ListTransactionsCommand_1.ListTransactionsCommand,
23
- };
24
- class ManagedBlockchainQuery extends ManagedBlockchainQueryClient_1.ManagedBlockchainQueryClient {
25
- }
26
- exports.ManagedBlockchainQuery = ManagedBlockchainQuery;
27
- (0, smithy_client_1.createAggregatedClient)(commands, ManagedBlockchainQuery);
1
+ module.exports = require("./index.js");
@@ -1,43 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ManagedBlockchainQueryClient = exports.__Client = void 0;
4
- const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
5
- const middleware_logger_1 = require("@aws-sdk/middleware-logger");
6
- const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
7
- const middleware_signing_1 = require("@aws-sdk/middleware-signing");
8
- const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
9
- const config_resolver_1 = require("@smithy/config-resolver");
10
- const middleware_content_length_1 = require("@smithy/middleware-content-length");
11
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
12
- const middleware_retry_1 = require("@smithy/middleware-retry");
13
- const smithy_client_1 = require("@smithy/smithy-client");
14
- Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
15
- const EndpointParameters_1 = require("./endpoint/EndpointParameters");
16
- const runtimeConfig_1 = require("./runtimeConfig");
17
- const runtimeExtensions_1 = require("./runtimeExtensions");
18
- class ManagedBlockchainQueryClient extends smithy_client_1.Client {
19
- constructor(...[configuration]) {
20
- const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
21
- const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
22
- const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
23
- const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
24
- const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
25
- const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
26
- const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5);
27
- const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
28
- const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
29
- super(_config_8);
30
- this.config = _config_8;
31
- this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
32
- this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
33
- this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
34
- this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
35
- this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
36
- this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
37
- this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
38
- }
39
- destroy() {
40
- super.destroy();
41
- }
42
- }
43
- exports.ManagedBlockchainQueryClient = ManagedBlockchainQueryClient;
1
+ module.exports = require("./index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BatchGetTokenBalanceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class BatchGetTokenBalanceCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("TietonChainQueryService", "BatchGetTokenBalance", {})
22
- .n("ManagedBlockchainQueryClient", "BatchGetTokenBalanceCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_BatchGetTokenBalanceCommand)
25
- .de(Aws_restJson1_1.de_BatchGetTokenBalanceCommand)
26
- .build() {
27
- }
28
- exports.BatchGetTokenBalanceCommand = BatchGetTokenBalanceCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetAssetContractCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetAssetContractCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("TietonChainQueryService", "GetAssetContract", {})
22
- .n("ManagedBlockchainQueryClient", "GetAssetContractCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_GetAssetContractCommand)
25
- .de(Aws_restJson1_1.de_GetAssetContractCommand)
26
- .build() {
27
- }
28
- exports.GetAssetContractCommand = GetAssetContractCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetTokenBalanceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetTokenBalanceCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("TietonChainQueryService", "GetTokenBalance", {})
22
- .n("ManagedBlockchainQueryClient", "GetTokenBalanceCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_GetTokenBalanceCommand)
25
- .de(Aws_restJson1_1.de_GetTokenBalanceCommand)
26
- .build() {
27
- }
28
- exports.GetTokenBalanceCommand = GetTokenBalanceCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetTransactionCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetTransactionCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("TietonChainQueryService", "GetTransaction", {})
22
- .n("ManagedBlockchainQueryClient", "GetTransactionCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_GetTransactionCommand)
25
- .de(Aws_restJson1_1.de_GetTransactionCommand)
26
- .build() {
27
- }
28
- exports.GetTransactionCommand = GetTransactionCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListAssetContractsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListAssetContractsCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("TietonChainQueryService", "ListAssetContracts", {})
22
- .n("ManagedBlockchainQueryClient", "ListAssetContractsCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_ListAssetContractsCommand)
25
- .de(Aws_restJson1_1.de_ListAssetContractsCommand)
26
- .build() {
27
- }
28
- exports.ListAssetContractsCommand = ListAssetContractsCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListTokenBalancesCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListTokenBalancesCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("TietonChainQueryService", "ListTokenBalances", {})
22
- .n("ManagedBlockchainQueryClient", "ListTokenBalancesCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_ListTokenBalancesCommand)
25
- .de(Aws_restJson1_1.de_ListTokenBalancesCommand)
26
- .build() {
27
- }
28
- exports.ListTokenBalancesCommand = ListTokenBalancesCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListTransactionEventsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListTransactionEventsCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("TietonChainQueryService", "ListTransactionEvents", {})
22
- .n("ManagedBlockchainQueryClient", "ListTransactionEventsCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_ListTransactionEventsCommand)
25
- .de(Aws_restJson1_1.de_ListTransactionEventsCommand)
26
- .build() {
27
- }
28
- exports.ListTransactionEventsCommand = ListTransactionEventsCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListTransactionsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListTransactionsCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("TietonChainQueryService", "ListTransactions", {})
22
- .n("ManagedBlockchainQueryClient", "ListTransactionsCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_ListTransactionsCommand)
25
- .de(Aws_restJson1_1.de_ListTransactionsCommand)
26
- .build() {
27
- }
28
- exports.ListTransactionsCommand = ListTransactionsCommand;
1
+ module.exports = require("../index.js");
@@ -1,11 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./BatchGetTokenBalanceCommand"), exports);
5
- tslib_1.__exportStar(require("./GetAssetContractCommand"), exports);
6
- tslib_1.__exportStar(require("./GetTokenBalanceCommand"), exports);
7
- tslib_1.__exportStar(require("./GetTransactionCommand"), exports);
8
- tslib_1.__exportStar(require("./ListAssetContractsCommand"), exports);
9
- tslib_1.__exportStar(require("./ListTokenBalancesCommand"), exports);
10
- tslib_1.__exportStar(require("./ListTransactionEventsCommand"), exports);
11
- tslib_1.__exportStar(require("./ListTransactionsCommand"), exports);
1
+ module.exports = require("../index.js");
@@ -1,18 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
- const resolveClientEndpointParameters = (options) => {
5
- return {
6
- ...options,
7
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
- useFipsEndpoint: options.useFipsEndpoint ?? false,
9
- defaultSigningName: "managedblockchain-query",
10
- };
11
- };
12
- exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
- exports.commonParams = {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("./index.js");