@aws-sdk/client-managedblockchain-query 3.378.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 (107) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +262 -0
  3. package/dist-cjs/ManagedBlockchainQuery.js +23 -0
  4. package/dist-cjs/ManagedBlockchainQueryClient.js +41 -0
  5. package/dist-cjs/commands/BatchGetTokenBalanceCommand.js +46 -0
  6. package/dist-cjs/commands/GetTokenBalanceCommand.js +46 -0
  7. package/dist-cjs/commands/GetTransactionCommand.js +46 -0
  8. package/dist-cjs/commands/ListTokenBalancesCommand.js +46 -0
  9. package/dist-cjs/commands/ListTransactionEventsCommand.js +46 -0
  10. package/dist-cjs/commands/ListTransactionsCommand.js +46 -0
  11. package/dist-cjs/commands/index.js +9 -0
  12. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  13. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  14. package/dist-cjs/endpoint/ruleset.js +7 -0
  15. package/dist-cjs/index.js +11 -0
  16. package/dist-cjs/models/ManagedBlockchainQueryServiceException.js +12 -0
  17. package/dist-cjs/models/index.js +4 -0
  18. package/dist-cjs/models/models_0.js +139 -0
  19. package/dist-cjs/pagination/Interfaces.js +2 -0
  20. package/dist-cjs/pagination/ListTokenBalancesPaginator.js +29 -0
  21. package/dist-cjs/pagination/ListTransactionEventsPaginator.js +29 -0
  22. package/dist-cjs/pagination/ListTransactionsPaginator.js +29 -0
  23. package/dist-cjs/pagination/index.js +7 -0
  24. package/dist-cjs/protocols/Aws_restJson1.js +706 -0
  25. package/dist-cjs/runtimeConfig.browser.js +39 -0
  26. package/dist-cjs/runtimeConfig.js +48 -0
  27. package/dist-cjs/runtimeConfig.native.js +15 -0
  28. package/dist-cjs/runtimeConfig.shared.js +21 -0
  29. package/dist-es/ManagedBlockchainQuery.js +19 -0
  30. package/dist-es/ManagedBlockchainQueryClient.js +37 -0
  31. package/dist-es/commands/BatchGetTokenBalanceCommand.js +42 -0
  32. package/dist-es/commands/GetTokenBalanceCommand.js +42 -0
  33. package/dist-es/commands/GetTransactionCommand.js +42 -0
  34. package/dist-es/commands/ListTokenBalancesCommand.js +42 -0
  35. package/dist-es/commands/ListTransactionEventsCommand.js +42 -0
  36. package/dist-es/commands/ListTransactionsCommand.js +42 -0
  37. package/dist-es/commands/index.js +6 -0
  38. package/dist-es/endpoint/EndpointParameters.js +8 -0
  39. package/dist-es/endpoint/endpointResolver.js +8 -0
  40. package/dist-es/endpoint/ruleset.js +4 -0
  41. package/dist-es/index.js +6 -0
  42. package/dist-es/models/ManagedBlockchainQueryServiceException.js +8 -0
  43. package/dist-es/models/index.js +1 -0
  44. package/dist-es/models/models_0.js +130 -0
  45. package/dist-es/pagination/Interfaces.js +1 -0
  46. package/dist-es/pagination/ListTokenBalancesPaginator.js +25 -0
  47. package/dist-es/pagination/ListTransactionEventsPaginator.js +25 -0
  48. package/dist-es/pagination/ListTransactionsPaginator.js +25 -0
  49. package/dist-es/pagination/index.js +4 -0
  50. package/dist-es/protocols/Aws_restJson1.js +691 -0
  51. package/dist-es/runtimeConfig.browser.js +34 -0
  52. package/dist-es/runtimeConfig.js +43 -0
  53. package/dist-es/runtimeConfig.native.js +11 -0
  54. package/dist-es/runtimeConfig.shared.js +17 -0
  55. package/dist-types/ManagedBlockchainQuery.d.ts +58 -0
  56. package/dist-types/ManagedBlockchainQueryClient.d.ts +174 -0
  57. package/dist-types/commands/BatchGetTokenBalanceCommand.d.ts +149 -0
  58. package/dist-types/commands/GetTokenBalanceCommand.d.ts +122 -0
  59. package/dist-types/commands/GetTransactionCommand.d.ts +115 -0
  60. package/dist-types/commands/ListTokenBalancesCommand.d.ts +135 -0
  61. package/dist-types/commands/ListTransactionEventsCommand.d.ts +109 -0
  62. package/dist-types/commands/ListTransactionsCommand.d.ts +111 -0
  63. package/dist-types/commands/index.d.ts +6 -0
  64. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  65. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  66. package/dist-types/endpoint/ruleset.d.ts +2 -0
  67. package/dist-types/index.d.ts +17 -0
  68. package/dist-types/models/ManagedBlockchainQueryServiceException.d.ts +13 -0
  69. package/dist-types/models/index.d.ts +1 -0
  70. package/dist-types/models/models_0.d.ts +917 -0
  71. package/dist-types/pagination/Interfaces.d.ts +8 -0
  72. package/dist-types/pagination/ListTokenBalancesPaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListTransactionEventsPaginator.d.ts +7 -0
  74. package/dist-types/pagination/ListTransactionsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/index.d.ts +4 -0
  76. package/dist-types/protocols/Aws_restJson1.d.ts +56 -0
  77. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  78. package/dist-types/runtimeConfig.d.ts +42 -0
  79. package/dist-types/runtimeConfig.native.d.ts +41 -0
  80. package/dist-types/runtimeConfig.shared.d.ts +18 -0
  81. package/dist-types/ts3.4/ManagedBlockchainQuery.d.ts +109 -0
  82. package/dist-types/ts3.4/ManagedBlockchainQueryClient.d.ts +149 -0
  83. package/dist-types/ts3.4/commands/BatchGetTokenBalanceCommand.d.ts +42 -0
  84. package/dist-types/ts3.4/commands/GetTokenBalanceCommand.d.ts +38 -0
  85. package/dist-types/ts3.4/commands/GetTransactionCommand.d.ts +35 -0
  86. package/dist-types/ts3.4/commands/ListTokenBalancesCommand.d.ts +38 -0
  87. package/dist-types/ts3.4/commands/ListTransactionEventsCommand.d.ts +42 -0
  88. package/dist-types/ts3.4/commands/ListTransactionsCommand.d.ts +38 -0
  89. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  90. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  91. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  92. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  93. package/dist-types/ts3.4/index.d.ts +6 -0
  94. package/dist-types/ts3.4/models/ManagedBlockchainQueryServiceException.d.ts +8 -0
  95. package/dist-types/ts3.4/models/index.d.ts +1 -0
  96. package/dist-types/ts3.4/models/models_0.d.ts +264 -0
  97. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  98. package/dist-types/ts3.4/pagination/ListTokenBalancesPaginator.d.ts +11 -0
  99. package/dist-types/ts3.4/pagination/ListTransactionEventsPaginator.d.ts +11 -0
  100. package/dist-types/ts3.4/pagination/ListTransactionsPaginator.d.ts +11 -0
  101. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  102. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +77 -0
  103. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
  104. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  105. package/dist-types/ts3.4/runtimeConfig.native.d.ts +82 -0
  106. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +20 -0
  107. package/package.json +99 -0
@@ -0,0 +1,8 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { ManagedBlockchainQueryClient } from "../ManagedBlockchainQueryClient";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface ManagedBlockchainQueryPaginationConfiguration extends PaginationConfiguration {
7
+ client: ManagedBlockchainQueryClient;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListTokenBalancesCommandInput, ListTokenBalancesCommandOutput } from "../commands/ListTokenBalancesCommand";
3
+ import { ManagedBlockchainQueryPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListTokenBalances(config: ManagedBlockchainQueryPaginationConfiguration, input: ListTokenBalancesCommandInput, ...additionalArguments: any): Paginator<ListTokenBalancesCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListTransactionEventsCommandInput, ListTransactionEventsCommandOutput } from "../commands/ListTransactionEventsCommand";
3
+ import { ManagedBlockchainQueryPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListTransactionEvents(config: ManagedBlockchainQueryPaginationConfiguration, input: ListTransactionEventsCommandInput, ...additionalArguments: any): Paginator<ListTransactionEventsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListTransactionsCommandInput, ListTransactionsCommandOutput } from "../commands/ListTransactionsCommand";
3
+ import { ManagedBlockchainQueryPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListTransactions(config: ManagedBlockchainQueryPaginationConfiguration, input: ListTransactionsCommandInput, ...additionalArguments: any): Paginator<ListTransactionsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListTokenBalancesPaginator";
3
+ export * from "./ListTransactionEventsPaginator";
4
+ export * from "./ListTransactionsPaginator";
@@ -0,0 +1,56 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { BatchGetTokenBalanceCommandInput, BatchGetTokenBalanceCommandOutput } from "../commands/BatchGetTokenBalanceCommand";
4
+ import { GetTokenBalanceCommandInput, GetTokenBalanceCommandOutput } from "../commands/GetTokenBalanceCommand";
5
+ import { GetTransactionCommandInput, GetTransactionCommandOutput } from "../commands/GetTransactionCommand";
6
+ import { ListTokenBalancesCommandInput, ListTokenBalancesCommandOutput } from "../commands/ListTokenBalancesCommand";
7
+ import { ListTransactionEventsCommandInput, ListTransactionEventsCommandOutput } from "../commands/ListTransactionEventsCommand";
8
+ import { ListTransactionsCommandInput, ListTransactionsCommandOutput } from "../commands/ListTransactionsCommand";
9
+ /**
10
+ * serializeAws_restJson1BatchGetTokenBalanceCommand
11
+ */
12
+ export declare const se_BatchGetTokenBalanceCommand: (input: BatchGetTokenBalanceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
13
+ /**
14
+ * serializeAws_restJson1GetTokenBalanceCommand
15
+ */
16
+ export declare const se_GetTokenBalanceCommand: (input: GetTokenBalanceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
17
+ /**
18
+ * serializeAws_restJson1GetTransactionCommand
19
+ */
20
+ export declare const se_GetTransactionCommand: (input: GetTransactionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
21
+ /**
22
+ * serializeAws_restJson1ListTokenBalancesCommand
23
+ */
24
+ export declare const se_ListTokenBalancesCommand: (input: ListTokenBalancesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
25
+ /**
26
+ * serializeAws_restJson1ListTransactionEventsCommand
27
+ */
28
+ export declare const se_ListTransactionEventsCommand: (input: ListTransactionEventsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
+ /**
30
+ * serializeAws_restJson1ListTransactionsCommand
31
+ */
32
+ export declare const se_ListTransactionsCommand: (input: ListTransactionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
+ /**
34
+ * deserializeAws_restJson1BatchGetTokenBalanceCommand
35
+ */
36
+ export declare const de_BatchGetTokenBalanceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetTokenBalanceCommandOutput>;
37
+ /**
38
+ * deserializeAws_restJson1GetTokenBalanceCommand
39
+ */
40
+ export declare const de_GetTokenBalanceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTokenBalanceCommandOutput>;
41
+ /**
42
+ * deserializeAws_restJson1GetTransactionCommand
43
+ */
44
+ export declare const de_GetTransactionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTransactionCommandOutput>;
45
+ /**
46
+ * deserializeAws_restJson1ListTokenBalancesCommand
47
+ */
48
+ export declare const de_ListTokenBalancesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTokenBalancesCommandOutput>;
49
+ /**
50
+ * deserializeAws_restJson1ListTransactionEventsCommand
51
+ */
52
+ export declare const de_ListTransactionEventsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTransactionEventsCommandOutput>;
53
+ /**
54
+ * deserializeAws_restJson1ListTransactionsCommand
55
+ */
56
+ export declare const de_ListTransactionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTransactionsCommandOutput>;
@@ -0,0 +1,42 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { ManagedBlockchainQueryClientConfig } from "./ManagedBlockchainQueryClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: ManagedBlockchainQueryClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ apiVersion: string;
21
+ urlParser: import("@smithy/types").UrlParser;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: import("@smithy/types").Encoder;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: import("@smithy/types").Encoder;
26
+ disableHostPrefix: boolean;
27
+ serviceId: string;
28
+ logger: import("@smithy/types").Logger;
29
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@smithy/types").Logger | undefined;
32
+ }) => import("@smithy/types").EndpointV2;
33
+ tls?: boolean | undefined;
34
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
35
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
36
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
37
+ signingEscapePath?: boolean | undefined;
38
+ systemClockOffset?: number | undefined;
39
+ signingRegion?: string | undefined;
40
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
41
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
42
+ };
@@ -0,0 +1,42 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { ManagedBlockchainQueryClientConfig } from "./ManagedBlockchainQueryClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: ManagedBlockchainQueryClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<string>;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ apiVersion: string;
21
+ urlParser: import("@smithy/types").UrlParser;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: import("@smithy/types").Encoder;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: import("@smithy/types").Encoder;
26
+ disableHostPrefix: boolean;
27
+ serviceId: string;
28
+ logger: import("@smithy/types").Logger;
29
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@smithy/types").Logger | undefined;
32
+ }) => import("@smithy/types").EndpointV2;
33
+ tls?: boolean | undefined;
34
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
35
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
36
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
37
+ signingEscapePath?: boolean | undefined;
38
+ systemClockOffset?: number | undefined;
39
+ signingRegion?: string | undefined;
40
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
41
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
42
+ };
@@ -0,0 +1,41 @@
1
+ import { ManagedBlockchainQueryClientConfig } from "./ManagedBlockchainQueryClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: ManagedBlockchainQueryClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ urlParser: import("@smithy/types").UrlParser;
11
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
+ streamCollector: import("@smithy/types").StreamCollector;
13
+ base64Decoder: import("@smithy/types").Decoder;
14
+ base64Encoder: import("@smithy/types").Encoder;
15
+ utf8Decoder: import("@smithy/types").Decoder;
16
+ utf8Encoder: import("@smithy/types").Encoder;
17
+ disableHostPrefix: boolean;
18
+ serviceId: string;
19
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ region: string | import("@smithy/types").Provider<any>;
22
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
23
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
24
+ maxAttempts: number | import("@smithy/types").Provider<number>;
25
+ retryMode: string | import("@smithy/types").Provider<string>;
26
+ logger: import("@smithy/types").Logger;
27
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
28
+ endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
29
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
+ logger?: import("@smithy/types").Logger | undefined;
31
+ }) => import("@smithy/types").EndpointV2;
32
+ tls?: boolean | undefined;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
35
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
36
+ signingEscapePath?: boolean | undefined;
37
+ systemClockOffset?: number | undefined;
38
+ signingRegion?: string | undefined;
39
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
40
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
41
+ };
@@ -0,0 +1,18 @@
1
+ import { ManagedBlockchainQueryClientConfig } from "./ManagedBlockchainQueryClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: ManagedBlockchainQueryClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: import("@smithy/types").Encoder;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@smithy/types").Logger | undefined;
12
+ }) => import("@smithy/types").EndpointV2;
13
+ logger: import("@smithy/types").Logger;
14
+ serviceId: string;
15
+ urlParser: import("@smithy/types").UrlParser;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: import("@smithy/types").Encoder;
18
+ };
@@ -0,0 +1,109 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ BatchGetTokenBalanceCommandInput,
4
+ BatchGetTokenBalanceCommandOutput,
5
+ } from "./commands/BatchGetTokenBalanceCommand";
6
+ import {
7
+ GetTokenBalanceCommandInput,
8
+ GetTokenBalanceCommandOutput,
9
+ } from "./commands/GetTokenBalanceCommand";
10
+ import {
11
+ GetTransactionCommandInput,
12
+ GetTransactionCommandOutput,
13
+ } from "./commands/GetTransactionCommand";
14
+ import {
15
+ ListTokenBalancesCommandInput,
16
+ ListTokenBalancesCommandOutput,
17
+ } from "./commands/ListTokenBalancesCommand";
18
+ import {
19
+ ListTransactionEventsCommandInput,
20
+ ListTransactionEventsCommandOutput,
21
+ } from "./commands/ListTransactionEventsCommand";
22
+ import {
23
+ ListTransactionsCommandInput,
24
+ ListTransactionsCommandOutput,
25
+ } from "./commands/ListTransactionsCommand";
26
+ import { ManagedBlockchainQueryClient } from "./ManagedBlockchainQueryClient";
27
+ export interface ManagedBlockchainQuery {
28
+ batchGetTokenBalance(
29
+ args: BatchGetTokenBalanceCommandInput,
30
+ options?: __HttpHandlerOptions
31
+ ): Promise<BatchGetTokenBalanceCommandOutput>;
32
+ batchGetTokenBalance(
33
+ args: BatchGetTokenBalanceCommandInput,
34
+ cb: (err: any, data?: BatchGetTokenBalanceCommandOutput) => void
35
+ ): void;
36
+ batchGetTokenBalance(
37
+ args: BatchGetTokenBalanceCommandInput,
38
+ options: __HttpHandlerOptions,
39
+ cb: (err: any, data?: BatchGetTokenBalanceCommandOutput) => void
40
+ ): void;
41
+ getTokenBalance(
42
+ args: GetTokenBalanceCommandInput,
43
+ options?: __HttpHandlerOptions
44
+ ): Promise<GetTokenBalanceCommandOutput>;
45
+ getTokenBalance(
46
+ args: GetTokenBalanceCommandInput,
47
+ cb: (err: any, data?: GetTokenBalanceCommandOutput) => void
48
+ ): void;
49
+ getTokenBalance(
50
+ args: GetTokenBalanceCommandInput,
51
+ options: __HttpHandlerOptions,
52
+ cb: (err: any, data?: GetTokenBalanceCommandOutput) => void
53
+ ): void;
54
+ getTransaction(
55
+ args: GetTransactionCommandInput,
56
+ options?: __HttpHandlerOptions
57
+ ): Promise<GetTransactionCommandOutput>;
58
+ getTransaction(
59
+ args: GetTransactionCommandInput,
60
+ cb: (err: any, data?: GetTransactionCommandOutput) => void
61
+ ): void;
62
+ getTransaction(
63
+ args: GetTransactionCommandInput,
64
+ options: __HttpHandlerOptions,
65
+ cb: (err: any, data?: GetTransactionCommandOutput) => void
66
+ ): void;
67
+ listTokenBalances(
68
+ args: ListTokenBalancesCommandInput,
69
+ options?: __HttpHandlerOptions
70
+ ): Promise<ListTokenBalancesCommandOutput>;
71
+ listTokenBalances(
72
+ args: ListTokenBalancesCommandInput,
73
+ cb: (err: any, data?: ListTokenBalancesCommandOutput) => void
74
+ ): void;
75
+ listTokenBalances(
76
+ args: ListTokenBalancesCommandInput,
77
+ options: __HttpHandlerOptions,
78
+ cb: (err: any, data?: ListTokenBalancesCommandOutput) => void
79
+ ): void;
80
+ listTransactionEvents(
81
+ args: ListTransactionEventsCommandInput,
82
+ options?: __HttpHandlerOptions
83
+ ): Promise<ListTransactionEventsCommandOutput>;
84
+ listTransactionEvents(
85
+ args: ListTransactionEventsCommandInput,
86
+ cb: (err: any, data?: ListTransactionEventsCommandOutput) => void
87
+ ): void;
88
+ listTransactionEvents(
89
+ args: ListTransactionEventsCommandInput,
90
+ options: __HttpHandlerOptions,
91
+ cb: (err: any, data?: ListTransactionEventsCommandOutput) => void
92
+ ): void;
93
+ listTransactions(
94
+ args: ListTransactionsCommandInput,
95
+ options?: __HttpHandlerOptions
96
+ ): Promise<ListTransactionsCommandOutput>;
97
+ listTransactions(
98
+ args: ListTransactionsCommandInput,
99
+ cb: (err: any, data?: ListTransactionsCommandOutput) => void
100
+ ): void;
101
+ listTransactions(
102
+ args: ListTransactionsCommandInput,
103
+ options: __HttpHandlerOptions,
104
+ cb: (err: any, data?: ListTransactionsCommandOutput) => void
105
+ ): void;
106
+ }
107
+ export declare class ManagedBlockchainQuery
108
+ extends ManagedBlockchainQueryClient
109
+ implements ManagedBlockchainQuery {}
@@ -0,0 +1,149 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ AwsAuthInputConfig,
7
+ AwsAuthResolvedConfig,
8
+ } from "@aws-sdk/middleware-signing";
9
+ import {
10
+ UserAgentInputConfig,
11
+ UserAgentResolvedConfig,
12
+ } from "@aws-sdk/middleware-user-agent";
13
+ import { Credentials as __Credentials } from "@aws-sdk/types";
14
+ import {
15
+ RegionInputConfig,
16
+ RegionResolvedConfig,
17
+ } from "@smithy/config-resolver";
18
+ import {
19
+ EndpointInputConfig,
20
+ EndpointResolvedConfig,
21
+ } from "@smithy/middleware-endpoint";
22
+ import {
23
+ RetryInputConfig,
24
+ RetryResolvedConfig,
25
+ } from "@smithy/middleware-retry";
26
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
27
+ import {
28
+ Client as __Client,
29
+ DefaultsMode as __DefaultsMode,
30
+ SmithyConfiguration as __SmithyConfiguration,
31
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
32
+ } from "@smithy/smithy-client";
33
+ import {
34
+ BodyLengthCalculator as __BodyLengthCalculator,
35
+ ChecksumConstructor as __ChecksumConstructor,
36
+ Decoder as __Decoder,
37
+ Encoder as __Encoder,
38
+ HashConstructor as __HashConstructor,
39
+ HttpHandlerOptions as __HttpHandlerOptions,
40
+ Logger as __Logger,
41
+ Provider as __Provider,
42
+ Provider,
43
+ StreamCollector as __StreamCollector,
44
+ UrlParser as __UrlParser,
45
+ UserAgent as __UserAgent,
46
+ } from "@smithy/types";
47
+ import {
48
+ BatchGetTokenBalanceCommandInput,
49
+ BatchGetTokenBalanceCommandOutput,
50
+ } from "./commands/BatchGetTokenBalanceCommand";
51
+ import {
52
+ GetTokenBalanceCommandInput,
53
+ GetTokenBalanceCommandOutput,
54
+ } from "./commands/GetTokenBalanceCommand";
55
+ import {
56
+ GetTransactionCommandInput,
57
+ GetTransactionCommandOutput,
58
+ } from "./commands/GetTransactionCommand";
59
+ import {
60
+ ListTokenBalancesCommandInput,
61
+ ListTokenBalancesCommandOutput,
62
+ } from "./commands/ListTokenBalancesCommand";
63
+ import {
64
+ ListTransactionEventsCommandInput,
65
+ ListTransactionEventsCommandOutput,
66
+ } from "./commands/ListTransactionEventsCommand";
67
+ import {
68
+ ListTransactionsCommandInput,
69
+ ListTransactionsCommandOutput,
70
+ } from "./commands/ListTransactionsCommand";
71
+ import {
72
+ ClientInputEndpointParameters,
73
+ ClientResolvedEndpointParameters,
74
+ EndpointParameters,
75
+ } from "./endpoint/EndpointParameters";
76
+ export { __Client };
77
+ export type ServiceInputTypes =
78
+ | BatchGetTokenBalanceCommandInput
79
+ | GetTokenBalanceCommandInput
80
+ | GetTransactionCommandInput
81
+ | ListTokenBalancesCommandInput
82
+ | ListTransactionEventsCommandInput
83
+ | ListTransactionsCommandInput;
84
+ export type ServiceOutputTypes =
85
+ | BatchGetTokenBalanceCommandOutput
86
+ | GetTokenBalanceCommandOutput
87
+ | GetTransactionCommandOutput
88
+ | ListTokenBalancesCommandOutput
89
+ | ListTransactionEventsCommandOutput
90
+ | ListTransactionsCommandOutput;
91
+ export interface ClientDefaults
92
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
93
+ requestHandler?: __HttpHandler;
94
+ sha256?: __ChecksumConstructor | __HashConstructor;
95
+ urlParser?: __UrlParser;
96
+ bodyLengthChecker?: __BodyLengthCalculator;
97
+ streamCollector?: __StreamCollector;
98
+ base64Decoder?: __Decoder;
99
+ base64Encoder?: __Encoder;
100
+ utf8Decoder?: __Decoder;
101
+ utf8Encoder?: __Encoder;
102
+ runtime?: string;
103
+ disableHostPrefix?: boolean;
104
+ serviceId?: string;
105
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
106
+ useFipsEndpoint?: boolean | __Provider<boolean>;
107
+ region?: string | __Provider<string>;
108
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
109
+ defaultUserAgentProvider?: Provider<__UserAgent>;
110
+ maxAttempts?: number | __Provider<number>;
111
+ retryMode?: string | __Provider<string>;
112
+ logger?: __Logger;
113
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
114
+ }
115
+ export type ManagedBlockchainQueryClientConfigType = Partial<
116
+ __SmithyConfiguration<__HttpHandlerOptions>
117
+ > &
118
+ ClientDefaults &
119
+ RegionInputConfig &
120
+ EndpointInputConfig<EndpointParameters> &
121
+ RetryInputConfig &
122
+ HostHeaderInputConfig &
123
+ AwsAuthInputConfig &
124
+ UserAgentInputConfig &
125
+ ClientInputEndpointParameters;
126
+ export interface ManagedBlockchainQueryClientConfig
127
+ extends ManagedBlockchainQueryClientConfigType {}
128
+ export type ManagedBlockchainQueryClientResolvedConfigType =
129
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
130
+ Required<ClientDefaults> &
131
+ RegionResolvedConfig &
132
+ EndpointResolvedConfig<EndpointParameters> &
133
+ RetryResolvedConfig &
134
+ HostHeaderResolvedConfig &
135
+ AwsAuthResolvedConfig &
136
+ UserAgentResolvedConfig &
137
+ ClientResolvedEndpointParameters;
138
+ export interface ManagedBlockchainQueryClientResolvedConfig
139
+ extends ManagedBlockchainQueryClientResolvedConfigType {}
140
+ export declare class ManagedBlockchainQueryClient extends __Client<
141
+ __HttpHandlerOptions,
142
+ ServiceInputTypes,
143
+ ServiceOutputTypes,
144
+ ManagedBlockchainQueryClientResolvedConfig
145
+ > {
146
+ readonly config: ManagedBlockchainQueryClientResolvedConfig;
147
+ constructor(configuration: ManagedBlockchainQueryClientConfig);
148
+ destroy(): void;
149
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ 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";
9
+ import {
10
+ ManagedBlockchainQueryClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ManagedBlockchainQueryClient";
14
+ import {
15
+ BatchGetTokenBalanceInput,
16
+ BatchGetTokenBalanceOutput,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface BatchGetTokenBalanceCommandInput
20
+ extends BatchGetTokenBalanceInput {}
21
+ export interface BatchGetTokenBalanceCommandOutput
22
+ extends BatchGetTokenBalanceOutput,
23
+ __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<
37
+ BatchGetTokenBalanceCommandInput,
38
+ BatchGetTokenBalanceCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ 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";
9
+ import {
10
+ ManagedBlockchainQueryClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ManagedBlockchainQueryClient";
14
+ import {
15
+ GetTokenBalanceInput,
16
+ GetTokenBalanceOutput,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface GetTokenBalanceCommandInput extends GetTokenBalanceInput {}
20
+ export interface GetTokenBalanceCommandOutput
21
+ extends GetTokenBalanceOutput,
22
+ __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
+ }
@@ -0,0 +1,35 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ 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";
9
+ import {
10
+ ManagedBlockchainQueryClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ManagedBlockchainQueryClient";
14
+ import { GetTransactionInput, GetTransactionOutput } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
16
+ export interface GetTransactionCommandInput extends GetTransactionInput {}
17
+ export interface GetTransactionCommandOutput
18
+ extends GetTransactionOutput,
19
+ __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
+ }