oci-bds 2.61.0 → 2.62.1

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 (104) hide show
  1. package/lib/client.d.ts +60 -40
  2. package/lib/client.js +166 -40
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/add-block-storage-details.d.ts +3 -2
  5. package/lib/model/add-block-storage-details.js +1 -0
  6. package/lib/model/add-block-storage-details.js.map +1 -1
  7. package/lib/model/add-kafka-details.d.ts +41 -0
  8. package/lib/model/add-kafka-details.js +58 -0
  9. package/lib/model/add-kafka-details.js.map +1 -0
  10. package/lib/model/add-schedule-based-horizontal-scaling-policy-details.d.ts +3 -0
  11. package/lib/model/add-schedule-based-horizontal-scaling-policy-details.js.map +1 -1
  12. package/lib/model/add-schedule-based-vertical-scaling-policy-details.d.ts +3 -0
  13. package/lib/model/add-schedule-based-vertical-scaling-policy-details.js.map +1 -1
  14. package/lib/model/add-worker-nodes-details.d.ts +2 -1
  15. package/lib/model/add-worker-nodes-details.js +1 -0
  16. package/lib/model/add-worker-nodes-details.js.map +1 -1
  17. package/lib/model/bds-instance-summary.d.ts +4 -0
  18. package/lib/model/bds-instance-summary.js.map +1 -1
  19. package/lib/model/bds-instance.d.ts +5 -0
  20. package/lib/model/bds-instance.js +1 -0
  21. package/lib/model/bds-instance.js.map +1 -1
  22. package/lib/model/change-shape-nodes.d.ts +5 -0
  23. package/lib/model/change-shape-nodes.js +6 -0
  24. package/lib/model/change-shape-nodes.js.map +1 -1
  25. package/lib/model/day-based-horizontal-scaling-schedule-details.d.ts +3 -0
  26. package/lib/model/day-based-horizontal-scaling-schedule-details.js.map +1 -1
  27. package/lib/model/day-based-vertical-scaling-schedule-details.d.ts +3 -0
  28. package/lib/model/day-based-vertical-scaling-schedule-details.js.map +1 -1
  29. package/lib/model/index.d.ts +4 -0
  30. package/lib/model/index.js +6 -2
  31. package/lib/model/index.js.map +1 -1
  32. package/lib/model/node.d.ts +1 -0
  33. package/lib/model/node.js +1 -0
  34. package/lib/model/node.js.map +1 -1
  35. package/lib/model/operation-types.d.ts +2 -0
  36. package/lib/model/operation-types.js +2 -0
  37. package/lib/model/operation-types.js.map +1 -1
  38. package/lib/model/remove-kafka-details.d.ts +26 -0
  39. package/lib/model/remove-kafka-details.js +30 -0
  40. package/lib/model/remove-kafka-details.js.map +1 -0
  41. package/lib/model/schedule-based-horizontal-scaling-policy-details.d.ts +3 -0
  42. package/lib/model/schedule-based-horizontal-scaling-policy-details.js.map +1 -1
  43. package/lib/model/schedule-based-vertical-scaling-policy-details.d.ts +3 -0
  44. package/lib/model/schedule-based-vertical-scaling-policy-details.js.map +1 -1
  45. package/lib/model/update-schedule-based-horizontal-scaling-policy-details.d.ts +3 -0
  46. package/lib/model/update-schedule-based-horizontal-scaling-policy-details.js.map +1 -1
  47. package/lib/model/update-schedule-based-vertical-scaling-policy-details.d.ts +3 -0
  48. package/lib/model/update-schedule-based-vertical-scaling-policy-details.js.map +1 -1
  49. package/lib/request/activate-bds-metastore-configuration-request.d.ts +1 -1
  50. package/lib/request/add-auto-scaling-configuration-request.d.ts +1 -1
  51. package/lib/request/add-block-storage-request.d.ts +1 -1
  52. package/lib/request/add-cloud-sql-request.d.ts +1 -1
  53. package/lib/request/add-kafka-request.d.ts +49 -0
  54. package/lib/request/add-kafka-request.js +15 -0
  55. package/lib/request/add-kafka-request.js.map +1 -0
  56. package/lib/request/add-worker-nodes-request.d.ts +1 -1
  57. package/lib/request/change-bds-instance-compartment-request.d.ts +1 -1
  58. package/lib/request/change-shape-request.d.ts +1 -1
  59. package/lib/request/create-bds-api-key-request.d.ts +1 -1
  60. package/lib/request/create-bds-instance-request.d.ts +1 -1
  61. package/lib/request/create-bds-metastore-configuration-request.d.ts +1 -1
  62. package/lib/request/delete-bds-api-key-request.d.ts +1 -1
  63. package/lib/request/delete-bds-instance-request.d.ts +1 -1
  64. package/lib/request/delete-bds-metastore-configuration-request.d.ts +1 -1
  65. package/lib/request/execute-bootstrap-script-request.d.ts +1 -1
  66. package/lib/request/get-auto-scaling-configuration-request.d.ts +1 -1
  67. package/lib/request/get-bds-api-key-request.d.ts +1 -1
  68. package/lib/request/get-bds-instance-request.d.ts +1 -1
  69. package/lib/request/get-bds-metastore-configuration-request.d.ts +1 -1
  70. package/lib/request/get-work-request-request.d.ts +1 -1
  71. package/lib/request/index.d.ts +4 -0
  72. package/lib/request/index.js.map +1 -1
  73. package/lib/request/install-patch-request.d.ts +1 -1
  74. package/lib/request/list-auto-scaling-configurations-request.d.ts +1 -1
  75. package/lib/request/list-bds-api-keys-request.d.ts +1 -1
  76. package/lib/request/list-bds-instances-request.d.ts +1 -1
  77. package/lib/request/list-bds-metastore-configurations-request.d.ts +1 -1
  78. package/lib/request/list-patch-histories-request.d.ts +1 -1
  79. package/lib/request/list-patches-request.d.ts +1 -1
  80. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  81. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  82. package/lib/request/list-work-requests-request.d.ts +1 -1
  83. package/lib/request/remove-auto-scaling-configuration-request.d.ts +1 -1
  84. package/lib/request/remove-cloud-sql-request.d.ts +1 -1
  85. package/lib/request/remove-kafka-request.d.ts +49 -0
  86. package/lib/request/remove-kafka-request.js +15 -0
  87. package/lib/request/remove-kafka-request.js.map +1 -0
  88. package/lib/request/remove-node-request.d.ts +1 -1
  89. package/lib/request/restart-node-request.d.ts +1 -1
  90. package/lib/request/start-bds-instance-request.d.ts +1 -1
  91. package/lib/request/stop-bds-instance-request.d.ts +1 -1
  92. package/lib/request/test-bds-metastore-configuration-request.d.ts +1 -1
  93. package/lib/request/test-bds-object-storage-connection-request.d.ts +1 -1
  94. package/lib/request/update-auto-scaling-configuration-request.d.ts +1 -1
  95. package/lib/request/update-bds-instance-request.d.ts +1 -1
  96. package/lib/request/update-bds-metastore-configuration-request.d.ts +1 -1
  97. package/lib/response/add-kafka-response.d.ts +25 -0
  98. package/lib/response/add-kafka-response.js +15 -0
  99. package/lib/response/add-kafka-response.js.map +1 -0
  100. package/lib/response/index.d.ts +4 -0
  101. package/lib/response/remove-kafka-response.d.ts +25 -0
  102. package/lib/response/remove-kafka-response.js +15 -0
  103. package/lib/response/remove-kafka-response.js.map +1 -0
  104. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -182,7 +182,7 @@ class BdsClient {
182
182
  * @param ActivateBdsMetastoreConfigurationRequest
183
183
  * @return ActivateBdsMetastoreConfigurationResponse
184
184
  * @throws OciError when an error occurs
185
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/ActivateBdsMetastoreConfiguration.ts.html |here} to see how to use ActivateBdsMetastoreConfiguration API.
185
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/ActivateBdsMetastoreConfiguration.ts.html |here} to see how to use ActivateBdsMetastoreConfiguration API.
186
186
  */
187
187
  activateBdsMetastoreConfiguration(activateBdsMetastoreConfigurationRequest) {
188
188
  return __awaiter(this, void 0, void 0, function* () {
@@ -246,7 +246,7 @@ class BdsClient {
246
246
  * @param AddAutoScalingConfigurationRequest
247
247
  * @return AddAutoScalingConfigurationResponse
248
248
  * @throws OciError when an error occurs
249
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/AddAutoScalingConfiguration.ts.html |here} to see how to use AddAutoScalingConfiguration API.
249
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/AddAutoScalingConfiguration.ts.html |here} to see how to use AddAutoScalingConfiguration API.
250
250
  */
251
251
  addAutoScalingConfiguration(addAutoScalingConfigurationRequest) {
252
252
  return __awaiter(this, void 0, void 0, function* () {
@@ -309,7 +309,7 @@ class BdsClient {
309
309
  * @param AddBlockStorageRequest
310
310
  * @return AddBlockStorageResponse
311
311
  * @throws OciError when an error occurs
312
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/AddBlockStorage.ts.html |here} to see how to use AddBlockStorage API.
312
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/AddBlockStorage.ts.html |here} to see how to use AddBlockStorage API.
313
313
  */
314
314
  addBlockStorage(addBlockStorageRequest) {
315
315
  return __awaiter(this, void 0, void 0, function* () {
@@ -372,7 +372,7 @@ class BdsClient {
372
372
  * @param AddCloudSqlRequest
373
373
  * @return AddCloudSqlResponse
374
374
  * @throws OciError when an error occurs
375
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/AddCloudSql.ts.html |here} to see how to use AddCloudSql API.
375
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/AddCloudSql.ts.html |here} to see how to use AddCloudSql API.
376
376
  */
377
377
  addCloudSql(addCloudSqlRequest) {
378
378
  return __awaiter(this, void 0, void 0, function* () {
@@ -428,6 +428,69 @@ class BdsClient {
428
428
  }
429
429
  });
430
430
  }
431
+ /**
432
+ * Adds Kafka to a cluster.
433
+ *
434
+ * This operation does not retry by default if the user has not defined a retry configuration.
435
+ * @param AddKafkaRequest
436
+ * @return AddKafkaResponse
437
+ * @throws OciError when an error occurs
438
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/AddKafka.ts.html |here} to see how to use AddKafka API.
439
+ */
440
+ addKafka(addKafkaRequest) {
441
+ return __awaiter(this, void 0, void 0, function* () {
442
+ if (this.logger)
443
+ this.logger.debug("Calling operation BdsClient#addKafka.");
444
+ const operationName = "addKafka";
445
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddKafka";
446
+ const pathParams = {
447
+ "{bdsInstanceId}": addKafkaRequest.bdsInstanceId
448
+ };
449
+ const queryParams = {};
450
+ let headerParams = {
451
+ "Content-Type": common.Constants.APPLICATION_JSON,
452
+ "opc-request-id": addKafkaRequest.opcRequestId,
453
+ "if-match": addKafkaRequest.ifMatch,
454
+ "opc-retry-token": addKafkaRequest.opcRetryToken
455
+ };
456
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
457
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addKafkaRequest.retryConfiguration, specRetryConfiguration);
458
+ if (this.logger)
459
+ retrier.logger = this.logger;
460
+ const request = yield oci_common_2.composeRequest({
461
+ baseEndpoint: this._endpoint,
462
+ defaultHeaders: this._defaultHeaders,
463
+ path: "/bdsInstances/{bdsInstanceId}/actions/addKafka",
464
+ method: "POST",
465
+ bodyContent: common.ObjectSerializer.serialize(addKafkaRequest.addKafkaDetails, "AddKafkaDetails", model.AddKafkaDetails.getJsonObj),
466
+ pathParams: pathParams,
467
+ headerParams: headerParams,
468
+ queryParams: queryParams
469
+ });
470
+ try {
471
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
472
+ const sdkResponse = oci_common_2.composeResponse({
473
+ responseObject: {},
474
+ responseHeaders: [
475
+ {
476
+ value: response.headers.get("opc-request-id"),
477
+ key: "opcRequestId",
478
+ dataType: "string"
479
+ },
480
+ {
481
+ value: response.headers.get("opc-work-request-id"),
482
+ key: "opcWorkRequestId",
483
+ dataType: "string"
484
+ }
485
+ ]
486
+ });
487
+ return sdkResponse;
488
+ }
489
+ catch (err) {
490
+ throw err;
491
+ }
492
+ });
493
+ }
431
494
  /**
432
495
  * 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.
433
496
  *
@@ -435,7 +498,7 @@ class BdsClient {
435
498
  * @param AddWorkerNodesRequest
436
499
  * @return AddWorkerNodesResponse
437
500
  * @throws OciError when an error occurs
438
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/AddWorkerNodes.ts.html |here} to see how to use AddWorkerNodes API.
501
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/AddWorkerNodes.ts.html |here} to see how to use AddWorkerNodes API.
439
502
  */
440
503
  addWorkerNodes(addWorkerNodesRequest) {
441
504
  return __awaiter(this, void 0, void 0, function* () {
@@ -498,7 +561,7 @@ class BdsClient {
498
561
  * @param ChangeBdsInstanceCompartmentRequest
499
562
  * @return ChangeBdsInstanceCompartmentResponse
500
563
  * @throws OciError when an error occurs
501
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/ChangeBdsInstanceCompartment.ts.html |here} to see how to use ChangeBdsInstanceCompartment API.
564
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/ChangeBdsInstanceCompartment.ts.html |here} to see how to use ChangeBdsInstanceCompartment API.
502
565
  */
503
566
  changeBdsInstanceCompartment(changeBdsInstanceCompartmentRequest) {
504
567
  return __awaiter(this, void 0, void 0, function* () {
@@ -561,7 +624,7 @@ class BdsClient {
561
624
  * @param ChangeShapeRequest
562
625
  * @return ChangeShapeResponse
563
626
  * @throws OciError when an error occurs
564
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/ChangeShape.ts.html |here} to see how to use ChangeShape API.
627
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/ChangeShape.ts.html |here} to see how to use ChangeShape API.
565
628
  */
566
629
  changeShape(changeShapeRequest) {
567
630
  return __awaiter(this, void 0, void 0, function* () {
@@ -624,7 +687,7 @@ class BdsClient {
624
687
  * @param CreateBdsApiKeyRequest
625
688
  * @return CreateBdsApiKeyResponse
626
689
  * @throws OciError when an error occurs
627
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/CreateBdsApiKey.ts.html |here} to see how to use CreateBdsApiKey API.
690
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/CreateBdsApiKey.ts.html |here} to see how to use CreateBdsApiKey API.
628
691
  */
629
692
  createBdsApiKey(createBdsApiKeyRequest) {
630
693
  return __awaiter(this, void 0, void 0, function* () {
@@ -686,7 +749,7 @@ class BdsClient {
686
749
  * @param CreateBdsInstanceRequest
687
750
  * @return CreateBdsInstanceResponse
688
751
  * @throws OciError when an error occurs
689
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/CreateBdsInstance.ts.html |here} to see how to use CreateBdsInstance API.
752
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/CreateBdsInstance.ts.html |here} to see how to use CreateBdsInstance API.
690
753
  */
691
754
  createBdsInstance(createBdsInstanceRequest) {
692
755
  return __awaiter(this, void 0, void 0, function* () {
@@ -746,7 +809,7 @@ class BdsClient {
746
809
  * @param CreateBdsMetastoreConfigurationRequest
747
810
  * @return CreateBdsMetastoreConfigurationResponse
748
811
  * @throws OciError when an error occurs
749
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/CreateBdsMetastoreConfiguration.ts.html |here} to see how to use CreateBdsMetastoreConfiguration API.
812
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/CreateBdsMetastoreConfiguration.ts.html |here} to see how to use CreateBdsMetastoreConfiguration API.
750
813
  */
751
814
  createBdsMetastoreConfiguration(createBdsMetastoreConfigurationRequest) {
752
815
  return __awaiter(this, void 0, void 0, function* () {
@@ -807,7 +870,7 @@ class BdsClient {
807
870
  * @param DeleteBdsApiKeyRequest
808
871
  * @return DeleteBdsApiKeyResponse
809
872
  * @throws OciError when an error occurs
810
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/DeleteBdsApiKey.ts.html |here} to see how to use DeleteBdsApiKey API.
873
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/DeleteBdsApiKey.ts.html |here} to see how to use DeleteBdsApiKey API.
811
874
  */
812
875
  deleteBdsApiKey(deleteBdsApiKeyRequest) {
813
876
  return __awaiter(this, void 0, void 0, function* () {
@@ -868,7 +931,7 @@ class BdsClient {
868
931
  * @param DeleteBdsInstanceRequest
869
932
  * @return DeleteBdsInstanceResponse
870
933
  * @throws OciError when an error occurs
871
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/DeleteBdsInstance.ts.html |here} to see how to use DeleteBdsInstance API.
934
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/DeleteBdsInstance.ts.html |here} to see how to use DeleteBdsInstance API.
872
935
  */
873
936
  deleteBdsInstance(deleteBdsInstanceRequest) {
874
937
  return __awaiter(this, void 0, void 0, function* () {
@@ -928,7 +991,7 @@ class BdsClient {
928
991
  * @param DeleteBdsMetastoreConfigurationRequest
929
992
  * @return DeleteBdsMetastoreConfigurationResponse
930
993
  * @throws OciError when an error occurs
931
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/DeleteBdsMetastoreConfiguration.ts.html |here} to see how to use DeleteBdsMetastoreConfiguration API.
994
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/DeleteBdsMetastoreConfiguration.ts.html |here} to see how to use DeleteBdsMetastoreConfiguration API.
932
995
  */
933
996
  deleteBdsMetastoreConfiguration(deleteBdsMetastoreConfigurationRequest) {
934
997
  return __awaiter(this, void 0, void 0, function* () {
@@ -990,7 +1053,7 @@ class BdsClient {
990
1053
  * @param ExecuteBootstrapScriptRequest
991
1054
  * @return ExecuteBootstrapScriptResponse
992
1055
  * @throws OciError when an error occurs
993
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/ExecuteBootstrapScript.ts.html |here} to see how to use ExecuteBootstrapScript API.
1056
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/ExecuteBootstrapScript.ts.html |here} to see how to use ExecuteBootstrapScript API.
994
1057
  */
995
1058
  executeBootstrapScript(executeBootstrapScriptRequest) {
996
1059
  return __awaiter(this, void 0, void 0, function* () {
@@ -1053,7 +1116,7 @@ class BdsClient {
1053
1116
  * @param GetAutoScalingConfigurationRequest
1054
1117
  * @return GetAutoScalingConfigurationResponse
1055
1118
  * @throws OciError when an error occurs
1056
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/GetAutoScalingConfiguration.ts.html |here} to see how to use GetAutoScalingConfiguration API.
1119
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/GetAutoScalingConfiguration.ts.html |here} to see how to use GetAutoScalingConfiguration API.
1057
1120
  */
1058
1121
  getAutoScalingConfiguration(getAutoScalingConfigurationRequest) {
1059
1122
  return __awaiter(this, void 0, void 0, function* () {
@@ -1117,7 +1180,7 @@ class BdsClient {
1117
1180
  * @param GetBdsApiKeyRequest
1118
1181
  * @return GetBdsApiKeyResponse
1119
1182
  * @throws OciError when an error occurs
1120
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/GetBdsApiKey.ts.html |here} to see how to use GetBdsApiKey API.
1183
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/GetBdsApiKey.ts.html |here} to see how to use GetBdsApiKey API.
1121
1184
  */
1122
1185
  getBdsApiKey(getBdsApiKeyRequest) {
1123
1186
  return __awaiter(this, void 0, void 0, function* () {
@@ -1181,7 +1244,7 @@ class BdsClient {
1181
1244
  * @param GetBdsInstanceRequest
1182
1245
  * @return GetBdsInstanceResponse
1183
1246
  * @throws OciError when an error occurs
1184
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/GetBdsInstance.ts.html |here} to see how to use GetBdsInstance API.
1247
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/GetBdsInstance.ts.html |here} to see how to use GetBdsInstance API.
1185
1248
  */
1186
1249
  getBdsInstance(getBdsInstanceRequest) {
1187
1250
  return __awaiter(this, void 0, void 0, function* () {
@@ -1244,7 +1307,7 @@ class BdsClient {
1244
1307
  * @param GetBdsMetastoreConfigurationRequest
1245
1308
  * @return GetBdsMetastoreConfigurationResponse
1246
1309
  * @throws OciError when an error occurs
1247
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/GetBdsMetastoreConfiguration.ts.html |here} to see how to use GetBdsMetastoreConfiguration API.
1310
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/GetBdsMetastoreConfiguration.ts.html |here} to see how to use GetBdsMetastoreConfiguration API.
1248
1311
  */
1249
1312
  getBdsMetastoreConfiguration(getBdsMetastoreConfigurationRequest) {
1250
1313
  return __awaiter(this, void 0, void 0, function* () {
@@ -1308,7 +1371,7 @@ class BdsClient {
1308
1371
  * @param GetWorkRequestRequest
1309
1372
  * @return GetWorkRequestResponse
1310
1373
  * @throws OciError when an error occurs
1311
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1374
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1312
1375
  */
1313
1376
  getWorkRequest(getWorkRequestRequest) {
1314
1377
  return __awaiter(this, void 0, void 0, function* () {
@@ -1372,7 +1435,7 @@ class BdsClient {
1372
1435
  * @param InstallPatchRequest
1373
1436
  * @return InstallPatchResponse
1374
1437
  * @throws OciError when an error occurs
1375
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/InstallPatch.ts.html |here} to see how to use InstallPatch API.
1438
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/InstallPatch.ts.html |here} to see how to use InstallPatch API.
1376
1439
  */
1377
1440
  installPatch(installPatchRequest) {
1378
1441
  return __awaiter(this, void 0, void 0, function* () {
@@ -1435,7 +1498,7 @@ class BdsClient {
1435
1498
  * @param ListAutoScalingConfigurationsRequest
1436
1499
  * @return ListAutoScalingConfigurationsResponse
1437
1500
  * @throws OciError when an error occurs
1438
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/ListAutoScalingConfigurations.ts.html |here} to see how to use ListAutoScalingConfigurations API.
1501
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/ListAutoScalingConfigurations.ts.html |here} to see how to use ListAutoScalingConfigurations API.
1439
1502
  */
1440
1503
  listAutoScalingConfigurations(listAutoScalingConfigurationsRequest) {
1441
1504
  return __awaiter(this, void 0, void 0, function* () {
@@ -1547,7 +1610,7 @@ class BdsClient {
1547
1610
  * @param ListBdsApiKeysRequest
1548
1611
  * @return ListBdsApiKeysResponse
1549
1612
  * @throws OciError when an error occurs
1550
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/ListBdsApiKeys.ts.html |here} to see how to use ListBdsApiKeys API.
1613
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/ListBdsApiKeys.ts.html |here} to see how to use ListBdsApiKeys API.
1551
1614
  */
1552
1615
  listBdsApiKeys(listBdsApiKeysRequest) {
1553
1616
  return __awaiter(this, void 0, void 0, function* () {
@@ -1659,7 +1722,7 @@ class BdsClient {
1659
1722
  * @param ListBdsInstancesRequest
1660
1723
  * @return ListBdsInstancesResponse
1661
1724
  * @throws OciError when an error occurs
1662
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/ListBdsInstances.ts.html |here} to see how to use ListBdsInstances API.
1725
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/ListBdsInstances.ts.html |here} to see how to use ListBdsInstances API.
1663
1726
  */
1664
1727
  listBdsInstances(listBdsInstancesRequest) {
1665
1728
  return __awaiter(this, void 0, void 0, function* () {
@@ -1769,7 +1832,7 @@ class BdsClient {
1769
1832
  * @param ListBdsMetastoreConfigurationsRequest
1770
1833
  * @return ListBdsMetastoreConfigurationsResponse
1771
1834
  * @throws OciError when an error occurs
1772
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/ListBdsMetastoreConfigurations.ts.html |here} to see how to use ListBdsMetastoreConfigurations API.
1835
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/ListBdsMetastoreConfigurations.ts.html |here} to see how to use ListBdsMetastoreConfigurations API.
1773
1836
  */
1774
1837
  listBdsMetastoreConfigurations(listBdsMetastoreConfigurationsRequest) {
1775
1838
  return __awaiter(this, void 0, void 0, function* () {
@@ -1883,7 +1946,7 @@ class BdsClient {
1883
1946
  * @param ListPatchHistoriesRequest
1884
1947
  * @return ListPatchHistoriesResponse
1885
1948
  * @throws OciError when an error occurs
1886
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/ListPatchHistories.ts.html |here} to see how to use ListPatchHistories API.
1949
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/ListPatchHistories.ts.html |here} to see how to use ListPatchHistories API.
1887
1950
  */
1888
1951
  listPatchHistories(listPatchHistoriesRequest) {
1889
1952
  return __awaiter(this, void 0, void 0, function* () {
@@ -1994,7 +2057,7 @@ class BdsClient {
1994
2057
  * @param ListPatchesRequest
1995
2058
  * @return ListPatchesResponse
1996
2059
  * @throws OciError when an error occurs
1997
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/ListPatches.ts.html |here} to see how to use ListPatches API.
2060
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/ListPatches.ts.html |here} to see how to use ListPatches API.
1998
2061
  */
1999
2062
  listPatches(listPatchesRequest) {
2000
2063
  return __awaiter(this, void 0, void 0, function* () {
@@ -2101,7 +2164,7 @@ class BdsClient {
2101
2164
  * @param ListWorkRequestErrorsRequest
2102
2165
  * @return ListWorkRequestErrorsResponse
2103
2166
  * @throws OciError when an error occurs
2104
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2167
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2105
2168
  */
2106
2169
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
2107
2170
  return __awaiter(this, void 0, void 0, function* () {
@@ -2210,7 +2273,7 @@ class BdsClient {
2210
2273
  * @param ListWorkRequestLogsRequest
2211
2274
  * @return ListWorkRequestLogsResponse
2212
2275
  * @throws OciError when an error occurs
2213
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2276
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2214
2277
  */
2215
2278
  listWorkRequestLogs(listWorkRequestLogsRequest) {
2216
2279
  return __awaiter(this, void 0, void 0, function* () {
@@ -2319,7 +2382,7 @@ class BdsClient {
2319
2382
  * @param ListWorkRequestsRequest
2320
2383
  * @return ListWorkRequestsResponse
2321
2384
  * @throws OciError when an error occurs
2322
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2385
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2323
2386
  */
2324
2387
  listWorkRequests(listWorkRequestsRequest) {
2325
2388
  return __awaiter(this, void 0, void 0, function* () {
@@ -2428,7 +2491,7 @@ class BdsClient {
2428
2491
  * @param RemoveAutoScalingConfigurationRequest
2429
2492
  * @return RemoveAutoScalingConfigurationResponse
2430
2493
  * @throws OciError when an error occurs
2431
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/RemoveAutoScalingConfiguration.ts.html |here} to see how to use RemoveAutoScalingConfiguration API.
2494
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/RemoveAutoScalingConfiguration.ts.html |here} to see how to use RemoveAutoScalingConfiguration API.
2432
2495
  */
2433
2496
  removeAutoScalingConfiguration(removeAutoScalingConfigurationRequest) {
2434
2497
  return __awaiter(this, void 0, void 0, function* () {
@@ -2492,7 +2555,7 @@ class BdsClient {
2492
2555
  * @param RemoveCloudSqlRequest
2493
2556
  * @return RemoveCloudSqlResponse
2494
2557
  * @throws OciError when an error occurs
2495
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/RemoveCloudSql.ts.html |here} to see how to use RemoveCloudSql API.
2558
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/RemoveCloudSql.ts.html |here} to see how to use RemoveCloudSql API.
2496
2559
  */
2497
2560
  removeCloudSql(removeCloudSqlRequest) {
2498
2561
  return __awaiter(this, void 0, void 0, function* () {
@@ -2548,6 +2611,69 @@ class BdsClient {
2548
2611
  }
2549
2612
  });
2550
2613
  }
2614
+ /**
2615
+ * Remove Kafka from the cluster.
2616
+ *
2617
+ * This operation does not retry by default if the user has not defined a retry configuration.
2618
+ * @param RemoveKafkaRequest
2619
+ * @return RemoveKafkaResponse
2620
+ * @throws OciError when an error occurs
2621
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/RemoveKafka.ts.html |here} to see how to use RemoveKafka API.
2622
+ */
2623
+ removeKafka(removeKafkaRequest) {
2624
+ return __awaiter(this, void 0, void 0, function* () {
2625
+ if (this.logger)
2626
+ this.logger.debug("Calling operation BdsClient#removeKafka.");
2627
+ const operationName = "removeKafka";
2628
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RemoveKafka";
2629
+ const pathParams = {
2630
+ "{bdsInstanceId}": removeKafkaRequest.bdsInstanceId
2631
+ };
2632
+ const queryParams = {};
2633
+ let headerParams = {
2634
+ "Content-Type": common.Constants.APPLICATION_JSON,
2635
+ "opc-request-id": removeKafkaRequest.opcRequestId,
2636
+ "if-match": removeKafkaRequest.ifMatch,
2637
+ "opc-retry-token": removeKafkaRequest.opcRetryToken
2638
+ };
2639
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2640
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeKafkaRequest.retryConfiguration, specRetryConfiguration);
2641
+ if (this.logger)
2642
+ retrier.logger = this.logger;
2643
+ const request = yield oci_common_2.composeRequest({
2644
+ baseEndpoint: this._endpoint,
2645
+ defaultHeaders: this._defaultHeaders,
2646
+ path: "/bdsInstances/{bdsInstanceId}/actions/removeKafka",
2647
+ method: "POST",
2648
+ bodyContent: common.ObjectSerializer.serialize(removeKafkaRequest.removeKafkaDetails, "RemoveKafkaDetails", model.RemoveKafkaDetails.getJsonObj),
2649
+ pathParams: pathParams,
2650
+ headerParams: headerParams,
2651
+ queryParams: queryParams
2652
+ });
2653
+ try {
2654
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2655
+ const sdkResponse = oci_common_2.composeResponse({
2656
+ responseObject: {},
2657
+ responseHeaders: [
2658
+ {
2659
+ value: response.headers.get("opc-request-id"),
2660
+ key: "opcRequestId",
2661
+ dataType: "string"
2662
+ },
2663
+ {
2664
+ value: response.headers.get("opc-work-request-id"),
2665
+ key: "opcWorkRequestId",
2666
+ dataType: "string"
2667
+ }
2668
+ ]
2669
+ });
2670
+ return sdkResponse;
2671
+ }
2672
+ catch (err) {
2673
+ throw err;
2674
+ }
2675
+ });
2676
+ }
2551
2677
  /**
2552
2678
  * Remove a single node of a Big Data Service cluster
2553
2679
  *
@@ -2555,7 +2681,7 @@ class BdsClient {
2555
2681
  * @param RemoveNodeRequest
2556
2682
  * @return RemoveNodeResponse
2557
2683
  * @throws OciError when an error occurs
2558
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/RemoveNode.ts.html |here} to see how to use RemoveNode API.
2684
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/RemoveNode.ts.html |here} to see how to use RemoveNode API.
2559
2685
  */
2560
2686
  removeNode(removeNodeRequest) {
2561
2687
  return __awaiter(this, void 0, void 0, function* () {
@@ -2617,7 +2743,7 @@ class BdsClient {
2617
2743
  * @param RestartNodeRequest
2618
2744
  * @return RestartNodeResponse
2619
2745
  * @throws OciError when an error occurs
2620
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/RestartNode.ts.html |here} to see how to use RestartNode API.
2746
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/RestartNode.ts.html |here} to see how to use RestartNode API.
2621
2747
  */
2622
2748
  restartNode(restartNodeRequest) {
2623
2749
  return __awaiter(this, void 0, void 0, function* () {
@@ -2680,7 +2806,7 @@ class BdsClient {
2680
2806
  * @param StartBdsInstanceRequest
2681
2807
  * @return StartBdsInstanceResponse
2682
2808
  * @throws OciError when an error occurs
2683
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/StartBdsInstance.ts.html |here} to see how to use StartBdsInstance API.
2809
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/StartBdsInstance.ts.html |here} to see how to use StartBdsInstance API.
2684
2810
  */
2685
2811
  startBdsInstance(startBdsInstanceRequest) {
2686
2812
  return __awaiter(this, void 0, void 0, function* () {
@@ -2742,7 +2868,7 @@ class BdsClient {
2742
2868
  * @param StopBdsInstanceRequest
2743
2869
  * @return StopBdsInstanceResponse
2744
2870
  * @throws OciError when an error occurs
2745
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/StopBdsInstance.ts.html |here} to see how to use StopBdsInstance API.
2871
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/StopBdsInstance.ts.html |here} to see how to use StopBdsInstance API.
2746
2872
  */
2747
2873
  stopBdsInstance(stopBdsInstanceRequest) {
2748
2874
  return __awaiter(this, void 0, void 0, function* () {
@@ -2804,7 +2930,7 @@ class BdsClient {
2804
2930
  * @param TestBdsMetastoreConfigurationRequest
2805
2931
  * @return TestBdsMetastoreConfigurationResponse
2806
2932
  * @throws OciError when an error occurs
2807
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/TestBdsMetastoreConfiguration.ts.html |here} to see how to use TestBdsMetastoreConfiguration API.
2933
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/TestBdsMetastoreConfiguration.ts.html |here} to see how to use TestBdsMetastoreConfiguration API.
2808
2934
  */
2809
2935
  testBdsMetastoreConfiguration(testBdsMetastoreConfigurationRequest) {
2810
2936
  return __awaiter(this, void 0, void 0, function* () {
@@ -2866,7 +2992,7 @@ class BdsClient {
2866
2992
  * @param TestBdsObjectStorageConnectionRequest
2867
2993
  * @return TestBdsObjectStorageConnectionResponse
2868
2994
  * @throws OciError when an error occurs
2869
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/TestBdsObjectStorageConnection.ts.html |here} to see how to use TestBdsObjectStorageConnection API.
2995
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/TestBdsObjectStorageConnection.ts.html |here} to see how to use TestBdsObjectStorageConnection API.
2870
2996
  */
2871
2997
  testBdsObjectStorageConnection(testBdsObjectStorageConnectionRequest) {
2872
2998
  return __awaiter(this, void 0, void 0, function* () {
@@ -2928,7 +3054,7 @@ class BdsClient {
2928
3054
  * @param UpdateAutoScalingConfigurationRequest
2929
3055
  * @return UpdateAutoScalingConfigurationResponse
2930
3056
  * @throws OciError when an error occurs
2931
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/UpdateAutoScalingConfiguration.ts.html |here} to see how to use UpdateAutoScalingConfiguration API.
3057
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/UpdateAutoScalingConfiguration.ts.html |here} to see how to use UpdateAutoScalingConfiguration API.
2932
3058
  */
2933
3059
  updateAutoScalingConfiguration(updateAutoScalingConfigurationRequest) {
2934
3060
  return __awaiter(this, void 0, void 0, function* () {
@@ -2991,7 +3117,7 @@ class BdsClient {
2991
3117
  * @param UpdateBdsInstanceRequest
2992
3118
  * @return UpdateBdsInstanceResponse
2993
3119
  * @throws OciError when an error occurs
2994
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/UpdateBdsInstance.ts.html |here} to see how to use UpdateBdsInstance API.
3120
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/UpdateBdsInstance.ts.html |here} to see how to use UpdateBdsInstance API.
2995
3121
  */
2996
3122
  updateBdsInstance(updateBdsInstanceRequest) {
2997
3123
  return __awaiter(this, void 0, void 0, function* () {
@@ -3052,7 +3178,7 @@ class BdsClient {
3052
3178
  * @param UpdateBdsMetastoreConfigurationRequest
3053
3179
  * @return UpdateBdsMetastoreConfigurationResponse
3054
3180
  * @throws OciError when an error occurs
3055
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.61.0/bds/UpdateBdsMetastoreConfiguration.ts.html |here} to see how to use UpdateBdsMetastoreConfiguration API.
3181
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/bds/UpdateBdsMetastoreConfiguration.ts.html |here} to see how to use UpdateBdsMetastoreConfiguration API.
3056
3182
  */
3057
3183
  updateBdsMetastoreConfiguration(updateBdsMetastoreConfigurationRequest) {
3058
3184
  return __awaiter(this, void 0, void 0, function* () {