oci-bds 2.8.0 → 2.11.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 (264) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +1 -1
  3. package/lib/bds-waiter.d.ts +9 -1
  4. package/lib/bds-waiter.js +13 -1
  5. package/lib/bds-waiter.js.map +1 -1
  6. package/lib/client.d.ts +126 -27
  7. package/lib/client.js +503 -27
  8. package/lib/client.js.map +1 -1
  9. package/lib/model/action-types.d.ts +1 -1
  10. package/lib/model/action-types.js +1 -1
  11. package/lib/model/activate-bds-metastore-configuration-details.d.ts +30 -0
  12. package/lib/model/activate-bds-metastore-configuration-details.js +30 -0
  13. package/lib/model/activate-bds-metastore-configuration-details.js.map +1 -0
  14. package/lib/model/add-auto-scaling-configuration-details.d.ts +1 -1
  15. package/lib/model/add-auto-scaling-configuration-details.js +1 -1
  16. package/lib/model/add-block-storage-details.d.ts +1 -1
  17. package/lib/model/add-block-storage-details.js +1 -1
  18. package/lib/model/add-cloud-sql-details.d.ts +1 -1
  19. package/lib/model/add-cloud-sql-details.js +1 -1
  20. package/lib/model/add-worker-nodes-details.d.ts +1 -1
  21. package/lib/model/add-worker-nodes-details.js +1 -1
  22. package/lib/model/auto-scale-policy-metric-rule.d.ts +1 -1
  23. package/lib/model/auto-scale-policy-metric-rule.js +1 -1
  24. package/lib/model/auto-scale-policy-rule.d.ts +1 -1
  25. package/lib/model/auto-scale-policy-rule.js +1 -1
  26. package/lib/model/auto-scale-policy.d.ts +1 -1
  27. package/lib/model/auto-scale-policy.js +1 -1
  28. package/lib/model/auto-scaling-configuration-summary.d.ts +1 -1
  29. package/lib/model/auto-scaling-configuration-summary.js +1 -1
  30. package/lib/model/auto-scaling-configuration.d.ts +1 -1
  31. package/lib/model/auto-scaling-configuration.js +1 -1
  32. package/lib/model/bds-api-key-summary.d.ts +1 -1
  33. package/lib/model/bds-api-key-summary.js +1 -1
  34. package/lib/model/bds-api-key.d.ts +1 -1
  35. package/lib/model/bds-api-key.js +1 -1
  36. package/lib/model/bds-instance-summary.d.ts +1 -1
  37. package/lib/model/bds-instance-summary.js +1 -1
  38. package/lib/model/bds-instance.d.ts +1 -1
  39. package/lib/model/bds-instance.js +1 -1
  40. package/lib/model/bds-metastore-configuration-summary.d.ts +54 -0
  41. package/lib/model/bds-metastore-configuration-summary.js +30 -0
  42. package/lib/model/bds-metastore-configuration-summary.js.map +1 -0
  43. package/lib/model/bds-metastore-configuration.d.ts +78 -0
  44. package/lib/model/bds-metastore-configuration.js +56 -0
  45. package/lib/model/bds-metastore-configuration.js.map +1 -0
  46. package/lib/model/change-bds-instance-compartment-details.d.ts +1 -1
  47. package/lib/model/change-bds-instance-compartment-details.js +1 -1
  48. package/lib/model/change-shape-details.d.ts +1 -1
  49. package/lib/model/change-shape-details.js +1 -1
  50. package/lib/model/change-shape-nodes.d.ts +1 -1
  51. package/lib/model/change-shape-nodes.js +1 -1
  52. package/lib/model/cloud-sql-details.d.ts +1 -1
  53. package/lib/model/cloud-sql-details.js +1 -1
  54. package/lib/model/cluster-details.d.ts +1 -1
  55. package/lib/model/cluster-details.js +1 -1
  56. package/lib/model/create-bds-api-key-details.d.ts +1 -1
  57. package/lib/model/create-bds-api-key-details.js +1 -1
  58. package/lib/model/create-bds-instance-details.d.ts +1 -1
  59. package/lib/model/create-bds-instance-details.js +1 -1
  60. package/lib/model/create-bds-metastore-configuration-details.d.ts +42 -0
  61. package/lib/model/create-bds-metastore-configuration-details.js +30 -0
  62. package/lib/model/create-bds-metastore-configuration-details.js.map +1 -0
  63. package/lib/model/create-node-details.d.ts +1 -1
  64. package/lib/model/create-node-details.js +1 -1
  65. package/lib/model/default-error.d.ts +1 -1
  66. package/lib/model/default-error.js +1 -1
  67. package/lib/model/index.d.ts +13 -1
  68. package/lib/model/index.js +14 -2
  69. package/lib/model/index.js.map +1 -1
  70. package/lib/model/kerberos-details.d.ts +1 -1
  71. package/lib/model/kerberos-details.js +1 -1
  72. package/lib/model/metric-threshold-rule.d.ts +1 -1
  73. package/lib/model/metric-threshold-rule.js +1 -1
  74. package/lib/model/network-config.d.ts +1 -1
  75. package/lib/model/network-config.js +1 -1
  76. package/lib/model/node.d.ts +1 -1
  77. package/lib/model/node.js +1 -1
  78. package/lib/model/operation-status.d.ts +1 -1
  79. package/lib/model/operation-status.js +1 -1
  80. package/lib/model/operation-types.d.ts +9 -1
  81. package/lib/model/operation-types.js +9 -1
  82. package/lib/model/operation-types.js.map +1 -1
  83. package/lib/model/remove-auto-scaling-configuration-details.d.ts +1 -1
  84. package/lib/model/remove-auto-scaling-configuration-details.js +1 -1
  85. package/lib/model/remove-cloud-sql-details.d.ts +1 -1
  86. package/lib/model/remove-cloud-sql-details.js +1 -1
  87. package/lib/model/restart-node-details.d.ts +1 -1
  88. package/lib/model/restart-node-details.js +1 -1
  89. package/lib/model/sort-orders.d.ts +1 -1
  90. package/lib/model/sort-orders.js +1 -1
  91. package/lib/model/test-bds-metastore-configuration-details.d.ts +26 -0
  92. package/lib/model/test-bds-metastore-configuration-details.js +30 -0
  93. package/lib/model/test-bds-metastore-configuration-details.js.map +1 -0
  94. package/lib/model/test-bds-object-storage-connection-details.d.ts +1 -1
  95. package/lib/model/test-bds-object-storage-connection-details.js +1 -1
  96. package/lib/model/update-auto-scaling-configuration-details.d.ts +1 -1
  97. package/lib/model/update-auto-scaling-configuration-details.js +1 -1
  98. package/lib/model/update-bds-instance-details.d.ts +1 -1
  99. package/lib/model/update-bds-instance-details.js +1 -1
  100. package/lib/model/update-bds-metastore-configuration-details.d.ts +38 -0
  101. package/lib/model/update-bds-metastore-configuration-details.js +30 -0
  102. package/lib/model/update-bds-metastore-configuration-details.js.map +1 -0
  103. package/lib/model/volume-attachment-detail.d.ts +1 -1
  104. package/lib/model/volume-attachment-detail.js +1 -1
  105. package/lib/model/work-request-error.d.ts +1 -1
  106. package/lib/model/work-request-error.js +1 -1
  107. package/lib/model/work-request-log-entry.d.ts +1 -1
  108. package/lib/model/work-request-log-entry.js +1 -1
  109. package/lib/model/work-request-resource.d.ts +1 -1
  110. package/lib/model/work-request-resource.js +1 -1
  111. package/lib/model/work-request.d.ts +1 -1
  112. package/lib/model/work-request.js +1 -1
  113. package/lib/request/activate-bds-metastore-configuration-request.d.ts +53 -0
  114. package/lib/request/activate-bds-metastore-configuration-request.js +15 -0
  115. package/lib/request/activate-bds-metastore-configuration-request.js.map +1 -0
  116. package/lib/request/add-auto-scaling-configuration-request.d.ts +2 -2
  117. package/lib/request/add-auto-scaling-configuration-request.js +1 -1
  118. package/lib/request/add-block-storage-request.d.ts +2 -2
  119. package/lib/request/add-block-storage-request.js +1 -1
  120. package/lib/request/add-cloud-sql-request.d.ts +2 -2
  121. package/lib/request/add-cloud-sql-request.js +1 -1
  122. package/lib/request/add-worker-nodes-request.d.ts +2 -2
  123. package/lib/request/add-worker-nodes-request.js +1 -1
  124. package/lib/request/change-bds-instance-compartment-request.d.ts +2 -2
  125. package/lib/request/change-bds-instance-compartment-request.js +1 -1
  126. package/lib/request/change-shape-request.d.ts +2 -2
  127. package/lib/request/change-shape-request.js +1 -1
  128. package/lib/request/create-bds-api-key-request.d.ts +2 -2
  129. package/lib/request/create-bds-api-key-request.js +1 -1
  130. package/lib/request/create-bds-instance-request.d.ts +2 -2
  131. package/lib/request/create-bds-instance-request.js +1 -1
  132. package/lib/request/create-bds-metastore-configuration-request.d.ts +40 -0
  133. package/lib/request/create-bds-metastore-configuration-request.js +15 -0
  134. package/lib/request/create-bds-metastore-configuration-request.js.map +1 -0
  135. package/lib/request/delete-bds-api-key-request.d.ts +2 -2
  136. package/lib/request/delete-bds-api-key-request.js +1 -1
  137. package/lib/request/delete-bds-instance-request.d.ts +2 -2
  138. package/lib/request/delete-bds-instance-request.js +1 -1
  139. package/lib/request/delete-bds-metastore-configuration-request.d.ts +39 -0
  140. package/lib/request/delete-bds-metastore-configuration-request.js +15 -0
  141. package/lib/request/delete-bds-metastore-configuration-request.js.map +1 -0
  142. package/lib/request/get-auto-scaling-configuration-request.d.ts +2 -2
  143. package/lib/request/get-auto-scaling-configuration-request.js +1 -1
  144. package/lib/request/get-bds-api-key-request.d.ts +2 -2
  145. package/lib/request/get-bds-api-key-request.js +1 -1
  146. package/lib/request/get-bds-instance-request.d.ts +2 -2
  147. package/lib/request/get-bds-instance-request.js +1 -1
  148. package/lib/request/get-bds-metastore-configuration-request.d.ts +30 -0
  149. package/lib/request/get-bds-metastore-configuration-request.js +15 -0
  150. package/lib/request/get-bds-metastore-configuration-request.js.map +1 -0
  151. package/lib/request/get-work-request-request.d.ts +2 -2
  152. package/lib/request/get-work-request-request.js +1 -1
  153. package/lib/request/index.d.ts +15 -1
  154. package/lib/request/index.js +4 -2
  155. package/lib/request/index.js.map +1 -1
  156. package/lib/request/list-auto-scaling-configurations-request.d.ts +2 -2
  157. package/lib/request/list-auto-scaling-configurations-request.js +1 -1
  158. package/lib/request/list-bds-api-keys-request.d.ts +2 -2
  159. package/lib/request/list-bds-api-keys-request.js +1 -1
  160. package/lib/request/list-bds-instances-request.d.ts +2 -2
  161. package/lib/request/list-bds-instances-request.js +1 -1
  162. package/lib/request/list-bds-metastore-configurations-request.d.ts +70 -0
  163. package/lib/request/list-bds-metastore-configurations-request.js +24 -0
  164. package/lib/request/list-bds-metastore-configurations-request.js.map +1 -0
  165. package/lib/request/list-work-request-errors-request.d.ts +2 -2
  166. package/lib/request/list-work-request-errors-request.js +1 -1
  167. package/lib/request/list-work-request-logs-request.d.ts +2 -2
  168. package/lib/request/list-work-request-logs-request.js +1 -1
  169. package/lib/request/list-work-requests-request.d.ts +2 -2
  170. package/lib/request/list-work-requests-request.js +1 -1
  171. package/lib/request/remove-auto-scaling-configuration-request.d.ts +2 -2
  172. package/lib/request/remove-auto-scaling-configuration-request.js +1 -1
  173. package/lib/request/remove-cloud-sql-request.d.ts +2 -2
  174. package/lib/request/remove-cloud-sql-request.js +1 -1
  175. package/lib/request/restart-node-request.d.ts +2 -2
  176. package/lib/request/restart-node-request.js +1 -1
  177. package/lib/request/test-bds-metastore-configuration-request.d.ts +44 -0
  178. package/lib/request/test-bds-metastore-configuration-request.js +15 -0
  179. package/lib/request/test-bds-metastore-configuration-request.js.map +1 -0
  180. package/lib/request/test-bds-object-storage-connection-request.d.ts +2 -2
  181. package/lib/request/test-bds-object-storage-connection-request.js +1 -1
  182. package/lib/request/update-auto-scaling-configuration-request.d.ts +2 -2
  183. package/lib/request/update-auto-scaling-configuration-request.js +1 -1
  184. package/lib/request/update-bds-instance-request.d.ts +2 -2
  185. package/lib/request/update-bds-instance-request.js +1 -1
  186. package/lib/request/update-bds-metastore-configuration-request.d.ts +44 -0
  187. package/lib/request/update-bds-metastore-configuration-request.js +15 -0
  188. package/lib/request/update-bds-metastore-configuration-request.js.map +1 -0
  189. package/lib/response/activate-bds-metastore-configuration-response.d.ts +25 -0
  190. package/lib/response/activate-bds-metastore-configuration-response.js +15 -0
  191. package/lib/response/activate-bds-metastore-configuration-response.js.map +1 -0
  192. package/lib/response/add-auto-scaling-configuration-response.d.ts +1 -1
  193. package/lib/response/add-auto-scaling-configuration-response.js +1 -1
  194. package/lib/response/add-block-storage-response.d.ts +1 -1
  195. package/lib/response/add-block-storage-response.js +1 -1
  196. package/lib/response/add-cloud-sql-response.d.ts +1 -1
  197. package/lib/response/add-cloud-sql-response.js +1 -1
  198. package/lib/response/add-worker-nodes-response.d.ts +1 -1
  199. package/lib/response/add-worker-nodes-response.js +1 -1
  200. package/lib/response/change-bds-instance-compartment-response.d.ts +1 -1
  201. package/lib/response/change-bds-instance-compartment-response.js +1 -1
  202. package/lib/response/change-shape-response.d.ts +1 -1
  203. package/lib/response/change-shape-response.js +1 -1
  204. package/lib/response/create-bds-api-key-response.d.ts +1 -1
  205. package/lib/response/create-bds-api-key-response.js +1 -1
  206. package/lib/response/create-bds-instance-response.d.ts +1 -1
  207. package/lib/response/create-bds-instance-response.js +1 -1
  208. package/lib/response/create-bds-metastore-configuration-response.d.ts +25 -0
  209. package/lib/response/create-bds-metastore-configuration-response.js +15 -0
  210. package/lib/response/create-bds-metastore-configuration-response.js.map +1 -0
  211. package/lib/response/delete-bds-api-key-response.d.ts +1 -1
  212. package/lib/response/delete-bds-api-key-response.js +1 -1
  213. package/lib/response/delete-bds-instance-response.d.ts +1 -1
  214. package/lib/response/delete-bds-instance-response.js +1 -1
  215. package/lib/response/delete-bds-metastore-configuration-response.d.ts +25 -0
  216. package/lib/response/delete-bds-metastore-configuration-response.js +15 -0
  217. package/lib/response/delete-bds-metastore-configuration-response.js.map +1 -0
  218. package/lib/response/get-auto-scaling-configuration-response.d.ts +1 -1
  219. package/lib/response/get-auto-scaling-configuration-response.js +1 -1
  220. package/lib/response/get-bds-api-key-response.d.ts +1 -1
  221. package/lib/response/get-bds-api-key-response.js +1 -1
  222. package/lib/response/get-bds-instance-response.d.ts +1 -1
  223. package/lib/response/get-bds-instance-response.js +1 -1
  224. package/lib/response/get-bds-metastore-configuration-response.d.ts +30 -0
  225. package/lib/response/get-bds-metastore-configuration-response.js +15 -0
  226. package/lib/response/get-bds-metastore-configuration-response.js.map +1 -0
  227. package/lib/response/get-work-request-response.d.ts +1 -1
  228. package/lib/response/get-work-request-response.js +1 -1
  229. package/lib/response/index.d.ts +15 -1
  230. package/lib/response/index.js +1 -1
  231. package/lib/response/list-auto-scaling-configurations-response.d.ts +1 -1
  232. package/lib/response/list-auto-scaling-configurations-response.js +1 -1
  233. package/lib/response/list-bds-api-keys-response.d.ts +1 -1
  234. package/lib/response/list-bds-api-keys-response.js +1 -1
  235. package/lib/response/list-bds-instances-response.d.ts +1 -1
  236. package/lib/response/list-bds-instances-response.js +1 -1
  237. package/lib/response/list-bds-metastore-configurations-response.d.ts +32 -0
  238. package/lib/response/list-bds-metastore-configurations-response.js +15 -0
  239. package/lib/response/list-bds-metastore-configurations-response.js.map +1 -0
  240. package/lib/response/list-work-request-errors-response.d.ts +1 -1
  241. package/lib/response/list-work-request-errors-response.js +1 -1
  242. package/lib/response/list-work-request-logs-response.d.ts +1 -1
  243. package/lib/response/list-work-request-logs-response.js +1 -1
  244. package/lib/response/list-work-requests-response.d.ts +1 -1
  245. package/lib/response/list-work-requests-response.js +1 -1
  246. package/lib/response/remove-auto-scaling-configuration-response.d.ts +1 -1
  247. package/lib/response/remove-auto-scaling-configuration-response.js +1 -1
  248. package/lib/response/remove-cloud-sql-response.d.ts +1 -1
  249. package/lib/response/remove-cloud-sql-response.js +1 -1
  250. package/lib/response/restart-node-response.d.ts +1 -1
  251. package/lib/response/restart-node-response.js +1 -1
  252. package/lib/response/test-bds-metastore-configuration-response.d.ts +25 -0
  253. package/lib/response/test-bds-metastore-configuration-response.js +15 -0
  254. package/lib/response/test-bds-metastore-configuration-response.js.map +1 -0
  255. package/lib/response/test-bds-object-storage-connection-response.d.ts +1 -1
  256. package/lib/response/test-bds-object-storage-connection-response.js +1 -1
  257. package/lib/response/update-auto-scaling-configuration-response.d.ts +1 -1
  258. package/lib/response/update-auto-scaling-configuration-response.js +1 -1
  259. package/lib/response/update-bds-instance-response.d.ts +1 -1
  260. package/lib/response/update-bds-instance-response.js +1 -1
  261. package/lib/response/update-bds-metastore-configuration-response.d.ts +25 -0
  262. package/lib/response/update-bds-metastore-configuration-response.js +15 -0
  263. package/lib/response/update-bds-metastore-configuration-response.js.map +1 -0
  264. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -9,7 +9,7 @@
9
9
  * NOTE: This class is auto generated by OracleSDKGenerator.
10
10
  * Do not edit the class manually.
11
11
  *
12
- * Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
12
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
13
13
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
14
14
  */
15
15
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -146,6 +146,68 @@ class BdsClient {
146
146
  }
147
147
  throw Error("Waiters do not exist. Please create waiters.");
148
148
  }
149
+ /**
150
+ * Activate specified metastore configuration.
151
+ *
152
+ * This operation does not retry by default if the user has not defined a retry configuration.
153
+ * @param ActivateBdsMetastoreConfigurationRequest
154
+ * @return ActivateBdsMetastoreConfigurationResponse
155
+ * @throws OciError when an error occurs
156
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/ActivateBdsMetastoreConfiguration.ts.html |here} to see how to use ActivateBdsMetastoreConfiguration API.
157
+ */
158
+ activateBdsMetastoreConfiguration(activateBdsMetastoreConfigurationRequest) {
159
+ return __awaiter(this, void 0, void 0, function* () {
160
+ if (this.logger)
161
+ this.logger.debug("Calling operation BdsClient#activateBdsMetastoreConfiguration.");
162
+ const pathParams = {
163
+ "{bdsInstanceId}": activateBdsMetastoreConfigurationRequest.bdsInstanceId,
164
+ "{metastoreConfigId}": activateBdsMetastoreConfigurationRequest.metastoreConfigId
165
+ };
166
+ const queryParams = {};
167
+ let headerParams = {
168
+ "Content-Type": common.Constants.APPLICATION_JSON,
169
+ "opc-request-id": activateBdsMetastoreConfigurationRequest.opcRequestId,
170
+ "opc-retry-token": activateBdsMetastoreConfigurationRequest.opcRetryToken,
171
+ "if-match": activateBdsMetastoreConfigurationRequest.ifMatch
172
+ };
173
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
174
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, activateBdsMetastoreConfigurationRequest.retryConfiguration, specRetryConfiguration);
175
+ if (this.logger)
176
+ retrier.logger = this.logger;
177
+ const request = yield oci_common_2.composeRequest({
178
+ baseEndpoint: this._endpoint,
179
+ defaultHeaders: this._defaultHeaders,
180
+ path: "/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}/actions/activate",
181
+ method: "POST",
182
+ bodyContent: common.ObjectSerializer.serialize(activateBdsMetastoreConfigurationRequest.activateBdsMetastoreConfigurationDetails, "ActivateBdsMetastoreConfigurationDetails", model.ActivateBdsMetastoreConfigurationDetails.getJsonObj),
183
+ pathParams: pathParams,
184
+ headerParams: headerParams,
185
+ queryParams: queryParams
186
+ });
187
+ try {
188
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
189
+ const sdkResponse = oci_common_2.composeResponse({
190
+ responseObject: {},
191
+ responseHeaders: [
192
+ {
193
+ value: response.headers.get("opc-request-id"),
194
+ key: "opcRequestId",
195
+ dataType: "string"
196
+ },
197
+ {
198
+ value: response.headers.get("opc-work-request-id"),
199
+ key: "opcWorkRequestId",
200
+ dataType: "string"
201
+ }
202
+ ]
203
+ });
204
+ return sdkResponse;
205
+ }
206
+ catch (err) {
207
+ throw err;
208
+ }
209
+ });
210
+ }
149
211
  /**
150
212
  * Add an autoscale configuration to the cluster.
151
213
  *
@@ -153,7 +215,7 @@ class BdsClient {
153
215
  * @param AddAutoScalingConfigurationRequest
154
216
  * @return AddAutoScalingConfigurationResponse
155
217
  * @throws OciError when an error occurs
156
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/AddAutoScalingConfiguration.ts.html |here} to see how to use AddAutoScalingConfiguration API.
218
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/AddAutoScalingConfiguration.ts.html |here} to see how to use AddAutoScalingConfiguration API.
157
219
  */
158
220
  addAutoScalingConfiguration(addAutoScalingConfigurationRequest) {
159
221
  return __awaiter(this, void 0, void 0, function* () {
@@ -214,7 +276,7 @@ class BdsClient {
214
276
  * @param AddBlockStorageRequest
215
277
  * @return AddBlockStorageResponse
216
278
  * @throws OciError when an error occurs
217
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/AddBlockStorage.ts.html |here} to see how to use AddBlockStorage API.
279
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/AddBlockStorage.ts.html |here} to see how to use AddBlockStorage API.
218
280
  */
219
281
  addBlockStorage(addBlockStorageRequest) {
220
282
  return __awaiter(this, void 0, void 0, function* () {
@@ -275,7 +337,7 @@ class BdsClient {
275
337
  * @param AddCloudSqlRequest
276
338
  * @return AddCloudSqlResponse
277
339
  * @throws OciError when an error occurs
278
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/AddCloudSql.ts.html |here} to see how to use AddCloudSql API.
340
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/AddCloudSql.ts.html |here} to see how to use AddCloudSql API.
279
341
  */
280
342
  addCloudSql(addCloudSqlRequest) {
281
343
  return __awaiter(this, void 0, void 0, function* () {
@@ -336,7 +398,7 @@ class BdsClient {
336
398
  * @param AddWorkerNodesRequest
337
399
  * @return AddWorkerNodesResponse
338
400
  * @throws OciError when an error occurs
339
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/AddWorkerNodes.ts.html |here} to see how to use AddWorkerNodes API.
401
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/AddWorkerNodes.ts.html |here} to see how to use AddWorkerNodes API.
340
402
  */
341
403
  addWorkerNodes(addWorkerNodesRequest) {
342
404
  return __awaiter(this, void 0, void 0, function* () {
@@ -397,7 +459,7 @@ class BdsClient {
397
459
  * @param ChangeBdsInstanceCompartmentRequest
398
460
  * @return ChangeBdsInstanceCompartmentResponse
399
461
  * @throws OciError when an error occurs
400
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/ChangeBdsInstanceCompartment.ts.html |here} to see how to use ChangeBdsInstanceCompartment API.
462
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/ChangeBdsInstanceCompartment.ts.html |here} to see how to use ChangeBdsInstanceCompartment API.
401
463
  */
402
464
  changeBdsInstanceCompartment(changeBdsInstanceCompartmentRequest) {
403
465
  return __awaiter(this, void 0, void 0, function* () {
@@ -458,7 +520,7 @@ class BdsClient {
458
520
  * @param ChangeShapeRequest
459
521
  * @return ChangeShapeResponse
460
522
  * @throws OciError when an error occurs
461
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/ChangeShape.ts.html |here} to see how to use ChangeShape API.
523
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/ChangeShape.ts.html |here} to see how to use ChangeShape API.
462
524
  */
463
525
  changeShape(changeShapeRequest) {
464
526
  return __awaiter(this, void 0, void 0, function* () {
@@ -519,7 +581,7 @@ class BdsClient {
519
581
  * @param CreateBdsApiKeyRequest
520
582
  * @return CreateBdsApiKeyResponse
521
583
  * @throws OciError when an error occurs
522
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/CreateBdsApiKey.ts.html |here} to see how to use CreateBdsApiKey API.
584
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/CreateBdsApiKey.ts.html |here} to see how to use CreateBdsApiKey API.
523
585
  */
524
586
  createBdsApiKey(createBdsApiKeyRequest) {
525
587
  return __awaiter(this, void 0, void 0, function* () {
@@ -579,7 +641,7 @@ class BdsClient {
579
641
  * @param CreateBdsInstanceRequest
580
642
  * @return CreateBdsInstanceResponse
581
643
  * @throws OciError when an error occurs
582
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/CreateBdsInstance.ts.html |here} to see how to use CreateBdsInstance API.
644
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/CreateBdsInstance.ts.html |here} to see how to use CreateBdsInstance API.
583
645
  */
584
646
  createBdsInstance(createBdsInstanceRequest) {
585
647
  return __awaiter(this, void 0, void 0, function* () {
@@ -630,13 +692,73 @@ class BdsClient {
630
692
  }
631
693
  });
632
694
  }
695
+ /**
696
+ * Create and activate external metastore configuration.
697
+ *
698
+ * This operation does not retry by default if the user has not defined a retry configuration.
699
+ * @param CreateBdsMetastoreConfigurationRequest
700
+ * @return CreateBdsMetastoreConfigurationResponse
701
+ * @throws OciError when an error occurs
702
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/CreateBdsMetastoreConfiguration.ts.html |here} to see how to use CreateBdsMetastoreConfiguration API.
703
+ */
704
+ createBdsMetastoreConfiguration(createBdsMetastoreConfigurationRequest) {
705
+ return __awaiter(this, void 0, void 0, function* () {
706
+ if (this.logger)
707
+ this.logger.debug("Calling operation BdsClient#createBdsMetastoreConfiguration.");
708
+ const pathParams = {
709
+ "{bdsInstanceId}": createBdsMetastoreConfigurationRequest.bdsInstanceId
710
+ };
711
+ const queryParams = {};
712
+ let headerParams = {
713
+ "Content-Type": common.Constants.APPLICATION_JSON,
714
+ "opc-retry-token": createBdsMetastoreConfigurationRequest.opcRetryToken,
715
+ "opc-request-id": createBdsMetastoreConfigurationRequest.opcRequestId
716
+ };
717
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
718
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBdsMetastoreConfigurationRequest.retryConfiguration, specRetryConfiguration);
719
+ if (this.logger)
720
+ retrier.logger = this.logger;
721
+ const request = yield oci_common_2.composeRequest({
722
+ baseEndpoint: this._endpoint,
723
+ defaultHeaders: this._defaultHeaders,
724
+ path: "/bdsInstances/{bdsInstanceId}/metastoreConfigs",
725
+ method: "POST",
726
+ bodyContent: common.ObjectSerializer.serialize(createBdsMetastoreConfigurationRequest.createBdsMetastoreConfigurationDetails, "CreateBdsMetastoreConfigurationDetails", model.CreateBdsMetastoreConfigurationDetails.getJsonObj),
727
+ pathParams: pathParams,
728
+ headerParams: headerParams,
729
+ queryParams: queryParams
730
+ });
731
+ try {
732
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
733
+ const sdkResponse = oci_common_2.composeResponse({
734
+ responseObject: {},
735
+ responseHeaders: [
736
+ {
737
+ value: response.headers.get("opc-request-id"),
738
+ key: "opcRequestId",
739
+ dataType: "string"
740
+ },
741
+ {
742
+ value: response.headers.get("opc-work-request-id"),
743
+ key: "opcWorkRequestId",
744
+ dataType: "string"
745
+ }
746
+ ]
747
+ });
748
+ return sdkResponse;
749
+ }
750
+ catch (err) {
751
+ throw err;
752
+ }
753
+ });
754
+ }
633
755
  /**
634
756
  * Deletes the user's API key represented by the provided ID.
635
757
  * This operation does not retry by default if the user has not defined a retry configuration.
636
758
  * @param DeleteBdsApiKeyRequest
637
759
  * @return DeleteBdsApiKeyResponse
638
760
  * @throws OciError when an error occurs
639
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/DeleteBdsApiKey.ts.html |here} to see how to use DeleteBdsApiKey API.
761
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/DeleteBdsApiKey.ts.html |here} to see how to use DeleteBdsApiKey API.
640
762
  */
641
763
  deleteBdsApiKey(deleteBdsApiKeyRequest) {
642
764
  return __awaiter(this, void 0, void 0, function* () {
@@ -695,7 +817,7 @@ class BdsClient {
695
817
  * @param DeleteBdsInstanceRequest
696
818
  * @return DeleteBdsInstanceResponse
697
819
  * @throws OciError when an error occurs
698
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/DeleteBdsInstance.ts.html |here} to see how to use DeleteBdsInstance API.
820
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/DeleteBdsInstance.ts.html |here} to see how to use DeleteBdsInstance API.
699
821
  */
700
822
  deleteBdsInstance(deleteBdsInstanceRequest) {
701
823
  return __awaiter(this, void 0, void 0, function* () {
@@ -747,6 +869,65 @@ class BdsClient {
747
869
  }
748
870
  });
749
871
  }
872
+ /**
873
+ * Delete the BDS metastore configuration represented by the provided ID.
874
+ * This operation does not retry by default if the user has not defined a retry configuration.
875
+ * @param DeleteBdsMetastoreConfigurationRequest
876
+ * @return DeleteBdsMetastoreConfigurationResponse
877
+ * @throws OciError when an error occurs
878
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/DeleteBdsMetastoreConfiguration.ts.html |here} to see how to use DeleteBdsMetastoreConfiguration API.
879
+ */
880
+ deleteBdsMetastoreConfiguration(deleteBdsMetastoreConfigurationRequest) {
881
+ return __awaiter(this, void 0, void 0, function* () {
882
+ if (this.logger)
883
+ this.logger.debug("Calling operation BdsClient#deleteBdsMetastoreConfiguration.");
884
+ const pathParams = {
885
+ "{bdsInstanceId}": deleteBdsMetastoreConfigurationRequest.bdsInstanceId,
886
+ "{metastoreConfigId}": deleteBdsMetastoreConfigurationRequest.metastoreConfigId
887
+ };
888
+ const queryParams = {};
889
+ let headerParams = {
890
+ "Content-Type": common.Constants.APPLICATION_JSON,
891
+ "opc-request-id": deleteBdsMetastoreConfigurationRequest.opcRequestId,
892
+ "if-match": deleteBdsMetastoreConfigurationRequest.ifMatch
893
+ };
894
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
895
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBdsMetastoreConfigurationRequest.retryConfiguration, specRetryConfiguration);
896
+ if (this.logger)
897
+ retrier.logger = this.logger;
898
+ const request = yield oci_common_2.composeRequest({
899
+ baseEndpoint: this._endpoint,
900
+ defaultHeaders: this._defaultHeaders,
901
+ path: "/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}",
902
+ method: "DELETE",
903
+ pathParams: pathParams,
904
+ headerParams: headerParams,
905
+ queryParams: queryParams
906
+ });
907
+ try {
908
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
909
+ const sdkResponse = oci_common_2.composeResponse({
910
+ responseObject: {},
911
+ responseHeaders: [
912
+ {
913
+ value: response.headers.get("opc-request-id"),
914
+ key: "opcRequestId",
915
+ dataType: "string"
916
+ },
917
+ {
918
+ value: response.headers.get("opc-work-request-id"),
919
+ key: "opcWorkRequestId",
920
+ dataType: "string"
921
+ }
922
+ ]
923
+ });
924
+ return sdkResponse;
925
+ }
926
+ catch (err) {
927
+ throw err;
928
+ }
929
+ });
930
+ }
750
931
  /**
751
932
  * Returns details of the autoscale configuration identified by the given ID.
752
933
  *
@@ -754,7 +935,7 @@ class BdsClient {
754
935
  * @param GetAutoScalingConfigurationRequest
755
936
  * @return GetAutoScalingConfigurationResponse
756
937
  * @throws OciError when an error occurs
757
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/GetAutoScalingConfiguration.ts.html |here} to see how to use GetAutoScalingConfiguration API.
938
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/GetAutoScalingConfiguration.ts.html |here} to see how to use GetAutoScalingConfiguration API.
758
939
  */
759
940
  getAutoScalingConfiguration(getAutoScalingConfigurationRequest) {
760
941
  return __awaiter(this, void 0, void 0, function* () {
@@ -816,7 +997,7 @@ class BdsClient {
816
997
  * @param GetBdsApiKeyRequest
817
998
  * @return GetBdsApiKeyResponse
818
999
  * @throws OciError when an error occurs
819
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/GetBdsApiKey.ts.html |here} to see how to use GetBdsApiKey API.
1000
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/GetBdsApiKey.ts.html |here} to see how to use GetBdsApiKey API.
820
1001
  */
821
1002
  getBdsApiKey(getBdsApiKeyRequest) {
822
1003
  return __awaiter(this, void 0, void 0, function* () {
@@ -878,7 +1059,7 @@ class BdsClient {
878
1059
  * @param GetBdsInstanceRequest
879
1060
  * @return GetBdsInstanceResponse
880
1061
  * @throws OciError when an error occurs
881
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/GetBdsInstance.ts.html |here} to see how to use GetBdsInstance API.
1062
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/GetBdsInstance.ts.html |here} to see how to use GetBdsInstance API.
882
1063
  */
883
1064
  getBdsInstance(getBdsInstanceRequest) {
884
1065
  return __awaiter(this, void 0, void 0, function* () {
@@ -933,13 +1114,75 @@ class BdsClient {
933
1114
  }
934
1115
  });
935
1116
  }
1117
+ /**
1118
+ * Returns the BDS Metastore configuration information for the given ID.
1119
+ * This operation does not retry by default if the user has not defined a retry configuration.
1120
+ * @param GetBdsMetastoreConfigurationRequest
1121
+ * @return GetBdsMetastoreConfigurationResponse
1122
+ * @throws OciError when an error occurs
1123
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/GetBdsMetastoreConfiguration.ts.html |here} to see how to use GetBdsMetastoreConfiguration API.
1124
+ */
1125
+ getBdsMetastoreConfiguration(getBdsMetastoreConfigurationRequest) {
1126
+ return __awaiter(this, void 0, void 0, function* () {
1127
+ if (this.logger)
1128
+ this.logger.debug("Calling operation BdsClient#getBdsMetastoreConfiguration.");
1129
+ const pathParams = {
1130
+ "{bdsInstanceId}": getBdsMetastoreConfigurationRequest.bdsInstanceId,
1131
+ "{metastoreConfigId}": getBdsMetastoreConfigurationRequest.metastoreConfigId
1132
+ };
1133
+ const queryParams = {};
1134
+ let headerParams = {
1135
+ "Content-Type": common.Constants.APPLICATION_JSON,
1136
+ "opc-request-id": getBdsMetastoreConfigurationRequest.opcRequestId
1137
+ };
1138
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1139
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBdsMetastoreConfigurationRequest.retryConfiguration, specRetryConfiguration);
1140
+ if (this.logger)
1141
+ retrier.logger = this.logger;
1142
+ const request = yield oci_common_2.composeRequest({
1143
+ baseEndpoint: this._endpoint,
1144
+ defaultHeaders: this._defaultHeaders,
1145
+ path: "/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}",
1146
+ method: "GET",
1147
+ pathParams: pathParams,
1148
+ headerParams: headerParams,
1149
+ queryParams: queryParams
1150
+ });
1151
+ try {
1152
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1153
+ const sdkResponse = oci_common_2.composeResponse({
1154
+ responseObject: {},
1155
+ body: yield response.json(),
1156
+ bodyKey: "bdsMetastoreConfiguration",
1157
+ bodyModel: model.BdsMetastoreConfiguration,
1158
+ type: "model.BdsMetastoreConfiguration",
1159
+ responseHeaders: [
1160
+ {
1161
+ value: response.headers.get("opc-request-id"),
1162
+ key: "opcRequestId",
1163
+ dataType: "string"
1164
+ },
1165
+ {
1166
+ value: response.headers.get("etag"),
1167
+ key: "etag",
1168
+ dataType: "string"
1169
+ }
1170
+ ]
1171
+ });
1172
+ return sdkResponse;
1173
+ }
1174
+ catch (err) {
1175
+ throw err;
1176
+ }
1177
+ });
1178
+ }
936
1179
  /**
937
1180
  * Returns the status of the work request identified by the given ID.
938
1181
  * This operation does not retry by default if the user has not defined a retry configuration.
939
1182
  * @param GetWorkRequestRequest
940
1183
  * @return GetWorkRequestResponse
941
1184
  * @throws OciError when an error occurs
942
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1185
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
943
1186
  */
944
1187
  getWorkRequest(getWorkRequestRequest) {
945
1188
  return __awaiter(this, void 0, void 0, function* () {
@@ -1001,7 +1244,7 @@ class BdsClient {
1001
1244
  * @param ListAutoScalingConfigurationsRequest
1002
1245
  * @return ListAutoScalingConfigurationsResponse
1003
1246
  * @throws OciError when an error occurs
1004
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/ListAutoScalingConfigurations.ts.html |here} to see how to use ListAutoScalingConfigurations API.
1247
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/ListAutoScalingConfigurations.ts.html |here} to see how to use ListAutoScalingConfigurations API.
1005
1248
  */
1006
1249
  listAutoScalingConfigurations(listAutoScalingConfigurationsRequest) {
1007
1250
  return __awaiter(this, void 0, void 0, function* () {
@@ -1111,7 +1354,7 @@ class BdsClient {
1111
1354
  * @param ListBdsApiKeysRequest
1112
1355
  * @return ListBdsApiKeysResponse
1113
1356
  * @throws OciError when an error occurs
1114
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/ListBdsApiKeys.ts.html |here} to see how to use ListBdsApiKeys API.
1357
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/ListBdsApiKeys.ts.html |here} to see how to use ListBdsApiKeys API.
1115
1358
  */
1116
1359
  listBdsApiKeys(listBdsApiKeysRequest) {
1117
1360
  return __awaiter(this, void 0, void 0, function* () {
@@ -1221,7 +1464,7 @@ class BdsClient {
1221
1464
  * @param ListBdsInstancesRequest
1222
1465
  * @return ListBdsInstancesResponse
1223
1466
  * @throws OciError when an error occurs
1224
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/ListBdsInstances.ts.html |here} to see how to use ListBdsInstances API.
1467
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/ListBdsInstances.ts.html |here} to see how to use ListBdsInstances API.
1225
1468
  */
1226
1469
  listBdsInstances(listBdsInstancesRequest) {
1227
1470
  return __awaiter(this, void 0, void 0, function* () {
@@ -1322,6 +1565,118 @@ class BdsClient {
1322
1565
  listBdsInstancesResponseIterator(request) {
1323
1566
  return oci_common_1.paginateResponses(request, req => this.listBdsInstances(req));
1324
1567
  }
1568
+ /**
1569
+ * Returns a list of metastore configurations ssociated with this Big Data Service cluster.
1570
+ *
1571
+ * This operation does not retry by default if the user has not defined a retry configuration.
1572
+ * @param ListBdsMetastoreConfigurationsRequest
1573
+ * @return ListBdsMetastoreConfigurationsResponse
1574
+ * @throws OciError when an error occurs
1575
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/ListBdsMetastoreConfigurations.ts.html |here} to see how to use ListBdsMetastoreConfigurations API.
1576
+ */
1577
+ listBdsMetastoreConfigurations(listBdsMetastoreConfigurationsRequest) {
1578
+ return __awaiter(this, void 0, void 0, function* () {
1579
+ if (this.logger)
1580
+ this.logger.debug("Calling operation BdsClient#listBdsMetastoreConfigurations.");
1581
+ const pathParams = {
1582
+ "{bdsInstanceId}": listBdsMetastoreConfigurationsRequest.bdsInstanceId
1583
+ };
1584
+ const queryParams = {
1585
+ "metastoreType": listBdsMetastoreConfigurationsRequest.metastoreType,
1586
+ "metastoreId": listBdsMetastoreConfigurationsRequest.metastoreId,
1587
+ "lifecycleState": listBdsMetastoreConfigurationsRequest.lifecycleState,
1588
+ "bdsApiKeyId": listBdsMetastoreConfigurationsRequest.bdsApiKeyId,
1589
+ "page": listBdsMetastoreConfigurationsRequest.page,
1590
+ "limit": listBdsMetastoreConfigurationsRequest.limit,
1591
+ "sortBy": listBdsMetastoreConfigurationsRequest.sortBy,
1592
+ "sortOrder": listBdsMetastoreConfigurationsRequest.sortOrder,
1593
+ "displayName": listBdsMetastoreConfigurationsRequest.displayName
1594
+ };
1595
+ let headerParams = {
1596
+ "Content-Type": common.Constants.APPLICATION_JSON,
1597
+ "opc-request-id": listBdsMetastoreConfigurationsRequest.opcRequestId
1598
+ };
1599
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1600
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBdsMetastoreConfigurationsRequest.retryConfiguration, specRetryConfiguration);
1601
+ if (this.logger)
1602
+ retrier.logger = this.logger;
1603
+ const request = yield oci_common_2.composeRequest({
1604
+ baseEndpoint: this._endpoint,
1605
+ defaultHeaders: this._defaultHeaders,
1606
+ path: "/bdsInstances/{bdsInstanceId}/metastoreConfigs",
1607
+ method: "GET",
1608
+ pathParams: pathParams,
1609
+ headerParams: headerParams,
1610
+ queryParams: queryParams
1611
+ });
1612
+ try {
1613
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1614
+ const sdkResponse = oci_common_2.composeResponse({
1615
+ responseObject: {},
1616
+ body: yield response.json(),
1617
+ bodyKey: "items",
1618
+ bodyModel: model.BdsMetastoreConfigurationSummary,
1619
+ type: "Array<model.BdsMetastoreConfigurationSummary>",
1620
+ responseHeaders: [
1621
+ {
1622
+ value: response.headers.get("opc-request-id"),
1623
+ key: "opcRequestId",
1624
+ dataType: "string"
1625
+ },
1626
+ {
1627
+ value: response.headers.get("opc-next-page"),
1628
+ key: "opcNextPage",
1629
+ dataType: "string"
1630
+ }
1631
+ ]
1632
+ });
1633
+ return sdkResponse;
1634
+ }
1635
+ catch (err) {
1636
+ throw err;
1637
+ }
1638
+ });
1639
+ }
1640
+ /**
1641
+ * NOTE: This function is deprecated in favor of listBdsMetastoreConfigurationsRecordIterator function.
1642
+ * Creates a new async iterator which will iterate over the models.BdsMetastoreConfigurationSummary objects
1643
+ * contained in responses from the listBdsMetastoreConfigurations operation. This iterator will fetch more data from the
1644
+ * server as needed.
1645
+ *
1646
+ * @param request a request which can be sent to the service operation
1647
+ */
1648
+ listAllBdsMetastoreConfigurations(request) {
1649
+ return oci_common_1.paginateRecords(request, req => this.listBdsMetastoreConfigurations(req));
1650
+ }
1651
+ /**
1652
+ * NOTE: This function is deprecated in favor of listBdsMetastoreConfigurationsResponseIterator function.
1653
+ * Creates a new async iterator which will iterate over the responses received from the listBdsMetastoreConfigurations operation. This iterator
1654
+ * will fetch more data from the server as needed.
1655
+ *
1656
+ * @param request a request which can be sent to the service operation
1657
+ */
1658
+ listAllBdsMetastoreConfigurationsResponses(request) {
1659
+ return oci_common_1.paginateResponses(request, req => this.listBdsMetastoreConfigurations(req));
1660
+ }
1661
+ /**
1662
+ * Creates a new async iterator which will iterate over the models.BdsMetastoreConfigurationSummary objects
1663
+ * contained in responses from the listBdsMetastoreConfigurations operation. This iterator will fetch more data from the
1664
+ * server as needed.
1665
+ *
1666
+ * @param request a request which can be sent to the service operation
1667
+ */
1668
+ listBdsMetastoreConfigurationsRecordIterator(request) {
1669
+ return oci_common_1.paginateRecords(request, req => this.listBdsMetastoreConfigurations(req));
1670
+ }
1671
+ /**
1672
+ * Creates a new async iterator which will iterate over the responses received from the listBdsMetastoreConfigurations operation. This iterator
1673
+ * will fetch more data from the server as needed.
1674
+ *
1675
+ * @param request a request which can be sent to the service operation
1676
+ */
1677
+ listBdsMetastoreConfigurationsResponseIterator(request) {
1678
+ return oci_common_1.paginateResponses(request, req => this.listBdsMetastoreConfigurations(req));
1679
+ }
1325
1680
  /**
1326
1681
  * Returns a paginated list of errors for a work request identified by the given ID.
1327
1682
  *
@@ -1329,7 +1684,7 @@ class BdsClient {
1329
1684
  * @param ListWorkRequestErrorsRequest
1330
1685
  * @return ListWorkRequestErrorsResponse
1331
1686
  * @throws OciError when an error occurs
1332
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1687
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1333
1688
  */
1334
1689
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1335
1690
  return __awaiter(this, void 0, void 0, function* () {
@@ -1436,7 +1791,7 @@ class BdsClient {
1436
1791
  * @param ListWorkRequestLogsRequest
1437
1792
  * @return ListWorkRequestLogsResponse
1438
1793
  * @throws OciError when an error occurs
1439
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1794
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1440
1795
  */
1441
1796
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1442
1797
  return __awaiter(this, void 0, void 0, function* () {
@@ -1543,7 +1898,7 @@ class BdsClient {
1543
1898
  * @param ListWorkRequestsRequest
1544
1899
  * @return ListWorkRequestsResponse
1545
1900
  * @throws OciError when an error occurs
1546
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1901
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1547
1902
  */
1548
1903
  listWorkRequests(listWorkRequestsRequest) {
1549
1904
  return __awaiter(this, void 0, void 0, function* () {
@@ -1650,7 +2005,7 @@ class BdsClient {
1650
2005
  * @param RemoveAutoScalingConfigurationRequest
1651
2006
  * @return RemoveAutoScalingConfigurationResponse
1652
2007
  * @throws OciError when an error occurs
1653
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/RemoveAutoScalingConfiguration.ts.html |here} to see how to use RemoveAutoScalingConfiguration API.
2008
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/RemoveAutoScalingConfiguration.ts.html |here} to see how to use RemoveAutoScalingConfiguration API.
1654
2009
  */
1655
2010
  removeAutoScalingConfiguration(removeAutoScalingConfigurationRequest) {
1656
2011
  return __awaiter(this, void 0, void 0, function* () {
@@ -1712,7 +2067,7 @@ class BdsClient {
1712
2067
  * @param RemoveCloudSqlRequest
1713
2068
  * @return RemoveCloudSqlResponse
1714
2069
  * @throws OciError when an error occurs
1715
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/RemoveCloudSql.ts.html |here} to see how to use RemoveCloudSql API.
2070
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/RemoveCloudSql.ts.html |here} to see how to use RemoveCloudSql API.
1716
2071
  */
1717
2072
  removeCloudSql(removeCloudSqlRequest) {
1718
2073
  return __awaiter(this, void 0, void 0, function* () {
@@ -1773,7 +2128,7 @@ class BdsClient {
1773
2128
  * @param RestartNodeRequest
1774
2129
  * @return RestartNodeResponse
1775
2130
  * @throws OciError when an error occurs
1776
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/RestartNode.ts.html |here} to see how to use RestartNode API.
2131
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/RestartNode.ts.html |here} to see how to use RestartNode API.
1777
2132
  */
1778
2133
  restartNode(restartNodeRequest) {
1779
2134
  return __awaiter(this, void 0, void 0, function* () {
@@ -1827,13 +2182,74 @@ class BdsClient {
1827
2182
  }
1828
2183
  });
1829
2184
  }
2185
+ /**
2186
+ * Test specified metastore configuration.
2187
+ *
2188
+ * This operation does not retry by default if the user has not defined a retry configuration.
2189
+ * @param TestBdsMetastoreConfigurationRequest
2190
+ * @return TestBdsMetastoreConfigurationResponse
2191
+ * @throws OciError when an error occurs
2192
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/TestBdsMetastoreConfiguration.ts.html |here} to see how to use TestBdsMetastoreConfiguration API.
2193
+ */
2194
+ testBdsMetastoreConfiguration(testBdsMetastoreConfigurationRequest) {
2195
+ return __awaiter(this, void 0, void 0, function* () {
2196
+ if (this.logger)
2197
+ this.logger.debug("Calling operation BdsClient#testBdsMetastoreConfiguration.");
2198
+ const pathParams = {
2199
+ "{bdsInstanceId}": testBdsMetastoreConfigurationRequest.bdsInstanceId,
2200
+ "{metastoreConfigId}": testBdsMetastoreConfigurationRequest.metastoreConfigId
2201
+ };
2202
+ const queryParams = {};
2203
+ let headerParams = {
2204
+ "Content-Type": common.Constants.APPLICATION_JSON,
2205
+ "opc-request-id": testBdsMetastoreConfigurationRequest.opcRequestId,
2206
+ "if-match": testBdsMetastoreConfigurationRequest.ifMatch
2207
+ };
2208
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2209
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, testBdsMetastoreConfigurationRequest.retryConfiguration, specRetryConfiguration);
2210
+ if (this.logger)
2211
+ retrier.logger = this.logger;
2212
+ const request = yield oci_common_2.composeRequest({
2213
+ baseEndpoint: this._endpoint,
2214
+ defaultHeaders: this._defaultHeaders,
2215
+ path: "/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}/actions/test",
2216
+ method: "POST",
2217
+ bodyContent: common.ObjectSerializer.serialize(testBdsMetastoreConfigurationRequest.testBdsMetastoreConfigurationDetails, "TestBdsMetastoreConfigurationDetails", model.TestBdsMetastoreConfigurationDetails.getJsonObj),
2218
+ pathParams: pathParams,
2219
+ headerParams: headerParams,
2220
+ queryParams: queryParams
2221
+ });
2222
+ try {
2223
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
2224
+ const sdkResponse = oci_common_2.composeResponse({
2225
+ responseObject: {},
2226
+ responseHeaders: [
2227
+ {
2228
+ value: response.headers.get("opc-request-id"),
2229
+ key: "opcRequestId",
2230
+ dataType: "string"
2231
+ },
2232
+ {
2233
+ value: response.headers.get("opc-work-request-id"),
2234
+ key: "opcWorkRequestId",
2235
+ dataType: "string"
2236
+ }
2237
+ ]
2238
+ });
2239
+ return sdkResponse;
2240
+ }
2241
+ catch (err) {
2242
+ throw err;
2243
+ }
2244
+ });
2245
+ }
1830
2246
  /**
1831
2247
  * Test access to specified Object Storage bucket using the API key.
1832
2248
  * This operation does not retry by default if the user has not defined a retry configuration.
1833
2249
  * @param TestBdsObjectStorageConnectionRequest
1834
2250
  * @return TestBdsObjectStorageConnectionResponse
1835
2251
  * @throws OciError when an error occurs
1836
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/TestBdsObjectStorageConnection.ts.html |here} to see how to use TestBdsObjectStorageConnection API.
2252
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/TestBdsObjectStorageConnection.ts.html |here} to see how to use TestBdsObjectStorageConnection API.
1837
2253
  */
1838
2254
  testBdsObjectStorageConnection(testBdsObjectStorageConnectionRequest) {
1839
2255
  return __awaiter(this, void 0, void 0, function* () {
@@ -1893,7 +2309,7 @@ class BdsClient {
1893
2309
  * @param UpdateAutoScalingConfigurationRequest
1894
2310
  * @return UpdateAutoScalingConfigurationResponse
1895
2311
  * @throws OciError when an error occurs
1896
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/UpdateAutoScalingConfiguration.ts.html |here} to see how to use UpdateAutoScalingConfiguration API.
2312
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/UpdateAutoScalingConfiguration.ts.html |here} to see how to use UpdateAutoScalingConfiguration API.
1897
2313
  */
1898
2314
  updateAutoScalingConfiguration(updateAutoScalingConfigurationRequest) {
1899
2315
  return __awaiter(this, void 0, void 0, function* () {
@@ -1954,7 +2370,7 @@ class BdsClient {
1954
2370
  * @param UpdateBdsInstanceRequest
1955
2371
  * @return UpdateBdsInstanceResponse
1956
2372
  * @throws OciError when an error occurs
1957
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/bds/UpdateBdsInstance.ts.html |here} to see how to use UpdateBdsInstance API.
2373
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/UpdateBdsInstance.ts.html |here} to see how to use UpdateBdsInstance API.
1958
2374
  */
1959
2375
  updateBdsInstance(updateBdsInstanceRequest) {
1960
2376
  return __awaiter(this, void 0, void 0, function* () {
@@ -2007,6 +2423,66 @@ class BdsClient {
2007
2423
  }
2008
2424
  });
2009
2425
  }
2426
+ /**
2427
+ * Update the BDS metastore configuration represented by the provided ID.
2428
+ * This operation does not retry by default if the user has not defined a retry configuration.
2429
+ * @param UpdateBdsMetastoreConfigurationRequest
2430
+ * @return UpdateBdsMetastoreConfigurationResponse
2431
+ * @throws OciError when an error occurs
2432
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.11.0/bds/UpdateBdsMetastoreConfiguration.ts.html |here} to see how to use UpdateBdsMetastoreConfiguration API.
2433
+ */
2434
+ updateBdsMetastoreConfiguration(updateBdsMetastoreConfigurationRequest) {
2435
+ return __awaiter(this, void 0, void 0, function* () {
2436
+ if (this.logger)
2437
+ this.logger.debug("Calling operation BdsClient#updateBdsMetastoreConfiguration.");
2438
+ const pathParams = {
2439
+ "{bdsInstanceId}": updateBdsMetastoreConfigurationRequest.bdsInstanceId,
2440
+ "{metastoreConfigId}": updateBdsMetastoreConfigurationRequest.metastoreConfigId
2441
+ };
2442
+ const queryParams = {};
2443
+ let headerParams = {
2444
+ "Content-Type": common.Constants.APPLICATION_JSON,
2445
+ "opc-request-id": updateBdsMetastoreConfigurationRequest.opcRequestId,
2446
+ "if-match": updateBdsMetastoreConfigurationRequest.ifMatch
2447
+ };
2448
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2449
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBdsMetastoreConfigurationRequest.retryConfiguration, specRetryConfiguration);
2450
+ if (this.logger)
2451
+ retrier.logger = this.logger;
2452
+ const request = yield oci_common_2.composeRequest({
2453
+ baseEndpoint: this._endpoint,
2454
+ defaultHeaders: this._defaultHeaders,
2455
+ path: "/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}",
2456
+ method: "PUT",
2457
+ bodyContent: common.ObjectSerializer.serialize(updateBdsMetastoreConfigurationRequest.updateBdsMetastoreConfigurationDetails, "UpdateBdsMetastoreConfigurationDetails", model.UpdateBdsMetastoreConfigurationDetails.getJsonObj),
2458
+ pathParams: pathParams,
2459
+ headerParams: headerParams,
2460
+ queryParams: queryParams
2461
+ });
2462
+ try {
2463
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
2464
+ const sdkResponse = oci_common_2.composeResponse({
2465
+ responseObject: {},
2466
+ responseHeaders: [
2467
+ {
2468
+ value: response.headers.get("opc-request-id"),
2469
+ key: "opcRequestId",
2470
+ dataType: "string"
2471
+ },
2472
+ {
2473
+ value: response.headers.get("opc-work-request-id"),
2474
+ key: "opcWorkRequestId",
2475
+ dataType: "string"
2476
+ }
2477
+ ]
2478
+ });
2479
+ return sdkResponse;
2480
+ }
2481
+ catch (err) {
2482
+ throw err;
2483
+ }
2484
+ });
2485
+ }
2010
2486
  }
2011
2487
  exports.BdsClient = BdsClient;
2012
2488
  BdsClient.serviceEndpointTemplate = "https://bigdataservice.{region}.oci.{secondLevelDomain}";