oci-bds 2.20.0 → 2.24.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 (204) hide show
  1. package/lib/client.d.ts +140 -35
  2. package/lib/client.js +376 -36
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/add-auto-scale-policy-details.d.ts +36 -0
  5. package/lib/model/add-auto-scale-policy-details.js +78 -0
  6. package/lib/model/add-auto-scale-policy-details.js.map +1 -0
  7. package/lib/model/add-auto-scaling-configuration-details.d.ts +3 -2
  8. package/lib/model/add-auto-scaling-configuration-details.js +8 -2
  9. package/lib/model/add-auto-scaling-configuration-details.js.map +1 -1
  10. package/lib/model/add-block-storage-details.d.ts +8 -0
  11. package/lib/model/add-block-storage-details.js +5 -0
  12. package/lib/model/add-block-storage-details.js.map +1 -1
  13. package/lib/model/add-metric-based-horizontal-scaling-policy-details.d.ts +30 -0
  14. package/lib/model/add-metric-based-horizontal-scaling-policy-details.js +69 -0
  15. package/lib/model/add-metric-based-horizontal-scaling-policy-details.js.map +1 -0
  16. package/lib/model/add-metric-based-vertical-scaling-policy-details.d.ts +30 -0
  17. package/lib/model/add-metric-based-vertical-scaling-policy-details.js +69 -0
  18. package/lib/model/add-metric-based-vertical-scaling-policy-details.js.map +1 -0
  19. package/lib/model/add-schedule-based-horizontal-scaling-policy-details.d.ts +33 -0
  20. package/lib/model/add-schedule-based-horizontal-scaling-policy-details.js +67 -0
  21. package/lib/model/add-schedule-based-horizontal-scaling-policy-details.js.map +1 -0
  22. package/lib/model/add-schedule-based-vertical-scaling-policy-details.d.ts +33 -0
  23. package/lib/model/add-schedule-based-vertical-scaling-policy-details.js +67 -0
  24. package/lib/model/add-schedule-based-vertical-scaling-policy-details.js.map +1 -0
  25. package/lib/model/add-worker-nodes-details.d.ts +19 -0
  26. package/lib/model/add-worker-nodes-details.js +35 -2
  27. package/lib/model/add-worker-nodes-details.js.map +1 -1
  28. package/lib/model/auto-scale-policy-details.d.ts +57 -0
  29. package/lib/model/auto-scale-policy-details.js +98 -0
  30. package/lib/model/auto-scale-policy-details.js.map +1 -0
  31. package/lib/model/auto-scale-policy.d.ts +3 -1
  32. package/lib/model/auto-scale-policy.js +1 -0
  33. package/lib/model/auto-scale-policy.js.map +1 -1
  34. package/lib/model/auto-scaling-configuration-summary.d.ts +2 -1
  35. package/lib/model/auto-scaling-configuration-summary.js +8 -2
  36. package/lib/model/auto-scaling-configuration-summary.js.map +1 -1
  37. package/lib/model/auto-scaling-configuration.d.ts +3 -1
  38. package/lib/model/auto-scaling-configuration.js +9 -2
  39. package/lib/model/auto-scaling-configuration.js.map +1 -1
  40. package/lib/model/bds-instance.d.ts +5 -0
  41. package/lib/model/bds-instance.js +1 -0
  42. package/lib/model/bds-instance.js.map +1 -1
  43. package/lib/model/change-shape-nodes.d.ts +12 -3
  44. package/lib/model/change-shape-nodes.js +48 -2
  45. package/lib/model/change-shape-nodes.js.map +1 -1
  46. package/lib/model/cluster-details.d.ts +8 -0
  47. package/lib/model/cluster-details.js.map +1 -1
  48. package/lib/model/create-bds-instance-details.d.ts +8 -0
  49. package/lib/model/create-bds-instance-details.js.map +1 -1
  50. package/lib/model/create-node-details.d.ts +2 -0
  51. package/lib/model/create-node-details.js +30 -2
  52. package/lib/model/create-node-details.js.map +1 -1
  53. package/lib/model/day-based-horizontal-scaling-schedule-details.d.ts +26 -0
  54. package/lib/model/day-based-horizontal-scaling-schedule-details.js +67 -0
  55. package/lib/model/day-based-horizontal-scaling-schedule-details.js.map +1 -0
  56. package/lib/model/day-based-vertical-scaling-schedule-details.d.ts +26 -0
  57. package/lib/model/day-based-vertical-scaling-schedule-details.js +67 -0
  58. package/lib/model/day-based-vertical-scaling-schedule-details.js.map +1 -0
  59. package/lib/model/horizontal-scaling-schedule-details.d.ts +23 -0
  60. package/lib/model/horizontal-scaling-schedule-details.js +66 -0
  61. package/lib/model/horizontal-scaling-schedule-details.js.map +1 -0
  62. package/lib/model/index.d.ts +62 -0
  63. package/lib/model/index.js +64 -1
  64. package/lib/model/index.js.map +1 -1
  65. package/lib/model/install-patch-details.d.ts +30 -0
  66. package/lib/model/install-patch-details.js +30 -0
  67. package/lib/model/install-patch-details.js.map +1 -0
  68. package/lib/model/metric-based-horizontal-scale-in-config.d.ts +32 -0
  69. package/lib/model/metric-based-horizontal-scale-in-config.js +56 -0
  70. package/lib/model/metric-based-horizontal-scale-in-config.js.map +1 -0
  71. package/lib/model/metric-based-horizontal-scale-out-config.d.ts +32 -0
  72. package/lib/model/metric-based-horizontal-scale-out-config.js +56 -0
  73. package/lib/model/metric-based-horizontal-scale-out-config.js.map +1 -0
  74. package/lib/model/metric-based-horizontal-scaling-policy-details.d.ts +30 -0
  75. package/lib/model/metric-based-horizontal-scaling-policy-details.js +69 -0
  76. package/lib/model/metric-based-horizontal-scaling-policy-details.js.map +1 -0
  77. package/lib/model/metric-based-vertical-scale-down-config.d.ts +40 -0
  78. package/lib/model/metric-based-vertical-scale-down-config.js +56 -0
  79. package/lib/model/metric-based-vertical-scale-down-config.js.map +1 -0
  80. package/lib/model/metric-based-vertical-scale-up-config.d.ts +41 -0
  81. package/lib/model/metric-based-vertical-scale-up-config.js +56 -0
  82. package/lib/model/metric-based-vertical-scale-up-config.js.map +1 -0
  83. package/lib/model/metric-based-vertical-scaling-policy-details.d.ts +30 -0
  84. package/lib/model/metric-based-vertical-scaling-policy-details.js +69 -0
  85. package/lib/model/metric-based-vertical-scaling-policy-details.js.map +1 -0
  86. package/lib/model/metric-threshold-rule.d.ts +2 -2
  87. package/lib/model/node.d.ts +9 -0
  88. package/lib/model/node.js +1 -0
  89. package/lib/model/node.js.map +1 -1
  90. package/lib/model/operation-types.d.ts +6 -0
  91. package/lib/model/operation-types.js +6 -0
  92. package/lib/model/operation-types.js.map +1 -1
  93. package/lib/model/patch-history-summary.d.ts +44 -0
  94. package/lib/model/patch-history-summary.js +41 -0
  95. package/lib/model/patch-history-summary.js.map +1 -0
  96. package/lib/model/patch-summary.d.ts +30 -0
  97. package/lib/model/patch-summary.js +30 -0
  98. package/lib/model/patch-summary.js.map +1 -0
  99. package/lib/model/remove-node-details.d.ts +36 -0
  100. package/lib/model/remove-node-details.js +30 -0
  101. package/lib/model/remove-node-details.js.map +1 -0
  102. package/lib/model/schedule-based-horizontal-scaling-policy-details.d.ts +33 -0
  103. package/lib/model/schedule-based-horizontal-scaling-policy-details.js +67 -0
  104. package/lib/model/schedule-based-horizontal-scaling-policy-details.js.map +1 -0
  105. package/lib/model/schedule-based-vertical-scaling-policy-details.d.ts +33 -0
  106. package/lib/model/schedule-based-vertical-scaling-policy-details.js +67 -0
  107. package/lib/model/schedule-based-vertical-scaling-policy-details.js.map +1 -0
  108. package/lib/model/schedule-type.d.ts +28 -0
  109. package/lib/model/schedule-type.js +39 -0
  110. package/lib/model/schedule-type.js.map +1 -0
  111. package/lib/model/shape-config-details.d.ts +30 -0
  112. package/lib/model/shape-config-details.js +30 -0
  113. package/lib/model/shape-config-details.js.map +1 -0
  114. package/lib/model/time-and-horizontal-scaling-config.d.ts +31 -0
  115. package/lib/model/time-and-horizontal-scaling-config.js +30 -0
  116. package/lib/model/time-and-horizontal-scaling-config.js.map +1 -0
  117. package/lib/model/time-and-vertical-scaling-config.d.ts +42 -0
  118. package/lib/model/time-and-vertical-scaling-config.js +30 -0
  119. package/lib/model/time-and-vertical-scaling-config.js.map +1 -0
  120. package/lib/model/update-auto-scale-policy-details.d.ts +23 -0
  121. package/lib/model/update-auto-scale-policy-details.js +78 -0
  122. package/lib/model/update-auto-scale-policy-details.js.map +1 -0
  123. package/lib/model/update-auto-scaling-configuration-details.d.ts +1 -0
  124. package/lib/model/update-auto-scaling-configuration-details.js +8 -2
  125. package/lib/model/update-auto-scaling-configuration-details.js.map +1 -1
  126. package/lib/model/update-bds-instance-details.d.ts +4 -0
  127. package/lib/model/update-bds-instance-details.js.map +1 -1
  128. package/lib/model/update-metric-based-horizontal-scaling-policy-details.d.ts +30 -0
  129. package/lib/model/update-metric-based-horizontal-scaling-policy-details.js +69 -0
  130. package/lib/model/update-metric-based-horizontal-scaling-policy-details.js.map +1 -0
  131. package/lib/model/update-metric-based-vertical-scaling-policy-details.d.ts +30 -0
  132. package/lib/model/update-metric-based-vertical-scaling-policy-details.js +69 -0
  133. package/lib/model/update-metric-based-vertical-scaling-policy-details.js.map +1 -0
  134. package/lib/model/update-schedule-based-horizontal-scaling-policy-details.d.ts +33 -0
  135. package/lib/model/update-schedule-based-horizontal-scaling-policy-details.js +67 -0
  136. package/lib/model/update-schedule-based-horizontal-scaling-policy-details.js.map +1 -0
  137. package/lib/model/update-schedule-based-vertical-scaling-policy-details.d.ts +33 -0
  138. package/lib/model/update-schedule-based-vertical-scaling-policy-details.js +67 -0
  139. package/lib/model/update-schedule-based-vertical-scaling-policy-details.js.map +1 -0
  140. package/lib/model/vertical-scaling-schedule-details.d.ts +23 -0
  141. package/lib/model/vertical-scaling-schedule-details.js +66 -0
  142. package/lib/model/vertical-scaling-schedule-details.js.map +1 -0
  143. package/lib/request/activate-bds-metastore-configuration-request.d.ts +1 -1
  144. package/lib/request/add-auto-scaling-configuration-request.d.ts +1 -1
  145. package/lib/request/add-block-storage-request.d.ts +1 -1
  146. package/lib/request/add-cloud-sql-request.d.ts +1 -1
  147. package/lib/request/add-worker-nodes-request.d.ts +1 -1
  148. package/lib/request/change-bds-instance-compartment-request.d.ts +1 -1
  149. package/lib/request/change-shape-request.d.ts +1 -1
  150. package/lib/request/create-bds-api-key-request.d.ts +1 -1
  151. package/lib/request/create-bds-instance-request.d.ts +1 -1
  152. package/lib/request/create-bds-metastore-configuration-request.d.ts +1 -1
  153. package/lib/request/delete-bds-api-key-request.d.ts +1 -1
  154. package/lib/request/delete-bds-instance-request.d.ts +1 -1
  155. package/lib/request/delete-bds-metastore-configuration-request.d.ts +1 -1
  156. package/lib/request/get-auto-scaling-configuration-request.d.ts +1 -1
  157. package/lib/request/get-bds-api-key-request.d.ts +1 -1
  158. package/lib/request/get-bds-instance-request.d.ts +1 -1
  159. package/lib/request/get-bds-metastore-configuration-request.d.ts +1 -1
  160. package/lib/request/get-work-request-request.d.ts +1 -1
  161. package/lib/request/index.d.ts +8 -0
  162. package/lib/request/index.js +3 -1
  163. package/lib/request/index.js.map +1 -1
  164. package/lib/request/install-patch-request.d.ts +49 -0
  165. package/lib/request/install-patch-request.js +15 -0
  166. package/lib/request/install-patch-request.js.map +1 -0
  167. package/lib/request/list-auto-scaling-configurations-request.d.ts +1 -1
  168. package/lib/request/list-bds-api-keys-request.d.ts +1 -1
  169. package/lib/request/list-bds-instances-request.d.ts +1 -1
  170. package/lib/request/list-bds-metastore-configurations-request.d.ts +1 -1
  171. package/lib/request/list-patch-histories-request.d.ts +58 -0
  172. package/lib/request/list-patch-histories-request.js +24 -0
  173. package/lib/request/list-patch-histories-request.js.map +1 -0
  174. package/lib/request/list-patches-request.d.ts +34 -0
  175. package/lib/request/list-patches-request.js +15 -0
  176. package/lib/request/list-patches-request.js.map +1 -0
  177. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  178. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  179. package/lib/request/list-work-requests-request.d.ts +1 -1
  180. package/lib/request/remove-auto-scaling-configuration-request.d.ts +1 -1
  181. package/lib/request/remove-cloud-sql-request.d.ts +1 -1
  182. package/lib/request/remove-node-request.d.ts +40 -0
  183. package/lib/request/remove-node-request.js +15 -0
  184. package/lib/request/remove-node-request.js.map +1 -0
  185. package/lib/request/restart-node-request.d.ts +1 -1
  186. package/lib/request/test-bds-metastore-configuration-request.d.ts +1 -1
  187. package/lib/request/test-bds-object-storage-connection-request.d.ts +1 -1
  188. package/lib/request/update-auto-scaling-configuration-request.d.ts +1 -1
  189. package/lib/request/update-bds-instance-request.d.ts +1 -1
  190. package/lib/request/update-bds-metastore-configuration-request.d.ts +1 -1
  191. package/lib/response/index.d.ts +8 -0
  192. package/lib/response/install-patch-response.d.ts +25 -0
  193. package/lib/response/install-patch-response.js +15 -0
  194. package/lib/response/install-patch-response.js.map +1 -0
  195. package/lib/response/list-patch-histories-response.d.ts +32 -0
  196. package/lib/response/list-patch-histories-response.js +15 -0
  197. package/lib/response/list-patch-histories-response.js.map +1 -0
  198. package/lib/response/list-patches-response.d.ts +32 -0
  199. package/lib/response/list-patches-response.js +15 -0
  200. package/lib/response/list-patches-response.js.map +1 -0
  201. package/lib/response/remove-node-response.d.ts +25 -0
  202. package/lib/response/remove-node-response.js +15 -0
  203. package/lib/response/remove-node-response.js.map +1 -0
  204. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -61,6 +61,7 @@ class BdsClient {
61
61
  this["_endpoint"] = "";
62
62
  this["_defaultHeaders"] = {};
63
63
  this._circuitBreaker = null;
64
+ this._httpOptions = undefined;
64
65
  const requestSigner = params.authenticationDetailsProvider
65
66
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
66
67
  : null;
@@ -69,6 +70,9 @@ class BdsClient {
69
70
  this._circuitBreaker = clientConfiguration.circuitBreaker
70
71
  ? clientConfiguration.circuitBreaker.circuit
71
72
  : null;
73
+ this._httpOptions = clientConfiguration.httpOptions
74
+ ? clientConfiguration.httpOptions
75
+ : undefined;
72
76
  }
73
77
  // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
74
78
  const specCircuitBreakerEnabled = true;
@@ -78,7 +82,8 @@ class BdsClient {
78
82
  this._circuitBreaker = new common.CircuitBreaker().circuit;
79
83
  }
80
84
  this._httpClient =
81
- params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
85
+ params.httpClient ||
86
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
82
87
  if (params.authenticationDetailsProvider &&
83
88
  common.isRegionProvider(params.authenticationDetailsProvider)) {
84
89
  const provider = params.authenticationDetailsProvider;
@@ -153,7 +158,7 @@ class BdsClient {
153
158
  * @param ActivateBdsMetastoreConfigurationRequest
154
159
  * @return ActivateBdsMetastoreConfigurationResponse
155
160
  * @throws OciError when an error occurs
156
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/ActivateBdsMetastoreConfiguration.ts.html |here} to see how to use ActivateBdsMetastoreConfiguration API.
161
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/ActivateBdsMetastoreConfiguration.ts.html |here} to see how to use ActivateBdsMetastoreConfiguration API.
157
162
  */
158
163
  activateBdsMetastoreConfiguration(activateBdsMetastoreConfigurationRequest) {
159
164
  return __awaiter(this, void 0, void 0, function* () {
@@ -215,7 +220,7 @@ class BdsClient {
215
220
  * @param AddAutoScalingConfigurationRequest
216
221
  * @return AddAutoScalingConfigurationResponse
217
222
  * @throws OciError when an error occurs
218
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/AddAutoScalingConfiguration.ts.html |here} to see how to use AddAutoScalingConfiguration API.
223
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/AddAutoScalingConfiguration.ts.html |here} to see how to use AddAutoScalingConfiguration API.
219
224
  */
220
225
  addAutoScalingConfiguration(addAutoScalingConfigurationRequest) {
221
226
  return __awaiter(this, void 0, void 0, function* () {
@@ -270,13 +275,13 @@ class BdsClient {
270
275
  });
271
276
  }
272
277
  /**
273
- * Adds block storage to existing worker nodes. The same amount of storage will be added to all worker nodes. No change will be made to storage that is already attached. Block storage cannot be removed.
278
+ * Adds block storage to existing worker/compute only worker nodes. The same amount of storage will be added to all worker/compute only worker nodes. No change will be made to storage that is already attached. Block storage cannot be removed.
274
279
  *
275
280
  * This operation does not retry by default if the user has not defined a retry configuration.
276
281
  * @param AddBlockStorageRequest
277
282
  * @return AddBlockStorageResponse
278
283
  * @throws OciError when an error occurs
279
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/AddBlockStorage.ts.html |here} to see how to use AddBlockStorage API.
284
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/AddBlockStorage.ts.html |here} to see how to use AddBlockStorage API.
280
285
  */
281
286
  addBlockStorage(addBlockStorageRequest) {
282
287
  return __awaiter(this, void 0, void 0, function* () {
@@ -337,7 +342,7 @@ class BdsClient {
337
342
  * @param AddCloudSqlRequest
338
343
  * @return AddCloudSqlResponse
339
344
  * @throws OciError when an error occurs
340
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/AddCloudSql.ts.html |here} to see how to use AddCloudSql API.
345
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/AddCloudSql.ts.html |here} to see how to use AddCloudSql API.
341
346
  */
342
347
  addCloudSql(addCloudSqlRequest) {
343
348
  return __awaiter(this, void 0, void 0, function* () {
@@ -392,13 +397,13 @@ class BdsClient {
392
397
  });
393
398
  }
394
399
  /**
395
- * Increases the size (scales out) a cluster by adding worker nodes. The added worker nodes will have the same shape and will have the same amount of attached block storage as other worker nodes in the cluster.
400
+ * Increases the size (scales out) a cluster by adding worker nodes(data/compute). The added worker nodes will have the same shape and will have the same amount of attached block storage as other worker nodes in the cluster.
396
401
  *
397
402
  * This operation does not retry by default if the user has not defined a retry configuration.
398
403
  * @param AddWorkerNodesRequest
399
404
  * @return AddWorkerNodesResponse
400
405
  * @throws OciError when an error occurs
401
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/AddWorkerNodes.ts.html |here} to see how to use AddWorkerNodes API.
406
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/AddWorkerNodes.ts.html |here} to see how to use AddWorkerNodes API.
402
407
  */
403
408
  addWorkerNodes(addWorkerNodesRequest) {
404
409
  return __awaiter(this, void 0, void 0, function* () {
@@ -459,7 +464,7 @@ class BdsClient {
459
464
  * @param ChangeBdsInstanceCompartmentRequest
460
465
  * @return ChangeBdsInstanceCompartmentResponse
461
466
  * @throws OciError when an error occurs
462
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/ChangeBdsInstanceCompartment.ts.html |here} to see how to use ChangeBdsInstanceCompartment API.
467
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/ChangeBdsInstanceCompartment.ts.html |here} to see how to use ChangeBdsInstanceCompartment API.
463
468
  */
464
469
  changeBdsInstanceCompartment(changeBdsInstanceCompartmentRequest) {
465
470
  return __awaiter(this, void 0, void 0, function* () {
@@ -520,7 +525,7 @@ class BdsClient {
520
525
  * @param ChangeShapeRequest
521
526
  * @return ChangeShapeResponse
522
527
  * @throws OciError when an error occurs
523
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/ChangeShape.ts.html |here} to see how to use ChangeShape API.
528
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/ChangeShape.ts.html |here} to see how to use ChangeShape API.
524
529
  */
525
530
  changeShape(changeShapeRequest) {
526
531
  return __awaiter(this, void 0, void 0, function* () {
@@ -581,7 +586,7 @@ class BdsClient {
581
586
  * @param CreateBdsApiKeyRequest
582
587
  * @return CreateBdsApiKeyResponse
583
588
  * @throws OciError when an error occurs
584
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/CreateBdsApiKey.ts.html |here} to see how to use CreateBdsApiKey API.
589
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/CreateBdsApiKey.ts.html |here} to see how to use CreateBdsApiKey API.
585
590
  */
586
591
  createBdsApiKey(createBdsApiKeyRequest) {
587
592
  return __awaiter(this, void 0, void 0, function* () {
@@ -641,7 +646,7 @@ class BdsClient {
641
646
  * @param CreateBdsInstanceRequest
642
647
  * @return CreateBdsInstanceResponse
643
648
  * @throws OciError when an error occurs
644
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/CreateBdsInstance.ts.html |here} to see how to use CreateBdsInstance API.
649
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/CreateBdsInstance.ts.html |here} to see how to use CreateBdsInstance API.
645
650
  */
646
651
  createBdsInstance(createBdsInstanceRequest) {
647
652
  return __awaiter(this, void 0, void 0, function* () {
@@ -699,7 +704,7 @@ class BdsClient {
699
704
  * @param CreateBdsMetastoreConfigurationRequest
700
705
  * @return CreateBdsMetastoreConfigurationResponse
701
706
  * @throws OciError when an error occurs
702
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/CreateBdsMetastoreConfiguration.ts.html |here} to see how to use CreateBdsMetastoreConfiguration API.
707
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/CreateBdsMetastoreConfiguration.ts.html |here} to see how to use CreateBdsMetastoreConfiguration API.
703
708
  */
704
709
  createBdsMetastoreConfiguration(createBdsMetastoreConfigurationRequest) {
705
710
  return __awaiter(this, void 0, void 0, function* () {
@@ -758,7 +763,7 @@ class BdsClient {
758
763
  * @param DeleteBdsApiKeyRequest
759
764
  * @return DeleteBdsApiKeyResponse
760
765
  * @throws OciError when an error occurs
761
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/DeleteBdsApiKey.ts.html |here} to see how to use DeleteBdsApiKey API.
766
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/DeleteBdsApiKey.ts.html |here} to see how to use DeleteBdsApiKey API.
762
767
  */
763
768
  deleteBdsApiKey(deleteBdsApiKeyRequest) {
764
769
  return __awaiter(this, void 0, void 0, function* () {
@@ -817,7 +822,7 @@ class BdsClient {
817
822
  * @param DeleteBdsInstanceRequest
818
823
  * @return DeleteBdsInstanceResponse
819
824
  * @throws OciError when an error occurs
820
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/DeleteBdsInstance.ts.html |here} to see how to use DeleteBdsInstance API.
825
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/DeleteBdsInstance.ts.html |here} to see how to use DeleteBdsInstance API.
821
826
  */
822
827
  deleteBdsInstance(deleteBdsInstanceRequest) {
823
828
  return __awaiter(this, void 0, void 0, function* () {
@@ -875,7 +880,7 @@ class BdsClient {
875
880
  * @param DeleteBdsMetastoreConfigurationRequest
876
881
  * @return DeleteBdsMetastoreConfigurationResponse
877
882
  * @throws OciError when an error occurs
878
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/DeleteBdsMetastoreConfiguration.ts.html |here} to see how to use DeleteBdsMetastoreConfiguration API.
883
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/DeleteBdsMetastoreConfiguration.ts.html |here} to see how to use DeleteBdsMetastoreConfiguration API.
879
884
  */
880
885
  deleteBdsMetastoreConfiguration(deleteBdsMetastoreConfigurationRequest) {
881
886
  return __awaiter(this, void 0, void 0, function* () {
@@ -935,7 +940,7 @@ class BdsClient {
935
940
  * @param GetAutoScalingConfigurationRequest
936
941
  * @return GetAutoScalingConfigurationResponse
937
942
  * @throws OciError when an error occurs
938
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/GetAutoScalingConfiguration.ts.html |here} to see how to use GetAutoScalingConfiguration API.
943
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/GetAutoScalingConfiguration.ts.html |here} to see how to use GetAutoScalingConfiguration API.
939
944
  */
940
945
  getAutoScalingConfiguration(getAutoScalingConfigurationRequest) {
941
946
  return __awaiter(this, void 0, void 0, function* () {
@@ -997,7 +1002,7 @@ class BdsClient {
997
1002
  * @param GetBdsApiKeyRequest
998
1003
  * @return GetBdsApiKeyResponse
999
1004
  * @throws OciError when an error occurs
1000
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/GetBdsApiKey.ts.html |here} to see how to use GetBdsApiKey API.
1005
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/GetBdsApiKey.ts.html |here} to see how to use GetBdsApiKey API.
1001
1006
  */
1002
1007
  getBdsApiKey(getBdsApiKeyRequest) {
1003
1008
  return __awaiter(this, void 0, void 0, function* () {
@@ -1059,7 +1064,7 @@ class BdsClient {
1059
1064
  * @param GetBdsInstanceRequest
1060
1065
  * @return GetBdsInstanceResponse
1061
1066
  * @throws OciError when an error occurs
1062
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/GetBdsInstance.ts.html |here} to see how to use GetBdsInstance API.
1067
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/GetBdsInstance.ts.html |here} to see how to use GetBdsInstance API.
1063
1068
  */
1064
1069
  getBdsInstance(getBdsInstanceRequest) {
1065
1070
  return __awaiter(this, void 0, void 0, function* () {
@@ -1120,7 +1125,7 @@ class BdsClient {
1120
1125
  * @param GetBdsMetastoreConfigurationRequest
1121
1126
  * @return GetBdsMetastoreConfigurationResponse
1122
1127
  * @throws OciError when an error occurs
1123
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/GetBdsMetastoreConfiguration.ts.html |here} to see how to use GetBdsMetastoreConfiguration API.
1128
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/GetBdsMetastoreConfiguration.ts.html |here} to see how to use GetBdsMetastoreConfiguration API.
1124
1129
  */
1125
1130
  getBdsMetastoreConfiguration(getBdsMetastoreConfigurationRequest) {
1126
1131
  return __awaiter(this, void 0, void 0, function* () {
@@ -1182,7 +1187,7 @@ class BdsClient {
1182
1187
  * @param GetWorkRequestRequest
1183
1188
  * @return GetWorkRequestResponse
1184
1189
  * @throws OciError when an error occurs
1185
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1190
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1186
1191
  */
1187
1192
  getWorkRequest(getWorkRequestRequest) {
1188
1193
  return __awaiter(this, void 0, void 0, function* () {
@@ -1237,6 +1242,67 @@ class BdsClient {
1237
1242
  }
1238
1243
  });
1239
1244
  }
1245
+ /**
1246
+ * Install the specified patch to this cluster.
1247
+ *
1248
+ * This operation does not retry by default if the user has not defined a retry configuration.
1249
+ * @param InstallPatchRequest
1250
+ * @return InstallPatchResponse
1251
+ * @throws OciError when an error occurs
1252
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/InstallPatch.ts.html |here} to see how to use InstallPatch API.
1253
+ */
1254
+ installPatch(installPatchRequest) {
1255
+ return __awaiter(this, void 0, void 0, function* () {
1256
+ if (this.logger)
1257
+ this.logger.debug("Calling operation BdsClient#installPatch.");
1258
+ const pathParams = {
1259
+ "{bdsInstanceId}": installPatchRequest.bdsInstanceId
1260
+ };
1261
+ const queryParams = {};
1262
+ let headerParams = {
1263
+ "Content-Type": common.Constants.APPLICATION_JSON,
1264
+ "opc-request-id": installPatchRequest.opcRequestId,
1265
+ "if-match": installPatchRequest.ifMatch,
1266
+ "opc-retry-token": installPatchRequest.opcRetryToken
1267
+ };
1268
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1269
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, installPatchRequest.retryConfiguration, specRetryConfiguration);
1270
+ if (this.logger)
1271
+ retrier.logger = this.logger;
1272
+ const request = yield oci_common_2.composeRequest({
1273
+ baseEndpoint: this._endpoint,
1274
+ defaultHeaders: this._defaultHeaders,
1275
+ path: "/bdsInstances/{bdsInstanceId}/actions/installPatch",
1276
+ method: "POST",
1277
+ bodyContent: common.ObjectSerializer.serialize(installPatchRequest.installPatchDetails, "InstallPatchDetails", model.InstallPatchDetails.getJsonObj),
1278
+ pathParams: pathParams,
1279
+ headerParams: headerParams,
1280
+ queryParams: queryParams
1281
+ });
1282
+ try {
1283
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1284
+ const sdkResponse = oci_common_2.composeResponse({
1285
+ responseObject: {},
1286
+ responseHeaders: [
1287
+ {
1288
+ value: response.headers.get("opc-request-id"),
1289
+ key: "opcRequestId",
1290
+ dataType: "string"
1291
+ },
1292
+ {
1293
+ value: response.headers.get("opc-work-request-id"),
1294
+ key: "opcWorkRequestId",
1295
+ dataType: "string"
1296
+ }
1297
+ ]
1298
+ });
1299
+ return sdkResponse;
1300
+ }
1301
+ catch (err) {
1302
+ throw err;
1303
+ }
1304
+ });
1305
+ }
1240
1306
  /**
1241
1307
  * Returns information about the autoscaling configurations for a cluster.
1242
1308
  *
@@ -1244,7 +1310,7 @@ class BdsClient {
1244
1310
  * @param ListAutoScalingConfigurationsRequest
1245
1311
  * @return ListAutoScalingConfigurationsResponse
1246
1312
  * @throws OciError when an error occurs
1247
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/ListAutoScalingConfigurations.ts.html |here} to see how to use ListAutoScalingConfigurations API.
1313
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/ListAutoScalingConfigurations.ts.html |here} to see how to use ListAutoScalingConfigurations API.
1248
1314
  */
1249
1315
  listAutoScalingConfigurations(listAutoScalingConfigurationsRequest) {
1250
1316
  return __awaiter(this, void 0, void 0, function* () {
@@ -1354,7 +1420,7 @@ class BdsClient {
1354
1420
  * @param ListBdsApiKeysRequest
1355
1421
  * @return ListBdsApiKeysResponse
1356
1422
  * @throws OciError when an error occurs
1357
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/ListBdsApiKeys.ts.html |here} to see how to use ListBdsApiKeys API.
1423
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/ListBdsApiKeys.ts.html |here} to see how to use ListBdsApiKeys API.
1358
1424
  */
1359
1425
  listBdsApiKeys(listBdsApiKeysRequest) {
1360
1426
  return __awaiter(this, void 0, void 0, function* () {
@@ -1464,7 +1530,7 @@ class BdsClient {
1464
1530
  * @param ListBdsInstancesRequest
1465
1531
  * @return ListBdsInstancesResponse
1466
1532
  * @throws OciError when an error occurs
1467
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/ListBdsInstances.ts.html |here} to see how to use ListBdsInstances API.
1533
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/ListBdsInstances.ts.html |here} to see how to use ListBdsInstances API.
1468
1534
  */
1469
1535
  listBdsInstances(listBdsInstancesRequest) {
1470
1536
  return __awaiter(this, void 0, void 0, function* () {
@@ -1572,7 +1638,7 @@ class BdsClient {
1572
1638
  * @param ListBdsMetastoreConfigurationsRequest
1573
1639
  * @return ListBdsMetastoreConfigurationsResponse
1574
1640
  * @throws OciError when an error occurs
1575
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/ListBdsMetastoreConfigurations.ts.html |here} to see how to use ListBdsMetastoreConfigurations API.
1641
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/ListBdsMetastoreConfigurations.ts.html |here} to see how to use ListBdsMetastoreConfigurations API.
1576
1642
  */
1577
1643
  listBdsMetastoreConfigurations(listBdsMetastoreConfigurationsRequest) {
1578
1644
  return __awaiter(this, void 0, void 0, function* () {
@@ -1677,6 +1743,220 @@ class BdsClient {
1677
1743
  listBdsMetastoreConfigurationsResponseIterator(request) {
1678
1744
  return oci_common_1.paginateResponses(request, req => this.listBdsMetastoreConfigurations(req));
1679
1745
  }
1746
+ /**
1747
+ * List the patch history of this cluster.
1748
+ *
1749
+ * This operation does not retry by default if the user has not defined a retry configuration.
1750
+ * @param ListPatchHistoriesRequest
1751
+ * @return ListPatchHistoriesResponse
1752
+ * @throws OciError when an error occurs
1753
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/ListPatchHistories.ts.html |here} to see how to use ListPatchHistories API.
1754
+ */
1755
+ listPatchHistories(listPatchHistoriesRequest) {
1756
+ return __awaiter(this, void 0, void 0, function* () {
1757
+ if (this.logger)
1758
+ this.logger.debug("Calling operation BdsClient#listPatchHistories.");
1759
+ const pathParams = {
1760
+ "{bdsInstanceId}": listPatchHistoriesRequest.bdsInstanceId
1761
+ };
1762
+ const queryParams = {
1763
+ "lifecycleState": listPatchHistoriesRequest.lifecycleState,
1764
+ "sortBy": listPatchHistoriesRequest.sortBy,
1765
+ "patchVersion": listPatchHistoriesRequest.patchVersion,
1766
+ "sortOrder": listPatchHistoriesRequest.sortOrder,
1767
+ "page": listPatchHistoriesRequest.page,
1768
+ "limit": listPatchHistoriesRequest.limit
1769
+ };
1770
+ let headerParams = {
1771
+ "Content-Type": common.Constants.APPLICATION_JSON,
1772
+ "opc-request-id": listPatchHistoriesRequest.opcRequestId
1773
+ };
1774
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1775
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPatchHistoriesRequest.retryConfiguration, specRetryConfiguration);
1776
+ if (this.logger)
1777
+ retrier.logger = this.logger;
1778
+ const request = yield oci_common_2.composeRequest({
1779
+ baseEndpoint: this._endpoint,
1780
+ defaultHeaders: this._defaultHeaders,
1781
+ path: "/bdsInstances/{bdsInstanceId}/patchHistory",
1782
+ method: "GET",
1783
+ pathParams: pathParams,
1784
+ headerParams: headerParams,
1785
+ queryParams: queryParams
1786
+ });
1787
+ try {
1788
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1789
+ const sdkResponse = oci_common_2.composeResponse({
1790
+ responseObject: {},
1791
+ body: yield response.json(),
1792
+ bodyKey: "items",
1793
+ bodyModel: model.PatchHistorySummary,
1794
+ type: "Array<model.PatchHistorySummary>",
1795
+ responseHeaders: [
1796
+ {
1797
+ value: response.headers.get("opc-next-page"),
1798
+ key: "opcNextPage",
1799
+ dataType: "string"
1800
+ },
1801
+ {
1802
+ value: response.headers.get("opc-request-id"),
1803
+ key: "opcRequestId",
1804
+ dataType: "string"
1805
+ }
1806
+ ]
1807
+ });
1808
+ return sdkResponse;
1809
+ }
1810
+ catch (err) {
1811
+ throw err;
1812
+ }
1813
+ });
1814
+ }
1815
+ /**
1816
+ * NOTE: This function is deprecated in favor of listPatchHistoriesRecordIterator function.
1817
+ * Creates a new async iterator which will iterate over the models.PatchHistorySummary objects
1818
+ * contained in responses from the listPatchHistories operation. This iterator will fetch more data from the
1819
+ * server as needed.
1820
+ *
1821
+ * @param request a request which can be sent to the service operation
1822
+ */
1823
+ listAllPatchHistories(request) {
1824
+ return oci_common_1.paginateRecords(request, req => this.listPatchHistories(req));
1825
+ }
1826
+ /**
1827
+ * NOTE: This function is deprecated in favor of listPatchHistoriesResponseIterator function.
1828
+ * Creates a new async iterator which will iterate over the responses received from the listPatchHistories operation. This iterator
1829
+ * will fetch more data from the server as needed.
1830
+ *
1831
+ * @param request a request which can be sent to the service operation
1832
+ */
1833
+ listAllPatchHistoriesResponses(request) {
1834
+ return oci_common_1.paginateResponses(request, req => this.listPatchHistories(req));
1835
+ }
1836
+ /**
1837
+ * Creates a new async iterator which will iterate over the models.PatchHistorySummary objects
1838
+ * contained in responses from the listPatchHistories operation. This iterator will fetch more data from the
1839
+ * server as needed.
1840
+ *
1841
+ * @param request a request which can be sent to the service operation
1842
+ */
1843
+ listPatchHistoriesRecordIterator(request) {
1844
+ return oci_common_1.paginateRecords(request, req => this.listPatchHistories(req));
1845
+ }
1846
+ /**
1847
+ * Creates a new async iterator which will iterate over the responses received from the listPatchHistories operation. This iterator
1848
+ * will fetch more data from the server as needed.
1849
+ *
1850
+ * @param request a request which can be sent to the service operation
1851
+ */
1852
+ listPatchHistoriesResponseIterator(request) {
1853
+ return oci_common_1.paginateResponses(request, req => this.listPatchHistories(req));
1854
+ }
1855
+ /**
1856
+ * List all the available patches for this cluster.
1857
+ *
1858
+ * This operation does not retry by default if the user has not defined a retry configuration.
1859
+ * @param ListPatchesRequest
1860
+ * @return ListPatchesResponse
1861
+ * @throws OciError when an error occurs
1862
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/ListPatches.ts.html |here} to see how to use ListPatches API.
1863
+ */
1864
+ listPatches(listPatchesRequest) {
1865
+ return __awaiter(this, void 0, void 0, function* () {
1866
+ if (this.logger)
1867
+ this.logger.debug("Calling operation BdsClient#listPatches.");
1868
+ const pathParams = {
1869
+ "{bdsInstanceId}": listPatchesRequest.bdsInstanceId
1870
+ };
1871
+ const queryParams = {
1872
+ "page": listPatchesRequest.page,
1873
+ "limit": listPatchesRequest.limit
1874
+ };
1875
+ let headerParams = {
1876
+ "Content-Type": common.Constants.APPLICATION_JSON,
1877
+ "opc-request-id": listPatchesRequest.opcRequestId
1878
+ };
1879
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1880
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPatchesRequest.retryConfiguration, specRetryConfiguration);
1881
+ if (this.logger)
1882
+ retrier.logger = this.logger;
1883
+ const request = yield oci_common_2.composeRequest({
1884
+ baseEndpoint: this._endpoint,
1885
+ defaultHeaders: this._defaultHeaders,
1886
+ path: "/bdsInstances/{bdsInstanceId}/patches",
1887
+ method: "GET",
1888
+ pathParams: pathParams,
1889
+ headerParams: headerParams,
1890
+ queryParams: queryParams
1891
+ });
1892
+ try {
1893
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1894
+ const sdkResponse = oci_common_2.composeResponse({
1895
+ responseObject: {},
1896
+ body: yield response.json(),
1897
+ bodyKey: "items",
1898
+ bodyModel: model.PatchSummary,
1899
+ type: "Array<model.PatchSummary>",
1900
+ responseHeaders: [
1901
+ {
1902
+ value: response.headers.get("opc-next-page"),
1903
+ key: "opcNextPage",
1904
+ dataType: "string"
1905
+ },
1906
+ {
1907
+ value: response.headers.get("opc-request-id"),
1908
+ key: "opcRequestId",
1909
+ dataType: "string"
1910
+ }
1911
+ ]
1912
+ });
1913
+ return sdkResponse;
1914
+ }
1915
+ catch (err) {
1916
+ throw err;
1917
+ }
1918
+ });
1919
+ }
1920
+ /**
1921
+ * NOTE: This function is deprecated in favor of listPatchesRecordIterator function.
1922
+ * Creates a new async iterator which will iterate over the models.PatchSummary objects
1923
+ * contained in responses from the listPatches operation. This iterator will fetch more data from the
1924
+ * server as needed.
1925
+ *
1926
+ * @param request a request which can be sent to the service operation
1927
+ */
1928
+ listAllPatches(request) {
1929
+ return oci_common_1.paginateRecords(request, req => this.listPatches(req));
1930
+ }
1931
+ /**
1932
+ * NOTE: This function is deprecated in favor of listPatchesResponseIterator function.
1933
+ * Creates a new async iterator which will iterate over the responses received from the listPatches operation. This iterator
1934
+ * will fetch more data from the server as needed.
1935
+ *
1936
+ * @param request a request which can be sent to the service operation
1937
+ */
1938
+ listAllPatchesResponses(request) {
1939
+ return oci_common_1.paginateResponses(request, req => this.listPatches(req));
1940
+ }
1941
+ /**
1942
+ * Creates a new async iterator which will iterate over the models.PatchSummary objects
1943
+ * contained in responses from the listPatches operation. This iterator will fetch more data from the
1944
+ * server as needed.
1945
+ *
1946
+ * @param request a request which can be sent to the service operation
1947
+ */
1948
+ listPatchesRecordIterator(request) {
1949
+ return oci_common_1.paginateRecords(request, req => this.listPatches(req));
1950
+ }
1951
+ /**
1952
+ * Creates a new async iterator which will iterate over the responses received from the listPatches operation. This iterator
1953
+ * will fetch more data from the server as needed.
1954
+ *
1955
+ * @param request a request which can be sent to the service operation
1956
+ */
1957
+ listPatchesResponseIterator(request) {
1958
+ return oci_common_1.paginateResponses(request, req => this.listPatches(req));
1959
+ }
1680
1960
  /**
1681
1961
  * Returns a paginated list of errors for a work request identified by the given ID.
1682
1962
  *
@@ -1684,7 +1964,7 @@ class BdsClient {
1684
1964
  * @param ListWorkRequestErrorsRequest
1685
1965
  * @return ListWorkRequestErrorsResponse
1686
1966
  * @throws OciError when an error occurs
1687
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1967
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1688
1968
  */
1689
1969
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1690
1970
  return __awaiter(this, void 0, void 0, function* () {
@@ -1791,7 +2071,7 @@ class BdsClient {
1791
2071
  * @param ListWorkRequestLogsRequest
1792
2072
  * @return ListWorkRequestLogsResponse
1793
2073
  * @throws OciError when an error occurs
1794
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2074
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1795
2075
  */
1796
2076
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1797
2077
  return __awaiter(this, void 0, void 0, function* () {
@@ -1898,7 +2178,7 @@ class BdsClient {
1898
2178
  * @param ListWorkRequestsRequest
1899
2179
  * @return ListWorkRequestsResponse
1900
2180
  * @throws OciError when an error occurs
1901
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2181
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1902
2182
  */
1903
2183
  listWorkRequests(listWorkRequestsRequest) {
1904
2184
  return __awaiter(this, void 0, void 0, function* () {
@@ -2005,7 +2285,7 @@ class BdsClient {
2005
2285
  * @param RemoveAutoScalingConfigurationRequest
2006
2286
  * @return RemoveAutoScalingConfigurationResponse
2007
2287
  * @throws OciError when an error occurs
2008
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/RemoveAutoScalingConfiguration.ts.html |here} to see how to use RemoveAutoScalingConfiguration API.
2288
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/RemoveAutoScalingConfiguration.ts.html |here} to see how to use RemoveAutoScalingConfiguration API.
2009
2289
  */
2010
2290
  removeAutoScalingConfiguration(removeAutoScalingConfigurationRequest) {
2011
2291
  return __awaiter(this, void 0, void 0, function* () {
@@ -2067,7 +2347,7 @@ class BdsClient {
2067
2347
  * @param RemoveCloudSqlRequest
2068
2348
  * @return RemoveCloudSqlResponse
2069
2349
  * @throws OciError when an error occurs
2070
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/RemoveCloudSql.ts.html |here} to see how to use RemoveCloudSql API.
2350
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/RemoveCloudSql.ts.html |here} to see how to use RemoveCloudSql API.
2071
2351
  */
2072
2352
  removeCloudSql(removeCloudSqlRequest) {
2073
2353
  return __awaiter(this, void 0, void 0, function* () {
@@ -2121,6 +2401,66 @@ class BdsClient {
2121
2401
  }
2122
2402
  });
2123
2403
  }
2404
+ /**
2405
+ * Remove a single node of a Big Data Service cluster
2406
+ *
2407
+ * This operation does not retry by default if the user has not defined a retry configuration.
2408
+ * @param RemoveNodeRequest
2409
+ * @return RemoveNodeResponse
2410
+ * @throws OciError when an error occurs
2411
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/RemoveNode.ts.html |here} to see how to use RemoveNode API.
2412
+ */
2413
+ removeNode(removeNodeRequest) {
2414
+ return __awaiter(this, void 0, void 0, function* () {
2415
+ if (this.logger)
2416
+ this.logger.debug("Calling operation BdsClient#removeNode.");
2417
+ const pathParams = {
2418
+ "{bdsInstanceId}": removeNodeRequest.bdsInstanceId
2419
+ };
2420
+ const queryParams = {};
2421
+ let headerParams = {
2422
+ "Content-Type": common.Constants.APPLICATION_JSON,
2423
+ "opc-request-id": removeNodeRequest.opcRequestId,
2424
+ "if-match": removeNodeRequest.ifMatch
2425
+ };
2426
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2427
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeNodeRequest.retryConfiguration, specRetryConfiguration);
2428
+ if (this.logger)
2429
+ retrier.logger = this.logger;
2430
+ const request = yield oci_common_2.composeRequest({
2431
+ baseEndpoint: this._endpoint,
2432
+ defaultHeaders: this._defaultHeaders,
2433
+ path: "/bdsInstances/{bdsInstanceId}/actions/removeNode",
2434
+ method: "POST",
2435
+ bodyContent: common.ObjectSerializer.serialize(removeNodeRequest.removeNodeDetails, "RemoveNodeDetails", model.RemoveNodeDetails.getJsonObj),
2436
+ pathParams: pathParams,
2437
+ headerParams: headerParams,
2438
+ queryParams: queryParams
2439
+ });
2440
+ try {
2441
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
2442
+ const sdkResponse = oci_common_2.composeResponse({
2443
+ responseObject: {},
2444
+ responseHeaders: [
2445
+ {
2446
+ value: response.headers.get("opc-request-id"),
2447
+ key: "opcRequestId",
2448
+ dataType: "string"
2449
+ },
2450
+ {
2451
+ value: response.headers.get("opc-work-request-id"),
2452
+ key: "opcWorkRequestId",
2453
+ dataType: "string"
2454
+ }
2455
+ ]
2456
+ });
2457
+ return sdkResponse;
2458
+ }
2459
+ catch (err) {
2460
+ throw err;
2461
+ }
2462
+ });
2463
+ }
2124
2464
  /**
2125
2465
  * Restarts a single node of a Big Data Service cluster
2126
2466
  *
@@ -2128,7 +2468,7 @@ class BdsClient {
2128
2468
  * @param RestartNodeRequest
2129
2469
  * @return RestartNodeResponse
2130
2470
  * @throws OciError when an error occurs
2131
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/RestartNode.ts.html |here} to see how to use RestartNode API.
2471
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/RestartNode.ts.html |here} to see how to use RestartNode API.
2132
2472
  */
2133
2473
  restartNode(restartNodeRequest) {
2134
2474
  return __awaiter(this, void 0, void 0, function* () {
@@ -2189,7 +2529,7 @@ class BdsClient {
2189
2529
  * @param TestBdsMetastoreConfigurationRequest
2190
2530
  * @return TestBdsMetastoreConfigurationResponse
2191
2531
  * @throws OciError when an error occurs
2192
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/TestBdsMetastoreConfiguration.ts.html |here} to see how to use TestBdsMetastoreConfiguration API.
2532
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/TestBdsMetastoreConfiguration.ts.html |here} to see how to use TestBdsMetastoreConfiguration API.
2193
2533
  */
2194
2534
  testBdsMetastoreConfiguration(testBdsMetastoreConfigurationRequest) {
2195
2535
  return __awaiter(this, void 0, void 0, function* () {
@@ -2249,7 +2589,7 @@ class BdsClient {
2249
2589
  * @param TestBdsObjectStorageConnectionRequest
2250
2590
  * @return TestBdsObjectStorageConnectionResponse
2251
2591
  * @throws OciError when an error occurs
2252
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/TestBdsObjectStorageConnection.ts.html |here} to see how to use TestBdsObjectStorageConnection API.
2592
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/TestBdsObjectStorageConnection.ts.html |here} to see how to use TestBdsObjectStorageConnection API.
2253
2593
  */
2254
2594
  testBdsObjectStorageConnection(testBdsObjectStorageConnectionRequest) {
2255
2595
  return __awaiter(this, void 0, void 0, function* () {
@@ -2309,7 +2649,7 @@ class BdsClient {
2309
2649
  * @param UpdateAutoScalingConfigurationRequest
2310
2650
  * @return UpdateAutoScalingConfigurationResponse
2311
2651
  * @throws OciError when an error occurs
2312
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/UpdateAutoScalingConfiguration.ts.html |here} to see how to use UpdateAutoScalingConfiguration API.
2652
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/UpdateAutoScalingConfiguration.ts.html |here} to see how to use UpdateAutoScalingConfiguration API.
2313
2653
  */
2314
2654
  updateAutoScalingConfiguration(updateAutoScalingConfigurationRequest) {
2315
2655
  return __awaiter(this, void 0, void 0, function* () {
@@ -2370,7 +2710,7 @@ class BdsClient {
2370
2710
  * @param UpdateBdsInstanceRequest
2371
2711
  * @return UpdateBdsInstanceResponse
2372
2712
  * @throws OciError when an error occurs
2373
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/UpdateBdsInstance.ts.html |here} to see how to use UpdateBdsInstance API.
2713
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/UpdateBdsInstance.ts.html |here} to see how to use UpdateBdsInstance API.
2374
2714
  */
2375
2715
  updateBdsInstance(updateBdsInstanceRequest) {
2376
2716
  return __awaiter(this, void 0, void 0, function* () {
@@ -2429,7 +2769,7 @@ class BdsClient {
2429
2769
  * @param UpdateBdsMetastoreConfigurationRequest
2430
2770
  * @return UpdateBdsMetastoreConfigurationResponse
2431
2771
  * @throws OciError when an error occurs
2432
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.20.0/bds/UpdateBdsMetastoreConfiguration.ts.html |here} to see how to use UpdateBdsMetastoreConfiguration API.
2772
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.24.0/bds/UpdateBdsMetastoreConfiguration.ts.html |here} to see how to use UpdateBdsMetastoreConfiguration API.
2433
2773
  */
2434
2774
  updateBdsMetastoreConfiguration(updateBdsMetastoreConfigurationRequest) {
2435
2775
  return __awaiter(this, void 0, void 0, function* () {