@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,91 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { ManagedBlockchainQueryClientConfig } from "./ManagedBlockchainQueryClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: ManagedBlockchainQueryClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@smithy/types").Provider<
8
+ import("@smithy/smithy-client").ResolvedDefaultsMode
9
+ >;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: (
12
+ input: any
13
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
14
+ defaultUserAgentProvider: import("@smithy/types").Provider<
15
+ import("@smithy/types").UserAgent
16
+ >;
17
+ maxAttempts: number | import("@smithy/types").Provider<number>;
18
+ region: string | import("@smithy/types").Provider<string>;
19
+ requestHandler:
20
+ | (import("@smithy/types").RequestHandler<
21
+ any,
22
+ any,
23
+ import("@smithy/types").HttpHandlerOptions
24
+ > &
25
+ import("@smithy/protocol-http").HttpHandler)
26
+ | RequestHandler;
27
+ retryMode: string | import("@smithy/types").Provider<string>;
28
+ sha256: import("@smithy/types").HashConstructor;
29
+ streamCollector: import("@smithy/types").StreamCollector;
30
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
31
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
+ apiVersion: string;
33
+ urlParser: import("@smithy/types").UrlParser;
34
+ base64Decoder: import("@smithy/types").Decoder;
35
+ base64Encoder: import("@smithy/types").Encoder;
36
+ utf8Decoder: import("@smithy/types").Decoder;
37
+ utf8Encoder: import("@smithy/types").Encoder;
38
+ disableHostPrefix: boolean;
39
+ serviceId: string;
40
+ logger: import("@smithy/types").Logger;
41
+ endpoint?:
42
+ | ((
43
+ | string
44
+ | import("@smithy/types").Endpoint
45
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
46
+ | import("@smithy/types").EndpointV2
47
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
48
+ ) &
49
+ (
50
+ | string
51
+ | import("@smithy/types").Provider<string>
52
+ | import("@smithy/types").Endpoint
53
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
54
+ | import("@smithy/types").EndpointV2
55
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
56
+ ))
57
+ | undefined;
58
+ endpointProvider: (
59
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
60
+ context?: {
61
+ logger?: import("@smithy/types").Logger | undefined;
62
+ }
63
+ ) => import("@smithy/types").EndpointV2;
64
+ tls?: boolean | undefined;
65
+ retryStrategy?:
66
+ | import("@smithy/types").RetryStrategy
67
+ | import("@smithy/types").RetryStrategyV2
68
+ | undefined;
69
+ credentials?:
70
+ | import("@smithy/types").AwsCredentialIdentity
71
+ | import("@smithy/types").Provider<
72
+ import("@smithy/types").AwsCredentialIdentity
73
+ >
74
+ | undefined;
75
+ signer?:
76
+ | import("@smithy/types").RequestSigner
77
+ | ((
78
+ authScheme?: import("@smithy/types").AuthScheme | undefined
79
+ ) => Promise<import("@smithy/types").RequestSigner>)
80
+ | undefined;
81
+ signingEscapePath?: boolean | undefined;
82
+ systemClockOffset?: number | undefined;
83
+ signingRegion?: string | undefined;
84
+ signerConstructor?:
85
+ | (new (
86
+ options: import("@smithy/signature-v4").SignatureV4Init &
87
+ import("@smithy/signature-v4").SignatureV4CryptoInit
88
+ ) => import("@smithy/types").RequestSigner)
89
+ | undefined;
90
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
91
+ };
@@ -0,0 +1,82 @@
1
+ import { ManagedBlockchainQueryClientConfig } from "./ManagedBlockchainQueryClient";
2
+ export declare const getRuntimeConfig: (
3
+ config: ManagedBlockchainQueryClientConfig
4
+ ) => {
5
+ runtime: string;
6
+ sha256: import("@smithy/types").HashConstructor;
7
+ requestHandler:
8
+ | (import("@smithy/types").RequestHandler<
9
+ any,
10
+ any,
11
+ import("@smithy/types").HttpHandlerOptions
12
+ > &
13
+ import("@smithy/protocol-http").HttpHandler)
14
+ | import("@smithy/fetch-http-handler").FetchHttpHandler;
15
+ apiVersion: string;
16
+ urlParser: import("@smithy/types").UrlParser;
17
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
+ streamCollector: import("@smithy/types").StreamCollector;
19
+ base64Decoder: import("@smithy/types").Decoder;
20
+ base64Encoder: import("@smithy/types").Encoder;
21
+ utf8Decoder: import("@smithy/types").Decoder;
22
+ utf8Encoder: import("@smithy/types").Encoder;
23
+ disableHostPrefix: boolean;
24
+ serviceId: string;
25
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
+ region: string | import("@smithy/types").Provider<any>;
28
+ credentialDefaultProvider: (
29
+ input: any
30
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
31
+ defaultUserAgentProvider: import("@smithy/types").Provider<
32
+ import("@smithy/types").UserAgent
33
+ >;
34
+ maxAttempts: number | import("@smithy/types").Provider<number>;
35
+ retryMode: string | import("@smithy/types").Provider<string>;
36
+ logger: import("@smithy/types").Logger;
37
+ defaultsMode:
38
+ | import("@smithy/smithy-client").DefaultsMode
39
+ | import("@smithy/types").Provider<
40
+ import("@smithy/smithy-client").DefaultsMode
41
+ >;
42
+ endpoint?:
43
+ | string
44
+ | import("@smithy/types").Endpoint
45
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
46
+ | import("@smithy/types").EndpointV2
47
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
48
+ | undefined;
49
+ endpointProvider: (
50
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
51
+ context?: {
52
+ logger?: import("@smithy/types").Logger | undefined;
53
+ }
54
+ ) => import("@smithy/types").EndpointV2;
55
+ tls?: boolean | undefined;
56
+ retryStrategy?:
57
+ | import("@smithy/types").RetryStrategy
58
+ | import("@smithy/types").RetryStrategyV2
59
+ | undefined;
60
+ credentials?:
61
+ | import("@smithy/types").AwsCredentialIdentity
62
+ | import("@smithy/types").Provider<
63
+ import("@smithy/types").AwsCredentialIdentity
64
+ >
65
+ | undefined;
66
+ signer?:
67
+ | import("@smithy/types").RequestSigner
68
+ | ((
69
+ authScheme?: import("@smithy/types").AuthScheme | undefined
70
+ ) => Promise<import("@smithy/types").RequestSigner>)
71
+ | undefined;
72
+ signingEscapePath?: boolean | undefined;
73
+ systemClockOffset?: number | undefined;
74
+ signingRegion?: string | undefined;
75
+ signerConstructor?:
76
+ | (new (
77
+ options: import("@smithy/signature-v4").SignatureV4Init &
78
+ import("@smithy/signature-v4").SignatureV4CryptoInit
79
+ ) => import("@smithy/types").RequestSigner)
80
+ | undefined;
81
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
82
+ };
@@ -0,0 +1,20 @@
1
+ import { ManagedBlockchainQueryClientConfig } from "./ManagedBlockchainQueryClient";
2
+ export declare const getRuntimeConfig: (
3
+ config: ManagedBlockchainQueryClientConfig
4
+ ) => {
5
+ apiVersion: string;
6
+ base64Decoder: import("@smithy/types").Decoder;
7
+ base64Encoder: import("@smithy/types").Encoder;
8
+ disableHostPrefix: boolean;
9
+ endpointProvider: (
10
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
11
+ context?: {
12
+ logger?: import("@smithy/types").Logger | undefined;
13
+ }
14
+ ) => import("@smithy/types").EndpointV2;
15
+ logger: import("@smithy/types").Logger;
16
+ serviceId: string;
17
+ urlParser: import("@smithy/types").UrlParser;
18
+ utf8Decoder: import("@smithy/types").Decoder;
19
+ utf8Encoder: import("@smithy/types").Encoder;
20
+ };
package/package.json ADDED
@@ -0,0 +1,99 @@
1
+ {
2
+ "name": "@aws-sdk/client-managedblockchain-query",
3
+ "description": "AWS SDK for JavaScript Managedblockchain Query Client for Node.js, Browser and React Native",
4
+ "version": "3.378.0",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
+ "build:es": "tsc -p tsconfig.es.json",
10
+ "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
11
+ "build:types": "tsc -p tsconfig.types.json",
12
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
14
+ "extract:docs": "api-extractor run --local",
15
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo managedblockchain-query"
16
+ },
17
+ "main": "./dist-cjs/index.js",
18
+ "types": "./dist-types/index.d.ts",
19
+ "module": "./dist-es/index.js",
20
+ "sideEffects": false,
21
+ "dependencies": {
22
+ "@aws-crypto/sha256-browser": "3.0.0",
23
+ "@aws-crypto/sha256-js": "3.0.0",
24
+ "@aws-sdk/client-sts": "3.378.0",
25
+ "@aws-sdk/credential-provider-node": "3.378.0",
26
+ "@aws-sdk/middleware-host-header": "3.378.0",
27
+ "@aws-sdk/middleware-logger": "3.378.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.378.0",
29
+ "@aws-sdk/middleware-signing": "3.378.0",
30
+ "@aws-sdk/middleware-user-agent": "3.378.0",
31
+ "@aws-sdk/types": "3.378.0",
32
+ "@aws-sdk/util-endpoints": "3.378.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.378.0",
34
+ "@aws-sdk/util-user-agent-node": "3.378.0",
35
+ "@smithy/config-resolver": "^2.0.1",
36
+ "@smithy/fetch-http-handler": "^2.0.1",
37
+ "@smithy/hash-node": "^2.0.1",
38
+ "@smithy/invalid-dependency": "^2.0.1",
39
+ "@smithy/middleware-content-length": "^2.0.1",
40
+ "@smithy/middleware-endpoint": "^2.0.1",
41
+ "@smithy/middleware-retry": "^2.0.1",
42
+ "@smithy/middleware-serde": "^2.0.1",
43
+ "@smithy/middleware-stack": "^2.0.0",
44
+ "@smithy/node-config-provider": "^2.0.1",
45
+ "@smithy/node-http-handler": "^2.0.1",
46
+ "@smithy/protocol-http": "^2.0.1",
47
+ "@smithy/smithy-client": "^2.0.1",
48
+ "@smithy/types": "^2.0.2",
49
+ "@smithy/url-parser": "^2.0.1",
50
+ "@smithy/util-base64": "^2.0.0",
51
+ "@smithy/util-body-length-browser": "^2.0.0",
52
+ "@smithy/util-body-length-node": "^2.0.0",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.1",
54
+ "@smithy/util-defaults-mode-node": "^2.0.1",
55
+ "@smithy/util-retry": "^2.0.0",
56
+ "@smithy/util-utf8": "^2.0.0",
57
+ "tslib": "^2.5.0"
58
+ },
59
+ "devDependencies": {
60
+ "@smithy/service-client-documentation-generator": "^2.0.0",
61
+ "@tsconfig/node14": "1.0.3",
62
+ "@types/node": "^14.14.31",
63
+ "concurrently": "7.0.0",
64
+ "downlevel-dts": "0.10.1",
65
+ "rimraf": "3.0.2",
66
+ "typedoc": "0.23.23",
67
+ "typescript": "~4.9.5"
68
+ },
69
+ "engines": {
70
+ "node": ">=14.0.0"
71
+ },
72
+ "typesVersions": {
73
+ "<4.0": {
74
+ "dist-types/*": [
75
+ "dist-types/ts3.4/*"
76
+ ]
77
+ }
78
+ },
79
+ "files": [
80
+ "dist-*/**"
81
+ ],
82
+ "author": {
83
+ "name": "AWS SDK for JavaScript Team",
84
+ "url": "https://aws.amazon.com/javascript/"
85
+ },
86
+ "license": "Apache-2.0",
87
+ "browser": {
88
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
89
+ },
90
+ "react-native": {
91
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
92
+ },
93
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-managedblockchain-query",
94
+ "repository": {
95
+ "type": "git",
96
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
97
+ "directory": "clients/client-managedblockchain-query"
98
+ }
99
+ }