@aws-sdk/client-dsql 3.705.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 (143) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +294 -0
  3. package/dist-cjs/DSQL.js +31 -0
  4. package/dist-cjs/DSQLClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateClusterCommand.js +26 -0
  8. package/dist-cjs/commands/CreateMultiRegionClustersCommand.js +26 -0
  9. package/dist-cjs/commands/DeleteClusterCommand.js +26 -0
  10. package/dist-cjs/commands/DeleteMultiRegionClustersCommand.js +26 -0
  11. package/dist-cjs/commands/GetClusterCommand.js +26 -0
  12. package/dist-cjs/commands/ListClustersCommand.js +26 -0
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  14. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  15. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  16. package/dist-cjs/commands/UpdateClusterCommand.js +26 -0
  17. package/dist-cjs/commands/index.js +13 -0
  18. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  19. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  20. package/dist-cjs/endpoint/ruleset.js +7 -0
  21. package/dist-cjs/extensionConfiguration.js +2 -0
  22. package/dist-cjs/index.js +12 -0
  23. package/dist-cjs/models/DSQLServiceException.js +12 -0
  24. package/dist-cjs/models/index.js +4 -0
  25. package/dist-cjs/models/models_0.js +128 -0
  26. package/dist-cjs/pagination/Interfaces.js +2 -0
  27. package/dist-cjs/pagination/ListClustersPaginator.js +7 -0
  28. package/dist-cjs/pagination/index.js +5 -0
  29. package/dist-cjs/protocols/Aws_restJson1.js +467 -0
  30. package/dist-cjs/runtimeConfig.browser.js +39 -0
  31. package/dist-cjs/runtimeConfig.js +50 -0
  32. package/dist-cjs/runtimeConfig.native.js +15 -0
  33. package/dist-cjs/runtimeConfig.shared.js +34 -0
  34. package/dist-cjs/runtimeExtensions.js +25 -0
  35. package/dist-cjs/waiters/index.js +5 -0
  36. package/dist-cjs/waiters/waitForClusterActive.js +36 -0
  37. package/dist-cjs/waiters/waitForClusterNotExists.js +30 -0
  38. package/dist-es/DSQL.js +27 -0
  39. package/dist-es/DSQLClient.js +46 -0
  40. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  41. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  42. package/dist-es/commands/CreateClusterCommand.js +22 -0
  43. package/dist-es/commands/CreateMultiRegionClustersCommand.js +22 -0
  44. package/dist-es/commands/DeleteClusterCommand.js +22 -0
  45. package/dist-es/commands/DeleteMultiRegionClustersCommand.js +22 -0
  46. package/dist-es/commands/GetClusterCommand.js +22 -0
  47. package/dist-es/commands/ListClustersCommand.js +22 -0
  48. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  49. package/dist-es/commands/TagResourceCommand.js +22 -0
  50. package/dist-es/commands/UntagResourceCommand.js +22 -0
  51. package/dist-es/commands/UpdateClusterCommand.js +22 -0
  52. package/dist-es/commands/index.js +10 -0
  53. package/dist-es/endpoint/EndpointParameters.js +12 -0
  54. package/dist-es/endpoint/endpointResolver.js +14 -0
  55. package/dist-es/endpoint/ruleset.js +4 -0
  56. package/dist-es/extensionConfiguration.js +1 -0
  57. package/dist-es/index.js +7 -0
  58. package/dist-es/models/DSQLServiceException.js +8 -0
  59. package/dist-es/models/index.js +1 -0
  60. package/dist-es/models/models_0.js +118 -0
  61. package/dist-es/pagination/Interfaces.js +1 -0
  62. package/dist-es/pagination/ListClustersPaginator.js +4 -0
  63. package/dist-es/pagination/index.js +2 -0
  64. package/dist-es/protocols/Aws_restJson1.js +444 -0
  65. package/dist-es/runtimeConfig.browser.js +34 -0
  66. package/dist-es/runtimeConfig.js +45 -0
  67. package/dist-es/runtimeConfig.native.js +11 -0
  68. package/dist-es/runtimeConfig.shared.js +30 -0
  69. package/dist-es/runtimeExtensions.js +21 -0
  70. package/dist-es/waiters/index.js +2 -0
  71. package/dist-es/waiters/waitForClusterActive.js +31 -0
  72. package/dist-es/waiters/waitForClusterNotExists.js +25 -0
  73. package/dist-types/DSQL.d.ts +91 -0
  74. package/dist-types/DSQLClient.d.ts +188 -0
  75. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  76. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  77. package/dist-types/commands/CreateClusterCommand.d.ts +98 -0
  78. package/dist-types/commands/CreateMultiRegionClustersCommand.d.ts +107 -0
  79. package/dist-types/commands/DeleteClusterCommand.d.ts +95 -0
  80. package/dist-types/commands/DeleteMultiRegionClustersCommand.d.ts +91 -0
  81. package/dist-types/commands/GetClusterCommand.d.ts +95 -0
  82. package/dist-types/commands/ListClustersCommand.d.ts +94 -0
  83. package/dist-types/commands/ListTagsForResourceCommand.d.ts +89 -0
  84. package/dist-types/commands/TagResourceCommand.d.ts +91 -0
  85. package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
  86. package/dist-types/commands/UpdateClusterCommand.d.ts +100 -0
  87. package/dist-types/commands/index.d.ts +10 -0
  88. package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
  89. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  90. package/dist-types/endpoint/ruleset.d.ts +2 -0
  91. package/dist-types/extensionConfiguration.d.ts +9 -0
  92. package/dist-types/index.d.ts +24 -0
  93. package/dist-types/models/DSQLServiceException.d.ts +14 -0
  94. package/dist-types/models/index.d.ts +1 -0
  95. package/dist-types/models/models_0.d.ts +624 -0
  96. package/dist-types/pagination/Interfaces.d.ts +8 -0
  97. package/dist-types/pagination/ListClustersPaginator.d.ts +7 -0
  98. package/dist-types/pagination/index.d.ts +2 -0
  99. package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
  100. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  101. package/dist-types/runtimeConfig.d.ts +48 -0
  102. package/dist-types/runtimeConfig.native.d.ts +47 -0
  103. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  104. package/dist-types/runtimeExtensions.d.ts +17 -0
  105. package/dist-types/ts3.4/DSQL.d.ts +177 -0
  106. package/dist-types/ts3.4/DSQLClient.d.ts +178 -0
  107. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  108. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  109. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +47 -0
  110. package/dist-types/ts3.4/commands/CreateMultiRegionClustersCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +47 -0
  112. package/dist-types/ts3.4/commands/DeleteMultiRegionClustersCommand.d.ts +47 -0
  113. package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +47 -0
  114. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +47 -0
  115. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
  117. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
  118. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +47 -0
  119. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  120. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  121. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  122. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  123. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  124. package/dist-types/ts3.4/index.d.ts +10 -0
  125. package/dist-types/ts3.4/models/DSQLServiceException.d.ts +9 -0
  126. package/dist-types/ts3.4/models/index.d.ts +1 -0
  127. package/dist-types/ts3.4/models/models_0.d.ts +181 -0
  128. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  129. package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +11 -0
  130. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  131. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +125 -0
  132. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  133. package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
  134. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  135. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  136. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  137. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  138. package/dist-types/ts3.4/waiters/waitForClusterActive.d.ts +11 -0
  139. package/dist-types/ts3.4/waiters/waitForClusterNotExists.d.ts +11 -0
  140. package/dist-types/waiters/index.d.ts +2 -0
  141. package/dist-types/waiters/waitForClusterActive.d.ts +14 -0
  142. package/dist-types/waiters/waitForClusterNotExists.d.ts +14 -0
  143. package/package.json +104 -0
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { GetClusterCommandInput } from "../commands/GetClusterCommand";
3
+ import { DSQLClient } from "../DSQLClient";
4
+ /**
5
+ * Wait until a Cluster is ACTIVE
6
+ * @deprecated Use waitUntilClusterActive instead. waitForClusterActive does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForClusterActive: (params: WaiterConfiguration<DSQLClient>, input: GetClusterCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ * Wait until a Cluster is ACTIVE
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to GetClusterCommand for polling.
13
+ */
14
+ export declare const waitUntilClusterActive: (params: WaiterConfiguration<DSQLClient>, input: GetClusterCommandInput) => Promise<WaiterResult>;
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { GetClusterCommandInput } from "../commands/GetClusterCommand";
3
+ import { DSQLClient } from "../DSQLClient";
4
+ /**
5
+ * Wait until a Cluster is gone
6
+ * @deprecated Use waitUntilClusterNotExists instead. waitForClusterNotExists does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForClusterNotExists: (params: WaiterConfiguration<DSQLClient>, input: GetClusterCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ * Wait until a Cluster is gone
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to GetClusterCommand for polling.
13
+ */
14
+ export declare const waitUntilClusterNotExists: (params: WaiterConfiguration<DSQLClient>, input: GetClusterCommandInput) => Promise<WaiterResult>;
package/package.json ADDED
@@ -0,0 +1,104 @@
1
+ {
2
+ "name": "@aws-sdk/client-dsql",
3
+ "description": "AWS SDK for JavaScript Dsql Client for Node.js, Browser and React Native",
4
+ "version": "3.705.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:es": "tsc -p tsconfig.es.json",
9
+ "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
10
+ "build:types": "tsc -p tsconfig.types.json",
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
13
+ "extract:docs": "api-extractor run --local",
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo dsql"
15
+ },
16
+ "main": "./dist-cjs/index.js",
17
+ "types": "./dist-types/index.d.ts",
18
+ "module": "./dist-es/index.js",
19
+ "sideEffects": false,
20
+ "dependencies": {
21
+ "@aws-crypto/sha256-browser": "5.2.0",
22
+ "@aws-crypto/sha256-js": "5.2.0",
23
+ "@aws-sdk/client-sso-oidc": "3.699.0",
24
+ "@aws-sdk/client-sts": "3.699.0",
25
+ "@aws-sdk/core": "3.696.0",
26
+ "@aws-sdk/credential-provider-node": "3.699.0",
27
+ "@aws-sdk/middleware-host-header": "3.696.0",
28
+ "@aws-sdk/middleware-logger": "3.696.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.696.0",
30
+ "@aws-sdk/middleware-user-agent": "3.696.0",
31
+ "@aws-sdk/region-config-resolver": "3.696.0",
32
+ "@aws-sdk/types": "3.696.0",
33
+ "@aws-sdk/util-endpoints": "3.696.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.696.0",
35
+ "@aws-sdk/util-user-agent-node": "3.696.0",
36
+ "@smithy/config-resolver": "^3.0.12",
37
+ "@smithy/core": "^2.5.3",
38
+ "@smithy/fetch-http-handler": "^4.1.1",
39
+ "@smithy/hash-node": "^3.0.10",
40
+ "@smithy/invalid-dependency": "^3.0.10",
41
+ "@smithy/middleware-content-length": "^3.0.12",
42
+ "@smithy/middleware-endpoint": "^3.2.3",
43
+ "@smithy/middleware-retry": "^3.0.27",
44
+ "@smithy/middleware-serde": "^3.0.10",
45
+ "@smithy/middleware-stack": "^3.0.10",
46
+ "@smithy/node-config-provider": "^3.1.11",
47
+ "@smithy/node-http-handler": "^3.3.1",
48
+ "@smithy/protocol-http": "^4.1.7",
49
+ "@smithy/smithy-client": "^3.4.4",
50
+ "@smithy/types": "^3.7.1",
51
+ "@smithy/url-parser": "^3.0.10",
52
+ "@smithy/util-base64": "^3.0.0",
53
+ "@smithy/util-body-length-browser": "^3.0.0",
54
+ "@smithy/util-body-length-node": "^3.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.27",
56
+ "@smithy/util-defaults-mode-node": "^3.0.27",
57
+ "@smithy/util-endpoints": "^2.1.6",
58
+ "@smithy/util-middleware": "^3.0.10",
59
+ "@smithy/util-retry": "^3.0.10",
60
+ "@smithy/util-utf8": "^3.0.0",
61
+ "@smithy/util-waiter": "^3.1.9",
62
+ "@types/uuid": "^9.0.1",
63
+ "tslib": "^2.6.2",
64
+ "uuid": "^9.0.1"
65
+ },
66
+ "devDependencies": {
67
+ "@tsconfig/node16": "16.1.3",
68
+ "@types/node": "^16.18.96",
69
+ "concurrently": "7.0.0",
70
+ "downlevel-dts": "0.10.1",
71
+ "rimraf": "3.0.2",
72
+ "typescript": "~4.9.5"
73
+ },
74
+ "engines": {
75
+ "node": ">=16.0.0"
76
+ },
77
+ "typesVersions": {
78
+ "<4.0": {
79
+ "dist-types/*": [
80
+ "dist-types/ts3.4/*"
81
+ ]
82
+ }
83
+ },
84
+ "files": [
85
+ "dist-*/**"
86
+ ],
87
+ "author": {
88
+ "name": "AWS SDK for JavaScript Team",
89
+ "url": "https://aws.amazon.com/javascript/"
90
+ },
91
+ "license": "Apache-2.0",
92
+ "browser": {
93
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
94
+ },
95
+ "react-native": {
96
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
97
+ },
98
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-dsql",
99
+ "repository": {
100
+ "type": "git",
101
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
102
+ "directory": "clients/client-dsql"
103
+ }
104
+ }