oci-bds 2.63.0 → 2.65.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 (115) hide show
  1. package/LICENSE.txt +6 -6
  2. package/lib/client.d.ts +122 -42
  3. package/lib/client.js +415 -43
  4. package/lib/client.js.map +1 -1
  5. package/lib/model/add-master-nodes-details.d.ts +41 -0
  6. package/lib/model/add-master-nodes-details.js +58 -0
  7. package/lib/model/add-master-nodes-details.js.map +1 -0
  8. package/lib/model/add-utility-nodes-details.d.ts +41 -0
  9. package/lib/model/add-utility-nodes-details.js +58 -0
  10. package/lib/model/add-utility-nodes-details.js.map +1 -0
  11. package/lib/model/bds-instance-summary.d.ts +4 -0
  12. package/lib/model/bds-instance-summary.js.map +1 -1
  13. package/lib/model/bds-instance.d.ts +4 -0
  14. package/lib/model/bds-instance.js.map +1 -1
  15. package/lib/model/index.d.ts +12 -0
  16. package/lib/model/index.js +14 -2
  17. package/lib/model/index.js.map +1 -1
  18. package/lib/model/install-os-patch-details.d.ts +30 -0
  19. package/lib/model/install-os-patch-details.js +30 -0
  20. package/lib/model/install-os-patch-details.js.map +1 -0
  21. package/lib/model/node.d.ts +4 -0
  22. package/lib/model/node.js.map +1 -1
  23. package/lib/model/operation-types.d.ts +4 -0
  24. package/lib/model/operation-types.js +4 -0
  25. package/lib/model/operation-types.js.map +1 -1
  26. package/lib/model/os-patch-details.d.ts +64 -0
  27. package/lib/model/os-patch-details.js +73 -0
  28. package/lib/model/os-patch-details.js.map +1 -0
  29. package/lib/model/os-patch-package-summary.d.ts +48 -0
  30. package/lib/model/os-patch-package-summary.js +41 -0
  31. package/lib/model/os-patch-package-summary.js.map +1 -0
  32. package/lib/model/os-patch-summary.d.ts +30 -0
  33. package/lib/model/os-patch-summary.js +30 -0
  34. package/lib/model/os-patch-summary.js.map +1 -0
  35. package/lib/model/patch-history-summary.d.ts +17 -0
  36. package/lib/model/patch-history-summary.js +10 -0
  37. package/lib/model/patch-history-summary.js.map +1 -1
  38. package/lib/request/activate-bds-metastore-configuration-request.d.ts +1 -1
  39. package/lib/request/add-auto-scaling-configuration-request.d.ts +1 -1
  40. package/lib/request/add-block-storage-request.d.ts +1 -1
  41. package/lib/request/add-cloud-sql-request.d.ts +1 -1
  42. package/lib/request/add-kafka-request.d.ts +1 -1
  43. package/lib/request/add-master-nodes-request.d.ts +49 -0
  44. package/lib/request/add-master-nodes-request.js +15 -0
  45. package/lib/request/add-master-nodes-request.js.map +1 -0
  46. package/lib/request/add-utility-nodes-request.d.ts +49 -0
  47. package/lib/request/add-utility-nodes-request.js +15 -0
  48. package/lib/request/add-utility-nodes-request.js.map +1 -0
  49. package/lib/request/add-worker-nodes-request.d.ts +1 -1
  50. package/lib/request/change-bds-instance-compartment-request.d.ts +1 -1
  51. package/lib/request/change-shape-request.d.ts +1 -1
  52. package/lib/request/create-bds-api-key-request.d.ts +1 -1
  53. package/lib/request/create-bds-instance-request.d.ts +1 -1
  54. package/lib/request/create-bds-metastore-configuration-request.d.ts +1 -1
  55. package/lib/request/delete-bds-api-key-request.d.ts +1 -1
  56. package/lib/request/delete-bds-instance-request.d.ts +1 -1
  57. package/lib/request/delete-bds-metastore-configuration-request.d.ts +1 -1
  58. package/lib/request/execute-bootstrap-script-request.d.ts +1 -1
  59. package/lib/request/get-auto-scaling-configuration-request.d.ts +1 -1
  60. package/lib/request/get-bds-api-key-request.d.ts +1 -1
  61. package/lib/request/get-bds-instance-request.d.ts +1 -1
  62. package/lib/request/get-bds-metastore-configuration-request.d.ts +1 -1
  63. package/lib/request/get-os-patch-details-request.d.ts +48 -0
  64. package/lib/request/get-os-patch-details-request.js +15 -0
  65. package/lib/request/get-os-patch-details-request.js.map +1 -0
  66. package/lib/request/get-work-request-request.d.ts +1 -1
  67. package/lib/request/index.d.ts +10 -0
  68. package/lib/request/index.js +3 -1
  69. package/lib/request/index.js.map +1 -1
  70. package/lib/request/install-os-patch-request.d.ts +49 -0
  71. package/lib/request/install-os-patch-request.js +15 -0
  72. package/lib/request/install-os-patch-request.js.map +1 -0
  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-os-patches-request.d.ts +68 -0
  79. package/lib/request/list-os-patches-request.js +24 -0
  80. package/lib/request/list-os-patches-request.js.map +1 -0
  81. package/lib/request/list-patch-histories-request.d.ts +5 -1
  82. package/lib/request/list-patch-histories-request.js.map +1 -1
  83. package/lib/request/list-patches-request.d.ts +1 -1
  84. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  85. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  86. package/lib/request/list-work-requests-request.d.ts +1 -1
  87. package/lib/request/remove-auto-scaling-configuration-request.d.ts +1 -1
  88. package/lib/request/remove-cloud-sql-request.d.ts +1 -1
  89. package/lib/request/remove-kafka-request.d.ts +1 -1
  90. package/lib/request/remove-node-request.d.ts +1 -1
  91. package/lib/request/restart-node-request.d.ts +1 -1
  92. package/lib/request/start-bds-instance-request.d.ts +1 -1
  93. package/lib/request/stop-bds-instance-request.d.ts +1 -1
  94. package/lib/request/test-bds-metastore-configuration-request.d.ts +1 -1
  95. package/lib/request/test-bds-object-storage-connection-request.d.ts +1 -1
  96. package/lib/request/update-auto-scaling-configuration-request.d.ts +1 -1
  97. package/lib/request/update-bds-instance-request.d.ts +1 -1
  98. package/lib/request/update-bds-metastore-configuration-request.d.ts +1 -1
  99. package/lib/response/add-master-nodes-response.d.ts +25 -0
  100. package/lib/response/add-master-nodes-response.js +15 -0
  101. package/lib/response/add-master-nodes-response.js.map +1 -0
  102. package/lib/response/add-utility-nodes-response.d.ts +25 -0
  103. package/lib/response/add-utility-nodes-response.js +15 -0
  104. package/lib/response/add-utility-nodes-response.js.map +1 -0
  105. package/lib/response/get-os-patch-details-response.d.ts +30 -0
  106. package/lib/response/get-os-patch-details-response.js +15 -0
  107. package/lib/response/get-os-patch-details-response.js.map +1 -0
  108. package/lib/response/index.d.ts +10 -0
  109. package/lib/response/install-os-patch-response.d.ts +25 -0
  110. package/lib/response/install-os-patch-response.js +15 -0
  111. package/lib/response/install-os-patch-response.js.map +1 -0
  112. package/lib/response/list-os-patches-response.d.ts +37 -0
  113. package/lib/response/list-os-patches-response.js +15 -0
  114. package/lib/response/list-os-patches-response.js.map +1 -0
  115. 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.63.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.65.0/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.63.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.65.0/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.63.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.65.0/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.63.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.65.0/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* () {
@@ -435,7 +435,7 @@ class BdsClient {
435
435
  * @param AddKafkaRequest
436
436
  * @return AddKafkaResponse
437
437
  * @throws OciError when an error occurs
438
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/AddKafka.ts.html |here} to see how to use AddKafka API.
438
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/AddKafka.ts.html |here} to see how to use AddKafka API.
439
439
  */
440
440
  addKafka(addKafkaRequest) {
441
441
  return __awaiter(this, void 0, void 0, function* () {
@@ -491,6 +491,132 @@ class BdsClient {
491
491
  }
492
492
  });
493
493
  }
494
+ /**
495
+ * Increases the size (scales out) of a cluster by adding master nodes. The added master nodes will have the same shape and will have the same amount of attached block storage as other master nodes in the cluster.
496
+ *
497
+ * This operation does not retry by default if the user has not defined a retry configuration.
498
+ * @param AddMasterNodesRequest
499
+ * @return AddMasterNodesResponse
500
+ * @throws OciError when an error occurs
501
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/AddMasterNodes.ts.html |here} to see how to use AddMasterNodes API.
502
+ */
503
+ addMasterNodes(addMasterNodesRequest) {
504
+ return __awaiter(this, void 0, void 0, function* () {
505
+ if (this.logger)
506
+ this.logger.debug("Calling operation BdsClient#addMasterNodes.");
507
+ const operationName = "addMasterNodes";
508
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddMasterNodes";
509
+ const pathParams = {
510
+ "{bdsInstanceId}": addMasterNodesRequest.bdsInstanceId
511
+ };
512
+ const queryParams = {};
513
+ let headerParams = {
514
+ "Content-Type": common.Constants.APPLICATION_JSON,
515
+ "opc-request-id": addMasterNodesRequest.opcRequestId,
516
+ "if-match": addMasterNodesRequest.ifMatch,
517
+ "opc-retry-token": addMasterNodesRequest.opcRetryToken
518
+ };
519
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
520
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addMasterNodesRequest.retryConfiguration, specRetryConfiguration);
521
+ if (this.logger)
522
+ retrier.logger = this.logger;
523
+ const request = yield oci_common_2.composeRequest({
524
+ baseEndpoint: this._endpoint,
525
+ defaultHeaders: this._defaultHeaders,
526
+ path: "/bdsInstances/{bdsInstanceId}/actions/addMasterNodes",
527
+ method: "POST",
528
+ bodyContent: common.ObjectSerializer.serialize(addMasterNodesRequest.addMasterNodesDetails, "AddMasterNodesDetails", model.AddMasterNodesDetails.getJsonObj),
529
+ pathParams: pathParams,
530
+ headerParams: headerParams,
531
+ queryParams: queryParams
532
+ });
533
+ try {
534
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
535
+ const sdkResponse = oci_common_2.composeResponse({
536
+ responseObject: {},
537
+ responseHeaders: [
538
+ {
539
+ value: response.headers.get("opc-request-id"),
540
+ key: "opcRequestId",
541
+ dataType: "string"
542
+ },
543
+ {
544
+ value: response.headers.get("opc-work-request-id"),
545
+ key: "opcWorkRequestId",
546
+ dataType: "string"
547
+ }
548
+ ]
549
+ });
550
+ return sdkResponse;
551
+ }
552
+ catch (err) {
553
+ throw err;
554
+ }
555
+ });
556
+ }
557
+ /**
558
+ * Increases the size (scales out) of a cluster by adding utility nodes. The added utility nodes will have the same shape and will have the same amount of attached block storage as other utility nodes in the cluster.
559
+ *
560
+ * This operation does not retry by default if the user has not defined a retry configuration.
561
+ * @param AddUtilityNodesRequest
562
+ * @return AddUtilityNodesResponse
563
+ * @throws OciError when an error occurs
564
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/AddUtilityNodes.ts.html |here} to see how to use AddUtilityNodes API.
565
+ */
566
+ addUtilityNodes(addUtilityNodesRequest) {
567
+ return __awaiter(this, void 0, void 0, function* () {
568
+ if (this.logger)
569
+ this.logger.debug("Calling operation BdsClient#addUtilityNodes.");
570
+ const operationName = "addUtilityNodes";
571
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddUtilityNodes";
572
+ const pathParams = {
573
+ "{bdsInstanceId}": addUtilityNodesRequest.bdsInstanceId
574
+ };
575
+ const queryParams = {};
576
+ let headerParams = {
577
+ "Content-Type": common.Constants.APPLICATION_JSON,
578
+ "opc-request-id": addUtilityNodesRequest.opcRequestId,
579
+ "if-match": addUtilityNodesRequest.ifMatch,
580
+ "opc-retry-token": addUtilityNodesRequest.opcRetryToken
581
+ };
582
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
583
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addUtilityNodesRequest.retryConfiguration, specRetryConfiguration);
584
+ if (this.logger)
585
+ retrier.logger = this.logger;
586
+ const request = yield oci_common_2.composeRequest({
587
+ baseEndpoint: this._endpoint,
588
+ defaultHeaders: this._defaultHeaders,
589
+ path: "/bdsInstances/{bdsInstanceId}/actions/addUtilityNodes",
590
+ method: "POST",
591
+ bodyContent: common.ObjectSerializer.serialize(addUtilityNodesRequest.addUtilityNodesDetails, "AddUtilityNodesDetails", model.AddUtilityNodesDetails.getJsonObj),
592
+ pathParams: pathParams,
593
+ headerParams: headerParams,
594
+ queryParams: queryParams
595
+ });
596
+ try {
597
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
598
+ const sdkResponse = oci_common_2.composeResponse({
599
+ responseObject: {},
600
+ responseHeaders: [
601
+ {
602
+ value: response.headers.get("opc-request-id"),
603
+ key: "opcRequestId",
604
+ dataType: "string"
605
+ },
606
+ {
607
+ value: response.headers.get("opc-work-request-id"),
608
+ key: "opcWorkRequestId",
609
+ dataType: "string"
610
+ }
611
+ ]
612
+ });
613
+ return sdkResponse;
614
+ }
615
+ catch (err) {
616
+ throw err;
617
+ }
618
+ });
619
+ }
494
620
  /**
495
621
  * 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.
496
622
  *
@@ -498,7 +624,7 @@ class BdsClient {
498
624
  * @param AddWorkerNodesRequest
499
625
  * @return AddWorkerNodesResponse
500
626
  * @throws OciError when an error occurs
501
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/AddWorkerNodes.ts.html |here} to see how to use AddWorkerNodes API.
627
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/AddWorkerNodes.ts.html |here} to see how to use AddWorkerNodes API.
502
628
  */
503
629
  addWorkerNodes(addWorkerNodesRequest) {
504
630
  return __awaiter(this, void 0, void 0, function* () {
@@ -561,7 +687,7 @@ class BdsClient {
561
687
  * @param ChangeBdsInstanceCompartmentRequest
562
688
  * @return ChangeBdsInstanceCompartmentResponse
563
689
  * @throws OciError when an error occurs
564
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/ChangeBdsInstanceCompartment.ts.html |here} to see how to use ChangeBdsInstanceCompartment API.
690
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/ChangeBdsInstanceCompartment.ts.html |here} to see how to use ChangeBdsInstanceCompartment API.
565
691
  */
566
692
  changeBdsInstanceCompartment(changeBdsInstanceCompartmentRequest) {
567
693
  return __awaiter(this, void 0, void 0, function* () {
@@ -624,7 +750,7 @@ class BdsClient {
624
750
  * @param ChangeShapeRequest
625
751
  * @return ChangeShapeResponse
626
752
  * @throws OciError when an error occurs
627
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/ChangeShape.ts.html |here} to see how to use ChangeShape API.
753
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/ChangeShape.ts.html |here} to see how to use ChangeShape API.
628
754
  */
629
755
  changeShape(changeShapeRequest) {
630
756
  return __awaiter(this, void 0, void 0, function* () {
@@ -687,7 +813,7 @@ class BdsClient {
687
813
  * @param CreateBdsApiKeyRequest
688
814
  * @return CreateBdsApiKeyResponse
689
815
  * @throws OciError when an error occurs
690
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/CreateBdsApiKey.ts.html |here} to see how to use CreateBdsApiKey API.
816
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/CreateBdsApiKey.ts.html |here} to see how to use CreateBdsApiKey API.
691
817
  */
692
818
  createBdsApiKey(createBdsApiKeyRequest) {
693
819
  return __awaiter(this, void 0, void 0, function* () {
@@ -749,7 +875,7 @@ class BdsClient {
749
875
  * @param CreateBdsInstanceRequest
750
876
  * @return CreateBdsInstanceResponse
751
877
  * @throws OciError when an error occurs
752
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/CreateBdsInstance.ts.html |here} to see how to use CreateBdsInstance API.
878
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/CreateBdsInstance.ts.html |here} to see how to use CreateBdsInstance API.
753
879
  */
754
880
  createBdsInstance(createBdsInstanceRequest) {
755
881
  return __awaiter(this, void 0, void 0, function* () {
@@ -809,7 +935,7 @@ class BdsClient {
809
935
  * @param CreateBdsMetastoreConfigurationRequest
810
936
  * @return CreateBdsMetastoreConfigurationResponse
811
937
  * @throws OciError when an error occurs
812
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/CreateBdsMetastoreConfiguration.ts.html |here} to see how to use CreateBdsMetastoreConfiguration API.
938
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/CreateBdsMetastoreConfiguration.ts.html |here} to see how to use CreateBdsMetastoreConfiguration API.
813
939
  */
814
940
  createBdsMetastoreConfiguration(createBdsMetastoreConfigurationRequest) {
815
941
  return __awaiter(this, void 0, void 0, function* () {
@@ -870,7 +996,7 @@ class BdsClient {
870
996
  * @param DeleteBdsApiKeyRequest
871
997
  * @return DeleteBdsApiKeyResponse
872
998
  * @throws OciError when an error occurs
873
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/DeleteBdsApiKey.ts.html |here} to see how to use DeleteBdsApiKey API.
999
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/DeleteBdsApiKey.ts.html |here} to see how to use DeleteBdsApiKey API.
874
1000
  */
875
1001
  deleteBdsApiKey(deleteBdsApiKeyRequest) {
876
1002
  return __awaiter(this, void 0, void 0, function* () {
@@ -931,7 +1057,7 @@ class BdsClient {
931
1057
  * @param DeleteBdsInstanceRequest
932
1058
  * @return DeleteBdsInstanceResponse
933
1059
  * @throws OciError when an error occurs
934
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/DeleteBdsInstance.ts.html |here} to see how to use DeleteBdsInstance API.
1060
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/DeleteBdsInstance.ts.html |here} to see how to use DeleteBdsInstance API.
935
1061
  */
936
1062
  deleteBdsInstance(deleteBdsInstanceRequest) {
937
1063
  return __awaiter(this, void 0, void 0, function* () {
@@ -991,7 +1117,7 @@ class BdsClient {
991
1117
  * @param DeleteBdsMetastoreConfigurationRequest
992
1118
  * @return DeleteBdsMetastoreConfigurationResponse
993
1119
  * @throws OciError when an error occurs
994
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/DeleteBdsMetastoreConfiguration.ts.html |here} to see how to use DeleteBdsMetastoreConfiguration API.
1120
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/DeleteBdsMetastoreConfiguration.ts.html |here} to see how to use DeleteBdsMetastoreConfiguration API.
995
1121
  */
996
1122
  deleteBdsMetastoreConfiguration(deleteBdsMetastoreConfigurationRequest) {
997
1123
  return __awaiter(this, void 0, void 0, function* () {
@@ -1053,7 +1179,7 @@ class BdsClient {
1053
1179
  * @param ExecuteBootstrapScriptRequest
1054
1180
  * @return ExecuteBootstrapScriptResponse
1055
1181
  * @throws OciError when an error occurs
1056
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/ExecuteBootstrapScript.ts.html |here} to see how to use ExecuteBootstrapScript API.
1182
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/ExecuteBootstrapScript.ts.html |here} to see how to use ExecuteBootstrapScript API.
1057
1183
  */
1058
1184
  executeBootstrapScript(executeBootstrapScriptRequest) {
1059
1185
  return __awaiter(this, void 0, void 0, function* () {
@@ -1116,7 +1242,7 @@ class BdsClient {
1116
1242
  * @param GetAutoScalingConfigurationRequest
1117
1243
  * @return GetAutoScalingConfigurationResponse
1118
1244
  * @throws OciError when an error occurs
1119
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/GetAutoScalingConfiguration.ts.html |here} to see how to use GetAutoScalingConfiguration API.
1245
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/GetAutoScalingConfiguration.ts.html |here} to see how to use GetAutoScalingConfiguration API.
1120
1246
  */
1121
1247
  getAutoScalingConfiguration(getAutoScalingConfigurationRequest) {
1122
1248
  return __awaiter(this, void 0, void 0, function* () {
@@ -1180,7 +1306,7 @@ class BdsClient {
1180
1306
  * @param GetBdsApiKeyRequest
1181
1307
  * @return GetBdsApiKeyResponse
1182
1308
  * @throws OciError when an error occurs
1183
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/GetBdsApiKey.ts.html |here} to see how to use GetBdsApiKey API.
1309
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/GetBdsApiKey.ts.html |here} to see how to use GetBdsApiKey API.
1184
1310
  */
1185
1311
  getBdsApiKey(getBdsApiKeyRequest) {
1186
1312
  return __awaiter(this, void 0, void 0, function* () {
@@ -1244,7 +1370,7 @@ class BdsClient {
1244
1370
  * @param GetBdsInstanceRequest
1245
1371
  * @return GetBdsInstanceResponse
1246
1372
  * @throws OciError when an error occurs
1247
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/GetBdsInstance.ts.html |here} to see how to use GetBdsInstance API.
1373
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/GetBdsInstance.ts.html |here} to see how to use GetBdsInstance API.
1248
1374
  */
1249
1375
  getBdsInstance(getBdsInstanceRequest) {
1250
1376
  return __awaiter(this, void 0, void 0, function* () {
@@ -1307,7 +1433,7 @@ class BdsClient {
1307
1433
  * @param GetBdsMetastoreConfigurationRequest
1308
1434
  * @return GetBdsMetastoreConfigurationResponse
1309
1435
  * @throws OciError when an error occurs
1310
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/GetBdsMetastoreConfiguration.ts.html |here} to see how to use GetBdsMetastoreConfiguration API.
1436
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/GetBdsMetastoreConfiguration.ts.html |here} to see how to use GetBdsMetastoreConfiguration API.
1311
1437
  */
1312
1438
  getBdsMetastoreConfiguration(getBdsMetastoreConfigurationRequest) {
1313
1439
  return __awaiter(this, void 0, void 0, function* () {
@@ -1365,13 +1491,80 @@ class BdsClient {
1365
1491
  }
1366
1492
  });
1367
1493
  }
1494
+ /**
1495
+ * Get the details of an os patch
1496
+ * This operation does not retry by default if the user has not defined a retry configuration.
1497
+ * @param GetOsPatchDetailsRequest
1498
+ * @return GetOsPatchDetailsResponse
1499
+ * @throws OciError when an error occurs
1500
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/GetOsPatchDetails.ts.html |here} to see how to use GetOsPatchDetails API.
1501
+ */
1502
+ getOsPatchDetails(getOsPatchDetailsRequest) {
1503
+ return __awaiter(this, void 0, void 0, function* () {
1504
+ if (this.logger)
1505
+ this.logger.debug("Calling operation BdsClient#getOsPatchDetails.");
1506
+ const operationName = "getOsPatchDetails";
1507
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetOsPatchDetails";
1508
+ const pathParams = {
1509
+ "{bdsInstanceId}": getOsPatchDetailsRequest.bdsInstanceId
1510
+ };
1511
+ const queryParams = {
1512
+ "osPatchVersion": getOsPatchDetailsRequest.osPatchVersion
1513
+ };
1514
+ let headerParams = {
1515
+ "Content-Type": common.Constants.APPLICATION_JSON,
1516
+ "opc-request-id": getOsPatchDetailsRequest.opcRequestId,
1517
+ "if-match": getOsPatchDetailsRequest.ifMatch,
1518
+ "opc-retry-token": getOsPatchDetailsRequest.opcRetryToken
1519
+ };
1520
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1521
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOsPatchDetailsRequest.retryConfiguration, specRetryConfiguration);
1522
+ if (this.logger)
1523
+ retrier.logger = this.logger;
1524
+ const request = yield oci_common_2.composeRequest({
1525
+ baseEndpoint: this._endpoint,
1526
+ defaultHeaders: this._defaultHeaders,
1527
+ path: "/bdsInstances/{bdsInstanceId}/actions/getOsPatch",
1528
+ method: "POST",
1529
+ pathParams: pathParams,
1530
+ headerParams: headerParams,
1531
+ queryParams: queryParams
1532
+ });
1533
+ try {
1534
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1535
+ const sdkResponse = oci_common_2.composeResponse({
1536
+ responseObject: {},
1537
+ body: yield response.json(),
1538
+ bodyKey: "osPatchDetails",
1539
+ bodyModel: model.OsPatchDetails,
1540
+ type: "model.OsPatchDetails",
1541
+ responseHeaders: [
1542
+ {
1543
+ value: response.headers.get("opc-request-id"),
1544
+ key: "opcRequestId",
1545
+ dataType: "string"
1546
+ },
1547
+ {
1548
+ value: response.headers.get("etag"),
1549
+ key: "etag",
1550
+ dataType: "string"
1551
+ }
1552
+ ]
1553
+ });
1554
+ return sdkResponse;
1555
+ }
1556
+ catch (err) {
1557
+ throw err;
1558
+ }
1559
+ });
1560
+ }
1368
1561
  /**
1369
1562
  * Returns the status of the work request identified by the given ID.
1370
1563
  * This operation does not retry by default if the user has not defined a retry configuration.
1371
1564
  * @param GetWorkRequestRequest
1372
1565
  * @return GetWorkRequestResponse
1373
1566
  * @throws OciError when an error occurs
1374
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1567
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1375
1568
  */
1376
1569
  getWorkRequest(getWorkRequestRequest) {
1377
1570
  return __awaiter(this, void 0, void 0, function* () {
@@ -1428,6 +1621,69 @@ class BdsClient {
1428
1621
  }
1429
1622
  });
1430
1623
  }
1624
+ /**
1625
+ * Install an os patch on a cluster
1626
+ *
1627
+ * This operation does not retry by default if the user has not defined a retry configuration.
1628
+ * @param InstallOsPatchRequest
1629
+ * @return InstallOsPatchResponse
1630
+ * @throws OciError when an error occurs
1631
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/InstallOsPatch.ts.html |here} to see how to use InstallOsPatch API.
1632
+ */
1633
+ installOsPatch(installOsPatchRequest) {
1634
+ return __awaiter(this, void 0, void 0, function* () {
1635
+ if (this.logger)
1636
+ this.logger.debug("Calling operation BdsClient#installOsPatch.");
1637
+ const operationName = "installOsPatch";
1638
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/InstallOsPatch";
1639
+ const pathParams = {
1640
+ "{bdsInstanceId}": installOsPatchRequest.bdsInstanceId
1641
+ };
1642
+ const queryParams = {};
1643
+ let headerParams = {
1644
+ "Content-Type": common.Constants.APPLICATION_JSON,
1645
+ "opc-request-id": installOsPatchRequest.opcRequestId,
1646
+ "if-match": installOsPatchRequest.ifMatch,
1647
+ "opc-retry-token": installOsPatchRequest.opcRetryToken
1648
+ };
1649
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1650
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, installOsPatchRequest.retryConfiguration, specRetryConfiguration);
1651
+ if (this.logger)
1652
+ retrier.logger = this.logger;
1653
+ const request = yield oci_common_2.composeRequest({
1654
+ baseEndpoint: this._endpoint,
1655
+ defaultHeaders: this._defaultHeaders,
1656
+ path: "/bdsInstances/{bdsInstanceId}/actions/installOsPatch",
1657
+ method: "POST",
1658
+ bodyContent: common.ObjectSerializer.serialize(installOsPatchRequest.installOsPatchDetails, "InstallOsPatchDetails", model.InstallOsPatchDetails.getJsonObj),
1659
+ pathParams: pathParams,
1660
+ headerParams: headerParams,
1661
+ queryParams: queryParams
1662
+ });
1663
+ try {
1664
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1665
+ const sdkResponse = oci_common_2.composeResponse({
1666
+ responseObject: {},
1667
+ responseHeaders: [
1668
+ {
1669
+ value: response.headers.get("opc-request-id"),
1670
+ key: "opcRequestId",
1671
+ dataType: "string"
1672
+ },
1673
+ {
1674
+ value: response.headers.get("opc-work-request-id"),
1675
+ key: "opcWorkRequestId",
1676
+ dataType: "string"
1677
+ }
1678
+ ]
1679
+ });
1680
+ return sdkResponse;
1681
+ }
1682
+ catch (err) {
1683
+ throw err;
1684
+ }
1685
+ });
1686
+ }
1431
1687
  /**
1432
1688
  * Install the specified patch to this cluster.
1433
1689
  *
@@ -1435,7 +1691,7 @@ class BdsClient {
1435
1691
  * @param InstallPatchRequest
1436
1692
  * @return InstallPatchResponse
1437
1693
  * @throws OciError when an error occurs
1438
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/InstallPatch.ts.html |here} to see how to use InstallPatch API.
1694
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/InstallPatch.ts.html |here} to see how to use InstallPatch API.
1439
1695
  */
1440
1696
  installPatch(installPatchRequest) {
1441
1697
  return __awaiter(this, void 0, void 0, function* () {
@@ -1498,7 +1754,7 @@ class BdsClient {
1498
1754
  * @param ListAutoScalingConfigurationsRequest
1499
1755
  * @return ListAutoScalingConfigurationsResponse
1500
1756
  * @throws OciError when an error occurs
1501
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/ListAutoScalingConfigurations.ts.html |here} to see how to use ListAutoScalingConfigurations API.
1757
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/ListAutoScalingConfigurations.ts.html |here} to see how to use ListAutoScalingConfigurations API.
1502
1758
  */
1503
1759
  listAutoScalingConfigurations(listAutoScalingConfigurationsRequest) {
1504
1760
  return __awaiter(this, void 0, void 0, function* () {
@@ -1610,7 +1866,7 @@ class BdsClient {
1610
1866
  * @param ListBdsApiKeysRequest
1611
1867
  * @return ListBdsApiKeysResponse
1612
1868
  * @throws OciError when an error occurs
1613
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/ListBdsApiKeys.ts.html |here} to see how to use ListBdsApiKeys API.
1869
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/ListBdsApiKeys.ts.html |here} to see how to use ListBdsApiKeys API.
1614
1870
  */
1615
1871
  listBdsApiKeys(listBdsApiKeysRequest) {
1616
1872
  return __awaiter(this, void 0, void 0, function* () {
@@ -1722,7 +1978,7 @@ class BdsClient {
1722
1978
  * @param ListBdsInstancesRequest
1723
1979
  * @return ListBdsInstancesResponse
1724
1980
  * @throws OciError when an error occurs
1725
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/ListBdsInstances.ts.html |here} to see how to use ListBdsInstances API.
1981
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/ListBdsInstances.ts.html |here} to see how to use ListBdsInstances API.
1726
1982
  */
1727
1983
  listBdsInstances(listBdsInstancesRequest) {
1728
1984
  return __awaiter(this, void 0, void 0, function* () {
@@ -1832,7 +2088,7 @@ class BdsClient {
1832
2088
  * @param ListBdsMetastoreConfigurationsRequest
1833
2089
  * @return ListBdsMetastoreConfigurationsResponse
1834
2090
  * @throws OciError when an error occurs
1835
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/ListBdsMetastoreConfigurations.ts.html |here} to see how to use ListBdsMetastoreConfigurations API.
2091
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/ListBdsMetastoreConfigurations.ts.html |here} to see how to use ListBdsMetastoreConfigurations API.
1836
2092
  */
1837
2093
  listBdsMetastoreConfigurations(listBdsMetastoreConfigurationsRequest) {
1838
2094
  return __awaiter(this, void 0, void 0, function* () {
@@ -1939,6 +2195,121 @@ class BdsClient {
1939
2195
  listBdsMetastoreConfigurationsResponseIterator(request) {
1940
2196
  return oci_common_1.paginateResponses(request, req => this.listBdsMetastoreConfigurations(req));
1941
2197
  }
2198
+ /**
2199
+ * List all available os patches for a given cluster
2200
+ * This operation does not retry by default if the user has not defined a retry configuration.
2201
+ * @param ListOsPatchesRequest
2202
+ * @return ListOsPatchesResponse
2203
+ * @throws OciError when an error occurs
2204
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/ListOsPatches.ts.html |here} to see how to use ListOsPatches API.
2205
+ */
2206
+ listOsPatches(listOsPatchesRequest) {
2207
+ return __awaiter(this, void 0, void 0, function* () {
2208
+ if (this.logger)
2209
+ this.logger.debug("Calling operation BdsClient#listOsPatches.");
2210
+ const operationName = "listOsPatches";
2211
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListOsPatches";
2212
+ const pathParams = {
2213
+ "{bdsInstanceId}": listOsPatchesRequest.bdsInstanceId
2214
+ };
2215
+ const queryParams = {
2216
+ "page": listOsPatchesRequest.page,
2217
+ "limit": listOsPatchesRequest.limit,
2218
+ "sortBy": listOsPatchesRequest.sortBy,
2219
+ "sortOrder": listOsPatchesRequest.sortOrder
2220
+ };
2221
+ let headerParams = {
2222
+ "Content-Type": common.Constants.APPLICATION_JSON,
2223
+ "opc-request-id": listOsPatchesRequest.opcRequestId,
2224
+ "if-match": listOsPatchesRequest.ifMatch,
2225
+ "opc-retry-token": listOsPatchesRequest.opcRetryToken
2226
+ };
2227
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2228
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOsPatchesRequest.retryConfiguration, specRetryConfiguration);
2229
+ if (this.logger)
2230
+ retrier.logger = this.logger;
2231
+ const request = yield oci_common_2.composeRequest({
2232
+ baseEndpoint: this._endpoint,
2233
+ defaultHeaders: this._defaultHeaders,
2234
+ path: "/bdsInstances/{bdsInstanceId}/actions/listOsPatches",
2235
+ method: "POST",
2236
+ pathParams: pathParams,
2237
+ headerParams: headerParams,
2238
+ queryParams: queryParams
2239
+ });
2240
+ try {
2241
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2242
+ const sdkResponse = oci_common_2.composeResponse({
2243
+ responseObject: {},
2244
+ body: yield response.json(),
2245
+ bodyKey: "items",
2246
+ bodyModel: model.OsPatchSummary,
2247
+ type: "Array<model.OsPatchSummary>",
2248
+ responseHeaders: [
2249
+ {
2250
+ value: response.headers.get("opc-next-page"),
2251
+ key: "opcNextPage",
2252
+ dataType: "string"
2253
+ },
2254
+ {
2255
+ value: response.headers.get("opc-request-id"),
2256
+ key: "opcRequestId",
2257
+ dataType: "string"
2258
+ },
2259
+ {
2260
+ value: response.headers.get("etag"),
2261
+ key: "etag",
2262
+ dataType: "string"
2263
+ }
2264
+ ]
2265
+ });
2266
+ return sdkResponse;
2267
+ }
2268
+ catch (err) {
2269
+ throw err;
2270
+ }
2271
+ });
2272
+ }
2273
+ /**
2274
+ * NOTE: This function is deprecated in favor of listOsPatchesRecordIterator function.
2275
+ * Creates a new async iterator which will iterate over the models.OsPatchSummary objects
2276
+ * contained in responses from the listOsPatches operation. This iterator will fetch more data from the
2277
+ * server as needed.
2278
+ *
2279
+ * @param request a request which can be sent to the service operation
2280
+ */
2281
+ listAllOsPatches(request) {
2282
+ return oci_common_1.paginateRecords(request, req => this.listOsPatches(req));
2283
+ }
2284
+ /**
2285
+ * NOTE: This function is deprecated in favor of listOsPatchesResponseIterator function.
2286
+ * Creates a new async iterator which will iterate over the responses received from the listOsPatches operation. This iterator
2287
+ * will fetch more data from the server as needed.
2288
+ *
2289
+ * @param request a request which can be sent to the service operation
2290
+ */
2291
+ listAllOsPatchesResponses(request) {
2292
+ return oci_common_1.paginateResponses(request, req => this.listOsPatches(req));
2293
+ }
2294
+ /**
2295
+ * Creates a new async iterator which will iterate over the models.OsPatchSummary objects
2296
+ * contained in responses from the listOsPatches operation. This iterator will fetch more data from the
2297
+ * server as needed.
2298
+ *
2299
+ * @param request a request which can be sent to the service operation
2300
+ */
2301
+ listOsPatchesRecordIterator(request) {
2302
+ return oci_common_1.paginateRecords(request, req => this.listOsPatches(req));
2303
+ }
2304
+ /**
2305
+ * Creates a new async iterator which will iterate over the responses received from the listOsPatches operation. This iterator
2306
+ * will fetch more data from the server as needed.
2307
+ *
2308
+ * @param request a request which can be sent to the service operation
2309
+ */
2310
+ listOsPatchesResponseIterator(request) {
2311
+ return oci_common_1.paginateResponses(request, req => this.listOsPatches(req));
2312
+ }
1942
2313
  /**
1943
2314
  * List the patch history of this cluster.
1944
2315
  *
@@ -1946,7 +2317,7 @@ class BdsClient {
1946
2317
  * @param ListPatchHistoriesRequest
1947
2318
  * @return ListPatchHistoriesResponse
1948
2319
  * @throws OciError when an error occurs
1949
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/ListPatchHistories.ts.html |here} to see how to use ListPatchHistories API.
2320
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/ListPatchHistories.ts.html |here} to see how to use ListPatchHistories API.
1950
2321
  */
1951
2322
  listPatchHistories(listPatchHistoriesRequest) {
1952
2323
  return __awaiter(this, void 0, void 0, function* () {
@@ -1963,7 +2334,8 @@ class BdsClient {
1963
2334
  "patchVersion": listPatchHistoriesRequest.patchVersion,
1964
2335
  "sortOrder": listPatchHistoriesRequest.sortOrder,
1965
2336
  "page": listPatchHistoriesRequest.page,
1966
- "limit": listPatchHistoriesRequest.limit
2337
+ "limit": listPatchHistoriesRequest.limit,
2338
+ "patchType": listPatchHistoriesRequest.patchType
1967
2339
  };
1968
2340
  let headerParams = {
1969
2341
  "Content-Type": common.Constants.APPLICATION_JSON,
@@ -2057,7 +2429,7 @@ class BdsClient {
2057
2429
  * @param ListPatchesRequest
2058
2430
  * @return ListPatchesResponse
2059
2431
  * @throws OciError when an error occurs
2060
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/ListPatches.ts.html |here} to see how to use ListPatches API.
2432
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/ListPatches.ts.html |here} to see how to use ListPatches API.
2061
2433
  */
2062
2434
  listPatches(listPatchesRequest) {
2063
2435
  return __awaiter(this, void 0, void 0, function* () {
@@ -2164,7 +2536,7 @@ class BdsClient {
2164
2536
  * @param ListWorkRequestErrorsRequest
2165
2537
  * @return ListWorkRequestErrorsResponse
2166
2538
  * @throws OciError when an error occurs
2167
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2539
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2168
2540
  */
2169
2541
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
2170
2542
  return __awaiter(this, void 0, void 0, function* () {
@@ -2273,7 +2645,7 @@ class BdsClient {
2273
2645
  * @param ListWorkRequestLogsRequest
2274
2646
  * @return ListWorkRequestLogsResponse
2275
2647
  * @throws OciError when an error occurs
2276
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2648
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2277
2649
  */
2278
2650
  listWorkRequestLogs(listWorkRequestLogsRequest) {
2279
2651
  return __awaiter(this, void 0, void 0, function* () {
@@ -2382,7 +2754,7 @@ class BdsClient {
2382
2754
  * @param ListWorkRequestsRequest
2383
2755
  * @return ListWorkRequestsResponse
2384
2756
  * @throws OciError when an error occurs
2385
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2757
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2386
2758
  */
2387
2759
  listWorkRequests(listWorkRequestsRequest) {
2388
2760
  return __awaiter(this, void 0, void 0, function* () {
@@ -2491,7 +2863,7 @@ class BdsClient {
2491
2863
  * @param RemoveAutoScalingConfigurationRequest
2492
2864
  * @return RemoveAutoScalingConfigurationResponse
2493
2865
  * @throws OciError when an error occurs
2494
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/RemoveAutoScalingConfiguration.ts.html |here} to see how to use RemoveAutoScalingConfiguration API.
2866
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/RemoveAutoScalingConfiguration.ts.html |here} to see how to use RemoveAutoScalingConfiguration API.
2495
2867
  */
2496
2868
  removeAutoScalingConfiguration(removeAutoScalingConfigurationRequest) {
2497
2869
  return __awaiter(this, void 0, void 0, function* () {
@@ -2555,7 +2927,7 @@ class BdsClient {
2555
2927
  * @param RemoveCloudSqlRequest
2556
2928
  * @return RemoveCloudSqlResponse
2557
2929
  * @throws OciError when an error occurs
2558
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/RemoveCloudSql.ts.html |here} to see how to use RemoveCloudSql API.
2930
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/RemoveCloudSql.ts.html |here} to see how to use RemoveCloudSql API.
2559
2931
  */
2560
2932
  removeCloudSql(removeCloudSqlRequest) {
2561
2933
  return __awaiter(this, void 0, void 0, function* () {
@@ -2618,7 +2990,7 @@ class BdsClient {
2618
2990
  * @param RemoveKafkaRequest
2619
2991
  * @return RemoveKafkaResponse
2620
2992
  * @throws OciError when an error occurs
2621
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/RemoveKafka.ts.html |here} to see how to use RemoveKafka API.
2993
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/RemoveKafka.ts.html |here} to see how to use RemoveKafka API.
2622
2994
  */
2623
2995
  removeKafka(removeKafkaRequest) {
2624
2996
  return __awaiter(this, void 0, void 0, function* () {
@@ -2681,7 +3053,7 @@ class BdsClient {
2681
3053
  * @param RemoveNodeRequest
2682
3054
  * @return RemoveNodeResponse
2683
3055
  * @throws OciError when an error occurs
2684
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/RemoveNode.ts.html |here} to see how to use RemoveNode API.
3056
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/RemoveNode.ts.html |here} to see how to use RemoveNode API.
2685
3057
  */
2686
3058
  removeNode(removeNodeRequest) {
2687
3059
  return __awaiter(this, void 0, void 0, function* () {
@@ -2743,7 +3115,7 @@ class BdsClient {
2743
3115
  * @param RestartNodeRequest
2744
3116
  * @return RestartNodeResponse
2745
3117
  * @throws OciError when an error occurs
2746
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/RestartNode.ts.html |here} to see how to use RestartNode API.
3118
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/RestartNode.ts.html |here} to see how to use RestartNode API.
2747
3119
  */
2748
3120
  restartNode(restartNodeRequest) {
2749
3121
  return __awaiter(this, void 0, void 0, function* () {
@@ -2806,7 +3178,7 @@ class BdsClient {
2806
3178
  * @param StartBdsInstanceRequest
2807
3179
  * @return StartBdsInstanceResponse
2808
3180
  * @throws OciError when an error occurs
2809
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/StartBdsInstance.ts.html |here} to see how to use StartBdsInstance API.
3181
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/StartBdsInstance.ts.html |here} to see how to use StartBdsInstance API.
2810
3182
  */
2811
3183
  startBdsInstance(startBdsInstanceRequest) {
2812
3184
  return __awaiter(this, void 0, void 0, function* () {
@@ -2868,7 +3240,7 @@ class BdsClient {
2868
3240
  * @param StopBdsInstanceRequest
2869
3241
  * @return StopBdsInstanceResponse
2870
3242
  * @throws OciError when an error occurs
2871
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/StopBdsInstance.ts.html |here} to see how to use StopBdsInstance API.
3243
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/StopBdsInstance.ts.html |here} to see how to use StopBdsInstance API.
2872
3244
  */
2873
3245
  stopBdsInstance(stopBdsInstanceRequest) {
2874
3246
  return __awaiter(this, void 0, void 0, function* () {
@@ -2930,7 +3302,7 @@ class BdsClient {
2930
3302
  * @param TestBdsMetastoreConfigurationRequest
2931
3303
  * @return TestBdsMetastoreConfigurationResponse
2932
3304
  * @throws OciError when an error occurs
2933
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/TestBdsMetastoreConfiguration.ts.html |here} to see how to use TestBdsMetastoreConfiguration API.
3305
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/TestBdsMetastoreConfiguration.ts.html |here} to see how to use TestBdsMetastoreConfiguration API.
2934
3306
  */
2935
3307
  testBdsMetastoreConfiguration(testBdsMetastoreConfigurationRequest) {
2936
3308
  return __awaiter(this, void 0, void 0, function* () {
@@ -2992,7 +3364,7 @@ class BdsClient {
2992
3364
  * @param TestBdsObjectStorageConnectionRequest
2993
3365
  * @return TestBdsObjectStorageConnectionResponse
2994
3366
  * @throws OciError when an error occurs
2995
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/TestBdsObjectStorageConnection.ts.html |here} to see how to use TestBdsObjectStorageConnection API.
3367
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/TestBdsObjectStorageConnection.ts.html |here} to see how to use TestBdsObjectStorageConnection API.
2996
3368
  */
2997
3369
  testBdsObjectStorageConnection(testBdsObjectStorageConnectionRequest) {
2998
3370
  return __awaiter(this, void 0, void 0, function* () {
@@ -3054,7 +3426,7 @@ class BdsClient {
3054
3426
  * @param UpdateAutoScalingConfigurationRequest
3055
3427
  * @return UpdateAutoScalingConfigurationResponse
3056
3428
  * @throws OciError when an error occurs
3057
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/UpdateAutoScalingConfiguration.ts.html |here} to see how to use UpdateAutoScalingConfiguration API.
3429
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/UpdateAutoScalingConfiguration.ts.html |here} to see how to use UpdateAutoScalingConfiguration API.
3058
3430
  */
3059
3431
  updateAutoScalingConfiguration(updateAutoScalingConfigurationRequest) {
3060
3432
  return __awaiter(this, void 0, void 0, function* () {
@@ -3117,7 +3489,7 @@ class BdsClient {
3117
3489
  * @param UpdateBdsInstanceRequest
3118
3490
  * @return UpdateBdsInstanceResponse
3119
3491
  * @throws OciError when an error occurs
3120
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/UpdateBdsInstance.ts.html |here} to see how to use UpdateBdsInstance API.
3492
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/UpdateBdsInstance.ts.html |here} to see how to use UpdateBdsInstance API.
3121
3493
  */
3122
3494
  updateBdsInstance(updateBdsInstanceRequest) {
3123
3495
  return __awaiter(this, void 0, void 0, function* () {
@@ -3178,7 +3550,7 @@ class BdsClient {
3178
3550
  * @param UpdateBdsMetastoreConfigurationRequest
3179
3551
  * @return UpdateBdsMetastoreConfigurationResponse
3180
3552
  * @throws OciError when an error occurs
3181
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/bds/UpdateBdsMetastoreConfiguration.ts.html |here} to see how to use UpdateBdsMetastoreConfiguration API.
3553
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.65.0/bds/UpdateBdsMetastoreConfiguration.ts.html |here} to see how to use UpdateBdsMetastoreConfiguration API.
3182
3554
  */
3183
3555
  updateBdsMetastoreConfiguration(updateBdsMetastoreConfigurationRequest) {
3184
3556
  return __awaiter(this, void 0, void 0, function* () {