oci-bds 2.100.0 → 2.100.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) 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 +174 -0
  5. package/lib/client.js +890 -39
  6. package/lib/client.js.map +1 -1
  7. package/lib/model/activate-iam-user-sync-configuration-details.d.ts +30 -0
  8. package/lib/model/activate-iam-user-sync-configuration-details.js +30 -0
  9. package/lib/model/activate-iam-user-sync-configuration-details.js.map +1 -0
  10. package/lib/model/activate-upst-configuration-details.d.ts +34 -0
  11. package/lib/model/activate-upst-configuration-details.js +30 -0
  12. package/lib/model/activate-upst-configuration-details.js.map +1 -0
  13. package/lib/model/batching-based-odh-patching-config.d.ts +4 -0
  14. package/lib/model/batching-based-odh-patching-config.js.map +1 -1
  15. package/lib/model/bds-api-key.d.ts +4 -0
  16. package/lib/model/bds-api-key.js.map +1 -1
  17. package/lib/model/bds-cluster-version-summary.d.ts +30 -0
  18. package/lib/model/bds-cluster-version-summary.js +30 -0
  19. package/lib/model/bds-cluster-version-summary.js.map +1 -0
  20. package/lib/model/bds-instance.d.ts +1 -0
  21. package/lib/model/bds-instance.js +6 -0
  22. package/lib/model/bds-instance.js.map +1 -1
  23. package/lib/model/create-bds-api-key-details.d.ts +4 -0
  24. package/lib/model/create-bds-api-key-details.js.map +1 -1
  25. package/lib/model/create-bds-instance-details.d.ts +1 -0
  26. package/lib/model/create-bds-instance-details.js +6 -0
  27. package/lib/model/create-bds-instance-details.js.map +1 -1
  28. package/lib/model/create-identity-configuration-details.d.ts +41 -0
  29. package/lib/model/create-identity-configuration-details.js +64 -0
  30. package/lib/model/create-identity-configuration-details.js.map +1 -0
  31. package/lib/model/deactivate-iam-user-sync-configuration-details.d.ts +26 -0
  32. package/lib/model/deactivate-iam-user-sync-configuration-details.js +30 -0
  33. package/lib/model/deactivate-iam-user-sync-configuration-details.js.map +1 -0
  34. package/lib/model/deactivate-upst-configuration-details.d.ts +26 -0
  35. package/lib/model/deactivate-upst-configuration-details.js +30 -0
  36. package/lib/model/deactivate-upst-configuration-details.js.map +1 -0
  37. package/lib/model/domain-based-odh-patching-config.d.ts +4 -0
  38. package/lib/model/domain-based-odh-patching-config.js.map +1 -1
  39. package/lib/model/iam-user-sync-configuration-details.d.ts +26 -0
  40. package/lib/model/iam-user-sync-configuration-details.js +30 -0
  41. package/lib/model/iam-user-sync-configuration-details.js.map +1 -0
  42. package/lib/model/iam-user-sync-configuration.d.ts +51 -0
  43. package/lib/model/iam-user-sync-configuration.js +44 -0
  44. package/lib/model/iam-user-sync-configuration.js.map +1 -0
  45. package/lib/model/identity-configuration-summary.d.ts +34 -0
  46. package/lib/model/identity-configuration-summary.js +30 -0
  47. package/lib/model/identity-configuration-summary.js.map +1 -0
  48. package/lib/model/identity-configuration.d.ts +62 -0
  49. package/lib/model/identity-configuration.js +74 -0
  50. package/lib/model/identity-configuration.js.map +1 -0
  51. package/lib/model/index.d.ts +34 -0
  52. package/lib/model/index.js +37 -3
  53. package/lib/model/index.js.map +1 -1
  54. package/lib/model/node-type-shape-config.d.ts +32 -0
  55. package/lib/model/node-type-shape-config.js +30 -0
  56. package/lib/model/node-type-shape-config.js.map +1 -0
  57. package/lib/model/operation-types.d.ts +9 -0
  58. package/lib/model/operation-types.js +9 -0
  59. package/lib/model/operation-types.js.map +1 -1
  60. package/lib/model/refresh-confidential-application-details.d.ts +26 -0
  61. package/lib/model/refresh-confidential-application-details.js +30 -0
  62. package/lib/model/refresh-confidential-application-details.js.map +1 -0
  63. package/lib/model/refresh-upst-token-exchange-keytab-details.d.ts +26 -0
  64. package/lib/model/refresh-upst-token-exchange-keytab-details.js +30 -0
  65. package/lib/model/refresh-upst-token-exchange-keytab-details.js.map +1 -0
  66. package/lib/model/start-bds-instance-details.d.ts +2 -0
  67. package/lib/model/start-bds-instance-details.js +30 -2
  68. package/lib/model/start-bds-instance-details.js.map +1 -1
  69. package/lib/model/start-cluster-shape-configs.d.ts +27 -0
  70. package/lib/model/start-cluster-shape-configs.js +62 -0
  71. package/lib/model/start-cluster-shape-configs.js.map +1 -0
  72. package/lib/model/update-bds-instance-details.d.ts +2 -0
  73. package/lib/model/update-bds-instance-details.js +30 -2
  74. package/lib/model/update-bds-instance-details.js.map +1 -1
  75. package/lib/model/update-identity-configuration-details.d.ts +29 -0
  76. package/lib/model/update-identity-configuration-details.js +64 -0
  77. package/lib/model/update-identity-configuration-details.js.map +1 -0
  78. package/lib/model/upst-configuration-details.d.ts +30 -0
  79. package/lib/model/upst-configuration-details.js +30 -0
  80. package/lib/model/upst-configuration-details.js.map +1 -0
  81. package/lib/model/upst-configuration.d.ts +71 -0
  82. package/lib/model/upst-configuration.js +44 -0
  83. package/lib/model/upst-configuration.js.map +1 -0
  84. package/lib/request/activate-iam-user-sync-configuration-request.d.ts +53 -0
  85. package/lib/request/activate-iam-user-sync-configuration-request.js +15 -0
  86. package/lib/request/activate-iam-user-sync-configuration-request.js.map +1 -0
  87. package/lib/request/activate-upst-configuration-request.d.ts +53 -0
  88. package/lib/request/activate-upst-configuration-request.js +15 -0
  89. package/lib/request/activate-upst-configuration-request.js.map +1 -0
  90. package/lib/request/create-identity-configuration-request.d.ts +40 -0
  91. package/lib/request/create-identity-configuration-request.js +15 -0
  92. package/lib/request/create-identity-configuration-request.js.map +1 -0
  93. package/lib/request/deactivate-iam-user-sync-configuration-request.d.ts +53 -0
  94. package/lib/request/deactivate-iam-user-sync-configuration-request.js +15 -0
  95. package/lib/request/deactivate-iam-user-sync-configuration-request.js.map +1 -0
  96. package/lib/request/deactivate-upst-configuration-request.d.ts +53 -0
  97. package/lib/request/deactivate-upst-configuration-request.js +15 -0
  98. package/lib/request/deactivate-upst-configuration-request.js.map +1 -0
  99. package/lib/request/delete-identity-configuration-request.d.ts +39 -0
  100. package/lib/request/delete-identity-configuration-request.js +15 -0
  101. package/lib/request/delete-identity-configuration-request.js.map +1 -0
  102. package/lib/request/get-identity-configuration-request.d.ts +54 -0
  103. package/lib/request/get-identity-configuration-request.js +24 -0
  104. package/lib/request/get-identity-configuration-request.js.map +1 -0
  105. package/lib/request/index.d.ts +24 -0
  106. package/lib/request/index.js +7 -1
  107. package/lib/request/index.js.map +1 -1
  108. package/lib/request/list-bds-cluster-versions-request.d.ts +45 -0
  109. package/lib/request/list-bds-cluster-versions-request.js +23 -0
  110. package/lib/request/list-bds-cluster-versions-request.js.map +1 -0
  111. package/lib/request/list-identity-configurations-request.d.ts +62 -0
  112. package/lib/request/list-identity-configurations-request.js +24 -0
  113. package/lib/request/list-identity-configurations-request.js.map +1 -0
  114. package/lib/request/refresh-confidential-application-request.d.ts +53 -0
  115. package/lib/request/refresh-confidential-application-request.js +15 -0
  116. package/lib/request/refresh-confidential-application-request.js.map +1 -0
  117. package/lib/request/refresh-upst-token-exchange-keytab-request.d.ts +53 -0
  118. package/lib/request/refresh-upst-token-exchange-keytab-request.js +15 -0
  119. package/lib/request/refresh-upst-token-exchange-keytab-request.js.map +1 -0
  120. package/lib/request/update-identity-configuration-request.d.ts +53 -0
  121. package/lib/request/update-identity-configuration-request.js +15 -0
  122. package/lib/request/update-identity-configuration-request.js.map +1 -0
  123. package/lib/response/activate-iam-user-sync-configuration-response.d.ts +25 -0
  124. package/lib/response/activate-iam-user-sync-configuration-response.js +15 -0
  125. package/lib/response/activate-iam-user-sync-configuration-response.js.map +1 -0
  126. package/lib/response/activate-upst-configuration-response.d.ts +25 -0
  127. package/lib/response/activate-upst-configuration-response.js +15 -0
  128. package/lib/response/activate-upst-configuration-response.js.map +1 -0
  129. package/lib/response/create-identity-configuration-response.d.ts +25 -0
  130. package/lib/response/create-identity-configuration-response.js +15 -0
  131. package/lib/response/create-identity-configuration-response.js.map +1 -0
  132. package/lib/response/deactivate-iam-user-sync-configuration-response.d.ts +25 -0
  133. package/lib/response/deactivate-iam-user-sync-configuration-response.js +15 -0
  134. package/lib/response/deactivate-iam-user-sync-configuration-response.js.map +1 -0
  135. package/lib/response/deactivate-upst-configuration-response.d.ts +25 -0
  136. package/lib/response/deactivate-upst-configuration-response.js +15 -0
  137. package/lib/response/deactivate-upst-configuration-response.js.map +1 -0
  138. package/lib/response/delete-identity-configuration-response.d.ts +25 -0
  139. package/lib/response/delete-identity-configuration-response.js +15 -0
  140. package/lib/response/delete-identity-configuration-response.js.map +1 -0
  141. package/lib/response/get-identity-configuration-response.d.ts +30 -0
  142. package/lib/response/get-identity-configuration-response.js +15 -0
  143. package/lib/response/get-identity-configuration-response.js.map +1 -0
  144. package/lib/response/index.d.ts +24 -0
  145. package/lib/response/list-bds-cluster-versions-response.d.ts +32 -0
  146. package/lib/response/list-bds-cluster-versions-response.js +15 -0
  147. package/lib/response/list-bds-cluster-versions-response.js.map +1 -0
  148. package/lib/response/list-identity-configurations-response.d.ts +32 -0
  149. package/lib/response/list-identity-configurations-response.js +15 -0
  150. package/lib/response/list-identity-configurations-response.js.map +1 -0
  151. package/lib/response/refresh-confidential-application-response.d.ts +25 -0
  152. package/lib/response/refresh-confidential-application-response.js +15 -0
  153. package/lib/response/refresh-confidential-application-response.js.map +1 -0
  154. package/lib/response/refresh-upst-token-exchange-keytab-response.d.ts +25 -0
  155. package/lib/response/refresh-upst-token-exchange-keytab-response.js +15 -0
  156. package/lib/response/refresh-upst-token-exchange-keytab-response.js.map +1 -0
  157. package/lib/response/update-identity-configuration-response.d.ts +25 -0
  158. package/lib/response/update-identity-configuration-response.js +15 -0
  159. package/lib/response/update-identity-configuration-response.js.map +1 -0
  160. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -273,6 +273,132 @@ class BdsClient {
273
273
  }
274
274
  });
275
275
  }
276
+ /**
277
+ * Activate IAM user sync configuration for the given identity configuration
278
+ * This operation does not retry by default if the user has not defined a retry configuration.
279
+ * @param ActivateIamUserSyncConfigurationRequest
280
+ * @return ActivateIamUserSyncConfigurationResponse
281
+ * @throws OciError when an error occurs
282
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ActivateIamUserSyncConfiguration.ts.html |here} to see how to use ActivateIamUserSyncConfiguration API.
283
+ */
284
+ activateIamUserSyncConfiguration(activateIamUserSyncConfigurationRequest) {
285
+ return __awaiter(this, void 0, void 0, function* () {
286
+ if (this.logger)
287
+ this.logger.debug("Calling operation BdsClient#activateIamUserSyncConfiguration.");
288
+ const operationName = "activateIamUserSyncConfiguration";
289
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/IdentityConfiguration/ActivateIamUserSyncConfiguration";
290
+ const pathParams = {
291
+ "{bdsInstanceId}": activateIamUserSyncConfigurationRequest.bdsInstanceId,
292
+ "{identityConfigurationId}": activateIamUserSyncConfigurationRequest.identityConfigurationId
293
+ };
294
+ const queryParams = {};
295
+ let headerParams = {
296
+ "Content-Type": common.Constants.APPLICATION_JSON,
297
+ "opc-retry-token": activateIamUserSyncConfigurationRequest.opcRetryToken,
298
+ "if-match": activateIamUserSyncConfigurationRequest.ifMatch,
299
+ "opc-request-id": activateIamUserSyncConfigurationRequest.opcRequestId
300
+ };
301
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
302
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, activateIamUserSyncConfigurationRequest.retryConfiguration, specRetryConfiguration);
303
+ if (this.logger)
304
+ retrier.logger = this.logger;
305
+ const request = yield oci_common_2.composeRequest({
306
+ baseEndpoint: this._endpoint,
307
+ defaultHeaders: this._defaultHeaders,
308
+ path: "/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}/actions/activateIamUserSyncConfiguration",
309
+ method: "POST",
310
+ bodyContent: common.ObjectSerializer.serialize(activateIamUserSyncConfigurationRequest.activateIamUserSyncConfigurationDetails, "ActivateIamUserSyncConfigurationDetails", model.ActivateIamUserSyncConfigurationDetails.getJsonObj),
311
+ pathParams: pathParams,
312
+ headerParams: headerParams,
313
+ queryParams: queryParams
314
+ });
315
+ try {
316
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
317
+ const sdkResponse = oci_common_2.composeResponse({
318
+ responseObject: {},
319
+ responseHeaders: [
320
+ {
321
+ value: response.headers.get("opc-request-id"),
322
+ key: "opcRequestId",
323
+ dataType: "string"
324
+ },
325
+ {
326
+ value: response.headers.get("opc-work-request-id"),
327
+ key: "opcWorkRequestId",
328
+ dataType: "string"
329
+ }
330
+ ]
331
+ });
332
+ return sdkResponse;
333
+ }
334
+ catch (err) {
335
+ throw err;
336
+ }
337
+ });
338
+ }
339
+ /**
340
+ * Activate UPST configuration for the given identity configuration
341
+ * This operation does not retry by default if the user has not defined a retry configuration.
342
+ * @param ActivateUpstConfigurationRequest
343
+ * @return ActivateUpstConfigurationResponse
344
+ * @throws OciError when an error occurs
345
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ActivateUpstConfiguration.ts.html |here} to see how to use ActivateUpstConfiguration API.
346
+ */
347
+ activateUpstConfiguration(activateUpstConfigurationRequest) {
348
+ return __awaiter(this, void 0, void 0, function* () {
349
+ if (this.logger)
350
+ this.logger.debug("Calling operation BdsClient#activateUpstConfiguration.");
351
+ const operationName = "activateUpstConfiguration";
352
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/IdentityConfiguration/ActivateUpstConfiguration";
353
+ const pathParams = {
354
+ "{bdsInstanceId}": activateUpstConfigurationRequest.bdsInstanceId,
355
+ "{identityConfigurationId}": activateUpstConfigurationRequest.identityConfigurationId
356
+ };
357
+ const queryParams = {};
358
+ let headerParams = {
359
+ "Content-Type": common.Constants.APPLICATION_JSON,
360
+ "opc-retry-token": activateUpstConfigurationRequest.opcRetryToken,
361
+ "if-match": activateUpstConfigurationRequest.ifMatch,
362
+ "opc-request-id": activateUpstConfigurationRequest.opcRequestId
363
+ };
364
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
365
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, activateUpstConfigurationRequest.retryConfiguration, specRetryConfiguration);
366
+ if (this.logger)
367
+ retrier.logger = this.logger;
368
+ const request = yield oci_common_2.composeRequest({
369
+ baseEndpoint: this._endpoint,
370
+ defaultHeaders: this._defaultHeaders,
371
+ path: "/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}/actions/activateUpstConfiguration",
372
+ method: "POST",
373
+ bodyContent: common.ObjectSerializer.serialize(activateUpstConfigurationRequest.activateUpstConfigurationDetails, "ActivateUpstConfigurationDetails", model.ActivateUpstConfigurationDetails.getJsonObj),
374
+ pathParams: pathParams,
375
+ headerParams: headerParams,
376
+ queryParams: queryParams
377
+ });
378
+ try {
379
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
380
+ const sdkResponse = oci_common_2.composeResponse({
381
+ responseObject: {},
382
+ responseHeaders: [
383
+ {
384
+ value: response.headers.get("opc-request-id"),
385
+ key: "opcRequestId",
386
+ dataType: "string"
387
+ },
388
+ {
389
+ value: response.headers.get("opc-work-request-id"),
390
+ key: "opcWorkRequestId",
391
+ dataType: "string"
392
+ }
393
+ ]
394
+ });
395
+ return sdkResponse;
396
+ }
397
+ catch (err) {
398
+ throw err;
399
+ }
400
+ });
401
+ }
276
402
  /**
277
403
  * Add an autoscale configuration to the cluster.
278
404
  *
@@ -1154,6 +1280,67 @@ class BdsClient {
1154
1280
  }
1155
1281
  });
1156
1282
  }
1283
+ /**
1284
+ * Create an identity configuration for the cluster
1285
+ * This operation does not retry by default if the user has not defined a retry configuration.
1286
+ * @param CreateIdentityConfigurationRequest
1287
+ * @return CreateIdentityConfigurationResponse
1288
+ * @throws OciError when an error occurs
1289
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/CreateIdentityConfiguration.ts.html |here} to see how to use CreateIdentityConfiguration API.
1290
+ */
1291
+ createIdentityConfiguration(createIdentityConfigurationRequest) {
1292
+ return __awaiter(this, void 0, void 0, function* () {
1293
+ if (this.logger)
1294
+ this.logger.debug("Calling operation BdsClient#createIdentityConfiguration.");
1295
+ const operationName = "createIdentityConfiguration";
1296
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/IdentityConfiguration/CreateIdentityConfiguration";
1297
+ const pathParams = {
1298
+ "{bdsInstanceId}": createIdentityConfigurationRequest.bdsInstanceId
1299
+ };
1300
+ const queryParams = {};
1301
+ let headerParams = {
1302
+ "Content-Type": common.Constants.APPLICATION_JSON,
1303
+ "opc-retry-token": createIdentityConfigurationRequest.opcRetryToken,
1304
+ "opc-request-id": createIdentityConfigurationRequest.opcRequestId
1305
+ };
1306
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1307
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createIdentityConfigurationRequest.retryConfiguration, specRetryConfiguration);
1308
+ if (this.logger)
1309
+ retrier.logger = this.logger;
1310
+ const request = yield oci_common_2.composeRequest({
1311
+ baseEndpoint: this._endpoint,
1312
+ defaultHeaders: this._defaultHeaders,
1313
+ path: "/bdsInstances/{bdsInstanceId}/identityConfigurations",
1314
+ method: "POST",
1315
+ bodyContent: common.ObjectSerializer.serialize(createIdentityConfigurationRequest.createIdentityConfigurationDetails, "CreateIdentityConfigurationDetails", model.CreateIdentityConfigurationDetails.getJsonObj),
1316
+ pathParams: pathParams,
1317
+ headerParams: headerParams,
1318
+ queryParams: queryParams
1319
+ });
1320
+ try {
1321
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1322
+ const sdkResponse = oci_common_2.composeResponse({
1323
+ responseObject: {},
1324
+ responseHeaders: [
1325
+ {
1326
+ value: response.headers.get("opc-request-id"),
1327
+ key: "opcRequestId",
1328
+ dataType: "string"
1329
+ },
1330
+ {
1331
+ value: response.headers.get("opc-work-request-id"),
1332
+ key: "opcWorkRequestId",
1333
+ dataType: "string"
1334
+ }
1335
+ ]
1336
+ });
1337
+ return sdkResponse;
1338
+ }
1339
+ catch (err) {
1340
+ throw err;
1341
+ }
1342
+ });
1343
+ }
1157
1344
  /**
1158
1345
  * Add a node volume backup configuration to the cluster for an indicated node type or node.
1159
1346
  *
@@ -1340,6 +1527,132 @@ class BdsClient {
1340
1527
  }
1341
1528
  });
1342
1529
  }
1530
+ /**
1531
+ * Deactivate the IAM user sync configuration.
1532
+ * This operation does not retry by default if the user has not defined a retry configuration.
1533
+ * @param DeactivateIamUserSyncConfigurationRequest
1534
+ * @return DeactivateIamUserSyncConfigurationResponse
1535
+ * @throws OciError when an error occurs
1536
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/DeactivateIamUserSyncConfiguration.ts.html |here} to see how to use DeactivateIamUserSyncConfiguration API.
1537
+ */
1538
+ deactivateIamUserSyncConfiguration(deactivateIamUserSyncConfigurationRequest) {
1539
+ return __awaiter(this, void 0, void 0, function* () {
1540
+ if (this.logger)
1541
+ this.logger.debug("Calling operation BdsClient#deactivateIamUserSyncConfiguration.");
1542
+ const operationName = "deactivateIamUserSyncConfiguration";
1543
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/IdentityConfiguration/DeactivateIamUserSyncConfiguration";
1544
+ const pathParams = {
1545
+ "{bdsInstanceId}": deactivateIamUserSyncConfigurationRequest.bdsInstanceId,
1546
+ "{identityConfigurationId}": deactivateIamUserSyncConfigurationRequest.identityConfigurationId
1547
+ };
1548
+ const queryParams = {};
1549
+ let headerParams = {
1550
+ "Content-Type": common.Constants.APPLICATION_JSON,
1551
+ "opc-request-id": deactivateIamUserSyncConfigurationRequest.opcRequestId,
1552
+ "if-match": deactivateIamUserSyncConfigurationRequest.ifMatch,
1553
+ "opc-retry-token": deactivateIamUserSyncConfigurationRequest.opcRetryToken
1554
+ };
1555
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1556
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateIamUserSyncConfigurationRequest.retryConfiguration, specRetryConfiguration);
1557
+ if (this.logger)
1558
+ retrier.logger = this.logger;
1559
+ const request = yield oci_common_2.composeRequest({
1560
+ baseEndpoint: this._endpoint,
1561
+ defaultHeaders: this._defaultHeaders,
1562
+ path: "/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}/actions/deactivateIamUserSyncConfiguration",
1563
+ method: "POST",
1564
+ bodyContent: common.ObjectSerializer.serialize(deactivateIamUserSyncConfigurationRequest.deactivateIamUserSyncConfigurationDetails, "DeactivateIamUserSyncConfigurationDetails", model.DeactivateIamUserSyncConfigurationDetails.getJsonObj),
1565
+ pathParams: pathParams,
1566
+ headerParams: headerParams,
1567
+ queryParams: queryParams
1568
+ });
1569
+ try {
1570
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1571
+ const sdkResponse = oci_common_2.composeResponse({
1572
+ responseObject: {},
1573
+ responseHeaders: [
1574
+ {
1575
+ value: response.headers.get("opc-request-id"),
1576
+ key: "opcRequestId",
1577
+ dataType: "string"
1578
+ },
1579
+ {
1580
+ value: response.headers.get("opc-work-request-id"),
1581
+ key: "opcWorkRequestId",
1582
+ dataType: "string"
1583
+ }
1584
+ ]
1585
+ });
1586
+ return sdkResponse;
1587
+ }
1588
+ catch (err) {
1589
+ throw err;
1590
+ }
1591
+ });
1592
+ }
1593
+ /**
1594
+ * Deactivate the UPST configuration represented by the provided ID.
1595
+ * This operation does not retry by default if the user has not defined a retry configuration.
1596
+ * @param DeactivateUpstConfigurationRequest
1597
+ * @return DeactivateUpstConfigurationResponse
1598
+ * @throws OciError when an error occurs
1599
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/DeactivateUpstConfiguration.ts.html |here} to see how to use DeactivateUpstConfiguration API.
1600
+ */
1601
+ deactivateUpstConfiguration(deactivateUpstConfigurationRequest) {
1602
+ return __awaiter(this, void 0, void 0, function* () {
1603
+ if (this.logger)
1604
+ this.logger.debug("Calling operation BdsClient#deactivateUpstConfiguration.");
1605
+ const operationName = "deactivateUpstConfiguration";
1606
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/IdentityConfiguration/DeactivateUpstConfiguration";
1607
+ const pathParams = {
1608
+ "{bdsInstanceId}": deactivateUpstConfigurationRequest.bdsInstanceId,
1609
+ "{identityConfigurationId}": deactivateUpstConfigurationRequest.identityConfigurationId
1610
+ };
1611
+ const queryParams = {};
1612
+ let headerParams = {
1613
+ "Content-Type": common.Constants.APPLICATION_JSON,
1614
+ "opc-request-id": deactivateUpstConfigurationRequest.opcRequestId,
1615
+ "opc-retry-token": deactivateUpstConfigurationRequest.opcRetryToken,
1616
+ "if-match": deactivateUpstConfigurationRequest.ifMatch
1617
+ };
1618
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1619
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateUpstConfigurationRequest.retryConfiguration, specRetryConfiguration);
1620
+ if (this.logger)
1621
+ retrier.logger = this.logger;
1622
+ const request = yield oci_common_2.composeRequest({
1623
+ baseEndpoint: this._endpoint,
1624
+ defaultHeaders: this._defaultHeaders,
1625
+ path: "/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}/actions/deactivateUpstConfiguration",
1626
+ method: "POST",
1627
+ bodyContent: common.ObjectSerializer.serialize(deactivateUpstConfigurationRequest.deactivateUpstConfigurationDetails, "DeactivateUpstConfigurationDetails", model.DeactivateUpstConfigurationDetails.getJsonObj),
1628
+ pathParams: pathParams,
1629
+ headerParams: headerParams,
1630
+ queryParams: queryParams
1631
+ });
1632
+ try {
1633
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1634
+ const sdkResponse = oci_common_2.composeResponse({
1635
+ responseObject: {},
1636
+ responseHeaders: [
1637
+ {
1638
+ value: response.headers.get("opc-request-id"),
1639
+ key: "opcRequestId",
1640
+ dataType: "string"
1641
+ },
1642
+ {
1643
+ value: response.headers.get("opc-work-request-id"),
1644
+ key: "opcWorkRequestId",
1645
+ dataType: "string"
1646
+ }
1647
+ ]
1648
+ });
1649
+ return sdkResponse;
1650
+ }
1651
+ catch (err) {
1652
+ throw err;
1653
+ }
1654
+ });
1655
+ }
1343
1656
  /**
1344
1657
  * Deletes the user's API key represented by the provided ID.
1345
1658
  * This operation does not retry by default if the user has not defined a retry configuration.
@@ -1522,6 +1835,67 @@ class BdsClient {
1522
1835
  }
1523
1836
  });
1524
1837
  }
1838
+ /**
1839
+ * Delete the identity configuration represented by the provided ID. Deletion is only allowed if this identity configuration is not associated with any active IAM user sync configuration or UPST configuration.
1840
+ * This operation does not retry by default if the user has not defined a retry configuration.
1841
+ * @param DeleteIdentityConfigurationRequest
1842
+ * @return DeleteIdentityConfigurationResponse
1843
+ * @throws OciError when an error occurs
1844
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/DeleteIdentityConfiguration.ts.html |here} to see how to use DeleteIdentityConfiguration API.
1845
+ */
1846
+ deleteIdentityConfiguration(deleteIdentityConfigurationRequest) {
1847
+ return __awaiter(this, void 0, void 0, function* () {
1848
+ if (this.logger)
1849
+ this.logger.debug("Calling operation BdsClient#deleteIdentityConfiguration.");
1850
+ const operationName = "deleteIdentityConfiguration";
1851
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/IdentityConfiguration/DeleteIdentityConfiguration";
1852
+ const pathParams = {
1853
+ "{bdsInstanceId}": deleteIdentityConfigurationRequest.bdsInstanceId,
1854
+ "{identityConfigurationId}": deleteIdentityConfigurationRequest.identityConfigurationId
1855
+ };
1856
+ const queryParams = {};
1857
+ let headerParams = {
1858
+ "Content-Type": common.Constants.APPLICATION_JSON,
1859
+ "opc-request-id": deleteIdentityConfigurationRequest.opcRequestId,
1860
+ "if-match": deleteIdentityConfigurationRequest.ifMatch
1861
+ };
1862
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1863
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteIdentityConfigurationRequest.retryConfiguration, specRetryConfiguration);
1864
+ if (this.logger)
1865
+ retrier.logger = this.logger;
1866
+ const request = yield oci_common_2.composeRequest({
1867
+ baseEndpoint: this._endpoint,
1868
+ defaultHeaders: this._defaultHeaders,
1869
+ path: "/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}",
1870
+ method: "DELETE",
1871
+ pathParams: pathParams,
1872
+ headerParams: headerParams,
1873
+ queryParams: queryParams
1874
+ });
1875
+ try {
1876
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1877
+ const sdkResponse = oci_common_2.composeResponse({
1878
+ responseObject: {},
1879
+ responseHeaders: [
1880
+ {
1881
+ value: response.headers.get("opc-request-id"),
1882
+ key: "opcRequestId",
1883
+ dataType: "string"
1884
+ },
1885
+ {
1886
+ value: response.headers.get("opc-work-request-id"),
1887
+ key: "opcWorkRequestId",
1888
+ dataType: "string"
1889
+ }
1890
+ ]
1891
+ });
1892
+ return sdkResponse;
1893
+ }
1894
+ catch (err) {
1895
+ throw err;
1896
+ }
1897
+ });
1898
+ }
1525
1899
  /**
1526
1900
  * Delete the NodeBackup represented by the provided ID.
1527
1901
  * This operation does not retry by default if the user has not defined a retry configuration.
@@ -2153,6 +2527,75 @@ class BdsClient {
2153
2527
  }
2154
2528
  });
2155
2529
  }
2530
+ /**
2531
+ * Get details of one identity config on the cluster
2532
+ * This operation does not retry by default if the user has not defined a retry configuration.
2533
+ * @param GetIdentityConfigurationRequest
2534
+ * @return GetIdentityConfigurationResponse
2535
+ * @throws OciError when an error occurs
2536
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/GetIdentityConfiguration.ts.html |here} to see how to use GetIdentityConfiguration API.
2537
+ */
2538
+ getIdentityConfiguration(getIdentityConfigurationRequest) {
2539
+ return __awaiter(this, void 0, void 0, function* () {
2540
+ if (this.logger)
2541
+ this.logger.debug("Calling operation BdsClient#getIdentityConfiguration.");
2542
+ const operationName = "getIdentityConfiguration";
2543
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/IdentityConfiguration/GetIdentityConfiguration";
2544
+ const pathParams = {
2545
+ "{bdsInstanceId}": getIdentityConfigurationRequest.bdsInstanceId,
2546
+ "{identityConfigurationId}": getIdentityConfigurationRequest.identityConfigurationId
2547
+ };
2548
+ const queryParams = {
2549
+ "page": getIdentityConfigurationRequest.page,
2550
+ "limit": getIdentityConfigurationRequest.limit,
2551
+ "sortBy": getIdentityConfigurationRequest.sortBy,
2552
+ "sortOrder": getIdentityConfigurationRequest.sortOrder
2553
+ };
2554
+ let headerParams = {
2555
+ "Content-Type": common.Constants.APPLICATION_JSON,
2556
+ "opc-request-id": getIdentityConfigurationRequest.opcRequestId
2557
+ };
2558
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2559
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getIdentityConfigurationRequest.retryConfiguration, specRetryConfiguration);
2560
+ if (this.logger)
2561
+ retrier.logger = this.logger;
2562
+ const request = yield oci_common_2.composeRequest({
2563
+ baseEndpoint: this._endpoint,
2564
+ defaultHeaders: this._defaultHeaders,
2565
+ path: "/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}",
2566
+ method: "GET",
2567
+ pathParams: pathParams,
2568
+ headerParams: headerParams,
2569
+ queryParams: queryParams
2570
+ });
2571
+ try {
2572
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2573
+ const sdkResponse = oci_common_2.composeResponse({
2574
+ responseObject: {},
2575
+ body: yield response.json(),
2576
+ bodyKey: "identityConfiguration",
2577
+ bodyModel: model.IdentityConfiguration,
2578
+ type: "model.IdentityConfiguration",
2579
+ responseHeaders: [
2580
+ {
2581
+ value: response.headers.get("opc-request-id"),
2582
+ key: "opcRequestId",
2583
+ dataType: "string"
2584
+ },
2585
+ {
2586
+ value: response.headers.get("etag"),
2587
+ key: "etag",
2588
+ dataType: "string"
2589
+ }
2590
+ ]
2591
+ });
2592
+ return sdkResponse;
2593
+ }
2594
+ catch (err) {
2595
+ throw err;
2596
+ }
2597
+ });
2598
+ }
2156
2599
  /**
2157
2600
  * Returns details of NodeBackup identified by the given ID.
2158
2601
  *
@@ -2782,44 +3225,151 @@ class BdsClient {
2782
3225
  return oci_common_1.paginateResponses(request, req => this.listAutoScalingConfigurations(req));
2783
3226
  }
2784
3227
  /**
2785
- * Returns a list of all API keys associated with this Big Data Service cluster.
3228
+ * Returns a list of all API keys associated with this Big Data Service cluster.
3229
+ *
3230
+ * This operation does not retry by default if the user has not defined a retry configuration.
3231
+ * @param ListBdsApiKeysRequest
3232
+ * @return ListBdsApiKeysResponse
3233
+ * @throws OciError when an error occurs
3234
+ * @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.
3235
+ */
3236
+ listBdsApiKeys(listBdsApiKeysRequest) {
3237
+ return __awaiter(this, void 0, void 0, function* () {
3238
+ if (this.logger)
3239
+ this.logger.debug("Calling operation BdsClient#listBdsApiKeys.");
3240
+ const operationName = "listBdsApiKeys";
3241
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsApiKey/ListBdsApiKeys";
3242
+ const pathParams = {
3243
+ "{bdsInstanceId}": listBdsApiKeysRequest.bdsInstanceId
3244
+ };
3245
+ const queryParams = {
3246
+ "lifecycleState": listBdsApiKeysRequest.lifecycleState,
3247
+ "userId": listBdsApiKeysRequest.userId,
3248
+ "page": listBdsApiKeysRequest.page,
3249
+ "limit": listBdsApiKeysRequest.limit,
3250
+ "sortBy": listBdsApiKeysRequest.sortBy,
3251
+ "sortOrder": listBdsApiKeysRequest.sortOrder,
3252
+ "displayName": listBdsApiKeysRequest.displayName
3253
+ };
3254
+ let headerParams = {
3255
+ "Content-Type": common.Constants.APPLICATION_JSON,
3256
+ "opc-request-id": listBdsApiKeysRequest.opcRequestId
3257
+ };
3258
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3259
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBdsApiKeysRequest.retryConfiguration, specRetryConfiguration);
3260
+ if (this.logger)
3261
+ retrier.logger = this.logger;
3262
+ const request = yield oci_common_2.composeRequest({
3263
+ baseEndpoint: this._endpoint,
3264
+ defaultHeaders: this._defaultHeaders,
3265
+ path: "/bdsInstances/{bdsInstanceId}/apiKeys",
3266
+ method: "GET",
3267
+ pathParams: pathParams,
3268
+ headerParams: headerParams,
3269
+ queryParams: queryParams
3270
+ });
3271
+ try {
3272
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3273
+ const sdkResponse = oci_common_2.composeResponse({
3274
+ responseObject: {},
3275
+ body: yield response.json(),
3276
+ bodyKey: "items",
3277
+ bodyModel: model.BdsApiKeySummary,
3278
+ type: "Array<model.BdsApiKeySummary>",
3279
+ responseHeaders: [
3280
+ {
3281
+ value: response.headers.get("opc-request-id"),
3282
+ key: "opcRequestId",
3283
+ dataType: "string"
3284
+ },
3285
+ {
3286
+ value: response.headers.get("opc-next-page"),
3287
+ key: "opcNextPage",
3288
+ dataType: "string"
3289
+ }
3290
+ ]
3291
+ });
3292
+ return sdkResponse;
3293
+ }
3294
+ catch (err) {
3295
+ throw err;
3296
+ }
3297
+ });
3298
+ }
3299
+ /**
3300
+ * NOTE: This function is deprecated in favor of listBdsApiKeysRecordIterator function.
3301
+ * Creates a new async iterator which will iterate over the models.BdsApiKeySummary objects
3302
+ * contained in responses from the listBdsApiKeys operation. This iterator will fetch more data from the
3303
+ * server as needed.
3304
+ *
3305
+ * @param request a request which can be sent to the service operation
3306
+ */
3307
+ listAllBdsApiKeys(request) {
3308
+ return oci_common_1.paginateRecords(request, req => this.listBdsApiKeys(req));
3309
+ }
3310
+ /**
3311
+ * NOTE: This function is deprecated in favor of listBdsApiKeysResponseIterator function.
3312
+ * Creates a new async iterator which will iterate over the responses received from the listBdsApiKeys operation. This iterator
3313
+ * will fetch more data from the server as needed.
3314
+ *
3315
+ * @param request a request which can be sent to the service operation
3316
+ */
3317
+ listAllBdsApiKeysResponses(request) {
3318
+ return oci_common_1.paginateResponses(request, req => this.listBdsApiKeys(req));
3319
+ }
3320
+ /**
3321
+ * Creates a new async iterator which will iterate over the models.BdsApiKeySummary objects
3322
+ * contained in responses from the listBdsApiKeys operation. This iterator will fetch more data from the
3323
+ * server as needed.
3324
+ *
3325
+ * @param request a request which can be sent to the service operation
3326
+ */
3327
+ listBdsApiKeysRecordIterator(request) {
3328
+ return oci_common_1.paginateRecords(request, req => this.listBdsApiKeys(req));
3329
+ }
3330
+ /**
3331
+ * Creates a new async iterator which will iterate over the responses received from the listBdsApiKeys operation. This iterator
3332
+ * will fetch more data from the server as needed.
3333
+ *
3334
+ * @param request a request which can be sent to the service operation
3335
+ */
3336
+ listBdsApiKeysResponseIterator(request) {
3337
+ return oci_common_1.paginateResponses(request, req => this.listBdsApiKeys(req));
3338
+ }
3339
+ /**
3340
+ * Returns a list of cluster versions with associated odh and bds versions.
2786
3341
  *
2787
3342
  * This operation does not retry by default if the user has not defined a retry configuration.
2788
- * @param ListBdsApiKeysRequest
2789
- * @return ListBdsApiKeysResponse
3343
+ * @param ListBdsClusterVersionsRequest
3344
+ * @return ListBdsClusterVersionsResponse
2790
3345
  * @throws OciError when an error occurs
2791
- * @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.
3346
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListBdsClusterVersions.ts.html |here} to see how to use ListBdsClusterVersions API.
2792
3347
  */
2793
- listBdsApiKeys(listBdsApiKeysRequest) {
3348
+ listBdsClusterVersions(listBdsClusterVersionsRequest) {
2794
3349
  return __awaiter(this, void 0, void 0, function* () {
2795
3350
  if (this.logger)
2796
- this.logger.debug("Calling operation BdsClient#listBdsApiKeys.");
2797
- const operationName = "listBdsApiKeys";
2798
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsApiKey/ListBdsApiKeys";
2799
- const pathParams = {
2800
- "{bdsInstanceId}": listBdsApiKeysRequest.bdsInstanceId
2801
- };
3351
+ this.logger.debug("Calling operation BdsClient#listBdsClusterVersions.");
3352
+ const operationName = "listBdsClusterVersions";
3353
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsClusterVersionSummary/ListBdsClusterVersions";
3354
+ const pathParams = {};
2802
3355
  const queryParams = {
2803
- "lifecycleState": listBdsApiKeysRequest.lifecycleState,
2804
- "userId": listBdsApiKeysRequest.userId,
2805
- "page": listBdsApiKeysRequest.page,
2806
- "limit": listBdsApiKeysRequest.limit,
2807
- "sortBy": listBdsApiKeysRequest.sortBy,
2808
- "sortOrder": listBdsApiKeysRequest.sortOrder,
2809
- "displayName": listBdsApiKeysRequest.displayName
3356
+ "page": listBdsClusterVersionsRequest.page,
3357
+ "limit": listBdsClusterVersionsRequest.limit,
3358
+ "sortBy": listBdsClusterVersionsRequest.sortBy,
3359
+ "sortOrder": listBdsClusterVersionsRequest.sortOrder
2810
3360
  };
2811
3361
  let headerParams = {
2812
3362
  "Content-Type": common.Constants.APPLICATION_JSON,
2813
- "opc-request-id": listBdsApiKeysRequest.opcRequestId
3363
+ "opc-request-id": listBdsClusterVersionsRequest.opcRequestId
2814
3364
  };
2815
3365
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2816
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBdsApiKeysRequest.retryConfiguration, specRetryConfiguration);
3366
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBdsClusterVersionsRequest.retryConfiguration, specRetryConfiguration);
2817
3367
  if (this.logger)
2818
3368
  retrier.logger = this.logger;
2819
3369
  const request = yield oci_common_2.composeRequest({
2820
3370
  baseEndpoint: this._endpoint,
2821
3371
  defaultHeaders: this._defaultHeaders,
2822
- path: "/bdsInstances/{bdsInstanceId}/apiKeys",
3372
+ path: "/bdsClusterVersions",
2823
3373
  method: "GET",
2824
3374
  pathParams: pathParams,
2825
3375
  headerParams: headerParams,
@@ -2831,8 +3381,8 @@ class BdsClient {
2831
3381
  responseObject: {},
2832
3382
  body: yield response.json(),
2833
3383
  bodyKey: "items",
2834
- bodyModel: model.BdsApiKeySummary,
2835
- type: "Array<model.BdsApiKeySummary>",
3384
+ bodyModel: model.BdsClusterVersionSummary,
3385
+ type: "Array<model.BdsClusterVersionSummary>",
2836
3386
  responseHeaders: [
2837
3387
  {
2838
3388
  value: response.headers.get("opc-request-id"),
@@ -2854,44 +3404,44 @@ class BdsClient {
2854
3404
  });
2855
3405
  }
2856
3406
  /**
2857
- * NOTE: This function is deprecated in favor of listBdsApiKeysRecordIterator function.
2858
- * Creates a new async iterator which will iterate over the models.BdsApiKeySummary objects
2859
- * contained in responses from the listBdsApiKeys operation. This iterator will fetch more data from the
3407
+ * NOTE: This function is deprecated in favor of listBdsClusterVersionsRecordIterator function.
3408
+ * Creates a new async iterator which will iterate over the models.BdsClusterVersionSummary objects
3409
+ * contained in responses from the listBdsClusterVersions operation. This iterator will fetch more data from the
2860
3410
  * server as needed.
2861
3411
  *
2862
3412
  * @param request a request which can be sent to the service operation
2863
3413
  */
2864
- listAllBdsApiKeys(request) {
2865
- return oci_common_1.paginateRecords(request, req => this.listBdsApiKeys(req));
3414
+ listAllBdsClusterVersions(request) {
3415
+ return oci_common_1.paginateRecords(request, req => this.listBdsClusterVersions(req));
2866
3416
  }
2867
3417
  /**
2868
- * NOTE: This function is deprecated in favor of listBdsApiKeysResponseIterator function.
2869
- * Creates a new async iterator which will iterate over the responses received from the listBdsApiKeys operation. This iterator
3418
+ * NOTE: This function is deprecated in favor of listBdsClusterVersionsResponseIterator function.
3419
+ * Creates a new async iterator which will iterate over the responses received from the listBdsClusterVersions operation. This iterator
2870
3420
  * will fetch more data from the server as needed.
2871
3421
  *
2872
3422
  * @param request a request which can be sent to the service operation
2873
3423
  */
2874
- listAllBdsApiKeysResponses(request) {
2875
- return oci_common_1.paginateResponses(request, req => this.listBdsApiKeys(req));
3424
+ listAllBdsClusterVersionsResponses(request) {
3425
+ return oci_common_1.paginateResponses(request, req => this.listBdsClusterVersions(req));
2876
3426
  }
2877
3427
  /**
2878
- * Creates a new async iterator which will iterate over the models.BdsApiKeySummary objects
2879
- * contained in responses from the listBdsApiKeys operation. This iterator will fetch more data from the
3428
+ * Creates a new async iterator which will iterate over the models.BdsClusterVersionSummary objects
3429
+ * contained in responses from the listBdsClusterVersions operation. This iterator will fetch more data from the
2880
3430
  * server as needed.
2881
3431
  *
2882
3432
  * @param request a request which can be sent to the service operation
2883
3433
  */
2884
- listBdsApiKeysRecordIterator(request) {
2885
- return oci_common_1.paginateRecords(request, req => this.listBdsApiKeys(req));
3434
+ listBdsClusterVersionsRecordIterator(request) {
3435
+ return oci_common_1.paginateRecords(request, req => this.listBdsClusterVersions(req));
2886
3436
  }
2887
3437
  /**
2888
- * Creates a new async iterator which will iterate over the responses received from the listBdsApiKeys operation. This iterator
3438
+ * Creates a new async iterator which will iterate over the responses received from the listBdsClusterVersions operation. This iterator
2889
3439
  * will fetch more data from the server as needed.
2890
3440
  *
2891
3441
  * @param request a request which can be sent to the service operation
2892
3442
  */
2893
- listBdsApiKeysResponseIterator(request) {
2894
- return oci_common_1.paginateResponses(request, req => this.listBdsApiKeys(req));
3443
+ listBdsClusterVersionsResponseIterator(request) {
3444
+ return oci_common_1.paginateResponses(request, req => this.listBdsClusterVersions(req));
2895
3445
  }
2896
3446
  /**
2897
3447
  * Returns a list of all Big Data Service clusters in a compartment.
@@ -3117,6 +3667,118 @@ class BdsClient {
3117
3667
  listBdsMetastoreConfigurationsResponseIterator(request) {
3118
3668
  return oci_common_1.paginateResponses(request, req => this.listBdsMetastoreConfigurations(req));
3119
3669
  }
3670
+ /**
3671
+ * Returns a list of all identity configurations associated with this Big Data Service cluster.
3672
+ *
3673
+ * This operation does not retry by default if the user has not defined a retry configuration.
3674
+ * @param ListIdentityConfigurationsRequest
3675
+ * @return ListIdentityConfigurationsResponse
3676
+ * @throws OciError when an error occurs
3677
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/ListIdentityConfigurations.ts.html |here} to see how to use ListIdentityConfigurations API.
3678
+ */
3679
+ listIdentityConfigurations(listIdentityConfigurationsRequest) {
3680
+ return __awaiter(this, void 0, void 0, function* () {
3681
+ if (this.logger)
3682
+ this.logger.debug("Calling operation BdsClient#listIdentityConfigurations.");
3683
+ const operationName = "listIdentityConfigurations";
3684
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/IdentityConfiguration/ListIdentityConfigurations";
3685
+ const pathParams = {
3686
+ "{bdsInstanceId}": listIdentityConfigurationsRequest.bdsInstanceId
3687
+ };
3688
+ const queryParams = {
3689
+ "page": listIdentityConfigurationsRequest.page,
3690
+ "limit": listIdentityConfigurationsRequest.limit,
3691
+ "compartmentId": listIdentityConfigurationsRequest.compartmentId,
3692
+ "sortBy": listIdentityConfigurationsRequest.sortBy,
3693
+ "sortOrder": listIdentityConfigurationsRequest.sortOrder,
3694
+ "lifecycleState": listIdentityConfigurationsRequest.lifecycleState,
3695
+ "displayName": listIdentityConfigurationsRequest.displayName
3696
+ };
3697
+ let headerParams = {
3698
+ "Content-Type": common.Constants.APPLICATION_JSON,
3699
+ "opc-request-id": listIdentityConfigurationsRequest.opcRequestId
3700
+ };
3701
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3702
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listIdentityConfigurationsRequest.retryConfiguration, specRetryConfiguration);
3703
+ if (this.logger)
3704
+ retrier.logger = this.logger;
3705
+ const request = yield oci_common_2.composeRequest({
3706
+ baseEndpoint: this._endpoint,
3707
+ defaultHeaders: this._defaultHeaders,
3708
+ path: "/bdsInstances/{bdsInstanceId}/identityConfigurations",
3709
+ method: "GET",
3710
+ pathParams: pathParams,
3711
+ headerParams: headerParams,
3712
+ queryParams: queryParams
3713
+ });
3714
+ try {
3715
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3716
+ const sdkResponse = oci_common_2.composeResponse({
3717
+ responseObject: {},
3718
+ body: yield response.json(),
3719
+ bodyKey: "items",
3720
+ bodyModel: model.IdentityConfigurationSummary,
3721
+ type: "Array<model.IdentityConfigurationSummary>",
3722
+ responseHeaders: [
3723
+ {
3724
+ value: response.headers.get("opc-request-id"),
3725
+ key: "opcRequestId",
3726
+ dataType: "string"
3727
+ },
3728
+ {
3729
+ value: response.headers.get("opc-next-page"),
3730
+ key: "opcNextPage",
3731
+ dataType: "string"
3732
+ }
3733
+ ]
3734
+ });
3735
+ return sdkResponse;
3736
+ }
3737
+ catch (err) {
3738
+ throw err;
3739
+ }
3740
+ });
3741
+ }
3742
+ /**
3743
+ * NOTE: This function is deprecated in favor of listIdentityConfigurationsRecordIterator function.
3744
+ * Creates a new async iterator which will iterate over the models.IdentityConfigurationSummary objects
3745
+ * contained in responses from the listIdentityConfigurations operation. This iterator will fetch more data from the
3746
+ * server as needed.
3747
+ *
3748
+ * @param request a request which can be sent to the service operation
3749
+ */
3750
+ listAllIdentityConfigurations(request) {
3751
+ return oci_common_1.paginateRecords(request, req => this.listIdentityConfigurations(req));
3752
+ }
3753
+ /**
3754
+ * NOTE: This function is deprecated in favor of listIdentityConfigurationsResponseIterator function.
3755
+ * Creates a new async iterator which will iterate over the responses received from the listIdentityConfigurations operation. This iterator
3756
+ * will fetch more data from the server as needed.
3757
+ *
3758
+ * @param request a request which can be sent to the service operation
3759
+ */
3760
+ listAllIdentityConfigurationsResponses(request) {
3761
+ return oci_common_1.paginateResponses(request, req => this.listIdentityConfigurations(req));
3762
+ }
3763
+ /**
3764
+ * Creates a new async iterator which will iterate over the models.IdentityConfigurationSummary objects
3765
+ * contained in responses from the listIdentityConfigurations operation. This iterator will fetch more data from the
3766
+ * server as needed.
3767
+ *
3768
+ * @param request a request which can be sent to the service operation
3769
+ */
3770
+ listIdentityConfigurationsRecordIterator(request) {
3771
+ return oci_common_1.paginateRecords(request, req => this.listIdentityConfigurations(req));
3772
+ }
3773
+ /**
3774
+ * Creates a new async iterator which will iterate over the responses received from the listIdentityConfigurations operation. This iterator
3775
+ * will fetch more data from the server as needed.
3776
+ *
3777
+ * @param request a request which can be sent to the service operation
3778
+ */
3779
+ listIdentityConfigurationsResponseIterator(request) {
3780
+ return oci_common_1.paginateResponses(request, req => this.listIdentityConfigurations(req));
3781
+ }
3120
3782
  /**
3121
3783
  * Returns information about the NodeBackupConfigurations.
3122
3784
  *
@@ -4223,6 +4885,132 @@ class BdsClient {
4223
4885
  listWorkRequestsResponseIterator(request) {
4224
4886
  return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
4225
4887
  }
4888
+ /**
4889
+ * Refresh confidential application for the given identity configuration in case of any update to the confidential application (e.g. regenerated client secret)
4890
+ * This operation does not retry by default if the user has not defined a retry configuration.
4891
+ * @param RefreshConfidentialApplicationRequest
4892
+ * @return RefreshConfidentialApplicationResponse
4893
+ * @throws OciError when an error occurs
4894
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/RefreshConfidentialApplication.ts.html |here} to see how to use RefreshConfidentialApplication API.
4895
+ */
4896
+ refreshConfidentialApplication(refreshConfidentialApplicationRequest) {
4897
+ return __awaiter(this, void 0, void 0, function* () {
4898
+ if (this.logger)
4899
+ this.logger.debug("Calling operation BdsClient#refreshConfidentialApplication.");
4900
+ const operationName = "refreshConfidentialApplication";
4901
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/IdentityConfiguration/RefreshConfidentialApplication";
4902
+ const pathParams = {
4903
+ "{bdsInstanceId}": refreshConfidentialApplicationRequest.bdsInstanceId,
4904
+ "{identityConfigurationId}": refreshConfidentialApplicationRequest.identityConfigurationId
4905
+ };
4906
+ const queryParams = {};
4907
+ let headerParams = {
4908
+ "Content-Type": common.Constants.APPLICATION_JSON,
4909
+ "opc-retry-token": refreshConfidentialApplicationRequest.opcRetryToken,
4910
+ "if-match": refreshConfidentialApplicationRequest.ifMatch,
4911
+ "opc-request-id": refreshConfidentialApplicationRequest.opcRequestId
4912
+ };
4913
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4914
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, refreshConfidentialApplicationRequest.retryConfiguration, specRetryConfiguration);
4915
+ if (this.logger)
4916
+ retrier.logger = this.logger;
4917
+ const request = yield oci_common_2.composeRequest({
4918
+ baseEndpoint: this._endpoint,
4919
+ defaultHeaders: this._defaultHeaders,
4920
+ path: "/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}/actions/refreshConfidentialApplication",
4921
+ method: "POST",
4922
+ bodyContent: common.ObjectSerializer.serialize(refreshConfidentialApplicationRequest.refreshConfidentialApplicationDetails, "RefreshConfidentialApplicationDetails", model.RefreshConfidentialApplicationDetails.getJsonObj),
4923
+ pathParams: pathParams,
4924
+ headerParams: headerParams,
4925
+ queryParams: queryParams
4926
+ });
4927
+ try {
4928
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
4929
+ const sdkResponse = oci_common_2.composeResponse({
4930
+ responseObject: {},
4931
+ responseHeaders: [
4932
+ {
4933
+ value: response.headers.get("opc-request-id"),
4934
+ key: "opcRequestId",
4935
+ dataType: "string"
4936
+ },
4937
+ {
4938
+ value: response.headers.get("opc-work-request-id"),
4939
+ key: "opcWorkRequestId",
4940
+ dataType: "string"
4941
+ }
4942
+ ]
4943
+ });
4944
+ return sdkResponse;
4945
+ }
4946
+ catch (err) {
4947
+ throw err;
4948
+ }
4949
+ });
4950
+ }
4951
+ /**
4952
+ * Refresh token exchange kerberos principal keytab for the UPST enabled identity configuration
4953
+ * This operation does not retry by default if the user has not defined a retry configuration.
4954
+ * @param RefreshUpstTokenExchangeKeytabRequest
4955
+ * @return RefreshUpstTokenExchangeKeytabResponse
4956
+ * @throws OciError when an error occurs
4957
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/RefreshUpstTokenExchangeKeytab.ts.html |here} to see how to use RefreshUpstTokenExchangeKeytab API.
4958
+ */
4959
+ refreshUpstTokenExchangeKeytab(refreshUpstTokenExchangeKeytabRequest) {
4960
+ return __awaiter(this, void 0, void 0, function* () {
4961
+ if (this.logger)
4962
+ this.logger.debug("Calling operation BdsClient#refreshUpstTokenExchangeKeytab.");
4963
+ const operationName = "refreshUpstTokenExchangeKeytab";
4964
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/IdentityConfiguration/RefreshUpstTokenExchangeKeytab";
4965
+ const pathParams = {
4966
+ "{bdsInstanceId}": refreshUpstTokenExchangeKeytabRequest.bdsInstanceId,
4967
+ "{identityConfigurationId}": refreshUpstTokenExchangeKeytabRequest.identityConfigurationId
4968
+ };
4969
+ const queryParams = {};
4970
+ let headerParams = {
4971
+ "Content-Type": common.Constants.APPLICATION_JSON,
4972
+ "opc-retry-token": refreshUpstTokenExchangeKeytabRequest.opcRetryToken,
4973
+ "opc-request-id": refreshUpstTokenExchangeKeytabRequest.opcRequestId,
4974
+ "if-match": refreshUpstTokenExchangeKeytabRequest.ifMatch
4975
+ };
4976
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4977
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, refreshUpstTokenExchangeKeytabRequest.retryConfiguration, specRetryConfiguration);
4978
+ if (this.logger)
4979
+ retrier.logger = this.logger;
4980
+ const request = yield oci_common_2.composeRequest({
4981
+ baseEndpoint: this._endpoint,
4982
+ defaultHeaders: this._defaultHeaders,
4983
+ path: "/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}/actions/refreshUpstTokenExchangeKeytab",
4984
+ method: "POST",
4985
+ bodyContent: common.ObjectSerializer.serialize(refreshUpstTokenExchangeKeytabRequest.refreshUpstTokenExchangeKeytabDetails, "RefreshUpstTokenExchangeKeytabDetails", model.RefreshUpstTokenExchangeKeytabDetails.getJsonObj),
4986
+ pathParams: pathParams,
4987
+ headerParams: headerParams,
4988
+ queryParams: queryParams
4989
+ });
4990
+ try {
4991
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
4992
+ const sdkResponse = oci_common_2.composeResponse({
4993
+ responseObject: {},
4994
+ responseHeaders: [
4995
+ {
4996
+ value: response.headers.get("opc-request-id"),
4997
+ key: "opcRequestId",
4998
+ dataType: "string"
4999
+ },
5000
+ {
5001
+ value: response.headers.get("opc-work-request-id"),
5002
+ key: "opcWorkRequestId",
5003
+ dataType: "string"
5004
+ }
5005
+ ]
5006
+ });
5007
+ return sdkResponse;
5008
+ }
5009
+ catch (err) {
5010
+ throw err;
5011
+ }
5012
+ });
5013
+ }
4226
5014
  /**
4227
5015
  * Deletes an autoscale configuration.
4228
5016
  *
@@ -5226,6 +6014,69 @@ class BdsClient {
5226
6014
  }
5227
6015
  });
5228
6016
  }
6017
+ /**
6018
+ * Update the IAM user sync and UPST configuration for the specified identity configuration
6019
+ * This operation does not retry by default if the user has not defined a retry configuration.
6020
+ * @param UpdateIdentityConfigurationRequest
6021
+ * @return UpdateIdentityConfigurationResponse
6022
+ * @throws OciError when an error occurs
6023
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/bds/UpdateIdentityConfiguration.ts.html |here} to see how to use UpdateIdentityConfiguration API.
6024
+ */
6025
+ updateIdentityConfiguration(updateIdentityConfigurationRequest) {
6026
+ return __awaiter(this, void 0, void 0, function* () {
6027
+ if (this.logger)
6028
+ this.logger.debug("Calling operation BdsClient#updateIdentityConfiguration.");
6029
+ const operationName = "updateIdentityConfiguration";
6030
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/IdentityConfiguration/UpdateIdentityConfiguration";
6031
+ const pathParams = {
6032
+ "{bdsInstanceId}": updateIdentityConfigurationRequest.bdsInstanceId,
6033
+ "{identityConfigurationId}": updateIdentityConfigurationRequest.identityConfigurationId
6034
+ };
6035
+ const queryParams = {};
6036
+ let headerParams = {
6037
+ "Content-Type": common.Constants.APPLICATION_JSON,
6038
+ "opc-retry-token": updateIdentityConfigurationRequest.opcRetryToken,
6039
+ "if-match": updateIdentityConfigurationRequest.ifMatch,
6040
+ "opc-request-id": updateIdentityConfigurationRequest.opcRequestId
6041
+ };
6042
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
6043
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateIdentityConfigurationRequest.retryConfiguration, specRetryConfiguration);
6044
+ if (this.logger)
6045
+ retrier.logger = this.logger;
6046
+ const request = yield oci_common_2.composeRequest({
6047
+ baseEndpoint: this._endpoint,
6048
+ defaultHeaders: this._defaultHeaders,
6049
+ path: "/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}",
6050
+ method: "PUT",
6051
+ bodyContent: common.ObjectSerializer.serialize(updateIdentityConfigurationRequest.updateIdentityConfigurationDetails, "UpdateIdentityConfigurationDetails", model.UpdateIdentityConfigurationDetails.getJsonObj),
6052
+ pathParams: pathParams,
6053
+ headerParams: headerParams,
6054
+ queryParams: queryParams
6055
+ });
6056
+ try {
6057
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
6058
+ const sdkResponse = oci_common_2.composeResponse({
6059
+ responseObject: {},
6060
+ responseHeaders: [
6061
+ {
6062
+ value: response.headers.get("opc-request-id"),
6063
+ key: "opcRequestId",
6064
+ dataType: "string"
6065
+ },
6066
+ {
6067
+ value: response.headers.get("opc-work-request-id"),
6068
+ key: "opcWorkRequestId",
6069
+ dataType: "string"
6070
+ }
6071
+ ]
6072
+ });
6073
+ return sdkResponse;
6074
+ }
6075
+ catch (err) {
6076
+ throw err;
6077
+ }
6078
+ });
6079
+ }
5229
6080
  /**
5230
6081
  * Updates fields on NodeBackupConfiguration, including the name, the schedule.
5231
6082
  *