oci-bds 2.89.4 → 2.91.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 (166) hide show
  1. package/lib/bds-waiter.d.ts +8 -0
  2. package/lib/bds-waiter.js +12 -0
  3. package/lib/bds-waiter.js.map +1 -1
  4. package/lib/client.d.ts +158 -66
  5. package/lib/client.js +495 -66
  6. package/lib/client.js.map +1 -1
  7. package/lib/model/auto-scale-policy-metric-rule.d.ts +2 -1
  8. package/lib/model/auto-scale-policy-metric-rule.js +1 -0
  9. package/lib/model/auto-scale-policy-metric-rule.js.map +1 -1
  10. package/lib/model/batching-based-odh-patching-config.d.ts +33 -0
  11. package/lib/model/batching-based-odh-patching-config.js +55 -0
  12. package/lib/model/batching-based-odh-patching-config.js.map +1 -0
  13. package/lib/model/batching-based-patching-configs.d.ts +1 -1
  14. package/lib/model/create-resource-principal-configuration-details.d.ts +34 -0
  15. package/lib/model/create-resource-principal-configuration-details.js +30 -0
  16. package/lib/model/create-resource-principal-configuration-details.js.map +1 -0
  17. package/lib/model/domain-based-odh-patching-config.d.ts +29 -0
  18. package/lib/model/domain-based-odh-patching-config.js +55 -0
  19. package/lib/model/domain-based-odh-patching-config.js.map +1 -0
  20. package/lib/model/domain-based-patching-configs.d.ts +33 -0
  21. package/lib/model/domain-based-patching-configs.js +55 -0
  22. package/lib/model/domain-based-patching-configs.js.map +1 -0
  23. package/lib/model/downtime-based-odh-patching-config.d.ts +25 -0
  24. package/lib/model/downtime-based-odh-patching-config.js +55 -0
  25. package/lib/model/downtime-based-odh-patching-config.js.map +1 -0
  26. package/lib/model/force-refresh-resource-principal-details.d.ts +26 -0
  27. package/lib/model/force-refresh-resource-principal-details.js +30 -0
  28. package/lib/model/force-refresh-resource-principal-details.js.map +1 -0
  29. package/lib/model/index.d.ts +22 -0
  30. package/lib/model/index.js +25 -3
  31. package/lib/model/index.js.map +1 -1
  32. package/lib/model/install-os-patch-details.d.ts +1 -1
  33. package/lib/model/install-os-patch-details.js.map +1 -1
  34. package/lib/model/install-patch-details.d.ts +2 -0
  35. package/lib/model/install-patch-details.js +30 -2
  36. package/lib/model/install-patch-details.js.map +1 -1
  37. package/lib/model/node.d.ts +4 -0
  38. package/lib/model/node.js.map +1 -1
  39. package/lib/model/odh-patching-config.d.ts +23 -0
  40. package/lib/model/odh-patching-config.js +77 -0
  41. package/lib/model/odh-patching-config.js.map +1 -0
  42. package/lib/model/operation-types.d.ts +4 -0
  43. package/lib/model/operation-types.js +4 -0
  44. package/lib/model/operation-types.js.map +1 -1
  45. package/lib/model/patching-configs.d.ts +1 -1
  46. package/lib/model/patching-configs.js +4 -0
  47. package/lib/model/patching-configs.js.map +1 -1
  48. package/lib/model/remove-resource-principal-configuration-details.d.ts +26 -0
  49. package/lib/model/remove-resource-principal-configuration-details.js +30 -0
  50. package/lib/model/remove-resource-principal-configuration-details.js.map +1 -0
  51. package/lib/model/resource-principal-configuration-summary.d.ts +55 -0
  52. package/lib/model/resource-principal-configuration-summary.js +30 -0
  53. package/lib/model/resource-principal-configuration-summary.js.map +1 -0
  54. package/lib/model/resource-principal-configuration.d.ts +72 -0
  55. package/lib/model/resource-principal-configuration.js +44 -0
  56. package/lib/model/resource-principal-configuration.js.map +1 -0
  57. package/lib/model/update-resource-principal-configuration-details.d.ts +30 -0
  58. package/lib/model/update-resource-principal-configuration-details.js +30 -0
  59. package/lib/model/update-resource-principal-configuration-details.js.map +1 -0
  60. package/lib/request/activate-bds-metastore-configuration-request.d.ts +1 -1
  61. package/lib/request/add-auto-scaling-configuration-request.d.ts +1 -1
  62. package/lib/request/add-block-storage-request.d.ts +1 -1
  63. package/lib/request/add-cloud-sql-request.d.ts +1 -1
  64. package/lib/request/add-kafka-request.d.ts +1 -1
  65. package/lib/request/add-master-nodes-request.d.ts +1 -1
  66. package/lib/request/add-utility-nodes-request.d.ts +1 -1
  67. package/lib/request/add-worker-nodes-request.d.ts +1 -1
  68. package/lib/request/backup-node-request.d.ts +1 -1
  69. package/lib/request/certificate-service-info-request.d.ts +1 -1
  70. package/lib/request/change-bds-instance-compartment-request.d.ts +1 -1
  71. package/lib/request/change-shape-request.d.ts +1 -1
  72. package/lib/request/create-bds-api-key-request.d.ts +1 -1
  73. package/lib/request/create-bds-instance-request.d.ts +1 -1
  74. package/lib/request/create-bds-metastore-configuration-request.d.ts +1 -1
  75. package/lib/request/create-node-backup-configuration-request.d.ts +1 -1
  76. package/lib/request/create-node-replace-configuration-request.d.ts +1 -1
  77. package/lib/request/create-resource-principal-configuration-request.d.ts +40 -0
  78. package/lib/request/create-resource-principal-configuration-request.js +15 -0
  79. package/lib/request/create-resource-principal-configuration-request.js.map +1 -0
  80. package/lib/request/delete-bds-api-key-request.d.ts +1 -1
  81. package/lib/request/delete-bds-instance-request.d.ts +1 -1
  82. package/lib/request/delete-bds-metastore-configuration-request.d.ts +1 -1
  83. package/lib/request/delete-node-backup-configuration-request.d.ts +1 -1
  84. package/lib/request/delete-node-backup-request.d.ts +1 -1
  85. package/lib/request/disable-certificate-request.d.ts +1 -1
  86. package/lib/request/enable-certificate-request.d.ts +1 -1
  87. package/lib/request/execute-bootstrap-script-request.d.ts +1 -1
  88. package/lib/request/force-refresh-resource-principal-request.d.ts +53 -0
  89. package/lib/request/force-refresh-resource-principal-request.js +15 -0
  90. package/lib/request/force-refresh-resource-principal-request.js.map +1 -0
  91. package/lib/request/get-auto-scaling-configuration-request.d.ts +1 -1
  92. package/lib/request/get-bds-api-key-request.d.ts +1 -1
  93. package/lib/request/get-bds-instance-request.d.ts +1 -1
  94. package/lib/request/get-bds-metastore-configuration-request.d.ts +1 -1
  95. package/lib/request/get-node-backup-configuration-request.d.ts +1 -1
  96. package/lib/request/get-node-backup-request.d.ts +1 -1
  97. package/lib/request/get-node-replace-configuration-request.d.ts +1 -1
  98. package/lib/request/get-os-patch-details-request.d.ts +1 -1
  99. package/lib/request/get-resource-principal-configuration-request.d.ts +30 -0
  100. package/lib/request/get-resource-principal-configuration-request.js +15 -0
  101. package/lib/request/get-resource-principal-configuration-request.js.map +1 -0
  102. package/lib/request/get-work-request-request.d.ts +1 -1
  103. package/lib/request/index.d.ts +12 -0
  104. package/lib/request/index.js +3 -1
  105. package/lib/request/index.js.map +1 -1
  106. package/lib/request/install-os-patch-request.d.ts +1 -1
  107. package/lib/request/install-patch-request.d.ts +1 -1
  108. package/lib/request/list-auto-scaling-configurations-request.d.ts +1 -1
  109. package/lib/request/list-bds-api-keys-request.d.ts +1 -1
  110. package/lib/request/list-bds-instances-request.d.ts +1 -1
  111. package/lib/request/list-bds-metastore-configurations-request.d.ts +1 -1
  112. package/lib/request/list-node-backup-configurations-request.d.ts +1 -1
  113. package/lib/request/list-node-backups-request.d.ts +1 -1
  114. package/lib/request/list-node-replace-configurations-request.d.ts +1 -1
  115. package/lib/request/list-os-patches-request.d.ts +1 -1
  116. package/lib/request/list-patch-histories-request.d.ts +1 -1
  117. package/lib/request/list-patches-request.d.ts +1 -1
  118. package/lib/request/list-resource-principal-configurations-request.d.ts +58 -0
  119. package/lib/request/list-resource-principal-configurations-request.js +24 -0
  120. package/lib/request/list-resource-principal-configurations-request.js.map +1 -0
  121. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  122. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  123. package/lib/request/list-work-requests-request.d.ts +1 -1
  124. package/lib/request/remove-auto-scaling-configuration-request.d.ts +1 -1
  125. package/lib/request/remove-cloud-sql-request.d.ts +1 -1
  126. package/lib/request/remove-kafka-request.d.ts +1 -1
  127. package/lib/request/remove-node-replace-configuration-request.d.ts +1 -1
  128. package/lib/request/remove-node-request.d.ts +1 -1
  129. package/lib/request/remove-resource-principal-configuration-request.d.ts +44 -0
  130. package/lib/request/remove-resource-principal-configuration-request.js +15 -0
  131. package/lib/request/remove-resource-principal-configuration-request.js.map +1 -0
  132. package/lib/request/renew-certificate-request.d.ts +1 -1
  133. package/lib/request/replace-node-request.d.ts +1 -1
  134. package/lib/request/restart-node-request.d.ts +1 -1
  135. package/lib/request/start-bds-instance-request.d.ts +1 -1
  136. package/lib/request/stop-bds-instance-request.d.ts +1 -1
  137. package/lib/request/test-bds-metastore-configuration-request.d.ts +1 -1
  138. package/lib/request/test-bds-object-storage-connection-request.d.ts +1 -1
  139. package/lib/request/update-auto-scaling-configuration-request.d.ts +1 -1
  140. package/lib/request/update-bds-instance-request.d.ts +1 -1
  141. package/lib/request/update-bds-metastore-configuration-request.d.ts +1 -1
  142. package/lib/request/update-node-backup-configuration-request.d.ts +1 -1
  143. package/lib/request/update-node-replace-configuration-request.d.ts +1 -1
  144. package/lib/request/update-resource-principal-configuration-request.d.ts +53 -0
  145. package/lib/request/update-resource-principal-configuration-request.js +15 -0
  146. package/lib/request/update-resource-principal-configuration-request.js.map +1 -0
  147. package/lib/response/create-resource-principal-configuration-response.d.ts +25 -0
  148. package/lib/response/create-resource-principal-configuration-response.js +15 -0
  149. package/lib/response/create-resource-principal-configuration-response.js.map +1 -0
  150. package/lib/response/force-refresh-resource-principal-response.d.ts +25 -0
  151. package/lib/response/force-refresh-resource-principal-response.js +15 -0
  152. package/lib/response/force-refresh-resource-principal-response.js.map +1 -0
  153. package/lib/response/get-resource-principal-configuration-response.d.ts +30 -0
  154. package/lib/response/get-resource-principal-configuration-response.js +15 -0
  155. package/lib/response/get-resource-principal-configuration-response.js.map +1 -0
  156. package/lib/response/index.d.ts +12 -0
  157. package/lib/response/list-resource-principal-configurations-response.d.ts +32 -0
  158. package/lib/response/list-resource-principal-configurations-response.js +15 -0
  159. package/lib/response/list-resource-principal-configurations-response.js.map +1 -0
  160. package/lib/response/remove-resource-principal-configuration-response.d.ts +25 -0
  161. package/lib/response/remove-resource-principal-configuration-response.js +15 -0
  162. package/lib/response/remove-resource-principal-configuration-response.js.map +1 -0
  163. package/lib/response/update-resource-principal-configuration-response.d.ts +25 -0
  164. package/lib/response/update-resource-principal-configuration-response.js +15 -0
  165. package/lib/response/update-resource-principal-configuration-response.js.map +1 -0
  166. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -205,7 +205,7 @@ class BdsClient {
205
205
  * @param ActivateBdsMetastoreConfigurationRequest
206
206
  * @return ActivateBdsMetastoreConfigurationResponse
207
207
  * @throws OciError when an error occurs
208
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ActivateBdsMetastoreConfiguration.ts.html |here} to see how to use ActivateBdsMetastoreConfiguration API.
208
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ActivateBdsMetastoreConfiguration.ts.html |here} to see how to use ActivateBdsMetastoreConfiguration API.
209
209
  */
210
210
  activateBdsMetastoreConfiguration(activateBdsMetastoreConfigurationRequest) {
211
211
  return __awaiter(this, void 0, void 0, function* () {
@@ -269,7 +269,7 @@ class BdsClient {
269
269
  * @param AddAutoScalingConfigurationRequest
270
270
  * @return AddAutoScalingConfigurationResponse
271
271
  * @throws OciError when an error occurs
272
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/AddAutoScalingConfiguration.ts.html |here} to see how to use AddAutoScalingConfiguration API.
272
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/AddAutoScalingConfiguration.ts.html |here} to see how to use AddAutoScalingConfiguration API.
273
273
  */
274
274
  addAutoScalingConfiguration(addAutoScalingConfigurationRequest) {
275
275
  return __awaiter(this, void 0, void 0, function* () {
@@ -332,7 +332,7 @@ class BdsClient {
332
332
  * @param AddBlockStorageRequest
333
333
  * @return AddBlockStorageResponse
334
334
  * @throws OciError when an error occurs
335
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/AddBlockStorage.ts.html |here} to see how to use AddBlockStorage API.
335
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/AddBlockStorage.ts.html |here} to see how to use AddBlockStorage API.
336
336
  */
337
337
  addBlockStorage(addBlockStorageRequest) {
338
338
  return __awaiter(this, void 0, void 0, function* () {
@@ -395,7 +395,7 @@ class BdsClient {
395
395
  * @param AddCloudSqlRequest
396
396
  * @return AddCloudSqlResponse
397
397
  * @throws OciError when an error occurs
398
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/AddCloudSql.ts.html |here} to see how to use AddCloudSql API.
398
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/AddCloudSql.ts.html |here} to see how to use AddCloudSql API.
399
399
  */
400
400
  addCloudSql(addCloudSqlRequest) {
401
401
  return __awaiter(this, void 0, void 0, function* () {
@@ -458,7 +458,7 @@ class BdsClient {
458
458
  * @param AddKafkaRequest
459
459
  * @return AddKafkaResponse
460
460
  * @throws OciError when an error occurs
461
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/AddKafka.ts.html |here} to see how to use AddKafka API.
461
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/AddKafka.ts.html |here} to see how to use AddKafka API.
462
462
  */
463
463
  addKafka(addKafkaRequest) {
464
464
  return __awaiter(this, void 0, void 0, function* () {
@@ -521,7 +521,7 @@ class BdsClient {
521
521
  * @param AddMasterNodesRequest
522
522
  * @return AddMasterNodesResponse
523
523
  * @throws OciError when an error occurs
524
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/AddMasterNodes.ts.html |here} to see how to use AddMasterNodes API.
524
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/AddMasterNodes.ts.html |here} to see how to use AddMasterNodes API.
525
525
  */
526
526
  addMasterNodes(addMasterNodesRequest) {
527
527
  return __awaiter(this, void 0, void 0, function* () {
@@ -584,7 +584,7 @@ class BdsClient {
584
584
  * @param AddUtilityNodesRequest
585
585
  * @return AddUtilityNodesResponse
586
586
  * @throws OciError when an error occurs
587
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/AddUtilityNodes.ts.html |here} to see how to use AddUtilityNodes API.
587
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/AddUtilityNodes.ts.html |here} to see how to use AddUtilityNodes API.
588
588
  */
589
589
  addUtilityNodes(addUtilityNodesRequest) {
590
590
  return __awaiter(this, void 0, void 0, function* () {
@@ -647,7 +647,7 @@ class BdsClient {
647
647
  * @param AddWorkerNodesRequest
648
648
  * @return AddWorkerNodesResponse
649
649
  * @throws OciError when an error occurs
650
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/AddWorkerNodes.ts.html |here} to see how to use AddWorkerNodes API.
650
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/AddWorkerNodes.ts.html |here} to see how to use AddWorkerNodes API.
651
651
  */
652
652
  addWorkerNodes(addWorkerNodesRequest) {
653
653
  return __awaiter(this, void 0, void 0, function* () {
@@ -710,7 +710,7 @@ class BdsClient {
710
710
  * @param BackupNodeRequest
711
711
  * @return BackupNodeResponse
712
712
  * @throws OciError when an error occurs
713
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/BackupNode.ts.html |here} to see how to use BackupNode API.
713
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/BackupNode.ts.html |here} to see how to use BackupNode API.
714
714
  */
715
715
  backupNode(backupNodeRequest) {
716
716
  return __awaiter(this, void 0, void 0, function* () {
@@ -773,7 +773,7 @@ class BdsClient {
773
773
  * @param CertificateServiceInfoRequest
774
774
  * @return CertificateServiceInfoResponse
775
775
  * @throws OciError when an error occurs
776
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/CertificateServiceInfo.ts.html |here} to see how to use CertificateServiceInfo API.
776
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/CertificateServiceInfo.ts.html |here} to see how to use CertificateServiceInfo API.
777
777
  */
778
778
  certificateServiceInfo(certificateServiceInfoRequest) {
779
779
  return __awaiter(this, void 0, void 0, function* () {
@@ -840,7 +840,7 @@ class BdsClient {
840
840
  * @param ChangeBdsInstanceCompartmentRequest
841
841
  * @return ChangeBdsInstanceCompartmentResponse
842
842
  * @throws OciError when an error occurs
843
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ChangeBdsInstanceCompartment.ts.html |here} to see how to use ChangeBdsInstanceCompartment API.
843
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ChangeBdsInstanceCompartment.ts.html |here} to see how to use ChangeBdsInstanceCompartment API.
844
844
  */
845
845
  changeBdsInstanceCompartment(changeBdsInstanceCompartmentRequest) {
846
846
  return __awaiter(this, void 0, void 0, function* () {
@@ -903,7 +903,7 @@ class BdsClient {
903
903
  * @param ChangeShapeRequest
904
904
  * @return ChangeShapeResponse
905
905
  * @throws OciError when an error occurs
906
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ChangeShape.ts.html |here} to see how to use ChangeShape API.
906
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ChangeShape.ts.html |here} to see how to use ChangeShape API.
907
907
  */
908
908
  changeShape(changeShapeRequest) {
909
909
  return __awaiter(this, void 0, void 0, function* () {
@@ -966,7 +966,7 @@ class BdsClient {
966
966
  * @param CreateBdsApiKeyRequest
967
967
  * @return CreateBdsApiKeyResponse
968
968
  * @throws OciError when an error occurs
969
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/CreateBdsApiKey.ts.html |here} to see how to use CreateBdsApiKey API.
969
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/CreateBdsApiKey.ts.html |here} to see how to use CreateBdsApiKey API.
970
970
  */
971
971
  createBdsApiKey(createBdsApiKeyRequest) {
972
972
  return __awaiter(this, void 0, void 0, function* () {
@@ -1028,7 +1028,7 @@ class BdsClient {
1028
1028
  * @param CreateBdsInstanceRequest
1029
1029
  * @return CreateBdsInstanceResponse
1030
1030
  * @throws OciError when an error occurs
1031
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/CreateBdsInstance.ts.html |here} to see how to use CreateBdsInstance API.
1031
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/CreateBdsInstance.ts.html |here} to see how to use CreateBdsInstance API.
1032
1032
  */
1033
1033
  createBdsInstance(createBdsInstanceRequest) {
1034
1034
  return __awaiter(this, void 0, void 0, function* () {
@@ -1088,7 +1088,7 @@ class BdsClient {
1088
1088
  * @param CreateBdsMetastoreConfigurationRequest
1089
1089
  * @return CreateBdsMetastoreConfigurationResponse
1090
1090
  * @throws OciError when an error occurs
1091
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/CreateBdsMetastoreConfiguration.ts.html |here} to see how to use CreateBdsMetastoreConfiguration API.
1091
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/CreateBdsMetastoreConfiguration.ts.html |here} to see how to use CreateBdsMetastoreConfiguration API.
1092
1092
  */
1093
1093
  createBdsMetastoreConfiguration(createBdsMetastoreConfigurationRequest) {
1094
1094
  return __awaiter(this, void 0, void 0, function* () {
@@ -1150,7 +1150,7 @@ class BdsClient {
1150
1150
  * @param CreateNodeBackupConfigurationRequest
1151
1151
  * @return CreateNodeBackupConfigurationResponse
1152
1152
  * @throws OciError when an error occurs
1153
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/CreateNodeBackupConfiguration.ts.html |here} to see how to use CreateNodeBackupConfiguration API.
1153
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/CreateNodeBackupConfiguration.ts.html |here} to see how to use CreateNodeBackupConfiguration API.
1154
1154
  */
1155
1155
  createNodeBackupConfiguration(createNodeBackupConfigurationRequest) {
1156
1156
  return __awaiter(this, void 0, void 0, function* () {
@@ -1212,7 +1212,7 @@ class BdsClient {
1212
1212
  * @param CreateNodeReplaceConfigurationRequest
1213
1213
  * @return CreateNodeReplaceConfigurationResponse
1214
1214
  * @throws OciError when an error occurs
1215
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/CreateNodeReplaceConfiguration.ts.html |here} to see how to use CreateNodeReplaceConfiguration API.
1215
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/CreateNodeReplaceConfiguration.ts.html |here} to see how to use CreateNodeReplaceConfiguration API.
1216
1216
  */
1217
1217
  createNodeReplaceConfiguration(createNodeReplaceConfigurationRequest) {
1218
1218
  return __awaiter(this, void 0, void 0, function* () {
@@ -1267,13 +1267,75 @@ class BdsClient {
1267
1267
  }
1268
1268
  });
1269
1269
  }
1270
+ /**
1271
+ * Create a resource principal session token configuration.
1272
+ *
1273
+ * This operation does not retry by default if the user has not defined a retry configuration.
1274
+ * @param CreateResourcePrincipalConfigurationRequest
1275
+ * @return CreateResourcePrincipalConfigurationResponse
1276
+ * @throws OciError when an error occurs
1277
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/CreateResourcePrincipalConfiguration.ts.html |here} to see how to use CreateResourcePrincipalConfiguration API.
1278
+ */
1279
+ createResourcePrincipalConfiguration(createResourcePrincipalConfigurationRequest) {
1280
+ return __awaiter(this, void 0, void 0, function* () {
1281
+ if (this.logger)
1282
+ this.logger.debug("Calling operation BdsClient#createResourcePrincipalConfiguration.");
1283
+ const operationName = "createResourcePrincipalConfiguration";
1284
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CreateResourcePrincipalConfiguration";
1285
+ const pathParams = {
1286
+ "{bdsInstanceId}": createResourcePrincipalConfigurationRequest.bdsInstanceId
1287
+ };
1288
+ const queryParams = {};
1289
+ let headerParams = {
1290
+ "Content-Type": common.Constants.APPLICATION_JSON,
1291
+ "opc-request-id": createResourcePrincipalConfigurationRequest.opcRequestId,
1292
+ "opc-retry-token": createResourcePrincipalConfigurationRequest.opcRetryToken
1293
+ };
1294
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1295
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createResourcePrincipalConfigurationRequest.retryConfiguration, specRetryConfiguration);
1296
+ if (this.logger)
1297
+ retrier.logger = this.logger;
1298
+ const request = yield oci_common_2.composeRequest({
1299
+ baseEndpoint: this._endpoint,
1300
+ defaultHeaders: this._defaultHeaders,
1301
+ path: "/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations",
1302
+ method: "POST",
1303
+ bodyContent: common.ObjectSerializer.serialize(createResourcePrincipalConfigurationRequest.createResourcePrincipalConfigurationDetails, "CreateResourcePrincipalConfigurationDetails", model.CreateResourcePrincipalConfigurationDetails.getJsonObj),
1304
+ pathParams: pathParams,
1305
+ headerParams: headerParams,
1306
+ queryParams: queryParams
1307
+ });
1308
+ try {
1309
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1310
+ const sdkResponse = oci_common_2.composeResponse({
1311
+ responseObject: {},
1312
+ responseHeaders: [
1313
+ {
1314
+ value: response.headers.get("opc-request-id"),
1315
+ key: "opcRequestId",
1316
+ dataType: "string"
1317
+ },
1318
+ {
1319
+ value: response.headers.get("opc-work-request-id"),
1320
+ key: "opcWorkRequestId",
1321
+ dataType: "string"
1322
+ }
1323
+ ]
1324
+ });
1325
+ return sdkResponse;
1326
+ }
1327
+ catch (err) {
1328
+ throw err;
1329
+ }
1330
+ });
1331
+ }
1270
1332
  /**
1271
1333
  * Deletes the user's API key represented by the provided ID.
1272
1334
  * This operation does not retry by default if the user has not defined a retry configuration.
1273
1335
  * @param DeleteBdsApiKeyRequest
1274
1336
  * @return DeleteBdsApiKeyResponse
1275
1337
  * @throws OciError when an error occurs
1276
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/DeleteBdsApiKey.ts.html |here} to see how to use DeleteBdsApiKey API.
1338
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/DeleteBdsApiKey.ts.html |here} to see how to use DeleteBdsApiKey API.
1277
1339
  */
1278
1340
  deleteBdsApiKey(deleteBdsApiKeyRequest) {
1279
1341
  return __awaiter(this, void 0, void 0, function* () {
@@ -1334,7 +1396,7 @@ class BdsClient {
1334
1396
  * @param DeleteBdsInstanceRequest
1335
1397
  * @return DeleteBdsInstanceResponse
1336
1398
  * @throws OciError when an error occurs
1337
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/DeleteBdsInstance.ts.html |here} to see how to use DeleteBdsInstance API.
1399
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/DeleteBdsInstance.ts.html |here} to see how to use DeleteBdsInstance API.
1338
1400
  */
1339
1401
  deleteBdsInstance(deleteBdsInstanceRequest) {
1340
1402
  return __awaiter(this, void 0, void 0, function* () {
@@ -1394,7 +1456,7 @@ class BdsClient {
1394
1456
  * @param DeleteBdsMetastoreConfigurationRequest
1395
1457
  * @return DeleteBdsMetastoreConfigurationResponse
1396
1458
  * @throws OciError when an error occurs
1397
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/DeleteBdsMetastoreConfiguration.ts.html |here} to see how to use DeleteBdsMetastoreConfiguration API.
1459
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/DeleteBdsMetastoreConfiguration.ts.html |here} to see how to use DeleteBdsMetastoreConfiguration API.
1398
1460
  */
1399
1461
  deleteBdsMetastoreConfiguration(deleteBdsMetastoreConfigurationRequest) {
1400
1462
  return __awaiter(this, void 0, void 0, function* () {
@@ -1455,7 +1517,7 @@ class BdsClient {
1455
1517
  * @param DeleteNodeBackupRequest
1456
1518
  * @return DeleteNodeBackupResponse
1457
1519
  * @throws OciError when an error occurs
1458
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/DeleteNodeBackup.ts.html |here} to see how to use DeleteNodeBackup API.
1520
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/DeleteNodeBackup.ts.html |here} to see how to use DeleteNodeBackup API.
1459
1521
  */
1460
1522
  deleteNodeBackup(deleteNodeBackupRequest) {
1461
1523
  return __awaiter(this, void 0, void 0, function* () {
@@ -1516,7 +1578,7 @@ class BdsClient {
1516
1578
  * @param DeleteNodeBackupConfigurationRequest
1517
1579
  * @return DeleteNodeBackupConfigurationResponse
1518
1580
  * @throws OciError when an error occurs
1519
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/DeleteNodeBackupConfiguration.ts.html |here} to see how to use DeleteNodeBackupConfiguration API.
1581
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/DeleteNodeBackupConfiguration.ts.html |here} to see how to use DeleteNodeBackupConfiguration API.
1520
1582
  */
1521
1583
  deleteNodeBackupConfiguration(deleteNodeBackupConfigurationRequest) {
1522
1584
  return __awaiter(this, void 0, void 0, function* () {
@@ -1578,7 +1640,7 @@ class BdsClient {
1578
1640
  * @param DisableCertificateRequest
1579
1641
  * @return DisableCertificateResponse
1580
1642
  * @throws OciError when an error occurs
1581
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/DisableCertificate.ts.html |here} to see how to use DisableCertificate API.
1643
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/DisableCertificate.ts.html |here} to see how to use DisableCertificate API.
1582
1644
  */
1583
1645
  disableCertificate(disableCertificateRequest) {
1584
1646
  return __awaiter(this, void 0, void 0, function* () {
@@ -1641,7 +1703,7 @@ class BdsClient {
1641
1703
  * @param EnableCertificateRequest
1642
1704
  * @return EnableCertificateResponse
1643
1705
  * @throws OciError when an error occurs
1644
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/EnableCertificate.ts.html |here} to see how to use EnableCertificate API.
1706
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/EnableCertificate.ts.html |here} to see how to use EnableCertificate API.
1645
1707
  */
1646
1708
  enableCertificate(enableCertificateRequest) {
1647
1709
  return __awaiter(this, void 0, void 0, function* () {
@@ -1704,7 +1766,7 @@ class BdsClient {
1704
1766
  * @param ExecuteBootstrapScriptRequest
1705
1767
  * @return ExecuteBootstrapScriptResponse
1706
1768
  * @throws OciError when an error occurs
1707
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ExecuteBootstrapScript.ts.html |here} to see how to use ExecuteBootstrapScript API.
1769
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ExecuteBootstrapScript.ts.html |here} to see how to use ExecuteBootstrapScript API.
1708
1770
  */
1709
1771
  executeBootstrapScript(executeBootstrapScriptRequest) {
1710
1772
  return __awaiter(this, void 0, void 0, function* () {
@@ -1760,6 +1822,70 @@ class BdsClient {
1760
1822
  }
1761
1823
  });
1762
1824
  }
1825
+ /**
1826
+ * Force Refresh Resource Principal for the cluster.
1827
+ *
1828
+ * This operation does not retry by default if the user has not defined a retry configuration.
1829
+ * @param ForceRefreshResourcePrincipalRequest
1830
+ * @return ForceRefreshResourcePrincipalResponse
1831
+ * @throws OciError when an error occurs
1832
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ForceRefreshResourcePrincipal.ts.html |here} to see how to use ForceRefreshResourcePrincipal API.
1833
+ */
1834
+ forceRefreshResourcePrincipal(forceRefreshResourcePrincipalRequest) {
1835
+ return __awaiter(this, void 0, void 0, function* () {
1836
+ if (this.logger)
1837
+ this.logger.debug("Calling operation BdsClient#forceRefreshResourcePrincipal.");
1838
+ const operationName = "forceRefreshResourcePrincipal";
1839
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ForceRefreshResourcePrincipal";
1840
+ const pathParams = {
1841
+ "{bdsInstanceId}": forceRefreshResourcePrincipalRequest.bdsInstanceId,
1842
+ "{resourcePrincipalConfigurationId}": forceRefreshResourcePrincipalRequest.resourcePrincipalConfigurationId
1843
+ };
1844
+ const queryParams = {};
1845
+ let headerParams = {
1846
+ "Content-Type": common.Constants.APPLICATION_JSON,
1847
+ "opc-request-id": forceRefreshResourcePrincipalRequest.opcRequestId,
1848
+ "if-match": forceRefreshResourcePrincipalRequest.ifMatch,
1849
+ "opc-retry-token": forceRefreshResourcePrincipalRequest.opcRetryToken
1850
+ };
1851
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1852
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, forceRefreshResourcePrincipalRequest.retryConfiguration, specRetryConfiguration);
1853
+ if (this.logger)
1854
+ retrier.logger = this.logger;
1855
+ const request = yield oci_common_2.composeRequest({
1856
+ baseEndpoint: this._endpoint,
1857
+ defaultHeaders: this._defaultHeaders,
1858
+ path: "/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}/actions/forceRefreshResourcePrincipal",
1859
+ method: "POST",
1860
+ bodyContent: common.ObjectSerializer.serialize(forceRefreshResourcePrincipalRequest.forceRefreshResourcePrincipalDetails, "ForceRefreshResourcePrincipalDetails", model.ForceRefreshResourcePrincipalDetails.getJsonObj),
1861
+ pathParams: pathParams,
1862
+ headerParams: headerParams,
1863
+ queryParams: queryParams
1864
+ });
1865
+ try {
1866
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1867
+ const sdkResponse = oci_common_2.composeResponse({
1868
+ responseObject: {},
1869
+ responseHeaders: [
1870
+ {
1871
+ value: response.headers.get("opc-request-id"),
1872
+ key: "opcRequestId",
1873
+ dataType: "string"
1874
+ },
1875
+ {
1876
+ value: response.headers.get("opc-work-request-id"),
1877
+ key: "opcWorkRequestId",
1878
+ dataType: "string"
1879
+ }
1880
+ ]
1881
+ });
1882
+ return sdkResponse;
1883
+ }
1884
+ catch (err) {
1885
+ throw err;
1886
+ }
1887
+ });
1888
+ }
1763
1889
  /**
1764
1890
  * Returns details of the autoscale configuration identified by the given ID.
1765
1891
  *
@@ -1767,7 +1893,7 @@ class BdsClient {
1767
1893
  * @param GetAutoScalingConfigurationRequest
1768
1894
  * @return GetAutoScalingConfigurationResponse
1769
1895
  * @throws OciError when an error occurs
1770
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/GetAutoScalingConfiguration.ts.html |here} to see how to use GetAutoScalingConfiguration API.
1896
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/GetAutoScalingConfiguration.ts.html |here} to see how to use GetAutoScalingConfiguration API.
1771
1897
  */
1772
1898
  getAutoScalingConfiguration(getAutoScalingConfigurationRequest) {
1773
1899
  return __awaiter(this, void 0, void 0, function* () {
@@ -1831,7 +1957,7 @@ class BdsClient {
1831
1957
  * @param GetBdsApiKeyRequest
1832
1958
  * @return GetBdsApiKeyResponse
1833
1959
  * @throws OciError when an error occurs
1834
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/GetBdsApiKey.ts.html |here} to see how to use GetBdsApiKey API.
1960
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/GetBdsApiKey.ts.html |here} to see how to use GetBdsApiKey API.
1835
1961
  */
1836
1962
  getBdsApiKey(getBdsApiKeyRequest) {
1837
1963
  return __awaiter(this, void 0, void 0, function* () {
@@ -1895,7 +2021,7 @@ class BdsClient {
1895
2021
  * @param GetBdsInstanceRequest
1896
2022
  * @return GetBdsInstanceResponse
1897
2023
  * @throws OciError when an error occurs
1898
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/GetBdsInstance.ts.html |here} to see how to use GetBdsInstance API.
2024
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/GetBdsInstance.ts.html |here} to see how to use GetBdsInstance API.
1899
2025
  */
1900
2026
  getBdsInstance(getBdsInstanceRequest) {
1901
2027
  return __awaiter(this, void 0, void 0, function* () {
@@ -1958,7 +2084,7 @@ class BdsClient {
1958
2084
  * @param GetBdsMetastoreConfigurationRequest
1959
2085
  * @return GetBdsMetastoreConfigurationResponse
1960
2086
  * @throws OciError when an error occurs
1961
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/GetBdsMetastoreConfiguration.ts.html |here} to see how to use GetBdsMetastoreConfiguration API.
2087
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/GetBdsMetastoreConfiguration.ts.html |here} to see how to use GetBdsMetastoreConfiguration API.
1962
2088
  */
1963
2089
  getBdsMetastoreConfiguration(getBdsMetastoreConfigurationRequest) {
1964
2090
  return __awaiter(this, void 0, void 0, function* () {
@@ -2023,7 +2149,7 @@ class BdsClient {
2023
2149
  * @param GetNodeBackupRequest
2024
2150
  * @return GetNodeBackupResponse
2025
2151
  * @throws OciError when an error occurs
2026
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/GetNodeBackup.ts.html |here} to see how to use GetNodeBackup API.
2152
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/GetNodeBackup.ts.html |here} to see how to use GetNodeBackup API.
2027
2153
  */
2028
2154
  getNodeBackup(getNodeBackupRequest) {
2029
2155
  return __awaiter(this, void 0, void 0, function* () {
@@ -2088,7 +2214,7 @@ class BdsClient {
2088
2214
  * @param GetNodeBackupConfigurationRequest
2089
2215
  * @return GetNodeBackupConfigurationResponse
2090
2216
  * @throws OciError when an error occurs
2091
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/GetNodeBackupConfiguration.ts.html |here} to see how to use GetNodeBackupConfiguration API.
2217
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/GetNodeBackupConfiguration.ts.html |here} to see how to use GetNodeBackupConfiguration API.
2092
2218
  */
2093
2219
  getNodeBackupConfiguration(getNodeBackupConfigurationRequest) {
2094
2220
  return __awaiter(this, void 0, void 0, function* () {
@@ -2153,7 +2279,7 @@ class BdsClient {
2153
2279
  * @param GetNodeReplaceConfigurationRequest
2154
2280
  * @return GetNodeReplaceConfigurationResponse
2155
2281
  * @throws OciError when an error occurs
2156
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/GetNodeReplaceConfiguration.ts.html |here} to see how to use GetNodeReplaceConfiguration API.
2282
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/GetNodeReplaceConfiguration.ts.html |here} to see how to use GetNodeReplaceConfiguration API.
2157
2283
  */
2158
2284
  getNodeReplaceConfiguration(getNodeReplaceConfigurationRequest) {
2159
2285
  return __awaiter(this, void 0, void 0, function* () {
@@ -2217,7 +2343,7 @@ class BdsClient {
2217
2343
  * @param GetOsPatchDetailsRequest
2218
2344
  * @return GetOsPatchDetailsResponse
2219
2345
  * @throws OciError when an error occurs
2220
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/GetOsPatchDetails.ts.html |here} to see how to use GetOsPatchDetails API.
2346
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/GetOsPatchDetails.ts.html |here} to see how to use GetOsPatchDetails API.
2221
2347
  */
2222
2348
  getOsPatchDetails(getOsPatchDetailsRequest) {
2223
2349
  return __awaiter(this, void 0, void 0, function* () {
@@ -2278,13 +2404,78 @@ class BdsClient {
2278
2404
  }
2279
2405
  });
2280
2406
  }
2407
+ /**
2408
+ * Returns details of the resourcePrincipalConfiguration identified by the given ID.
2409
+ *
2410
+ * This operation does not retry by default if the user has not defined a retry configuration.
2411
+ * @param GetResourcePrincipalConfigurationRequest
2412
+ * @return GetResourcePrincipalConfigurationResponse
2413
+ * @throws OciError when an error occurs
2414
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/GetResourcePrincipalConfiguration.ts.html |here} to see how to use GetResourcePrincipalConfiguration API.
2415
+ */
2416
+ getResourcePrincipalConfiguration(getResourcePrincipalConfigurationRequest) {
2417
+ return __awaiter(this, void 0, void 0, function* () {
2418
+ if (this.logger)
2419
+ this.logger.debug("Calling operation BdsClient#getResourcePrincipalConfiguration.");
2420
+ const operationName = "getResourcePrincipalConfiguration";
2421
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetResourcePrincipalConfiguration";
2422
+ const pathParams = {
2423
+ "{bdsInstanceId}": getResourcePrincipalConfigurationRequest.bdsInstanceId,
2424
+ "{resourcePrincipalConfigurationId}": getResourcePrincipalConfigurationRequest.resourcePrincipalConfigurationId
2425
+ };
2426
+ const queryParams = {};
2427
+ let headerParams = {
2428
+ "Content-Type": common.Constants.APPLICATION_JSON,
2429
+ "opc-request-id": getResourcePrincipalConfigurationRequest.opcRequestId
2430
+ };
2431
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2432
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResourcePrincipalConfigurationRequest.retryConfiguration, specRetryConfiguration);
2433
+ if (this.logger)
2434
+ retrier.logger = this.logger;
2435
+ const request = yield oci_common_2.composeRequest({
2436
+ baseEndpoint: this._endpoint,
2437
+ defaultHeaders: this._defaultHeaders,
2438
+ path: "/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}",
2439
+ method: "GET",
2440
+ pathParams: pathParams,
2441
+ headerParams: headerParams,
2442
+ queryParams: queryParams
2443
+ });
2444
+ try {
2445
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2446
+ const sdkResponse = oci_common_2.composeResponse({
2447
+ responseObject: {},
2448
+ body: yield response.json(),
2449
+ bodyKey: "resourcePrincipalConfiguration",
2450
+ bodyModel: model.ResourcePrincipalConfiguration,
2451
+ type: "model.ResourcePrincipalConfiguration",
2452
+ responseHeaders: [
2453
+ {
2454
+ value: response.headers.get("opc-request-id"),
2455
+ key: "opcRequestId",
2456
+ dataType: "string"
2457
+ },
2458
+ {
2459
+ value: response.headers.get("etag"),
2460
+ key: "etag",
2461
+ dataType: "string"
2462
+ }
2463
+ ]
2464
+ });
2465
+ return sdkResponse;
2466
+ }
2467
+ catch (err) {
2468
+ throw err;
2469
+ }
2470
+ });
2471
+ }
2281
2472
  /**
2282
2473
  * Returns the status of the work request identified by the given ID.
2283
2474
  * This operation does not retry by default if the user has not defined a retry configuration.
2284
2475
  * @param GetWorkRequestRequest
2285
2476
  * @return GetWorkRequestResponse
2286
2477
  * @throws OciError when an error occurs
2287
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
2478
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
2288
2479
  */
2289
2480
  getWorkRequest(getWorkRequestRequest) {
2290
2481
  return __awaiter(this, void 0, void 0, function* () {
@@ -2348,7 +2539,7 @@ class BdsClient {
2348
2539
  * @param InstallOsPatchRequest
2349
2540
  * @return InstallOsPatchResponse
2350
2541
  * @throws OciError when an error occurs
2351
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/InstallOsPatch.ts.html |here} to see how to use InstallOsPatch API.
2542
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/InstallOsPatch.ts.html |here} to see how to use InstallOsPatch API.
2352
2543
  */
2353
2544
  installOsPatch(installOsPatchRequest) {
2354
2545
  return __awaiter(this, void 0, void 0, function* () {
@@ -2411,7 +2602,7 @@ class BdsClient {
2411
2602
  * @param InstallPatchRequest
2412
2603
  * @return InstallPatchResponse
2413
2604
  * @throws OciError when an error occurs
2414
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/InstallPatch.ts.html |here} to see how to use InstallPatch API.
2605
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/InstallPatch.ts.html |here} to see how to use InstallPatch API.
2415
2606
  */
2416
2607
  installPatch(installPatchRequest) {
2417
2608
  return __awaiter(this, void 0, void 0, function* () {
@@ -2474,7 +2665,7 @@ class BdsClient {
2474
2665
  * @param ListAutoScalingConfigurationsRequest
2475
2666
  * @return ListAutoScalingConfigurationsResponse
2476
2667
  * @throws OciError when an error occurs
2477
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ListAutoScalingConfigurations.ts.html |here} to see how to use ListAutoScalingConfigurations API.
2668
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListAutoScalingConfigurations.ts.html |here} to see how to use ListAutoScalingConfigurations API.
2478
2669
  */
2479
2670
  listAutoScalingConfigurations(listAutoScalingConfigurationsRequest) {
2480
2671
  return __awaiter(this, void 0, void 0, function* () {
@@ -2586,7 +2777,7 @@ class BdsClient {
2586
2777
  * @param ListBdsApiKeysRequest
2587
2778
  * @return ListBdsApiKeysResponse
2588
2779
  * @throws OciError when an error occurs
2589
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ListBdsApiKeys.ts.html |here} to see how to use ListBdsApiKeys API.
2780
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListBdsApiKeys.ts.html |here} to see how to use ListBdsApiKeys API.
2590
2781
  */
2591
2782
  listBdsApiKeys(listBdsApiKeysRequest) {
2592
2783
  return __awaiter(this, void 0, void 0, function* () {
@@ -2698,7 +2889,7 @@ class BdsClient {
2698
2889
  * @param ListBdsInstancesRequest
2699
2890
  * @return ListBdsInstancesResponse
2700
2891
  * @throws OciError when an error occurs
2701
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ListBdsInstances.ts.html |here} to see how to use ListBdsInstances API.
2892
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListBdsInstances.ts.html |here} to see how to use ListBdsInstances API.
2702
2893
  */
2703
2894
  listBdsInstances(listBdsInstancesRequest) {
2704
2895
  return __awaiter(this, void 0, void 0, function* () {
@@ -2808,7 +2999,7 @@ class BdsClient {
2808
2999
  * @param ListBdsMetastoreConfigurationsRequest
2809
3000
  * @return ListBdsMetastoreConfigurationsResponse
2810
3001
  * @throws OciError when an error occurs
2811
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ListBdsMetastoreConfigurations.ts.html |here} to see how to use ListBdsMetastoreConfigurations API.
3002
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListBdsMetastoreConfigurations.ts.html |here} to see how to use ListBdsMetastoreConfigurations API.
2812
3003
  */
2813
3004
  listBdsMetastoreConfigurations(listBdsMetastoreConfigurationsRequest) {
2814
3005
  return __awaiter(this, void 0, void 0, function* () {
@@ -2922,7 +3113,7 @@ class BdsClient {
2922
3113
  * @param ListNodeBackupConfigurationsRequest
2923
3114
  * @return ListNodeBackupConfigurationsResponse
2924
3115
  * @throws OciError when an error occurs
2925
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ListNodeBackupConfigurations.ts.html |here} to see how to use ListNodeBackupConfigurations API.
3116
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListNodeBackupConfigurations.ts.html |here} to see how to use ListNodeBackupConfigurations API.
2926
3117
  */
2927
3118
  listNodeBackupConfigurations(listNodeBackupConfigurationsRequest) {
2928
3119
  return __awaiter(this, void 0, void 0, function* () {
@@ -3033,7 +3224,7 @@ class BdsClient {
3033
3224
  * @param ListNodeBackupsRequest
3034
3225
  * @return ListNodeBackupsResponse
3035
3226
  * @throws OciError when an error occurs
3036
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ListNodeBackups.ts.html |here} to see how to use ListNodeBackups API.
3227
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListNodeBackups.ts.html |here} to see how to use ListNodeBackups API.
3037
3228
  */
3038
3229
  listNodeBackups(listNodeBackupsRequest) {
3039
3230
  return __awaiter(this, void 0, void 0, function* () {
@@ -3145,7 +3336,7 @@ class BdsClient {
3145
3336
  * @param ListNodeReplaceConfigurationsRequest
3146
3337
  * @return ListNodeReplaceConfigurationsResponse
3147
3338
  * @throws OciError when an error occurs
3148
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ListNodeReplaceConfigurations.ts.html |here} to see how to use ListNodeReplaceConfigurations API.
3339
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListNodeReplaceConfigurations.ts.html |here} to see how to use ListNodeReplaceConfigurations API.
3149
3340
  */
3150
3341
  listNodeReplaceConfigurations(listNodeReplaceConfigurationsRequest) {
3151
3342
  return __awaiter(this, void 0, void 0, function* () {
@@ -3255,7 +3446,7 @@ class BdsClient {
3255
3446
  * @param ListOsPatchesRequest
3256
3447
  * @return ListOsPatchesResponse
3257
3448
  * @throws OciError when an error occurs
3258
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ListOsPatches.ts.html |here} to see how to use ListOsPatches API.
3449
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListOsPatches.ts.html |here} to see how to use ListOsPatches API.
3259
3450
  */
3260
3451
  listOsPatches(listOsPatchesRequest) {
3261
3452
  return __awaiter(this, void 0, void 0, function* () {
@@ -3371,7 +3562,7 @@ class BdsClient {
3371
3562
  * @param ListPatchHistoriesRequest
3372
3563
  * @return ListPatchHistoriesResponse
3373
3564
  * @throws OciError when an error occurs
3374
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ListPatchHistories.ts.html |here} to see how to use ListPatchHistories API.
3565
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListPatchHistories.ts.html |here} to see how to use ListPatchHistories API.
3375
3566
  */
3376
3567
  listPatchHistories(listPatchHistoriesRequest) {
3377
3568
  return __awaiter(this, void 0, void 0, function* () {
@@ -3483,7 +3674,7 @@ class BdsClient {
3483
3674
  * @param ListPatchesRequest
3484
3675
  * @return ListPatchesResponse
3485
3676
  * @throws OciError when an error occurs
3486
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ListPatches.ts.html |here} to see how to use ListPatches API.
3677
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListPatches.ts.html |here} to see how to use ListPatches API.
3487
3678
  */
3488
3679
  listPatches(listPatchesRequest) {
3489
3680
  return __awaiter(this, void 0, void 0, function* () {
@@ -3583,6 +3774,117 @@ class BdsClient {
3583
3774
  listPatchesResponseIterator(request) {
3584
3775
  return oci_common_1.paginateResponses(request, req => this.listPatches(req));
3585
3776
  }
3777
+ /**
3778
+ * Returns information about the ResourcePrincipalConfiguration.
3779
+ *
3780
+ * This operation does not retry by default if the user has not defined a retry configuration.
3781
+ * @param ListResourcePrincipalConfigurationsRequest
3782
+ * @return ListResourcePrincipalConfigurationsResponse
3783
+ * @throws OciError when an error occurs
3784
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListResourcePrincipalConfigurations.ts.html |here} to see how to use ListResourcePrincipalConfigurations API.
3785
+ */
3786
+ listResourcePrincipalConfigurations(listResourcePrincipalConfigurationsRequest) {
3787
+ return __awaiter(this, void 0, void 0, function* () {
3788
+ if (this.logger)
3789
+ this.logger.debug("Calling operation BdsClient#listResourcePrincipalConfigurations.");
3790
+ const operationName = "listResourcePrincipalConfigurations";
3791
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListResourcePrincipalConfigurations";
3792
+ const pathParams = {
3793
+ "{bdsInstanceId}": listResourcePrincipalConfigurationsRequest.bdsInstanceId
3794
+ };
3795
+ const queryParams = {
3796
+ "page": listResourcePrincipalConfigurationsRequest.page,
3797
+ "limit": listResourcePrincipalConfigurationsRequest.limit,
3798
+ "sortBy": listResourcePrincipalConfigurationsRequest.sortBy,
3799
+ "sortOrder": listResourcePrincipalConfigurationsRequest.sortOrder,
3800
+ "displayName": listResourcePrincipalConfigurationsRequest.displayName,
3801
+ "lifecycleState": listResourcePrincipalConfigurationsRequest.lifecycleState
3802
+ };
3803
+ let headerParams = {
3804
+ "Content-Type": common.Constants.APPLICATION_JSON,
3805
+ "opc-request-id": listResourcePrincipalConfigurationsRequest.opcRequestId
3806
+ };
3807
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3808
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResourcePrincipalConfigurationsRequest.retryConfiguration, specRetryConfiguration);
3809
+ if (this.logger)
3810
+ retrier.logger = this.logger;
3811
+ const request = yield oci_common_2.composeRequest({
3812
+ baseEndpoint: this._endpoint,
3813
+ defaultHeaders: this._defaultHeaders,
3814
+ path: "/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations",
3815
+ method: "GET",
3816
+ pathParams: pathParams,
3817
+ headerParams: headerParams,
3818
+ queryParams: queryParams
3819
+ });
3820
+ try {
3821
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3822
+ const sdkResponse = oci_common_2.composeResponse({
3823
+ responseObject: {},
3824
+ body: yield response.json(),
3825
+ bodyKey: "items",
3826
+ bodyModel: model.ResourcePrincipalConfigurationSummary,
3827
+ type: "Array<model.ResourcePrincipalConfigurationSummary>",
3828
+ responseHeaders: [
3829
+ {
3830
+ value: response.headers.get("opc-request-id"),
3831
+ key: "opcRequestId",
3832
+ dataType: "string"
3833
+ },
3834
+ {
3835
+ value: response.headers.get("opc-next-page"),
3836
+ key: "opcNextPage",
3837
+ dataType: "string"
3838
+ }
3839
+ ]
3840
+ });
3841
+ return sdkResponse;
3842
+ }
3843
+ catch (err) {
3844
+ throw err;
3845
+ }
3846
+ });
3847
+ }
3848
+ /**
3849
+ * NOTE: This function is deprecated in favor of listResourcePrincipalConfigurationsRecordIterator function.
3850
+ * Creates a new async iterator which will iterate over the models.ResourcePrincipalConfigurationSummary objects
3851
+ * contained in responses from the listResourcePrincipalConfigurations operation. This iterator will fetch more data from the
3852
+ * server as needed.
3853
+ *
3854
+ * @param request a request which can be sent to the service operation
3855
+ */
3856
+ listAllResourcePrincipalConfigurations(request) {
3857
+ return oci_common_1.paginateRecords(request, req => this.listResourcePrincipalConfigurations(req));
3858
+ }
3859
+ /**
3860
+ * NOTE: This function is deprecated in favor of listResourcePrincipalConfigurationsResponseIterator function.
3861
+ * Creates a new async iterator which will iterate over the responses received from the listResourcePrincipalConfigurations operation. This iterator
3862
+ * will fetch more data from the server as needed.
3863
+ *
3864
+ * @param request a request which can be sent to the service operation
3865
+ */
3866
+ listAllResourcePrincipalConfigurationsResponses(request) {
3867
+ return oci_common_1.paginateResponses(request, req => this.listResourcePrincipalConfigurations(req));
3868
+ }
3869
+ /**
3870
+ * Creates a new async iterator which will iterate over the models.ResourcePrincipalConfigurationSummary objects
3871
+ * contained in responses from the listResourcePrincipalConfigurations operation. This iterator will fetch more data from the
3872
+ * server as needed.
3873
+ *
3874
+ * @param request a request which can be sent to the service operation
3875
+ */
3876
+ listResourcePrincipalConfigurationsRecordIterator(request) {
3877
+ return oci_common_1.paginateRecords(request, req => this.listResourcePrincipalConfigurations(req));
3878
+ }
3879
+ /**
3880
+ * Creates a new async iterator which will iterate over the responses received from the listResourcePrincipalConfigurations operation. This iterator
3881
+ * will fetch more data from the server as needed.
3882
+ *
3883
+ * @param request a request which can be sent to the service operation
3884
+ */
3885
+ listResourcePrincipalConfigurationsResponseIterator(request) {
3886
+ return oci_common_1.paginateResponses(request, req => this.listResourcePrincipalConfigurations(req));
3887
+ }
3586
3888
  /**
3587
3889
  * Returns a paginated list of errors for a work request identified by the given ID.
3588
3890
  *
@@ -3590,7 +3892,7 @@ class BdsClient {
3590
3892
  * @param ListWorkRequestErrorsRequest
3591
3893
  * @return ListWorkRequestErrorsResponse
3592
3894
  * @throws OciError when an error occurs
3593
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
3895
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
3594
3896
  */
3595
3897
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
3596
3898
  return __awaiter(this, void 0, void 0, function* () {
@@ -3699,7 +4001,7 @@ class BdsClient {
3699
4001
  * @param ListWorkRequestLogsRequest
3700
4002
  * @return ListWorkRequestLogsResponse
3701
4003
  * @throws OciError when an error occurs
3702
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
4004
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
3703
4005
  */
3704
4006
  listWorkRequestLogs(listWorkRequestLogsRequest) {
3705
4007
  return __awaiter(this, void 0, void 0, function* () {
@@ -3808,7 +4110,7 @@ class BdsClient {
3808
4110
  * @param ListWorkRequestsRequest
3809
4111
  * @return ListWorkRequestsResponse
3810
4112
  * @throws OciError when an error occurs
3811
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
4113
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
3812
4114
  */
3813
4115
  listWorkRequests(listWorkRequestsRequest) {
3814
4116
  return __awaiter(this, void 0, void 0, function* () {
@@ -3917,7 +4219,7 @@ class BdsClient {
3917
4219
  * @param RemoveAutoScalingConfigurationRequest
3918
4220
  * @return RemoveAutoScalingConfigurationResponse
3919
4221
  * @throws OciError when an error occurs
3920
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/RemoveAutoScalingConfiguration.ts.html |here} to see how to use RemoveAutoScalingConfiguration API.
4222
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/RemoveAutoScalingConfiguration.ts.html |here} to see how to use RemoveAutoScalingConfiguration API.
3921
4223
  */
3922
4224
  removeAutoScalingConfiguration(removeAutoScalingConfigurationRequest) {
3923
4225
  return __awaiter(this, void 0, void 0, function* () {
@@ -3981,7 +4283,7 @@ class BdsClient {
3981
4283
  * @param RemoveCloudSqlRequest
3982
4284
  * @return RemoveCloudSqlResponse
3983
4285
  * @throws OciError when an error occurs
3984
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/RemoveCloudSql.ts.html |here} to see how to use RemoveCloudSql API.
4286
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/RemoveCloudSql.ts.html |here} to see how to use RemoveCloudSql API.
3985
4287
  */
3986
4288
  removeCloudSql(removeCloudSqlRequest) {
3987
4289
  return __awaiter(this, void 0, void 0, function* () {
@@ -4044,7 +4346,7 @@ class BdsClient {
4044
4346
  * @param RemoveKafkaRequest
4045
4347
  * @return RemoveKafkaResponse
4046
4348
  * @throws OciError when an error occurs
4047
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/RemoveKafka.ts.html |here} to see how to use RemoveKafka API.
4349
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/RemoveKafka.ts.html |here} to see how to use RemoveKafka API.
4048
4350
  */
4049
4351
  removeKafka(removeKafkaRequest) {
4050
4352
  return __awaiter(this, void 0, void 0, function* () {
@@ -4107,7 +4409,7 @@ class BdsClient {
4107
4409
  * @param RemoveNodeRequest
4108
4410
  * @return RemoveNodeResponse
4109
4411
  * @throws OciError when an error occurs
4110
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/RemoveNode.ts.html |here} to see how to use RemoveNode API.
4412
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/RemoveNode.ts.html |here} to see how to use RemoveNode API.
4111
4413
  */
4112
4414
  removeNode(removeNodeRequest) {
4113
4415
  return __awaiter(this, void 0, void 0, function* () {
@@ -4169,7 +4471,7 @@ class BdsClient {
4169
4471
  * @param RemoveNodeReplaceConfigurationRequest
4170
4472
  * @return RemoveNodeReplaceConfigurationResponse
4171
4473
  * @throws OciError when an error occurs
4172
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/RemoveNodeReplaceConfiguration.ts.html |here} to see how to use RemoveNodeReplaceConfiguration API.
4474
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/RemoveNodeReplaceConfiguration.ts.html |here} to see how to use RemoveNodeReplaceConfiguration API.
4173
4475
  */
4174
4476
  removeNodeReplaceConfiguration(removeNodeReplaceConfigurationRequest) {
4175
4477
  return __awaiter(this, void 0, void 0, function* () {
@@ -4226,6 +4528,69 @@ class BdsClient {
4226
4528
  }
4227
4529
  });
4228
4530
  }
4531
+ /**
4532
+ * Delete the resource principal configuration for the cluster.
4533
+ *
4534
+ * This operation does not retry by default if the user has not defined a retry configuration.
4535
+ * @param RemoveResourcePrincipalConfigurationRequest
4536
+ * @return RemoveResourcePrincipalConfigurationResponse
4537
+ * @throws OciError when an error occurs
4538
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/RemoveResourcePrincipalConfiguration.ts.html |here} to see how to use RemoveResourcePrincipalConfiguration API.
4539
+ */
4540
+ removeResourcePrincipalConfiguration(removeResourcePrincipalConfigurationRequest) {
4541
+ return __awaiter(this, void 0, void 0, function* () {
4542
+ if (this.logger)
4543
+ this.logger.debug("Calling operation BdsClient#removeResourcePrincipalConfiguration.");
4544
+ const operationName = "removeResourcePrincipalConfiguration";
4545
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/ResourcePrincipalConfiguration/RemoveResourcePrincipalConfiguration";
4546
+ const pathParams = {
4547
+ "{bdsInstanceId}": removeResourcePrincipalConfigurationRequest.bdsInstanceId,
4548
+ "{resourcePrincipalConfigurationId}": removeResourcePrincipalConfigurationRequest.resourcePrincipalConfigurationId
4549
+ };
4550
+ const queryParams = {};
4551
+ let headerParams = {
4552
+ "Content-Type": common.Constants.APPLICATION_JSON,
4553
+ "opc-request-id": removeResourcePrincipalConfigurationRequest.opcRequestId,
4554
+ "if-match": removeResourcePrincipalConfigurationRequest.ifMatch
4555
+ };
4556
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4557
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeResourcePrincipalConfigurationRequest.retryConfiguration, specRetryConfiguration);
4558
+ if (this.logger)
4559
+ retrier.logger = this.logger;
4560
+ const request = yield oci_common_2.composeRequest({
4561
+ baseEndpoint: this._endpoint,
4562
+ defaultHeaders: this._defaultHeaders,
4563
+ path: "/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}/actions/remove",
4564
+ method: "POST",
4565
+ bodyContent: common.ObjectSerializer.serialize(removeResourcePrincipalConfigurationRequest.removeResourcePrincipalConfigurationDetails, "RemoveResourcePrincipalConfigurationDetails", model.RemoveResourcePrincipalConfigurationDetails.getJsonObj),
4566
+ pathParams: pathParams,
4567
+ headerParams: headerParams,
4568
+ queryParams: queryParams
4569
+ });
4570
+ try {
4571
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
4572
+ const sdkResponse = oci_common_2.composeResponse({
4573
+ responseObject: {},
4574
+ responseHeaders: [
4575
+ {
4576
+ value: response.headers.get("opc-request-id"),
4577
+ key: "opcRequestId",
4578
+ dataType: "string"
4579
+ },
4580
+ {
4581
+ value: response.headers.get("opc-work-request-id"),
4582
+ key: "opcWorkRequestId",
4583
+ dataType: "string"
4584
+ }
4585
+ ]
4586
+ });
4587
+ return sdkResponse;
4588
+ }
4589
+ catch (err) {
4590
+ throw err;
4591
+ }
4592
+ });
4593
+ }
4229
4594
  /**
4230
4595
  * Renewing TLS/SSL for various ODH services running on the BDS cluster.
4231
4596
  *
@@ -4233,7 +4598,7 @@ class BdsClient {
4233
4598
  * @param RenewCertificateRequest
4234
4599
  * @return RenewCertificateResponse
4235
4600
  * @throws OciError when an error occurs
4236
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/RenewCertificate.ts.html |here} to see how to use RenewCertificate API.
4601
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/RenewCertificate.ts.html |here} to see how to use RenewCertificate API.
4237
4602
  */
4238
4603
  renewCertificate(renewCertificateRequest) {
4239
4604
  return __awaiter(this, void 0, void 0, function* () {
@@ -4296,7 +4661,7 @@ class BdsClient {
4296
4661
  * @param ReplaceNodeRequest
4297
4662
  * @return ReplaceNodeResponse
4298
4663
  * @throws OciError when an error occurs
4299
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/ReplaceNode.ts.html |here} to see how to use ReplaceNode API.
4664
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ReplaceNode.ts.html |here} to see how to use ReplaceNode API.
4300
4665
  */
4301
4666
  replaceNode(replaceNodeRequest) {
4302
4667
  return __awaiter(this, void 0, void 0, function* () {
@@ -4359,7 +4724,7 @@ class BdsClient {
4359
4724
  * @param RestartNodeRequest
4360
4725
  * @return RestartNodeResponse
4361
4726
  * @throws OciError when an error occurs
4362
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/RestartNode.ts.html |here} to see how to use RestartNode API.
4727
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/RestartNode.ts.html |here} to see how to use RestartNode API.
4363
4728
  */
4364
4729
  restartNode(restartNodeRequest) {
4365
4730
  return __awaiter(this, void 0, void 0, function* () {
@@ -4422,7 +4787,7 @@ class BdsClient {
4422
4787
  * @param StartBdsInstanceRequest
4423
4788
  * @return StartBdsInstanceResponse
4424
4789
  * @throws OciError when an error occurs
4425
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/StartBdsInstance.ts.html |here} to see how to use StartBdsInstance API.
4790
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/StartBdsInstance.ts.html |here} to see how to use StartBdsInstance API.
4426
4791
  */
4427
4792
  startBdsInstance(startBdsInstanceRequest) {
4428
4793
  return __awaiter(this, void 0, void 0, function* () {
@@ -4484,7 +4849,7 @@ class BdsClient {
4484
4849
  * @param StopBdsInstanceRequest
4485
4850
  * @return StopBdsInstanceResponse
4486
4851
  * @throws OciError when an error occurs
4487
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/StopBdsInstance.ts.html |here} to see how to use StopBdsInstance API.
4852
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/StopBdsInstance.ts.html |here} to see how to use StopBdsInstance API.
4488
4853
  */
4489
4854
  stopBdsInstance(stopBdsInstanceRequest) {
4490
4855
  return __awaiter(this, void 0, void 0, function* () {
@@ -4546,7 +4911,7 @@ class BdsClient {
4546
4911
  * @param TestBdsMetastoreConfigurationRequest
4547
4912
  * @return TestBdsMetastoreConfigurationResponse
4548
4913
  * @throws OciError when an error occurs
4549
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/TestBdsMetastoreConfiguration.ts.html |here} to see how to use TestBdsMetastoreConfiguration API.
4914
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/TestBdsMetastoreConfiguration.ts.html |here} to see how to use TestBdsMetastoreConfiguration API.
4550
4915
  */
4551
4916
  testBdsMetastoreConfiguration(testBdsMetastoreConfigurationRequest) {
4552
4917
  return __awaiter(this, void 0, void 0, function* () {
@@ -4608,7 +4973,7 @@ class BdsClient {
4608
4973
  * @param TestBdsObjectStorageConnectionRequest
4609
4974
  * @return TestBdsObjectStorageConnectionResponse
4610
4975
  * @throws OciError when an error occurs
4611
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/TestBdsObjectStorageConnection.ts.html |here} to see how to use TestBdsObjectStorageConnection API.
4976
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/TestBdsObjectStorageConnection.ts.html |here} to see how to use TestBdsObjectStorageConnection API.
4612
4977
  */
4613
4978
  testBdsObjectStorageConnection(testBdsObjectStorageConnectionRequest) {
4614
4979
  return __awaiter(this, void 0, void 0, function* () {
@@ -4670,7 +5035,7 @@ class BdsClient {
4670
5035
  * @param UpdateAutoScalingConfigurationRequest
4671
5036
  * @return UpdateAutoScalingConfigurationResponse
4672
5037
  * @throws OciError when an error occurs
4673
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/UpdateAutoScalingConfiguration.ts.html |here} to see how to use UpdateAutoScalingConfiguration API.
5038
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/UpdateAutoScalingConfiguration.ts.html |here} to see how to use UpdateAutoScalingConfiguration API.
4674
5039
  */
4675
5040
  updateAutoScalingConfiguration(updateAutoScalingConfigurationRequest) {
4676
5041
  return __awaiter(this, void 0, void 0, function* () {
@@ -4733,7 +5098,7 @@ class BdsClient {
4733
5098
  * @param UpdateBdsInstanceRequest
4734
5099
  * @return UpdateBdsInstanceResponse
4735
5100
  * @throws OciError when an error occurs
4736
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/UpdateBdsInstance.ts.html |here} to see how to use UpdateBdsInstance API.
5101
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/UpdateBdsInstance.ts.html |here} to see how to use UpdateBdsInstance API.
4737
5102
  */
4738
5103
  updateBdsInstance(updateBdsInstanceRequest) {
4739
5104
  return __awaiter(this, void 0, void 0, function* () {
@@ -4794,7 +5159,7 @@ class BdsClient {
4794
5159
  * @param UpdateBdsMetastoreConfigurationRequest
4795
5160
  * @return UpdateBdsMetastoreConfigurationResponse
4796
5161
  * @throws OciError when an error occurs
4797
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/UpdateBdsMetastoreConfiguration.ts.html |here} to see how to use UpdateBdsMetastoreConfiguration API.
5162
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/UpdateBdsMetastoreConfiguration.ts.html |here} to see how to use UpdateBdsMetastoreConfiguration API.
4798
5163
  */
4799
5164
  updateBdsMetastoreConfiguration(updateBdsMetastoreConfigurationRequest) {
4800
5165
  return __awaiter(this, void 0, void 0, function* () {
@@ -4857,7 +5222,7 @@ class BdsClient {
4857
5222
  * @param UpdateNodeBackupConfigurationRequest
4858
5223
  * @return UpdateNodeBackupConfigurationResponse
4859
5224
  * @throws OciError when an error occurs
4860
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/UpdateNodeBackupConfiguration.ts.html |here} to see how to use UpdateNodeBackupConfiguration API.
5225
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/UpdateNodeBackupConfiguration.ts.html |here} to see how to use UpdateNodeBackupConfiguration API.
4861
5226
  */
4862
5227
  updateNodeBackupConfiguration(updateNodeBackupConfigurationRequest) {
4863
5228
  return __awaiter(this, void 0, void 0, function* () {
@@ -4921,7 +5286,7 @@ class BdsClient {
4921
5286
  * @param UpdateNodeReplaceConfigurationRequest
4922
5287
  * @return UpdateNodeReplaceConfigurationResponse
4923
5288
  * @throws OciError when an error occurs
4924
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.89.4/bds/UpdateNodeReplaceConfiguration.ts.html |here} to see how to use UpdateNodeReplaceConfiguration API.
5289
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/UpdateNodeReplaceConfiguration.ts.html |here} to see how to use UpdateNodeReplaceConfiguration API.
4925
5290
  */
4926
5291
  updateNodeReplaceConfiguration(updateNodeReplaceConfigurationRequest) {
4927
5292
  return __awaiter(this, void 0, void 0, function* () {
@@ -4978,6 +5343,70 @@ class BdsClient {
4978
5343
  }
4979
5344
  });
4980
5345
  }
5346
+ /**
5347
+ * Updates fields on resourcePrincipalConfiguration, including the name, the lifeSpanInHours of the token.
5348
+ *
5349
+ * This operation does not retry by default if the user has not defined a retry configuration.
5350
+ * @param UpdateResourcePrincipalConfigurationRequest
5351
+ * @return UpdateResourcePrincipalConfigurationResponse
5352
+ * @throws OciError when an error occurs
5353
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/UpdateResourcePrincipalConfiguration.ts.html |here} to see how to use UpdateResourcePrincipalConfiguration API.
5354
+ */
5355
+ updateResourcePrincipalConfiguration(updateResourcePrincipalConfigurationRequest) {
5356
+ return __awaiter(this, void 0, void 0, function* () {
5357
+ if (this.logger)
5358
+ this.logger.debug("Calling operation BdsClient#updateResourcePrincipalConfiguration.");
5359
+ const operationName = "updateResourcePrincipalConfiguration";
5360
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/UpdateResourcePrincipalConfiguration";
5361
+ const pathParams = {
5362
+ "{bdsInstanceId}": updateResourcePrincipalConfigurationRequest.bdsInstanceId,
5363
+ "{resourcePrincipalConfigurationId}": updateResourcePrincipalConfigurationRequest.resourcePrincipalConfigurationId
5364
+ };
5365
+ const queryParams = {};
5366
+ let headerParams = {
5367
+ "Content-Type": common.Constants.APPLICATION_JSON,
5368
+ "opc-request-id": updateResourcePrincipalConfigurationRequest.opcRequestId,
5369
+ "if-match": updateResourcePrincipalConfigurationRequest.ifMatch,
5370
+ "opc-retry-token": updateResourcePrincipalConfigurationRequest.opcRetryToken
5371
+ };
5372
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5373
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateResourcePrincipalConfigurationRequest.retryConfiguration, specRetryConfiguration);
5374
+ if (this.logger)
5375
+ retrier.logger = this.logger;
5376
+ const request = yield oci_common_2.composeRequest({
5377
+ baseEndpoint: this._endpoint,
5378
+ defaultHeaders: this._defaultHeaders,
5379
+ path: "/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}",
5380
+ method: "PUT",
5381
+ bodyContent: common.ObjectSerializer.serialize(updateResourcePrincipalConfigurationRequest.updateResourcePrincipalConfigurationDetails, "UpdateResourcePrincipalConfigurationDetails", model.UpdateResourcePrincipalConfigurationDetails.getJsonObj),
5382
+ pathParams: pathParams,
5383
+ headerParams: headerParams,
5384
+ queryParams: queryParams
5385
+ });
5386
+ try {
5387
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
5388
+ const sdkResponse = oci_common_2.composeResponse({
5389
+ responseObject: {},
5390
+ responseHeaders: [
5391
+ {
5392
+ value: response.headers.get("opc-request-id"),
5393
+ key: "opcRequestId",
5394
+ dataType: "string"
5395
+ },
5396
+ {
5397
+ value: response.headers.get("opc-work-request-id"),
5398
+ key: "opcWorkRequestId",
5399
+ dataType: "string"
5400
+ }
5401
+ ]
5402
+ });
5403
+ return sdkResponse;
5404
+ }
5405
+ catch (err) {
5406
+ throw err;
5407
+ }
5408
+ });
5409
+ }
4981
5410
  }
4982
5411
  exports.BdsClient = BdsClient;
4983
5412
  BdsClient.serviceEndpointTemplate = "https://bigdataservice.{region}.oci.{secondLevelDomain}";