oci-bds 2.73.1 → 2.75.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 (108) hide show
  1. package/lib/client.d.ts +87 -47
  2. package/lib/client.js +303 -47
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/certificate-service-info-details.d.ts +27 -0
  5. package/lib/model/certificate-service-info-details.js +62 -0
  6. package/lib/model/certificate-service-info-details.js.map +1 -0
  7. package/lib/model/certificate-service-info-summary.d.ts +63 -0
  8. package/lib/model/certificate-service-info-summary.js +92 -0
  9. package/lib/model/certificate-service-info-summary.js.map +1 -0
  10. package/lib/model/disable-certificate-details.d.ts +31 -0
  11. package/lib/model/disable-certificate-details.js +62 -0
  12. package/lib/model/disable-certificate-details.js.map +1 -0
  13. package/lib/model/enable-certificate-details.d.ts +43 -0
  14. package/lib/model/enable-certificate-details.js +72 -0
  15. package/lib/model/enable-certificate-details.js.map +1 -0
  16. package/lib/model/host-cert-details.d.ts +34 -0
  17. package/lib/model/host-cert-details.js +30 -0
  18. package/lib/model/host-cert-details.js.map +1 -0
  19. package/lib/model/host-specific-certificate-details.d.ts +43 -0
  20. package/lib/model/host-specific-certificate-details.js +40 -0
  21. package/lib/model/host-specific-certificate-details.js.map +1 -0
  22. package/lib/model/index.d.ts +16 -0
  23. package/lib/model/index.js +18 -2
  24. package/lib/model/index.js.map +1 -1
  25. package/lib/model/operation-types.d.ts +1 -0
  26. package/lib/model/operation-types.js +1 -0
  27. package/lib/model/operation-types.js.map +1 -1
  28. package/lib/model/renew-certificate-details.d.ts +43 -0
  29. package/lib/model/renew-certificate-details.js +72 -0
  30. package/lib/model/renew-certificate-details.js.map +1 -0
  31. package/lib/model/service.d.ts +34 -0
  32. package/lib/model/service.js +45 -0
  33. package/lib/model/service.js.map +1 -0
  34. package/lib/request/activate-bds-metastore-configuration-request.d.ts +1 -1
  35. package/lib/request/add-auto-scaling-configuration-request.d.ts +1 -1
  36. package/lib/request/add-block-storage-request.d.ts +1 -1
  37. package/lib/request/add-cloud-sql-request.d.ts +1 -1
  38. package/lib/request/add-kafka-request.d.ts +1 -1
  39. package/lib/request/add-master-nodes-request.d.ts +1 -1
  40. package/lib/request/add-utility-nodes-request.d.ts +1 -1
  41. package/lib/request/add-worker-nodes-request.d.ts +1 -1
  42. package/lib/request/certificate-service-info-request.d.ts +49 -0
  43. package/lib/request/certificate-service-info-request.js +15 -0
  44. package/lib/request/certificate-service-info-request.js.map +1 -0
  45. package/lib/request/change-bds-instance-compartment-request.d.ts +1 -1
  46. package/lib/request/change-shape-request.d.ts +1 -1
  47. package/lib/request/create-bds-api-key-request.d.ts +1 -1
  48. package/lib/request/create-bds-instance-request.d.ts +1 -1
  49. package/lib/request/create-bds-metastore-configuration-request.d.ts +1 -1
  50. package/lib/request/delete-bds-api-key-request.d.ts +1 -1
  51. package/lib/request/delete-bds-instance-request.d.ts +1 -1
  52. package/lib/request/delete-bds-metastore-configuration-request.d.ts +1 -1
  53. package/lib/request/disable-certificate-request.d.ts +49 -0
  54. package/lib/request/disable-certificate-request.js +15 -0
  55. package/lib/request/disable-certificate-request.js.map +1 -0
  56. package/lib/request/enable-certificate-request.d.ts +49 -0
  57. package/lib/request/enable-certificate-request.js +15 -0
  58. package/lib/request/enable-certificate-request.js.map +1 -0
  59. package/lib/request/execute-bootstrap-script-request.d.ts +1 -1
  60. package/lib/request/get-auto-scaling-configuration-request.d.ts +1 -1
  61. package/lib/request/get-bds-api-key-request.d.ts +1 -1
  62. package/lib/request/get-bds-instance-request.d.ts +1 -1
  63. package/lib/request/get-bds-metastore-configuration-request.d.ts +1 -1
  64. package/lib/request/get-os-patch-details-request.d.ts +1 -1
  65. package/lib/request/get-work-request-request.d.ts +1 -1
  66. package/lib/request/index.d.ts +8 -0
  67. package/lib/request/index.js.map +1 -1
  68. package/lib/request/install-os-patch-request.d.ts +1 -1
  69. package/lib/request/install-patch-request.d.ts +1 -1
  70. package/lib/request/list-auto-scaling-configurations-request.d.ts +1 -1
  71. package/lib/request/list-bds-api-keys-request.d.ts +1 -1
  72. package/lib/request/list-bds-instances-request.d.ts +1 -1
  73. package/lib/request/list-bds-metastore-configurations-request.d.ts +1 -1
  74. package/lib/request/list-os-patches-request.d.ts +1 -1
  75. package/lib/request/list-patch-histories-request.d.ts +1 -1
  76. package/lib/request/list-patches-request.d.ts +1 -1
  77. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  78. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  79. package/lib/request/list-work-requests-request.d.ts +1 -1
  80. package/lib/request/remove-auto-scaling-configuration-request.d.ts +1 -1
  81. package/lib/request/remove-cloud-sql-request.d.ts +1 -1
  82. package/lib/request/remove-kafka-request.d.ts +1 -1
  83. package/lib/request/remove-node-request.d.ts +1 -1
  84. package/lib/request/renew-certificate-request.d.ts +49 -0
  85. package/lib/request/renew-certificate-request.js +15 -0
  86. package/lib/request/renew-certificate-request.js.map +1 -0
  87. package/lib/request/restart-node-request.d.ts +1 -1
  88. package/lib/request/start-bds-instance-request.d.ts +1 -1
  89. package/lib/request/stop-bds-instance-request.d.ts +1 -1
  90. package/lib/request/test-bds-metastore-configuration-request.d.ts +1 -1
  91. package/lib/request/test-bds-object-storage-connection-request.d.ts +1 -1
  92. package/lib/request/update-auto-scaling-configuration-request.d.ts +1 -1
  93. package/lib/request/update-bds-instance-request.d.ts +1 -1
  94. package/lib/request/update-bds-metastore-configuration-request.d.ts +1 -1
  95. package/lib/response/certificate-service-info-response.d.ts +30 -0
  96. package/lib/response/certificate-service-info-response.js +15 -0
  97. package/lib/response/certificate-service-info-response.js.map +1 -0
  98. package/lib/response/disable-certificate-response.d.ts +25 -0
  99. package/lib/response/disable-certificate-response.js +15 -0
  100. package/lib/response/disable-certificate-response.js.map +1 -0
  101. package/lib/response/enable-certificate-response.d.ts +25 -0
  102. package/lib/response/enable-certificate-response.js +15 -0
  103. package/lib/response/enable-certificate-response.js.map +1 -0
  104. package/lib/response/index.d.ts +8 -0
  105. package/lib/response/renew-certificate-response.d.ts +25 -0
  106. package/lib/response/renew-certificate-response.js +15 -0
  107. package/lib/response/renew-certificate-response.js.map +1 -0
  108. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -186,7 +186,7 @@ class BdsClient {
186
186
  * @param ActivateBdsMetastoreConfigurationRequest
187
187
  * @return ActivateBdsMetastoreConfigurationResponse
188
188
  * @throws OciError when an error occurs
189
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/ActivateBdsMetastoreConfiguration.ts.html |here} to see how to use ActivateBdsMetastoreConfiguration API.
189
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/ActivateBdsMetastoreConfiguration.ts.html |here} to see how to use ActivateBdsMetastoreConfiguration API.
190
190
  */
191
191
  activateBdsMetastoreConfiguration(activateBdsMetastoreConfigurationRequest) {
192
192
  return __awaiter(this, void 0, void 0, function* () {
@@ -250,7 +250,7 @@ class BdsClient {
250
250
  * @param AddAutoScalingConfigurationRequest
251
251
  * @return AddAutoScalingConfigurationResponse
252
252
  * @throws OciError when an error occurs
253
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/AddAutoScalingConfiguration.ts.html |here} to see how to use AddAutoScalingConfiguration API.
253
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/AddAutoScalingConfiguration.ts.html |here} to see how to use AddAutoScalingConfiguration API.
254
254
  */
255
255
  addAutoScalingConfiguration(addAutoScalingConfigurationRequest) {
256
256
  return __awaiter(this, void 0, void 0, function* () {
@@ -313,7 +313,7 @@ class BdsClient {
313
313
  * @param AddBlockStorageRequest
314
314
  * @return AddBlockStorageResponse
315
315
  * @throws OciError when an error occurs
316
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/AddBlockStorage.ts.html |here} to see how to use AddBlockStorage API.
316
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/AddBlockStorage.ts.html |here} to see how to use AddBlockStorage API.
317
317
  */
318
318
  addBlockStorage(addBlockStorageRequest) {
319
319
  return __awaiter(this, void 0, void 0, function* () {
@@ -376,7 +376,7 @@ class BdsClient {
376
376
  * @param AddCloudSqlRequest
377
377
  * @return AddCloudSqlResponse
378
378
  * @throws OciError when an error occurs
379
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/AddCloudSql.ts.html |here} to see how to use AddCloudSql API.
379
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/AddCloudSql.ts.html |here} to see how to use AddCloudSql API.
380
380
  */
381
381
  addCloudSql(addCloudSqlRequest) {
382
382
  return __awaiter(this, void 0, void 0, function* () {
@@ -439,7 +439,7 @@ class BdsClient {
439
439
  * @param AddKafkaRequest
440
440
  * @return AddKafkaResponse
441
441
  * @throws OciError when an error occurs
442
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/AddKafka.ts.html |here} to see how to use AddKafka API.
442
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/AddKafka.ts.html |here} to see how to use AddKafka API.
443
443
  */
444
444
  addKafka(addKafkaRequest) {
445
445
  return __awaiter(this, void 0, void 0, function* () {
@@ -502,7 +502,7 @@ class BdsClient {
502
502
  * @param AddMasterNodesRequest
503
503
  * @return AddMasterNodesResponse
504
504
  * @throws OciError when an error occurs
505
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/AddMasterNodes.ts.html |here} to see how to use AddMasterNodes API.
505
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/AddMasterNodes.ts.html |here} to see how to use AddMasterNodes API.
506
506
  */
507
507
  addMasterNodes(addMasterNodesRequest) {
508
508
  return __awaiter(this, void 0, void 0, function* () {
@@ -565,7 +565,7 @@ class BdsClient {
565
565
  * @param AddUtilityNodesRequest
566
566
  * @return AddUtilityNodesResponse
567
567
  * @throws OciError when an error occurs
568
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/AddUtilityNodes.ts.html |here} to see how to use AddUtilityNodes API.
568
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/AddUtilityNodes.ts.html |here} to see how to use AddUtilityNodes API.
569
569
  */
570
570
  addUtilityNodes(addUtilityNodesRequest) {
571
571
  return __awaiter(this, void 0, void 0, function* () {
@@ -628,7 +628,7 @@ class BdsClient {
628
628
  * @param AddWorkerNodesRequest
629
629
  * @return AddWorkerNodesResponse
630
630
  * @throws OciError when an error occurs
631
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/AddWorkerNodes.ts.html |here} to see how to use AddWorkerNodes API.
631
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/AddWorkerNodes.ts.html |here} to see how to use AddWorkerNodes API.
632
632
  */
633
633
  addWorkerNodes(addWorkerNodesRequest) {
634
634
  return __awaiter(this, void 0, void 0, function* () {
@@ -684,6 +684,73 @@ class BdsClient {
684
684
  }
685
685
  });
686
686
  }
687
+ /**
688
+ * A list of services and their certificate details.
689
+ *
690
+ * This operation does not retry by default if the user has not defined a retry configuration.
691
+ * @param CertificateServiceInfoRequest
692
+ * @return CertificateServiceInfoResponse
693
+ * @throws OciError when an error occurs
694
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/CertificateServiceInfo.ts.html |here} to see how to use CertificateServiceInfo API.
695
+ */
696
+ certificateServiceInfo(certificateServiceInfoRequest) {
697
+ return __awaiter(this, void 0, void 0, function* () {
698
+ if (this.logger)
699
+ this.logger.debug("Calling operation BdsClient#certificateServiceInfo.");
700
+ const operationName = "certificateServiceInfo";
701
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CertificateServiceInfo";
702
+ const pathParams = {
703
+ "{bdsInstanceId}": certificateServiceInfoRequest.bdsInstanceId
704
+ };
705
+ const queryParams = {};
706
+ let headerParams = {
707
+ "Content-Type": common.Constants.APPLICATION_JSON,
708
+ "opc-request-id": certificateServiceInfoRequest.opcRequestId,
709
+ "if-match": certificateServiceInfoRequest.ifMatch,
710
+ "opc-retry-token": certificateServiceInfoRequest.opcRetryToken
711
+ };
712
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
713
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, certificateServiceInfoRequest.retryConfiguration, specRetryConfiguration);
714
+ if (this.logger)
715
+ retrier.logger = this.logger;
716
+ const request = yield oci_common_2.composeRequest({
717
+ baseEndpoint: this._endpoint,
718
+ defaultHeaders: this._defaultHeaders,
719
+ path: "/bdsInstances/{bdsInstanceId}/actions/fetchOdhServiceCertificate",
720
+ method: "POST",
721
+ bodyContent: common.ObjectSerializer.serialize(certificateServiceInfoRequest.certificateServiceInfoDetails, "CertificateServiceInfoDetails", model.CertificateServiceInfoDetails.getJsonObj),
722
+ pathParams: pathParams,
723
+ headerParams: headerParams,
724
+ queryParams: queryParams
725
+ });
726
+ try {
727
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
728
+ const sdkResponse = oci_common_2.composeResponse({
729
+ responseObject: {},
730
+ body: yield response.json(),
731
+ bodyKey: "items",
732
+ bodyModel: model.CertificateServiceInfoSummary,
733
+ type: "Array<model.CertificateServiceInfoSummary>",
734
+ responseHeaders: [
735
+ {
736
+ value: response.headers.get("opc-request-id"),
737
+ key: "opcRequestId",
738
+ dataType: "string"
739
+ },
740
+ {
741
+ value: response.headers.get("etag"),
742
+ key: "etag",
743
+ dataType: "string"
744
+ }
745
+ ]
746
+ });
747
+ return sdkResponse;
748
+ }
749
+ catch (err) {
750
+ throw err;
751
+ }
752
+ });
753
+ }
687
754
  /**
688
755
  * Moves a Big Data Service cluster into a different compartment.
689
756
  *
@@ -691,7 +758,7 @@ class BdsClient {
691
758
  * @param ChangeBdsInstanceCompartmentRequest
692
759
  * @return ChangeBdsInstanceCompartmentResponse
693
760
  * @throws OciError when an error occurs
694
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/ChangeBdsInstanceCompartment.ts.html |here} to see how to use ChangeBdsInstanceCompartment API.
761
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/ChangeBdsInstanceCompartment.ts.html |here} to see how to use ChangeBdsInstanceCompartment API.
695
762
  */
696
763
  changeBdsInstanceCompartment(changeBdsInstanceCompartmentRequest) {
697
764
  return __awaiter(this, void 0, void 0, function* () {
@@ -754,7 +821,7 @@ class BdsClient {
754
821
  * @param ChangeShapeRequest
755
822
  * @return ChangeShapeResponse
756
823
  * @throws OciError when an error occurs
757
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/ChangeShape.ts.html |here} to see how to use ChangeShape API.
824
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/ChangeShape.ts.html |here} to see how to use ChangeShape API.
758
825
  */
759
826
  changeShape(changeShapeRequest) {
760
827
  return __awaiter(this, void 0, void 0, function* () {
@@ -817,7 +884,7 @@ class BdsClient {
817
884
  * @param CreateBdsApiKeyRequest
818
885
  * @return CreateBdsApiKeyResponse
819
886
  * @throws OciError when an error occurs
820
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/CreateBdsApiKey.ts.html |here} to see how to use CreateBdsApiKey API.
887
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/CreateBdsApiKey.ts.html |here} to see how to use CreateBdsApiKey API.
821
888
  */
822
889
  createBdsApiKey(createBdsApiKeyRequest) {
823
890
  return __awaiter(this, void 0, void 0, function* () {
@@ -879,7 +946,7 @@ class BdsClient {
879
946
  * @param CreateBdsInstanceRequest
880
947
  * @return CreateBdsInstanceResponse
881
948
  * @throws OciError when an error occurs
882
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/CreateBdsInstance.ts.html |here} to see how to use CreateBdsInstance API.
949
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/CreateBdsInstance.ts.html |here} to see how to use CreateBdsInstance API.
883
950
  */
884
951
  createBdsInstance(createBdsInstanceRequest) {
885
952
  return __awaiter(this, void 0, void 0, function* () {
@@ -939,7 +1006,7 @@ class BdsClient {
939
1006
  * @param CreateBdsMetastoreConfigurationRequest
940
1007
  * @return CreateBdsMetastoreConfigurationResponse
941
1008
  * @throws OciError when an error occurs
942
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/CreateBdsMetastoreConfiguration.ts.html |here} to see how to use CreateBdsMetastoreConfiguration API.
1009
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/CreateBdsMetastoreConfiguration.ts.html |here} to see how to use CreateBdsMetastoreConfiguration API.
943
1010
  */
944
1011
  createBdsMetastoreConfiguration(createBdsMetastoreConfigurationRequest) {
945
1012
  return __awaiter(this, void 0, void 0, function* () {
@@ -1000,7 +1067,7 @@ class BdsClient {
1000
1067
  * @param DeleteBdsApiKeyRequest
1001
1068
  * @return DeleteBdsApiKeyResponse
1002
1069
  * @throws OciError when an error occurs
1003
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/DeleteBdsApiKey.ts.html |here} to see how to use DeleteBdsApiKey API.
1070
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/DeleteBdsApiKey.ts.html |here} to see how to use DeleteBdsApiKey API.
1004
1071
  */
1005
1072
  deleteBdsApiKey(deleteBdsApiKeyRequest) {
1006
1073
  return __awaiter(this, void 0, void 0, function* () {
@@ -1061,7 +1128,7 @@ class BdsClient {
1061
1128
  * @param DeleteBdsInstanceRequest
1062
1129
  * @return DeleteBdsInstanceResponse
1063
1130
  * @throws OciError when an error occurs
1064
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/DeleteBdsInstance.ts.html |here} to see how to use DeleteBdsInstance API.
1131
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/DeleteBdsInstance.ts.html |here} to see how to use DeleteBdsInstance API.
1065
1132
  */
1066
1133
  deleteBdsInstance(deleteBdsInstanceRequest) {
1067
1134
  return __awaiter(this, void 0, void 0, function* () {
@@ -1121,7 +1188,7 @@ class BdsClient {
1121
1188
  * @param DeleteBdsMetastoreConfigurationRequest
1122
1189
  * @return DeleteBdsMetastoreConfigurationResponse
1123
1190
  * @throws OciError when an error occurs
1124
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/DeleteBdsMetastoreConfiguration.ts.html |here} to see how to use DeleteBdsMetastoreConfiguration API.
1191
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/DeleteBdsMetastoreConfiguration.ts.html |here} to see how to use DeleteBdsMetastoreConfiguration API.
1125
1192
  */
1126
1193
  deleteBdsMetastoreConfiguration(deleteBdsMetastoreConfigurationRequest) {
1127
1194
  return __awaiter(this, void 0, void 0, function* () {
@@ -1176,6 +1243,132 @@ class BdsClient {
1176
1243
  }
1177
1244
  });
1178
1245
  }
1246
+ /**
1247
+ * Disabling TLS/SSL for various ODH services running on the BDS cluster.
1248
+ *
1249
+ * This operation does not retry by default if the user has not defined a retry configuration.
1250
+ * @param DisableCertificateRequest
1251
+ * @return DisableCertificateResponse
1252
+ * @throws OciError when an error occurs
1253
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/DisableCertificate.ts.html |here} to see how to use DisableCertificate API.
1254
+ */
1255
+ disableCertificate(disableCertificateRequest) {
1256
+ return __awaiter(this, void 0, void 0, function* () {
1257
+ if (this.logger)
1258
+ this.logger.debug("Calling operation BdsClient#disableCertificate.");
1259
+ const operationName = "disableCertificate";
1260
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/DisableCertificate";
1261
+ const pathParams = {
1262
+ "{bdsInstanceId}": disableCertificateRequest.bdsInstanceId
1263
+ };
1264
+ const queryParams = {};
1265
+ let headerParams = {
1266
+ "Content-Type": common.Constants.APPLICATION_JSON,
1267
+ "opc-request-id": disableCertificateRequest.opcRequestId,
1268
+ "if-match": disableCertificateRequest.ifMatch,
1269
+ "opc-retry-token": disableCertificateRequest.opcRetryToken
1270
+ };
1271
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1272
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableCertificateRequest.retryConfiguration, specRetryConfiguration);
1273
+ if (this.logger)
1274
+ retrier.logger = this.logger;
1275
+ const request = yield oci_common_2.composeRequest({
1276
+ baseEndpoint: this._endpoint,
1277
+ defaultHeaders: this._defaultHeaders,
1278
+ path: "/bdsInstances/{bdsInstanceId}/actions/disableOdhServiceCertificate",
1279
+ method: "POST",
1280
+ bodyContent: common.ObjectSerializer.serialize(disableCertificateRequest.disableCertificateDetails, "DisableCertificateDetails", model.DisableCertificateDetails.getJsonObj),
1281
+ pathParams: pathParams,
1282
+ headerParams: headerParams,
1283
+ queryParams: queryParams
1284
+ });
1285
+ try {
1286
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1287
+ const sdkResponse = oci_common_2.composeResponse({
1288
+ responseObject: {},
1289
+ responseHeaders: [
1290
+ {
1291
+ value: response.headers.get("opc-request-id"),
1292
+ key: "opcRequestId",
1293
+ dataType: "string"
1294
+ },
1295
+ {
1296
+ value: response.headers.get("opc-work-request-id"),
1297
+ key: "opcWorkRequestId",
1298
+ dataType: "string"
1299
+ }
1300
+ ]
1301
+ });
1302
+ return sdkResponse;
1303
+ }
1304
+ catch (err) {
1305
+ throw err;
1306
+ }
1307
+ });
1308
+ }
1309
+ /**
1310
+ * Configuring TLS/SSL for various ODH services running on the BDS cluster.
1311
+ *
1312
+ * This operation does not retry by default if the user has not defined a retry configuration.
1313
+ * @param EnableCertificateRequest
1314
+ * @return EnableCertificateResponse
1315
+ * @throws OciError when an error occurs
1316
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/EnableCertificate.ts.html |here} to see how to use EnableCertificate API.
1317
+ */
1318
+ enableCertificate(enableCertificateRequest) {
1319
+ return __awaiter(this, void 0, void 0, function* () {
1320
+ if (this.logger)
1321
+ this.logger.debug("Calling operation BdsClient#enableCertificate.");
1322
+ const operationName = "enableCertificate";
1323
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/EnableCertificate";
1324
+ const pathParams = {
1325
+ "{bdsInstanceId}": enableCertificateRequest.bdsInstanceId
1326
+ };
1327
+ const queryParams = {};
1328
+ let headerParams = {
1329
+ "Content-Type": common.Constants.APPLICATION_JSON,
1330
+ "opc-request-id": enableCertificateRequest.opcRequestId,
1331
+ "if-match": enableCertificateRequest.ifMatch,
1332
+ "opc-retry-token": enableCertificateRequest.opcRetryToken
1333
+ };
1334
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1335
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableCertificateRequest.retryConfiguration, specRetryConfiguration);
1336
+ if (this.logger)
1337
+ retrier.logger = this.logger;
1338
+ const request = yield oci_common_2.composeRequest({
1339
+ baseEndpoint: this._endpoint,
1340
+ defaultHeaders: this._defaultHeaders,
1341
+ path: "/bdsInstances/{bdsInstanceId}/actions/enableOdhServiceCertificate",
1342
+ method: "POST",
1343
+ bodyContent: common.ObjectSerializer.serialize(enableCertificateRequest.enableCertificateDetails, "EnableCertificateDetails", model.EnableCertificateDetails.getJsonObj),
1344
+ pathParams: pathParams,
1345
+ headerParams: headerParams,
1346
+ queryParams: queryParams
1347
+ });
1348
+ try {
1349
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1350
+ const sdkResponse = oci_common_2.composeResponse({
1351
+ responseObject: {},
1352
+ responseHeaders: [
1353
+ {
1354
+ value: response.headers.get("opc-request-id"),
1355
+ key: "opcRequestId",
1356
+ dataType: "string"
1357
+ },
1358
+ {
1359
+ value: response.headers.get("opc-work-request-id"),
1360
+ key: "opcWorkRequestId",
1361
+ dataType: "string"
1362
+ }
1363
+ ]
1364
+ });
1365
+ return sdkResponse;
1366
+ }
1367
+ catch (err) {
1368
+ throw err;
1369
+ }
1370
+ });
1371
+ }
1179
1372
  /**
1180
1373
  * Execute bootstrap script.
1181
1374
  *
@@ -1183,7 +1376,7 @@ class BdsClient {
1183
1376
  * @param ExecuteBootstrapScriptRequest
1184
1377
  * @return ExecuteBootstrapScriptResponse
1185
1378
  * @throws OciError when an error occurs
1186
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/ExecuteBootstrapScript.ts.html |here} to see how to use ExecuteBootstrapScript API.
1379
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/ExecuteBootstrapScript.ts.html |here} to see how to use ExecuteBootstrapScript API.
1187
1380
  */
1188
1381
  executeBootstrapScript(executeBootstrapScriptRequest) {
1189
1382
  return __awaiter(this, void 0, void 0, function* () {
@@ -1246,7 +1439,7 @@ class BdsClient {
1246
1439
  * @param GetAutoScalingConfigurationRequest
1247
1440
  * @return GetAutoScalingConfigurationResponse
1248
1441
  * @throws OciError when an error occurs
1249
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/GetAutoScalingConfiguration.ts.html |here} to see how to use GetAutoScalingConfiguration API.
1442
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/GetAutoScalingConfiguration.ts.html |here} to see how to use GetAutoScalingConfiguration API.
1250
1443
  */
1251
1444
  getAutoScalingConfiguration(getAutoScalingConfigurationRequest) {
1252
1445
  return __awaiter(this, void 0, void 0, function* () {
@@ -1310,7 +1503,7 @@ class BdsClient {
1310
1503
  * @param GetBdsApiKeyRequest
1311
1504
  * @return GetBdsApiKeyResponse
1312
1505
  * @throws OciError when an error occurs
1313
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/GetBdsApiKey.ts.html |here} to see how to use GetBdsApiKey API.
1506
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/GetBdsApiKey.ts.html |here} to see how to use GetBdsApiKey API.
1314
1507
  */
1315
1508
  getBdsApiKey(getBdsApiKeyRequest) {
1316
1509
  return __awaiter(this, void 0, void 0, function* () {
@@ -1374,7 +1567,7 @@ class BdsClient {
1374
1567
  * @param GetBdsInstanceRequest
1375
1568
  * @return GetBdsInstanceResponse
1376
1569
  * @throws OciError when an error occurs
1377
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/GetBdsInstance.ts.html |here} to see how to use GetBdsInstance API.
1570
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/GetBdsInstance.ts.html |here} to see how to use GetBdsInstance API.
1378
1571
  */
1379
1572
  getBdsInstance(getBdsInstanceRequest) {
1380
1573
  return __awaiter(this, void 0, void 0, function* () {
@@ -1437,7 +1630,7 @@ class BdsClient {
1437
1630
  * @param GetBdsMetastoreConfigurationRequest
1438
1631
  * @return GetBdsMetastoreConfigurationResponse
1439
1632
  * @throws OciError when an error occurs
1440
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/GetBdsMetastoreConfiguration.ts.html |here} to see how to use GetBdsMetastoreConfiguration API.
1633
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/GetBdsMetastoreConfiguration.ts.html |here} to see how to use GetBdsMetastoreConfiguration API.
1441
1634
  */
1442
1635
  getBdsMetastoreConfiguration(getBdsMetastoreConfigurationRequest) {
1443
1636
  return __awaiter(this, void 0, void 0, function* () {
@@ -1501,7 +1694,7 @@ class BdsClient {
1501
1694
  * @param GetOsPatchDetailsRequest
1502
1695
  * @return GetOsPatchDetailsResponse
1503
1696
  * @throws OciError when an error occurs
1504
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/GetOsPatchDetails.ts.html |here} to see how to use GetOsPatchDetails API.
1697
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/GetOsPatchDetails.ts.html |here} to see how to use GetOsPatchDetails API.
1505
1698
  */
1506
1699
  getOsPatchDetails(getOsPatchDetailsRequest) {
1507
1700
  return __awaiter(this, void 0, void 0, function* () {
@@ -1568,7 +1761,7 @@ class BdsClient {
1568
1761
  * @param GetWorkRequestRequest
1569
1762
  * @return GetWorkRequestResponse
1570
1763
  * @throws OciError when an error occurs
1571
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1764
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1572
1765
  */
1573
1766
  getWorkRequest(getWorkRequestRequest) {
1574
1767
  return __awaiter(this, void 0, void 0, function* () {
@@ -1632,7 +1825,7 @@ class BdsClient {
1632
1825
  * @param InstallOsPatchRequest
1633
1826
  * @return InstallOsPatchResponse
1634
1827
  * @throws OciError when an error occurs
1635
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/InstallOsPatch.ts.html |here} to see how to use InstallOsPatch API.
1828
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/InstallOsPatch.ts.html |here} to see how to use InstallOsPatch API.
1636
1829
  */
1637
1830
  installOsPatch(installOsPatchRequest) {
1638
1831
  return __awaiter(this, void 0, void 0, function* () {
@@ -1695,7 +1888,7 @@ class BdsClient {
1695
1888
  * @param InstallPatchRequest
1696
1889
  * @return InstallPatchResponse
1697
1890
  * @throws OciError when an error occurs
1698
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/InstallPatch.ts.html |here} to see how to use InstallPatch API.
1891
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/InstallPatch.ts.html |here} to see how to use InstallPatch API.
1699
1892
  */
1700
1893
  installPatch(installPatchRequest) {
1701
1894
  return __awaiter(this, void 0, void 0, function* () {
@@ -1758,7 +1951,7 @@ class BdsClient {
1758
1951
  * @param ListAutoScalingConfigurationsRequest
1759
1952
  * @return ListAutoScalingConfigurationsResponse
1760
1953
  * @throws OciError when an error occurs
1761
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/ListAutoScalingConfigurations.ts.html |here} to see how to use ListAutoScalingConfigurations API.
1954
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/ListAutoScalingConfigurations.ts.html |here} to see how to use ListAutoScalingConfigurations API.
1762
1955
  */
1763
1956
  listAutoScalingConfigurations(listAutoScalingConfigurationsRequest) {
1764
1957
  return __awaiter(this, void 0, void 0, function* () {
@@ -1870,7 +2063,7 @@ class BdsClient {
1870
2063
  * @param ListBdsApiKeysRequest
1871
2064
  * @return ListBdsApiKeysResponse
1872
2065
  * @throws OciError when an error occurs
1873
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/ListBdsApiKeys.ts.html |here} to see how to use ListBdsApiKeys API.
2066
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/ListBdsApiKeys.ts.html |here} to see how to use ListBdsApiKeys API.
1874
2067
  */
1875
2068
  listBdsApiKeys(listBdsApiKeysRequest) {
1876
2069
  return __awaiter(this, void 0, void 0, function* () {
@@ -1982,7 +2175,7 @@ class BdsClient {
1982
2175
  * @param ListBdsInstancesRequest
1983
2176
  * @return ListBdsInstancesResponse
1984
2177
  * @throws OciError when an error occurs
1985
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/ListBdsInstances.ts.html |here} to see how to use ListBdsInstances API.
2178
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/ListBdsInstances.ts.html |here} to see how to use ListBdsInstances API.
1986
2179
  */
1987
2180
  listBdsInstances(listBdsInstancesRequest) {
1988
2181
  return __awaiter(this, void 0, void 0, function* () {
@@ -2092,7 +2285,7 @@ class BdsClient {
2092
2285
  * @param ListBdsMetastoreConfigurationsRequest
2093
2286
  * @return ListBdsMetastoreConfigurationsResponse
2094
2287
  * @throws OciError when an error occurs
2095
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/ListBdsMetastoreConfigurations.ts.html |here} to see how to use ListBdsMetastoreConfigurations API.
2288
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/ListBdsMetastoreConfigurations.ts.html |here} to see how to use ListBdsMetastoreConfigurations API.
2096
2289
  */
2097
2290
  listBdsMetastoreConfigurations(listBdsMetastoreConfigurationsRequest) {
2098
2291
  return __awaiter(this, void 0, void 0, function* () {
@@ -2205,7 +2398,7 @@ class BdsClient {
2205
2398
  * @param ListOsPatchesRequest
2206
2399
  * @return ListOsPatchesResponse
2207
2400
  * @throws OciError when an error occurs
2208
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/ListOsPatches.ts.html |here} to see how to use ListOsPatches API.
2401
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/ListOsPatches.ts.html |here} to see how to use ListOsPatches API.
2209
2402
  */
2210
2403
  listOsPatches(listOsPatchesRequest) {
2211
2404
  return __awaiter(this, void 0, void 0, function* () {
@@ -2321,7 +2514,7 @@ class BdsClient {
2321
2514
  * @param ListPatchHistoriesRequest
2322
2515
  * @return ListPatchHistoriesResponse
2323
2516
  * @throws OciError when an error occurs
2324
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/ListPatchHistories.ts.html |here} to see how to use ListPatchHistories API.
2517
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/ListPatchHistories.ts.html |here} to see how to use ListPatchHistories API.
2325
2518
  */
2326
2519
  listPatchHistories(listPatchHistoriesRequest) {
2327
2520
  return __awaiter(this, void 0, void 0, function* () {
@@ -2433,7 +2626,7 @@ class BdsClient {
2433
2626
  * @param ListPatchesRequest
2434
2627
  * @return ListPatchesResponse
2435
2628
  * @throws OciError when an error occurs
2436
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/ListPatches.ts.html |here} to see how to use ListPatches API.
2629
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/ListPatches.ts.html |here} to see how to use ListPatches API.
2437
2630
  */
2438
2631
  listPatches(listPatchesRequest) {
2439
2632
  return __awaiter(this, void 0, void 0, function* () {
@@ -2540,7 +2733,7 @@ class BdsClient {
2540
2733
  * @param ListWorkRequestErrorsRequest
2541
2734
  * @return ListWorkRequestErrorsResponse
2542
2735
  * @throws OciError when an error occurs
2543
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2736
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2544
2737
  */
2545
2738
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
2546
2739
  return __awaiter(this, void 0, void 0, function* () {
@@ -2649,7 +2842,7 @@ class BdsClient {
2649
2842
  * @param ListWorkRequestLogsRequest
2650
2843
  * @return ListWorkRequestLogsResponse
2651
2844
  * @throws OciError when an error occurs
2652
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2845
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2653
2846
  */
2654
2847
  listWorkRequestLogs(listWorkRequestLogsRequest) {
2655
2848
  return __awaiter(this, void 0, void 0, function* () {
@@ -2758,7 +2951,7 @@ class BdsClient {
2758
2951
  * @param ListWorkRequestsRequest
2759
2952
  * @return ListWorkRequestsResponse
2760
2953
  * @throws OciError when an error occurs
2761
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2954
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2762
2955
  */
2763
2956
  listWorkRequests(listWorkRequestsRequest) {
2764
2957
  return __awaiter(this, void 0, void 0, function* () {
@@ -2867,7 +3060,7 @@ class BdsClient {
2867
3060
  * @param RemoveAutoScalingConfigurationRequest
2868
3061
  * @return RemoveAutoScalingConfigurationResponse
2869
3062
  * @throws OciError when an error occurs
2870
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/RemoveAutoScalingConfiguration.ts.html |here} to see how to use RemoveAutoScalingConfiguration API.
3063
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/RemoveAutoScalingConfiguration.ts.html |here} to see how to use RemoveAutoScalingConfiguration API.
2871
3064
  */
2872
3065
  removeAutoScalingConfiguration(removeAutoScalingConfigurationRequest) {
2873
3066
  return __awaiter(this, void 0, void 0, function* () {
@@ -2931,7 +3124,7 @@ class BdsClient {
2931
3124
  * @param RemoveCloudSqlRequest
2932
3125
  * @return RemoveCloudSqlResponse
2933
3126
  * @throws OciError when an error occurs
2934
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/RemoveCloudSql.ts.html |here} to see how to use RemoveCloudSql API.
3127
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/RemoveCloudSql.ts.html |here} to see how to use RemoveCloudSql API.
2935
3128
  */
2936
3129
  removeCloudSql(removeCloudSqlRequest) {
2937
3130
  return __awaiter(this, void 0, void 0, function* () {
@@ -2994,7 +3187,7 @@ class BdsClient {
2994
3187
  * @param RemoveKafkaRequest
2995
3188
  * @return RemoveKafkaResponse
2996
3189
  * @throws OciError when an error occurs
2997
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/RemoveKafka.ts.html |here} to see how to use RemoveKafka API.
3190
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/RemoveKafka.ts.html |here} to see how to use RemoveKafka API.
2998
3191
  */
2999
3192
  removeKafka(removeKafkaRequest) {
3000
3193
  return __awaiter(this, void 0, void 0, function* () {
@@ -3057,7 +3250,7 @@ class BdsClient {
3057
3250
  * @param RemoveNodeRequest
3058
3251
  * @return RemoveNodeResponse
3059
3252
  * @throws OciError when an error occurs
3060
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/RemoveNode.ts.html |here} to see how to use RemoveNode API.
3253
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/RemoveNode.ts.html |here} to see how to use RemoveNode API.
3061
3254
  */
3062
3255
  removeNode(removeNodeRequest) {
3063
3256
  return __awaiter(this, void 0, void 0, function* () {
@@ -3112,6 +3305,69 @@ class BdsClient {
3112
3305
  }
3113
3306
  });
3114
3307
  }
3308
+ /**
3309
+ * Renewing TLS/SSL for various ODH services running on the BDS cluster.
3310
+ *
3311
+ * This operation does not retry by default if the user has not defined a retry configuration.
3312
+ * @param RenewCertificateRequest
3313
+ * @return RenewCertificateResponse
3314
+ * @throws OciError when an error occurs
3315
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/RenewCertificate.ts.html |here} to see how to use RenewCertificate API.
3316
+ */
3317
+ renewCertificate(renewCertificateRequest) {
3318
+ return __awaiter(this, void 0, void 0, function* () {
3319
+ if (this.logger)
3320
+ this.logger.debug("Calling operation BdsClient#renewCertificate.");
3321
+ const operationName = "renewCertificate";
3322
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RenewCertificate";
3323
+ const pathParams = {
3324
+ "{bdsInstanceId}": renewCertificateRequest.bdsInstanceId
3325
+ };
3326
+ const queryParams = {};
3327
+ let headerParams = {
3328
+ "Content-Type": common.Constants.APPLICATION_JSON,
3329
+ "opc-request-id": renewCertificateRequest.opcRequestId,
3330
+ "if-match": renewCertificateRequest.ifMatch,
3331
+ "opc-retry-token": renewCertificateRequest.opcRetryToken
3332
+ };
3333
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3334
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, renewCertificateRequest.retryConfiguration, specRetryConfiguration);
3335
+ if (this.logger)
3336
+ retrier.logger = this.logger;
3337
+ const request = yield oci_common_2.composeRequest({
3338
+ baseEndpoint: this._endpoint,
3339
+ defaultHeaders: this._defaultHeaders,
3340
+ path: "/bdsInstances/{bdsInstanceId}/actions/renewOdhServiceCertificate",
3341
+ method: "POST",
3342
+ bodyContent: common.ObjectSerializer.serialize(renewCertificateRequest.renewCertificateDetails, "RenewCertificateDetails", model.RenewCertificateDetails.getJsonObj),
3343
+ pathParams: pathParams,
3344
+ headerParams: headerParams,
3345
+ queryParams: queryParams
3346
+ });
3347
+ try {
3348
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3349
+ const sdkResponse = oci_common_2.composeResponse({
3350
+ responseObject: {},
3351
+ responseHeaders: [
3352
+ {
3353
+ value: response.headers.get("opc-request-id"),
3354
+ key: "opcRequestId",
3355
+ dataType: "string"
3356
+ },
3357
+ {
3358
+ value: response.headers.get("opc-work-request-id"),
3359
+ key: "opcWorkRequestId",
3360
+ dataType: "string"
3361
+ }
3362
+ ]
3363
+ });
3364
+ return sdkResponse;
3365
+ }
3366
+ catch (err) {
3367
+ throw err;
3368
+ }
3369
+ });
3370
+ }
3115
3371
  /**
3116
3372
  * Restarts a single node of a Big Data Service cluster
3117
3373
  *
@@ -3119,7 +3375,7 @@ class BdsClient {
3119
3375
  * @param RestartNodeRequest
3120
3376
  * @return RestartNodeResponse
3121
3377
  * @throws OciError when an error occurs
3122
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/RestartNode.ts.html |here} to see how to use RestartNode API.
3378
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/RestartNode.ts.html |here} to see how to use RestartNode API.
3123
3379
  */
3124
3380
  restartNode(restartNodeRequest) {
3125
3381
  return __awaiter(this, void 0, void 0, function* () {
@@ -3182,7 +3438,7 @@ class BdsClient {
3182
3438
  * @param StartBdsInstanceRequest
3183
3439
  * @return StartBdsInstanceResponse
3184
3440
  * @throws OciError when an error occurs
3185
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/StartBdsInstance.ts.html |here} to see how to use StartBdsInstance API.
3441
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/StartBdsInstance.ts.html |here} to see how to use StartBdsInstance API.
3186
3442
  */
3187
3443
  startBdsInstance(startBdsInstanceRequest) {
3188
3444
  return __awaiter(this, void 0, void 0, function* () {
@@ -3244,7 +3500,7 @@ class BdsClient {
3244
3500
  * @param StopBdsInstanceRequest
3245
3501
  * @return StopBdsInstanceResponse
3246
3502
  * @throws OciError when an error occurs
3247
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/StopBdsInstance.ts.html |here} to see how to use StopBdsInstance API.
3503
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/StopBdsInstance.ts.html |here} to see how to use StopBdsInstance API.
3248
3504
  */
3249
3505
  stopBdsInstance(stopBdsInstanceRequest) {
3250
3506
  return __awaiter(this, void 0, void 0, function* () {
@@ -3306,7 +3562,7 @@ class BdsClient {
3306
3562
  * @param TestBdsMetastoreConfigurationRequest
3307
3563
  * @return TestBdsMetastoreConfigurationResponse
3308
3564
  * @throws OciError when an error occurs
3309
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/TestBdsMetastoreConfiguration.ts.html |here} to see how to use TestBdsMetastoreConfiguration API.
3565
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/TestBdsMetastoreConfiguration.ts.html |here} to see how to use TestBdsMetastoreConfiguration API.
3310
3566
  */
3311
3567
  testBdsMetastoreConfiguration(testBdsMetastoreConfigurationRequest) {
3312
3568
  return __awaiter(this, void 0, void 0, function* () {
@@ -3368,7 +3624,7 @@ class BdsClient {
3368
3624
  * @param TestBdsObjectStorageConnectionRequest
3369
3625
  * @return TestBdsObjectStorageConnectionResponse
3370
3626
  * @throws OciError when an error occurs
3371
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/TestBdsObjectStorageConnection.ts.html |here} to see how to use TestBdsObjectStorageConnection API.
3627
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/TestBdsObjectStorageConnection.ts.html |here} to see how to use TestBdsObjectStorageConnection API.
3372
3628
  */
3373
3629
  testBdsObjectStorageConnection(testBdsObjectStorageConnectionRequest) {
3374
3630
  return __awaiter(this, void 0, void 0, function* () {
@@ -3430,7 +3686,7 @@ class BdsClient {
3430
3686
  * @param UpdateAutoScalingConfigurationRequest
3431
3687
  * @return UpdateAutoScalingConfigurationResponse
3432
3688
  * @throws OciError when an error occurs
3433
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/UpdateAutoScalingConfiguration.ts.html |here} to see how to use UpdateAutoScalingConfiguration API.
3689
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/UpdateAutoScalingConfiguration.ts.html |here} to see how to use UpdateAutoScalingConfiguration API.
3434
3690
  */
3435
3691
  updateAutoScalingConfiguration(updateAutoScalingConfigurationRequest) {
3436
3692
  return __awaiter(this, void 0, void 0, function* () {
@@ -3493,7 +3749,7 @@ class BdsClient {
3493
3749
  * @param UpdateBdsInstanceRequest
3494
3750
  * @return UpdateBdsInstanceResponse
3495
3751
  * @throws OciError when an error occurs
3496
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/UpdateBdsInstance.ts.html |here} to see how to use UpdateBdsInstance API.
3752
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/UpdateBdsInstance.ts.html |here} to see how to use UpdateBdsInstance API.
3497
3753
  */
3498
3754
  updateBdsInstance(updateBdsInstanceRequest) {
3499
3755
  return __awaiter(this, void 0, void 0, function* () {
@@ -3554,7 +3810,7 @@ class BdsClient {
3554
3810
  * @param UpdateBdsMetastoreConfigurationRequest
3555
3811
  * @return UpdateBdsMetastoreConfigurationResponse
3556
3812
  * @throws OciError when an error occurs
3557
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.73.1/bds/UpdateBdsMetastoreConfiguration.ts.html |here} to see how to use UpdateBdsMetastoreConfiguration API.
3813
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.75.0/bds/UpdateBdsMetastoreConfiguration.ts.html |here} to see how to use UpdateBdsMetastoreConfiguration API.
3558
3814
  */
3559
3815
  updateBdsMetastoreConfiguration(updateBdsMetastoreConfigurationRequest) {
3560
3816
  return __awaiter(this, void 0, void 0, function* () {