oci-dataflow 2.62.2 → 2.62.3

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 (145) hide show
  1. package/lib/client.d.ts +113 -28
  2. package/lib/client.js +549 -28
  3. package/lib/client.js.map +1 -1
  4. package/lib/dataflow-waiter.d.ts +8 -0
  5. package/lib/dataflow-waiter.js +12 -0
  6. package/lib/dataflow-waiter.js.map +1 -1
  7. package/lib/model/application-summary.d.ts +7 -2
  8. package/lib/model/application-summary.js.map +1 -1
  9. package/lib/model/application.d.ts +7 -2
  10. package/lib/model/application.js.map +1 -1
  11. package/lib/model/change-pool-compartment-details.d.ts +28 -0
  12. package/lib/model/change-pool-compartment-details.js +30 -0
  13. package/lib/model/change-pool-compartment-details.js.map +1 -0
  14. package/lib/model/create-application-details.d.ts +5 -0
  15. package/lib/model/create-application-details.js.map +1 -1
  16. package/lib/model/create-pool-details.d.ts +74 -0
  17. package/lib/model/create-pool-details.js +72 -0
  18. package/lib/model/create-pool-details.js.map +1 -0
  19. package/lib/model/create-run-details.d.ts +5 -0
  20. package/lib/model/create-run-details.js.map +1 -1
  21. package/lib/model/day-of-week.d.ts +35 -0
  22. package/lib/model/day-of-week.js +46 -0
  23. package/lib/model/day-of-week.js.map +1 -0
  24. package/lib/model/index.d.ts +24 -0
  25. package/lib/model/index.js +26 -1
  26. package/lib/model/index.js.map +1 -1
  27. package/lib/model/node-count.d.ts +33 -0
  28. package/lib/model/node-count.js +30 -0
  29. package/lib/model/node-count.js.map +1 -0
  30. package/lib/model/pool-collection.d.ts +29 -0
  31. package/lib/model/pool-collection.js +62 -0
  32. package/lib/model/pool-collection.js.map +1 -0
  33. package/lib/model/pool-config.d.ts +40 -0
  34. package/lib/model/pool-config.js +56 -0
  35. package/lib/model/pool-config.js.map +1 -0
  36. package/lib/model/pool-lifecycle-state.d.ts +38 -0
  37. package/lib/model/pool-lifecycle-state.js +49 -0
  38. package/lib/model/pool-lifecycle-state.js.map +1 -0
  39. package/lib/model/pool-metrics.d.ts +54 -0
  40. package/lib/model/pool-metrics.js +62 -0
  41. package/lib/model/pool-metrics.js.map +1 -0
  42. package/lib/model/pool-schedule.d.ts +36 -0
  43. package/lib/model/pool-schedule.js +30 -0
  44. package/lib/model/pool-schedule.js.map +1 -0
  45. package/lib/model/pool-summary.d.ts +86 -0
  46. package/lib/model/pool-summary.js +30 -0
  47. package/lib/model/pool-summary.js.map +1 -0
  48. package/lib/model/pool.d.ts +113 -0
  49. package/lib/model/pool.js +76 -0
  50. package/lib/model/pool.js.map +1 -0
  51. package/lib/model/private-endpoint-summary.d.ts +2 -2
  52. package/lib/model/private-endpoint.d.ts +2 -2
  53. package/lib/model/run-summary.d.ts +7 -2
  54. package/lib/model/run-summary.js.map +1 -1
  55. package/lib/model/run.d.ts +7 -2
  56. package/lib/model/run.js.map +1 -1
  57. package/lib/model/statement-summary.d.ts +1 -1
  58. package/lib/model/statement.d.ts +1 -1
  59. package/lib/model/update-application-details.d.ts +5 -0
  60. package/lib/model/update-application-details.js.map +1 -1
  61. package/lib/model/update-pool-details.d.ts +69 -0
  62. package/lib/model/update-pool-details.js +72 -0
  63. package/lib/model/update-pool-details.js.map +1 -0
  64. package/lib/request/change-application-compartment-request.d.ts +1 -1
  65. package/lib/request/change-pool-compartment-request.d.ts +50 -0
  66. package/lib/request/change-pool-compartment-request.js +15 -0
  67. package/lib/request/change-pool-compartment-request.js.map +1 -0
  68. package/lib/request/change-private-endpoint-compartment-request.d.ts +1 -1
  69. package/lib/request/change-run-compartment-request.d.ts +1 -1
  70. package/lib/request/create-application-request.d.ts +1 -1
  71. package/lib/request/create-pool-request.d.ts +38 -0
  72. package/lib/request/create-pool-request.js +15 -0
  73. package/lib/request/create-pool-request.js.map +1 -0
  74. package/lib/request/create-private-endpoint-request.d.ts +1 -1
  75. package/lib/request/create-run-request.d.ts +1 -1
  76. package/lib/request/create-statement-request.d.ts +1 -1
  77. package/lib/request/delete-application-request.d.ts +1 -1
  78. package/lib/request/delete-pool-request.d.ts +36 -0
  79. package/lib/request/delete-pool-request.js +15 -0
  80. package/lib/request/delete-pool-request.js.map +1 -0
  81. package/lib/request/delete-private-endpoint-request.d.ts +1 -1
  82. package/lib/request/delete-run-request.d.ts +1 -1
  83. package/lib/request/delete-statement-request.d.ts +1 -1
  84. package/lib/request/get-application-request.d.ts +1 -1
  85. package/lib/request/get-pool-request.d.ts +29 -0
  86. package/lib/request/get-pool-request.js +15 -0
  87. package/lib/request/get-pool-request.js.map +1 -0
  88. package/lib/request/get-private-endpoint-request.d.ts +1 -1
  89. package/lib/request/get-run-log-request.d.ts +1 -1
  90. package/lib/request/get-run-request.d.ts +1 -1
  91. package/lib/request/get-statement-request.d.ts +1 -1
  92. package/lib/request/get-work-request-request.d.ts +1 -1
  93. package/lib/request/index.d.ts +16 -0
  94. package/lib/request/index.js +3 -1
  95. package/lib/request/index.js.map +1 -1
  96. package/lib/request/list-applications-request.d.ts +1 -1
  97. package/lib/request/list-pools-request.d.ts +80 -0
  98. package/lib/request/list-pools-request.js +28 -0
  99. package/lib/request/list-pools-request.js.map +1 -0
  100. package/lib/request/list-private-endpoints-request.d.ts +1 -1
  101. package/lib/request/list-run-logs-request.d.ts +1 -1
  102. package/lib/request/list-runs-request.d.ts +6 -1
  103. package/lib/request/list-runs-request.js.map +1 -1
  104. package/lib/request/list-statements-request.d.ts +1 -1
  105. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  106. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  107. package/lib/request/list-work-requests-request.d.ts +1 -1
  108. package/lib/request/start-pool-request.d.ts +44 -0
  109. package/lib/request/start-pool-request.js +15 -0
  110. package/lib/request/start-pool-request.js.map +1 -0
  111. package/lib/request/stop-pool-request.d.ts +44 -0
  112. package/lib/request/stop-pool-request.js +15 -0
  113. package/lib/request/stop-pool-request.js.map +1 -0
  114. package/lib/request/update-application-request.d.ts +1 -1
  115. package/lib/request/update-pool-request.d.ts +42 -0
  116. package/lib/request/update-pool-request.js +15 -0
  117. package/lib/request/update-pool-request.js.map +1 -0
  118. package/lib/request/update-private-endpoint-request.d.ts +1 -1
  119. package/lib/request/update-run-request.d.ts +1 -1
  120. package/lib/response/change-pool-compartment-response.d.ts +20 -0
  121. package/lib/response/change-pool-compartment-response.js +15 -0
  122. package/lib/response/change-pool-compartment-response.js.map +1 -0
  123. package/lib/response/create-pool-response.d.ts +41 -0
  124. package/lib/response/create-pool-response.js +15 -0
  125. package/lib/response/create-pool-response.js.map +1 -0
  126. package/lib/response/delete-pool-response.d.ts +20 -0
  127. package/lib/response/delete-pool-response.js +15 -0
  128. package/lib/response/delete-pool-response.js.map +1 -0
  129. package/lib/response/get-pool-response.d.ts +31 -0
  130. package/lib/response/get-pool-response.js +15 -0
  131. package/lib/response/get-pool-response.js.map +1 -0
  132. package/lib/response/index.d.ts +16 -0
  133. package/lib/response/list-pools-response.d.ts +38 -0
  134. package/lib/response/list-pools-response.js +15 -0
  135. package/lib/response/list-pools-response.js.map +1 -0
  136. package/lib/response/start-pool-response.d.ts +25 -0
  137. package/lib/response/start-pool-response.js +15 -0
  138. package/lib/response/start-pool-response.js.map +1 -0
  139. package/lib/response/stop-pool-response.d.ts +25 -0
  140. package/lib/response/stop-pool-response.js +15 -0
  141. package/lib/response/stop-pool-response.js.map +1 -0
  142. package/lib/response/update-pool-response.d.ts +25 -0
  143. package/lib/response/update-pool-response.js +15 -0
  144. package/lib/response/update-pool-response.js.map +1 -0
  145. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -183,7 +183,7 @@ class DataFlowClient {
183
183
  * @param ChangeApplicationCompartmentRequest
184
184
  * @return ChangeApplicationCompartmentResponse
185
185
  * @throws OciError when an error occurs
186
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/ChangeApplicationCompartment.ts.html |here} to see how to use ChangeApplicationCompartment API.
186
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/ChangeApplicationCompartment.ts.html |here} to see how to use ChangeApplicationCompartment API.
187
187
  */
188
188
  changeApplicationCompartment(changeApplicationCompartmentRequest) {
189
189
  return __awaiter(this, void 0, void 0, function* () {
@@ -234,6 +234,67 @@ class DataFlowClient {
234
234
  }
235
235
  });
236
236
  }
237
+ /**
238
+ * Moves a pool into a different compartment. When provided, If-Match is checked against ETag
239
+ * values of the resource. Associated resources, like historical metrics, will not be
240
+ * automatically moved. The pool must be in a terminal state (STOPPED, FAILED) in
241
+ * order for it to be moved to a different compartment
242
+ *
243
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
244
+ * @param ChangePoolCompartmentRequest
245
+ * @return ChangePoolCompartmentResponse
246
+ * @throws OciError when an error occurs
247
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/ChangePoolCompartment.ts.html |here} to see how to use ChangePoolCompartment API.
248
+ */
249
+ changePoolCompartment(changePoolCompartmentRequest) {
250
+ return __awaiter(this, void 0, void 0, function* () {
251
+ if (this.logger)
252
+ this.logger.debug("Calling operation DataFlowClient#changePoolCompartment.");
253
+ const operationName = "changePoolCompartment";
254
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/Pool/ChangePoolCompartment";
255
+ const pathParams = {
256
+ "{poolId}": changePoolCompartmentRequest.poolId
257
+ };
258
+ const queryParams = {};
259
+ let headerParams = {
260
+ "Content-Type": common.Constants.APPLICATION_JSON,
261
+ "if-match": changePoolCompartmentRequest.ifMatch,
262
+ "opc-retry-token": changePoolCompartmentRequest.opcRetryToken,
263
+ "opc-request-id": changePoolCompartmentRequest.opcRequestId
264
+ };
265
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
266
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changePoolCompartmentRequest.retryConfiguration, specRetryConfiguration);
267
+ if (this.logger)
268
+ retrier.logger = this.logger;
269
+ const request = yield oci_common_2.composeRequest({
270
+ baseEndpoint: this._endpoint,
271
+ defaultHeaders: this._defaultHeaders,
272
+ path: "/pools/{poolId}/actions/changeCompartment",
273
+ method: "POST",
274
+ bodyContent: common.ObjectSerializer.serialize(changePoolCompartmentRequest.changePoolCompartmentDetails, "ChangePoolCompartmentDetails", model.ChangePoolCompartmentDetails.getJsonObj),
275
+ pathParams: pathParams,
276
+ headerParams: headerParams,
277
+ queryParams: queryParams
278
+ });
279
+ try {
280
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
281
+ const sdkResponse = oci_common_2.composeResponse({
282
+ responseObject: {},
283
+ responseHeaders: [
284
+ {
285
+ value: response.headers.get("opc-request-id"),
286
+ key: "opcRequestId",
287
+ dataType: "string"
288
+ }
289
+ ]
290
+ });
291
+ return sdkResponse;
292
+ }
293
+ catch (err) {
294
+ throw err;
295
+ }
296
+ });
297
+ }
237
298
  /**
238
299
  * Moves a private endpoint into a different compartment. When provided, If-Match is checked against ETag values of the resource.
239
300
  *
@@ -241,7 +302,7 @@ class DataFlowClient {
241
302
  * @param ChangePrivateEndpointCompartmentRequest
242
303
  * @return ChangePrivateEndpointCompartmentResponse
243
304
  * @throws OciError when an error occurs
244
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/ChangePrivateEndpointCompartment.ts.html |here} to see how to use ChangePrivateEndpointCompartment API.
305
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/ChangePrivateEndpointCompartment.ts.html |here} to see how to use ChangePrivateEndpointCompartment API.
245
306
  */
246
307
  changePrivateEndpointCompartment(changePrivateEndpointCompartmentRequest) {
247
308
  return __awaiter(this, void 0, void 0, function* () {
@@ -306,7 +367,7 @@ class DataFlowClient {
306
367
  * @param ChangeRunCompartmentRequest
307
368
  * @return ChangeRunCompartmentResponse
308
369
  * @throws OciError when an error occurs
309
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/ChangeRunCompartment.ts.html |here} to see how to use ChangeRunCompartment API.
370
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/ChangeRunCompartment.ts.html |here} to see how to use ChangeRunCompartment API.
310
371
  */
311
372
  changeRunCompartment(changeRunCompartmentRequest) {
312
373
  return __awaiter(this, void 0, void 0, function* () {
@@ -364,7 +425,7 @@ class DataFlowClient {
364
425
  * @param CreateApplicationRequest
365
426
  * @return CreateApplicationResponse
366
427
  * @throws OciError when an error occurs
367
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/CreateApplication.ts.html |here} to see how to use CreateApplication API.
428
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/CreateApplication.ts.html |here} to see how to use CreateApplication API.
368
429
  */
369
430
  createApplication(createApplicationRequest) {
370
431
  return __awaiter(this, void 0, void 0, function* () {
@@ -421,6 +482,80 @@ class DataFlowClient {
421
482
  }
422
483
  });
423
484
  }
485
+ /**
486
+ * Create a pool to be used by dataflow runs or applications.
487
+ *
488
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
489
+ * @param CreatePoolRequest
490
+ * @return CreatePoolResponse
491
+ * @throws OciError when an error occurs
492
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/CreatePool.ts.html |here} to see how to use CreatePool API.
493
+ */
494
+ createPool(createPoolRequest) {
495
+ return __awaiter(this, void 0, void 0, function* () {
496
+ if (this.logger)
497
+ this.logger.debug("Calling operation DataFlowClient#createPool.");
498
+ const operationName = "createPool";
499
+ const apiReferenceLink = "";
500
+ const pathParams = {};
501
+ const queryParams = {};
502
+ let headerParams = {
503
+ "Content-Type": common.Constants.APPLICATION_JSON,
504
+ "opc-retry-token": createPoolRequest.opcRetryToken,
505
+ "opc-request-id": createPoolRequest.opcRequestId
506
+ };
507
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
508
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPoolRequest.retryConfiguration, specRetryConfiguration);
509
+ if (this.logger)
510
+ retrier.logger = this.logger;
511
+ const request = yield oci_common_2.composeRequest({
512
+ baseEndpoint: this._endpoint,
513
+ defaultHeaders: this._defaultHeaders,
514
+ path: "/pools",
515
+ method: "POST",
516
+ bodyContent: common.ObjectSerializer.serialize(createPoolRequest.createPoolDetails, "CreatePoolDetails", model.CreatePoolDetails.getJsonObj),
517
+ pathParams: pathParams,
518
+ headerParams: headerParams,
519
+ queryParams: queryParams
520
+ });
521
+ try {
522
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
523
+ const sdkResponse = oci_common_2.composeResponse({
524
+ responseObject: {},
525
+ body: yield response.json(),
526
+ bodyKey: "pool",
527
+ bodyModel: model.Pool,
528
+ type: "model.Pool",
529
+ responseHeaders: [
530
+ {
531
+ value: response.headers.get("etag"),
532
+ key: "etag",
533
+ dataType: "string"
534
+ },
535
+ {
536
+ value: response.headers.get("opc-request-id"),
537
+ key: "opcRequestId",
538
+ dataType: "string"
539
+ },
540
+ {
541
+ value: response.headers.get("opc-work-request-id"),
542
+ key: "opcWorkRequestId",
543
+ dataType: "string"
544
+ },
545
+ {
546
+ value: response.headers.get("Location"),
547
+ key: "location",
548
+ dataType: "string"
549
+ }
550
+ ]
551
+ });
552
+ return sdkResponse;
553
+ }
554
+ catch (err) {
555
+ throw err;
556
+ }
557
+ });
558
+ }
424
559
  /**
425
560
  * Creates a private endpoint to be used by applications.
426
561
  *
@@ -428,7 +563,7 @@ class DataFlowClient {
428
563
  * @param CreatePrivateEndpointRequest
429
564
  * @return CreatePrivateEndpointResponse
430
565
  * @throws OciError when an error occurs
431
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/CreatePrivateEndpoint.ts.html |here} to see how to use CreatePrivateEndpoint API.
566
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/CreatePrivateEndpoint.ts.html |here} to see how to use CreatePrivateEndpoint API.
432
567
  */
433
568
  createPrivateEndpoint(createPrivateEndpointRequest) {
434
569
  return __awaiter(this, void 0, void 0, function* () {
@@ -502,7 +637,7 @@ class DataFlowClient {
502
637
  * @param CreateRunRequest
503
638
  * @return CreateRunResponse
504
639
  * @throws OciError when an error occurs
505
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/CreateRun.ts.html |here} to see how to use CreateRun API.
640
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/CreateRun.ts.html |here} to see how to use CreateRun API.
506
641
  */
507
642
  createRun(createRunRequest) {
508
643
  return __awaiter(this, void 0, void 0, function* () {
@@ -566,7 +701,7 @@ class DataFlowClient {
566
701
  * @param CreateStatementRequest
567
702
  * @return CreateStatementResponse
568
703
  * @throws OciError when an error occurs
569
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/CreateStatement.ts.html |here} to see how to use CreateStatement API.
704
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/CreateStatement.ts.html |here} to see how to use CreateStatement API.
570
705
  */
571
706
  createStatement(createStatementRequest) {
572
707
  return __awaiter(this, void 0, void 0, function* () {
@@ -631,7 +766,7 @@ class DataFlowClient {
631
766
  * @param DeleteApplicationRequest
632
767
  * @return DeleteApplicationResponse
633
768
  * @throws OciError when an error occurs
634
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/DeleteApplication.ts.html |here} to see how to use DeleteApplication API.
769
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/DeleteApplication.ts.html |here} to see how to use DeleteApplication API.
635
770
  */
636
771
  deleteApplication(deleteApplicationRequest) {
637
772
  return __awaiter(this, void 0, void 0, function* () {
@@ -680,6 +815,62 @@ class DataFlowClient {
680
815
  }
681
816
  });
682
817
  }
818
+ /**
819
+ * Deletes a pool using a `poolId`.
820
+ *
821
+ * This operation does not retry by default if the user has not defined a retry configuration.
822
+ * @param DeletePoolRequest
823
+ * @return DeletePoolResponse
824
+ * @throws OciError when an error occurs
825
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/DeletePool.ts.html |here} to see how to use DeletePool API.
826
+ */
827
+ deletePool(deletePoolRequest) {
828
+ return __awaiter(this, void 0, void 0, function* () {
829
+ if (this.logger)
830
+ this.logger.debug("Calling operation DataFlowClient#deletePool.");
831
+ const operationName = "deletePool";
832
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/Pool/DeletePool";
833
+ const pathParams = {
834
+ "{poolId}": deletePoolRequest.poolId
835
+ };
836
+ const queryParams = {};
837
+ let headerParams = {
838
+ "Content-Type": common.Constants.APPLICATION_JSON,
839
+ "opc-request-id": deletePoolRequest.opcRequestId,
840
+ "if-match": deletePoolRequest.ifMatch
841
+ };
842
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
843
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePoolRequest.retryConfiguration, specRetryConfiguration);
844
+ if (this.logger)
845
+ retrier.logger = this.logger;
846
+ const request = yield oci_common_2.composeRequest({
847
+ baseEndpoint: this._endpoint,
848
+ defaultHeaders: this._defaultHeaders,
849
+ path: "/pools/{poolId}",
850
+ method: "DELETE",
851
+ pathParams: pathParams,
852
+ headerParams: headerParams,
853
+ queryParams: queryParams
854
+ });
855
+ try {
856
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
857
+ const sdkResponse = oci_common_2.composeResponse({
858
+ responseObject: {},
859
+ responseHeaders: [
860
+ {
861
+ value: response.headers.get("opc-request-id"),
862
+ key: "opcRequestId",
863
+ dataType: "string"
864
+ }
865
+ ]
866
+ });
867
+ return sdkResponse;
868
+ }
869
+ catch (err) {
870
+ throw err;
871
+ }
872
+ });
873
+ }
683
874
  /**
684
875
  * Deletes a private endpoint using a `privateEndpointId`.
685
876
  *
@@ -687,7 +878,7 @@ class DataFlowClient {
687
878
  * @param DeletePrivateEndpointRequest
688
879
  * @return DeletePrivateEndpointResponse
689
880
  * @throws OciError when an error occurs
690
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/DeletePrivateEndpoint.ts.html |here} to see how to use DeletePrivateEndpoint API.
881
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/DeletePrivateEndpoint.ts.html |here} to see how to use DeletePrivateEndpoint API.
691
882
  */
692
883
  deletePrivateEndpoint(deletePrivateEndpointRequest) {
693
884
  return __awaiter(this, void 0, void 0, function* () {
@@ -749,7 +940,7 @@ class DataFlowClient {
749
940
  * @param DeleteRunRequest
750
941
  * @return DeleteRunResponse
751
942
  * @throws OciError when an error occurs
752
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/DeleteRun.ts.html |here} to see how to use DeleteRun API.
943
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/DeleteRun.ts.html |here} to see how to use DeleteRun API.
753
944
  */
754
945
  deleteRun(deleteRunRequest) {
755
946
  return __awaiter(this, void 0, void 0, function* () {
@@ -805,7 +996,7 @@ class DataFlowClient {
805
996
  * @param DeleteStatementRequest
806
997
  * @return DeleteStatementResponse
807
998
  * @throws OciError when an error occurs
808
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/DeleteStatement.ts.html |here} to see how to use DeleteStatement API.
999
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/DeleteStatement.ts.html |here} to see how to use DeleteStatement API.
809
1000
  */
810
1001
  deleteStatement(deleteStatementRequest) {
811
1002
  return __awaiter(this, void 0, void 0, function* () {
@@ -862,7 +1053,7 @@ class DataFlowClient {
862
1053
  * @param GetApplicationRequest
863
1054
  * @return GetApplicationResponse
864
1055
  * @throws OciError when an error occurs
865
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/GetApplication.ts.html |here} to see how to use GetApplication API.
1056
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/GetApplication.ts.html |here} to see how to use GetApplication API.
866
1057
  */
867
1058
  getApplication(getApplicationRequest) {
868
1059
  return __awaiter(this, void 0, void 0, function* () {
@@ -919,6 +1110,70 @@ class DataFlowClient {
919
1110
  }
920
1111
  });
921
1112
  }
1113
+ /**
1114
+ * Retrieves a pool using a `poolId`.
1115
+ *
1116
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1117
+ * @param GetPoolRequest
1118
+ * @return GetPoolResponse
1119
+ * @throws OciError when an error occurs
1120
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/GetPool.ts.html |here} to see how to use GetPool API.
1121
+ */
1122
+ getPool(getPoolRequest) {
1123
+ return __awaiter(this, void 0, void 0, function* () {
1124
+ if (this.logger)
1125
+ this.logger.debug("Calling operation DataFlowClient#getPool.");
1126
+ const operationName = "getPool";
1127
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/Pool/GetPool";
1128
+ const pathParams = {
1129
+ "{poolId}": getPoolRequest.poolId
1130
+ };
1131
+ const queryParams = {};
1132
+ let headerParams = {
1133
+ "Content-Type": common.Constants.APPLICATION_JSON,
1134
+ "opc-request-id": getPoolRequest.opcRequestId
1135
+ };
1136
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1137
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPoolRequest.retryConfiguration, specRetryConfiguration);
1138
+ if (this.logger)
1139
+ retrier.logger = this.logger;
1140
+ const request = yield oci_common_2.composeRequest({
1141
+ baseEndpoint: this._endpoint,
1142
+ defaultHeaders: this._defaultHeaders,
1143
+ path: "/pools/{poolId}",
1144
+ method: "GET",
1145
+ pathParams: pathParams,
1146
+ headerParams: headerParams,
1147
+ queryParams: queryParams
1148
+ });
1149
+ try {
1150
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1151
+ const sdkResponse = oci_common_2.composeResponse({
1152
+ responseObject: {},
1153
+ body: yield response.json(),
1154
+ bodyKey: "pool",
1155
+ bodyModel: model.Pool,
1156
+ type: "model.Pool",
1157
+ responseHeaders: [
1158
+ {
1159
+ value: response.headers.get("etag"),
1160
+ key: "etag",
1161
+ dataType: "string"
1162
+ },
1163
+ {
1164
+ value: response.headers.get("opc-request-id"),
1165
+ key: "opcRequestId",
1166
+ dataType: "string"
1167
+ }
1168
+ ]
1169
+ });
1170
+ return sdkResponse;
1171
+ }
1172
+ catch (err) {
1173
+ throw err;
1174
+ }
1175
+ });
1176
+ }
922
1177
  /**
923
1178
  * Retrieves an private endpoint using a `privateEndpointId`.
924
1179
  *
@@ -926,7 +1181,7 @@ class DataFlowClient {
926
1181
  * @param GetPrivateEndpointRequest
927
1182
  * @return GetPrivateEndpointResponse
928
1183
  * @throws OciError when an error occurs
929
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/GetPrivateEndpoint.ts.html |here} to see how to use GetPrivateEndpoint API.
1184
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/GetPrivateEndpoint.ts.html |here} to see how to use GetPrivateEndpoint API.
930
1185
  */
931
1186
  getPrivateEndpoint(getPrivateEndpointRequest) {
932
1187
  return __awaiter(this, void 0, void 0, function* () {
@@ -990,7 +1245,7 @@ class DataFlowClient {
990
1245
  * @param GetRunRequest
991
1246
  * @return GetRunResponse
992
1247
  * @throws OciError when an error occurs
993
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/GetRun.ts.html |here} to see how to use GetRun API.
1248
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/GetRun.ts.html |here} to see how to use GetRun API.
994
1249
  */
995
1250
  getRun(getRunRequest) {
996
1251
  return __awaiter(this, void 0, void 0, function* () {
@@ -1054,7 +1309,7 @@ class DataFlowClient {
1054
1309
  * @param GetRunLogRequest
1055
1310
  * @return GetRunLogResponse
1056
1311
  * @throws OciError when an error occurs
1057
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/GetRunLog.ts.html |here} to see how to use GetRunLog API.
1312
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/GetRunLog.ts.html |here} to see how to use GetRunLog API.
1058
1313
  */
1059
1314
  getRunLog(getRunLogRequest) {
1060
1315
  return __awaiter(this, void 0, void 0, function* () {
@@ -1141,7 +1396,7 @@ class DataFlowClient {
1141
1396
  * @param GetStatementRequest
1142
1397
  * @return GetStatementResponse
1143
1398
  * @throws OciError when an error occurs
1144
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/GetStatement.ts.html |here} to see how to use GetStatement API.
1399
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/GetStatement.ts.html |here} to see how to use GetStatement API.
1145
1400
  */
1146
1401
  getStatement(getStatementRequest) {
1147
1402
  return __awaiter(this, void 0, void 0, function* () {
@@ -1206,7 +1461,7 @@ class DataFlowClient {
1206
1461
  * @param GetWorkRequestRequest
1207
1462
  * @return GetWorkRequestResponse
1208
1463
  * @throws OciError when an error occurs
1209
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1464
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1210
1465
  */
1211
1466
  getWorkRequest(getWorkRequestRequest) {
1212
1467
  return __awaiter(this, void 0, void 0, function* () {
@@ -1265,7 +1520,7 @@ class DataFlowClient {
1265
1520
  * @param ListApplicationsRequest
1266
1521
  * @return ListApplicationsResponse
1267
1522
  * @throws OciError when an error occurs
1268
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/ListApplications.ts.html |here} to see how to use ListApplications API.
1523
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/ListApplications.ts.html |here} to see how to use ListApplications API.
1269
1524
  */
1270
1525
  listApplications(listApplicationsRequest) {
1271
1526
  return __awaiter(this, void 0, void 0, function* () {
@@ -1375,6 +1630,83 @@ class DataFlowClient {
1375
1630
  listApplicationsResponseIterator(request) {
1376
1631
  return oci_common_1.paginateResponses(request, req => this.listApplications(req));
1377
1632
  }
1633
+ /**
1634
+ * Lists all pools in the specified compartment. The query must include compartmentId. The query may also include one other parameter. If the query does not include compartmentId, or includes compartmentId, but with two or more other parameters, an error is returned.
1635
+ *
1636
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1637
+ * @param ListPoolsRequest
1638
+ * @return ListPoolsResponse
1639
+ * @throws OciError when an error occurs
1640
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/ListPools.ts.html |here} to see how to use ListPools API.
1641
+ */
1642
+ listPools(listPoolsRequest) {
1643
+ return __awaiter(this, void 0, void 0, function* () {
1644
+ if (this.logger)
1645
+ this.logger.debug("Calling operation DataFlowClient#listPools.");
1646
+ const operationName = "listPools";
1647
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/Pool/ListPools";
1648
+ const pathParams = {};
1649
+ const queryParams = {
1650
+ "compartmentId": listPoolsRequest.compartmentId,
1651
+ "limit": listPoolsRequest.limit,
1652
+ "page": listPoolsRequest.page,
1653
+ "lifecycleState": listPoolsRequest.lifecycleState,
1654
+ "sortBy": listPoolsRequest.sortBy,
1655
+ "sortOrder": listPoolsRequest.sortOrder,
1656
+ "displayName": listPoolsRequest.displayName,
1657
+ "ownerPrincipalId": listPoolsRequest.ownerPrincipalId,
1658
+ "displayNameStartsWith": listPoolsRequest.displayNameStartsWith
1659
+ };
1660
+ let headerParams = {
1661
+ "Content-Type": common.Constants.APPLICATION_JSON,
1662
+ "opc-request-id": listPoolsRequest.opcRequestId
1663
+ };
1664
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1665
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPoolsRequest.retryConfiguration, specRetryConfiguration);
1666
+ if (this.logger)
1667
+ retrier.logger = this.logger;
1668
+ const request = yield oci_common_2.composeRequest({
1669
+ baseEndpoint: this._endpoint,
1670
+ defaultHeaders: this._defaultHeaders,
1671
+ path: "/pools",
1672
+ method: "GET",
1673
+ pathParams: pathParams,
1674
+ headerParams: headerParams,
1675
+ queryParams: queryParams
1676
+ });
1677
+ try {
1678
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1679
+ const sdkResponse = oci_common_2.composeResponse({
1680
+ responseObject: {},
1681
+ body: yield response.json(),
1682
+ bodyKey: "poolCollection",
1683
+ bodyModel: model.PoolCollection,
1684
+ type: "model.PoolCollection",
1685
+ responseHeaders: [
1686
+ {
1687
+ value: response.headers.get("opc-prev-page"),
1688
+ key: "opcPrevPage",
1689
+ dataType: "string"
1690
+ },
1691
+ {
1692
+ value: response.headers.get("opc-next-page"),
1693
+ key: "opcNextPage",
1694
+ dataType: "string"
1695
+ },
1696
+ {
1697
+ value: response.headers.get("opc-request-id"),
1698
+ key: "opcRequestId",
1699
+ dataType: "string"
1700
+ }
1701
+ ]
1702
+ });
1703
+ return sdkResponse;
1704
+ }
1705
+ catch (err) {
1706
+ throw err;
1707
+ }
1708
+ });
1709
+ }
1378
1710
  /**
1379
1711
  * Lists all private endpoints in the specified compartment. The query must include compartmentId. The query may also include one other parameter. If the query does not include compartmentId, or includes compartmentId, but with two or more other parameters, an error is returned.
1380
1712
  *
@@ -1382,7 +1714,7 @@ class DataFlowClient {
1382
1714
  * @param ListPrivateEndpointsRequest
1383
1715
  * @return ListPrivateEndpointsResponse
1384
1716
  * @throws OciError when an error occurs
1385
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/ListPrivateEndpoints.ts.html |here} to see how to use ListPrivateEndpoints API.
1717
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/ListPrivateEndpoints.ts.html |here} to see how to use ListPrivateEndpoints API.
1386
1718
  */
1387
1719
  listPrivateEndpoints(listPrivateEndpointsRequest) {
1388
1720
  return __awaiter(this, void 0, void 0, function* () {
@@ -1459,7 +1791,7 @@ class DataFlowClient {
1459
1791
  * @param ListRunLogsRequest
1460
1792
  * @return ListRunLogsResponse
1461
1793
  * @throws OciError when an error occurs
1462
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/ListRunLogs.ts.html |here} to see how to use ListRunLogs API.
1794
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/ListRunLogs.ts.html |here} to see how to use ListRunLogs API.
1463
1795
  */
1464
1796
  listRunLogs(listRunLogsRequest) {
1465
1797
  return __awaiter(this, void 0, void 0, function* () {
@@ -1571,7 +1903,7 @@ class DataFlowClient {
1571
1903
  * @param ListRunsRequest
1572
1904
  * @return ListRunsResponse
1573
1905
  * @throws OciError when an error occurs
1574
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/ListRuns.ts.html |here} to see how to use ListRuns API.
1906
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/ListRuns.ts.html |here} to see how to use ListRuns API.
1575
1907
  */
1576
1908
  listRuns(listRunsRequest) {
1577
1909
  return __awaiter(this, void 0, void 0, function* () {
@@ -1583,6 +1915,7 @@ class DataFlowClient {
1583
1915
  const queryParams = {
1584
1916
  "compartmentId": listRunsRequest.compartmentId,
1585
1917
  "applicationId": listRunsRequest.applicationId,
1918
+ "poolId": listRunsRequest.poolId,
1586
1919
  "ownerPrincipalId": listRunsRequest.ownerPrincipalId,
1587
1920
  "displayNameStartsWith": listRunsRequest.displayNameStartsWith,
1588
1921
  "lifecycleState": listRunsRequest.lifecycleState,
@@ -1690,7 +2023,7 @@ class DataFlowClient {
1690
2023
  * @param ListStatementsRequest
1691
2024
  * @return ListStatementsResponse
1692
2025
  * @throws OciError when an error occurs
1693
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/ListStatements.ts.html |here} to see how to use ListStatements API.
2026
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/ListStatements.ts.html |here} to see how to use ListStatements API.
1694
2027
  */
1695
2028
  listStatements(listStatementsRequest) {
1696
2029
  return __awaiter(this, void 0, void 0, function* () {
@@ -1765,7 +2098,7 @@ class DataFlowClient {
1765
2098
  * @param ListWorkRequestErrorsRequest
1766
2099
  * @return ListWorkRequestErrorsResponse
1767
2100
  * @throws OciError when an error occurs
1768
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2101
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1769
2102
  */
1770
2103
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1771
2104
  return __awaiter(this, void 0, void 0, function* () {
@@ -1837,7 +2170,7 @@ class DataFlowClient {
1837
2170
  * @param ListWorkRequestLogsRequest
1838
2171
  * @return ListWorkRequestLogsResponse
1839
2172
  * @throws OciError when an error occurs
1840
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2173
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1841
2174
  */
1842
2175
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1843
2176
  return __awaiter(this, void 0, void 0, function* () {
@@ -1909,7 +2242,7 @@ class DataFlowClient {
1909
2242
  * @param ListWorkRequestsRequest
1910
2243
  * @return ListWorkRequestsResponse
1911
2244
  * @throws OciError when an error occurs
1912
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2245
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1913
2246
  */
1914
2247
  listWorkRequests(listWorkRequestsRequest) {
1915
2248
  return __awaiter(this, void 0, void 0, function* () {
@@ -1973,6 +2306,130 @@ class DataFlowClient {
1973
2306
  }
1974
2307
  });
1975
2308
  }
2309
+ /**
2310
+ * Starts the dataflow pool for a given `poolId`. When provided, If-Match is checked against ETag values of the resource.
2311
+ *
2312
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2313
+ * @param StartPoolRequest
2314
+ * @return StartPoolResponse
2315
+ * @throws OciError when an error occurs
2316
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/StartPool.ts.html |here} to see how to use StartPool API.
2317
+ */
2318
+ startPool(startPoolRequest) {
2319
+ return __awaiter(this, void 0, void 0, function* () {
2320
+ if (this.logger)
2321
+ this.logger.debug("Calling operation DataFlowClient#startPool.");
2322
+ const operationName = "startPool";
2323
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/Pool/StartPool";
2324
+ const pathParams = {
2325
+ "{poolId}": startPoolRequest.poolId
2326
+ };
2327
+ const queryParams = {};
2328
+ let headerParams = {
2329
+ "Content-Type": common.Constants.APPLICATION_JSON,
2330
+ "if-match": startPoolRequest.ifMatch,
2331
+ "opc-retry-token": startPoolRequest.opcRetryToken,
2332
+ "opc-request-id": startPoolRequest.opcRequestId
2333
+ };
2334
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2335
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startPoolRequest.retryConfiguration, specRetryConfiguration);
2336
+ if (this.logger)
2337
+ retrier.logger = this.logger;
2338
+ const request = yield oci_common_2.composeRequest({
2339
+ baseEndpoint: this._endpoint,
2340
+ defaultHeaders: this._defaultHeaders,
2341
+ path: "/pools/{poolId}/actions/start",
2342
+ method: "POST",
2343
+ pathParams: pathParams,
2344
+ headerParams: headerParams,
2345
+ queryParams: queryParams
2346
+ });
2347
+ try {
2348
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2349
+ const sdkResponse = oci_common_2.composeResponse({
2350
+ responseObject: {},
2351
+ responseHeaders: [
2352
+ {
2353
+ value: response.headers.get("opc-request-id"),
2354
+ key: "opcRequestId",
2355
+ dataType: "string"
2356
+ },
2357
+ {
2358
+ value: response.headers.get("opc-work-request-id"),
2359
+ key: "opcWorkRequestId",
2360
+ dataType: "string"
2361
+ }
2362
+ ]
2363
+ });
2364
+ return sdkResponse;
2365
+ }
2366
+ catch (err) {
2367
+ throw err;
2368
+ }
2369
+ });
2370
+ }
2371
+ /**
2372
+ * Stops the dataflow pool for a given `poolId`. When provided, If-Match is checked against ETag values of the resource.
2373
+ *
2374
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2375
+ * @param StopPoolRequest
2376
+ * @return StopPoolResponse
2377
+ * @throws OciError when an error occurs
2378
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/StopPool.ts.html |here} to see how to use StopPool API.
2379
+ */
2380
+ stopPool(stopPoolRequest) {
2381
+ return __awaiter(this, void 0, void 0, function* () {
2382
+ if (this.logger)
2383
+ this.logger.debug("Calling operation DataFlowClient#stopPool.");
2384
+ const operationName = "stopPool";
2385
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/Pool/StopPool";
2386
+ const pathParams = {
2387
+ "{poolId}": stopPoolRequest.poolId
2388
+ };
2389
+ const queryParams = {};
2390
+ let headerParams = {
2391
+ "Content-Type": common.Constants.APPLICATION_JSON,
2392
+ "if-match": stopPoolRequest.ifMatch,
2393
+ "opc-retry-token": stopPoolRequest.opcRetryToken,
2394
+ "opc-request-id": stopPoolRequest.opcRequestId
2395
+ };
2396
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2397
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopPoolRequest.retryConfiguration, specRetryConfiguration);
2398
+ if (this.logger)
2399
+ retrier.logger = this.logger;
2400
+ const request = yield oci_common_2.composeRequest({
2401
+ baseEndpoint: this._endpoint,
2402
+ defaultHeaders: this._defaultHeaders,
2403
+ path: "/pools/{poolId}/actions/stop",
2404
+ method: "POST",
2405
+ pathParams: pathParams,
2406
+ headerParams: headerParams,
2407
+ queryParams: queryParams
2408
+ });
2409
+ try {
2410
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2411
+ const sdkResponse = oci_common_2.composeResponse({
2412
+ responseObject: {},
2413
+ responseHeaders: [
2414
+ {
2415
+ value: response.headers.get("opc-request-id"),
2416
+ key: "opcRequestId",
2417
+ dataType: "string"
2418
+ },
2419
+ {
2420
+ value: response.headers.get("opc-work-request-id"),
2421
+ key: "opcWorkRequestId",
2422
+ dataType: "string"
2423
+ }
2424
+ ]
2425
+ });
2426
+ return sdkResponse;
2427
+ }
2428
+ catch (err) {
2429
+ throw err;
2430
+ }
2431
+ });
2432
+ }
1976
2433
  /**
1977
2434
  * Updates an application using an `applicationId`.
1978
2435
  *
@@ -1980,7 +2437,7 @@ class DataFlowClient {
1980
2437
  * @param UpdateApplicationRequest
1981
2438
  * @return UpdateApplicationResponse
1982
2439
  * @throws OciError when an error occurs
1983
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/UpdateApplication.ts.html |here} to see how to use UpdateApplication API.
2440
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/UpdateApplication.ts.html |here} to see how to use UpdateApplication API.
1984
2441
  */
1985
2442
  updateApplication(updateApplicationRequest) {
1986
2443
  return __awaiter(this, void 0, void 0, function* () {
@@ -2039,6 +2496,70 @@ class DataFlowClient {
2039
2496
  }
2040
2497
  });
2041
2498
  }
2499
+ /**
2500
+ * Updates a pool using a `poolId`.If changes to a pool doesn't match
2501
+ * a previously defined pool,then a 409 status code will be returned.This indicates
2502
+ * that a conflict has been detected.
2503
+ *
2504
+ * This operation does not retry by default if the user has not defined a retry configuration.
2505
+ * @param UpdatePoolRequest
2506
+ * @return UpdatePoolResponse
2507
+ * @throws OciError when an error occurs
2508
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/UpdatePool.ts.html |here} to see how to use UpdatePool API.
2509
+ */
2510
+ updatePool(updatePoolRequest) {
2511
+ return __awaiter(this, void 0, void 0, function* () {
2512
+ if (this.logger)
2513
+ this.logger.debug("Calling operation DataFlowClient#updatePool.");
2514
+ const operationName = "updatePool";
2515
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/Pool/UpdatePool";
2516
+ const pathParams = {
2517
+ "{poolId}": updatePoolRequest.poolId
2518
+ };
2519
+ const queryParams = {};
2520
+ let headerParams = {
2521
+ "Content-Type": common.Constants.APPLICATION_JSON,
2522
+ "opc-request-id": updatePoolRequest.opcRequestId,
2523
+ "if-match": updatePoolRequest.ifMatch
2524
+ };
2525
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2526
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePoolRequest.retryConfiguration, specRetryConfiguration);
2527
+ if (this.logger)
2528
+ retrier.logger = this.logger;
2529
+ const request = yield oci_common_2.composeRequest({
2530
+ baseEndpoint: this._endpoint,
2531
+ defaultHeaders: this._defaultHeaders,
2532
+ path: "/pools/{poolId}",
2533
+ method: "PUT",
2534
+ bodyContent: common.ObjectSerializer.serialize(updatePoolRequest.updatePoolDetails, "UpdatePoolDetails", model.UpdatePoolDetails.getJsonObj),
2535
+ pathParams: pathParams,
2536
+ headerParams: headerParams,
2537
+ queryParams: queryParams
2538
+ });
2539
+ try {
2540
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2541
+ const sdkResponse = oci_common_2.composeResponse({
2542
+ responseObject: {},
2543
+ responseHeaders: [
2544
+ {
2545
+ value: response.headers.get("opc-request-id"),
2546
+ key: "opcRequestId",
2547
+ dataType: "string"
2548
+ },
2549
+ {
2550
+ value: response.headers.get("opc-work-request-id"),
2551
+ key: "opcWorkRequestId",
2552
+ dataType: "string"
2553
+ }
2554
+ ]
2555
+ });
2556
+ return sdkResponse;
2557
+ }
2558
+ catch (err) {
2559
+ throw err;
2560
+ }
2561
+ });
2562
+ }
2042
2563
  /**
2043
2564
  * Updates a private endpoint using a `privateEndpointId`. If changes to a private endpoint match
2044
2565
  * a previously defined private endpoint, then a 409 status code will be returned. This indicates
@@ -2048,7 +2569,7 @@ class DataFlowClient {
2048
2569
  * @param UpdatePrivateEndpointRequest
2049
2570
  * @return UpdatePrivateEndpointResponse
2050
2571
  * @throws OciError when an error occurs
2051
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/UpdatePrivateEndpoint.ts.html |here} to see how to use UpdatePrivateEndpoint API.
2572
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/UpdatePrivateEndpoint.ts.html |here} to see how to use UpdatePrivateEndpoint API.
2052
2573
  */
2053
2574
  updatePrivateEndpoint(updatePrivateEndpointRequest) {
2054
2575
  return __awaiter(this, void 0, void 0, function* () {
@@ -2110,7 +2631,7 @@ class DataFlowClient {
2110
2631
  * @param UpdateRunRequest
2111
2632
  * @return UpdateRunResponse
2112
2633
  * @throws OciError when an error occurs
2113
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/dataflow/UpdateRun.ts.html |here} to see how to use UpdateRun API.
2634
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/dataflow/UpdateRun.ts.html |here} to see how to use UpdateRun API.
2114
2635
  */
2115
2636
  updateRun(updateRunRequest) {
2116
2637
  return __awaiter(this, void 0, void 0, function* () {