oci-dataflow 2.62.3 → 2.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/lib/client.d.ts +93 -36
  2. package/lib/client.js +423 -36
  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/change-sql-endpoint-compartment-details.d.ts +26 -0
  8. package/lib/model/change-sql-endpoint-compartment-details.js +30 -0
  9. package/lib/model/change-sql-endpoint-compartment-details.js.map +1 -0
  10. package/lib/model/create-sql-endpoint-details.d.ts +100 -0
  11. package/lib/model/create-sql-endpoint-details.js +70 -0
  12. package/lib/model/create-sql-endpoint-details.js.map +1 -0
  13. package/lib/model/index.d.ts +26 -0
  14. package/lib/model/index.js +28 -2
  15. package/lib/model/index.js.map +1 -1
  16. package/lib/model/ip-notation-type.d.ts +31 -0
  17. package/lib/model/ip-notation-type.js +42 -0
  18. package/lib/model/ip-notation-type.js.map +1 -0
  19. package/lib/model/network-type.d.ts +29 -0
  20. package/lib/model/network-type.js +40 -0
  21. package/lib/model/network-type.js.map +1 -0
  22. package/lib/model/secure-access-control-rule.d.ts +35 -0
  23. package/lib/model/secure-access-control-rule.js +30 -0
  24. package/lib/model/secure-access-control-rule.js.map +1 -0
  25. package/lib/model/sql-endpoint-collection.d.ts +27 -0
  26. package/lib/model/sql-endpoint-collection.js +62 -0
  27. package/lib/model/sql-endpoint-collection.js.map +1 -0
  28. package/lib/model/sql-endpoint-lifecycle-state.d.ts +38 -0
  29. package/lib/model/sql-endpoint-lifecycle-state.js +49 -0
  30. package/lib/model/sql-endpoint-lifecycle-state.js.map +1 -0
  31. package/lib/model/sql-endpoint-network-configuration.d.ts +23 -0
  32. package/lib/model/sql-endpoint-network-configuration.js +73 -0
  33. package/lib/model/sql-endpoint-network-configuration.js.map +1 -0
  34. package/lib/model/sql-endpoint-secure-access-config.d.ts +33 -0
  35. package/lib/model/sql-endpoint-secure-access-config.js +67 -0
  36. package/lib/model/sql-endpoint-secure-access-config.js.map +1 -0
  37. package/lib/model/sql-endpoint-summary.d.ts +146 -0
  38. package/lib/model/sql-endpoint-summary.js +70 -0
  39. package/lib/model/sql-endpoint-summary.js.map +1 -0
  40. package/lib/model/sql-endpoint-vcn-config.d.ts +45 -0
  41. package/lib/model/sql-endpoint-vcn-config.js +55 -0
  42. package/lib/model/sql-endpoint-vcn-config.js.map +1 -0
  43. package/lib/model/sql-endpoint.d.ts +141 -0
  44. package/lib/model/sql-endpoint.js +70 -0
  45. package/lib/model/sql-endpoint.js.map +1 -0
  46. package/lib/model/update-sql-endpoint-details.d.ts +41 -0
  47. package/lib/model/update-sql-endpoint-details.js +30 -0
  48. package/lib/model/update-sql-endpoint-details.js.map +1 -0
  49. package/lib/request/change-application-compartment-request.d.ts +1 -1
  50. package/lib/request/change-pool-compartment-request.d.ts +1 -1
  51. package/lib/request/change-private-endpoint-compartment-request.d.ts +1 -1
  52. package/lib/request/change-run-compartment-request.d.ts +1 -1
  53. package/lib/request/change-sql-endpoint-compartment-request.d.ts +48 -0
  54. package/lib/request/change-sql-endpoint-compartment-request.js +15 -0
  55. package/lib/request/change-sql-endpoint-compartment-request.js.map +1 -0
  56. package/lib/request/create-application-request.d.ts +1 -1
  57. package/lib/request/create-pool-request.d.ts +1 -1
  58. package/lib/request/create-private-endpoint-request.d.ts +1 -1
  59. package/lib/request/create-run-request.d.ts +1 -1
  60. package/lib/request/create-sql-endpoint-request.d.ts +37 -0
  61. package/lib/request/create-sql-endpoint-request.js +15 -0
  62. package/lib/request/create-sql-endpoint-request.js.map +1 -0
  63. package/lib/request/create-statement-request.d.ts +1 -1
  64. package/lib/request/delete-application-request.d.ts +1 -1
  65. package/lib/request/delete-pool-request.d.ts +1 -1
  66. package/lib/request/delete-private-endpoint-request.d.ts +1 -1
  67. package/lib/request/delete-run-request.d.ts +1 -1
  68. package/lib/request/delete-sql-endpoint-request.d.ts +35 -0
  69. package/lib/request/delete-sql-endpoint-request.js +15 -0
  70. package/lib/request/delete-sql-endpoint-request.js.map +1 -0
  71. package/lib/request/delete-statement-request.d.ts +1 -1
  72. package/lib/request/get-application-request.d.ts +1 -1
  73. package/lib/request/get-pool-request.d.ts +1 -1
  74. package/lib/request/get-private-endpoint-request.d.ts +1 -1
  75. package/lib/request/get-run-log-request.d.ts +1 -1
  76. package/lib/request/get-run-request.d.ts +1 -1
  77. package/lib/request/get-sql-endpoint-request.d.ts +28 -0
  78. package/lib/request/get-sql-endpoint-request.js +15 -0
  79. package/lib/request/get-sql-endpoint-request.js.map +1 -0
  80. package/lib/request/get-statement-request.d.ts +1 -1
  81. package/lib/request/get-work-request-request.d.ts +1 -1
  82. package/lib/request/index.d.ts +12 -0
  83. package/lib/request/index.js +3 -1
  84. package/lib/request/index.js.map +1 -1
  85. package/lib/request/list-applications-request.d.ts +1 -1
  86. package/lib/request/list-pools-request.d.ts +1 -1
  87. package/lib/request/list-private-endpoints-request.d.ts +1 -1
  88. package/lib/request/list-run-logs-request.d.ts +1 -1
  89. package/lib/request/list-runs-request.d.ts +1 -1
  90. package/lib/request/list-sql-endpoints-request.d.ts +71 -0
  91. package/lib/request/list-sql-endpoints-request.js +30 -0
  92. package/lib/request/list-sql-endpoints-request.js.map +1 -0
  93. package/lib/request/list-statements-request.d.ts +1 -1
  94. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  95. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  96. package/lib/request/list-work-requests-request.d.ts +1 -1
  97. package/lib/request/start-pool-request.d.ts +1 -1
  98. package/lib/request/stop-pool-request.d.ts +1 -1
  99. package/lib/request/update-application-request.d.ts +1 -1
  100. package/lib/request/update-pool-request.d.ts +1 -1
  101. package/lib/request/update-private-endpoint-request.d.ts +1 -1
  102. package/lib/request/update-run-request.d.ts +1 -1
  103. package/lib/request/update-sql-endpoint-request.d.ts +40 -0
  104. package/lib/request/update-sql-endpoint-request.js +15 -0
  105. package/lib/request/update-sql-endpoint-request.js.map +1 -0
  106. package/lib/response/change-sql-endpoint-compartment-response.d.ts +25 -0
  107. package/lib/response/change-sql-endpoint-compartment-response.js +15 -0
  108. package/lib/response/change-sql-endpoint-compartment-response.js.map +1 -0
  109. package/lib/response/create-sql-endpoint-response.d.ts +36 -0
  110. package/lib/response/create-sql-endpoint-response.js +15 -0
  111. package/lib/response/create-sql-endpoint-response.js.map +1 -0
  112. package/lib/response/delete-sql-endpoint-response.d.ts +25 -0
  113. package/lib/response/delete-sql-endpoint-response.js +15 -0
  114. package/lib/response/delete-sql-endpoint-response.js.map +1 -0
  115. package/lib/response/get-sql-endpoint-response.d.ts +31 -0
  116. package/lib/response/get-sql-endpoint-response.js +15 -0
  117. package/lib/response/get-sql-endpoint-response.js.map +1 -0
  118. package/lib/response/index.d.ts +12 -0
  119. package/lib/response/list-sql-endpoints-response.d.ts +31 -0
  120. package/lib/response/list-sql-endpoints-response.js +15 -0
  121. package/lib/response/list-sql-endpoints-response.js.map +1 -0
  122. package/lib/response/update-sql-endpoint-response.d.ts +25 -0
  123. package/lib/response/update-sql-endpoint-response.js +15 -0
  124. package/lib/response/update-sql-endpoint-response.js.map +1 -0
  125. 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.3/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.63.0/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* () {
@@ -244,7 +244,7 @@ class DataFlowClient {
244
244
  * @param ChangePoolCompartmentRequest
245
245
  * @return ChangePoolCompartmentResponse
246
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.
247
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ChangePoolCompartment.ts.html |here} to see how to use ChangePoolCompartment API.
248
248
  */
249
249
  changePoolCompartment(changePoolCompartmentRequest) {
250
250
  return __awaiter(this, void 0, void 0, function* () {
@@ -302,7 +302,7 @@ class DataFlowClient {
302
302
  * @param ChangePrivateEndpointCompartmentRequest
303
303
  * @return ChangePrivateEndpointCompartmentResponse
304
304
  * @throws OciError when an error occurs
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.
305
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ChangePrivateEndpointCompartment.ts.html |here} to see how to use ChangePrivateEndpointCompartment API.
306
306
  */
307
307
  changePrivateEndpointCompartment(changePrivateEndpointCompartmentRequest) {
308
308
  return __awaiter(this, void 0, void 0, function* () {
@@ -367,7 +367,7 @@ class DataFlowClient {
367
367
  * @param ChangeRunCompartmentRequest
368
368
  * @return ChangeRunCompartmentResponse
369
369
  * @throws OciError when an error occurs
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.
370
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ChangeRunCompartment.ts.html |here} to see how to use ChangeRunCompartment API.
371
371
  */
372
372
  changeRunCompartment(changeRunCompartmentRequest) {
373
373
  return __awaiter(this, void 0, void 0, function* () {
@@ -418,6 +418,68 @@ class DataFlowClient {
418
418
  }
419
419
  });
420
420
  }
421
+ /**
422
+ * Moves an Sql Endpoint from one compartment to another. When provided, If-Match is checked against ETag values of the Sql Endpoint.
423
+ * This operation does not retry by default if the user has not defined a retry configuration.
424
+ * @param ChangeSqlEndpointCompartmentRequest
425
+ * @return ChangeSqlEndpointCompartmentResponse
426
+ * @throws OciError when an error occurs
427
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ChangeSqlEndpointCompartment.ts.html |here} to see how to use ChangeSqlEndpointCompartment API.
428
+ */
429
+ changeSqlEndpointCompartment(changeSqlEndpointCompartmentRequest) {
430
+ return __awaiter(this, void 0, void 0, function* () {
431
+ if (this.logger)
432
+ this.logger.debug("Calling operation DataFlowClient#changeSqlEndpointCompartment.");
433
+ const operationName = "changeSqlEndpointCompartment";
434
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/SqlEndpoint/ChangeSqlEndpointCompartment";
435
+ const pathParams = {
436
+ "{sqlEndpointId}": changeSqlEndpointCompartmentRequest.sqlEndpointId
437
+ };
438
+ const queryParams = {};
439
+ let headerParams = {
440
+ "Content-Type": common.Constants.APPLICATION_JSON,
441
+ "if-match": changeSqlEndpointCompartmentRequest.ifMatch,
442
+ "opc-request-id": changeSqlEndpointCompartmentRequest.opcRequestId,
443
+ "opc-retry-token": changeSqlEndpointCompartmentRequest.opcRetryToken
444
+ };
445
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
446
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSqlEndpointCompartmentRequest.retryConfiguration, specRetryConfiguration);
447
+ if (this.logger)
448
+ retrier.logger = this.logger;
449
+ const request = yield oci_common_2.composeRequest({
450
+ baseEndpoint: this._endpoint,
451
+ defaultHeaders: this._defaultHeaders,
452
+ path: "/sqlEndpoints/{sqlEndpointId}/actions/changeCompartment",
453
+ method: "POST",
454
+ bodyContent: common.ObjectSerializer.serialize(changeSqlEndpointCompartmentRequest.changeSqlEndpointCompartmentDetails, "ChangeSqlEndpointCompartmentDetails", model.ChangeSqlEndpointCompartmentDetails.getJsonObj),
455
+ pathParams: pathParams,
456
+ headerParams: headerParams,
457
+ queryParams: queryParams
458
+ });
459
+ try {
460
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
461
+ const sdkResponse = oci_common_2.composeResponse({
462
+ responseObject: {},
463
+ responseHeaders: [
464
+ {
465
+ value: response.headers.get("opc-request-id"),
466
+ key: "opcRequestId",
467
+ dataType: "string"
468
+ },
469
+ {
470
+ value: response.headers.get("opc-work-request-id"),
471
+ key: "opcWorkRequestId",
472
+ dataType: "string"
473
+ }
474
+ ]
475
+ });
476
+ return sdkResponse;
477
+ }
478
+ catch (err) {
479
+ throw err;
480
+ }
481
+ });
482
+ }
421
483
  /**
422
484
  * Creates an application.
423
485
  *
@@ -425,7 +487,7 @@ class DataFlowClient {
425
487
  * @param CreateApplicationRequest
426
488
  * @return CreateApplicationResponse
427
489
  * @throws OciError when an error occurs
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.
490
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/CreateApplication.ts.html |here} to see how to use CreateApplication API.
429
491
  */
430
492
  createApplication(createApplicationRequest) {
431
493
  return __awaiter(this, void 0, void 0, function* () {
@@ -489,7 +551,7 @@ class DataFlowClient {
489
551
  * @param CreatePoolRequest
490
552
  * @return CreatePoolResponse
491
553
  * @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.
554
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/CreatePool.ts.html |here} to see how to use CreatePool API.
493
555
  */
494
556
  createPool(createPoolRequest) {
495
557
  return __awaiter(this, void 0, void 0, function* () {
@@ -563,7 +625,7 @@ class DataFlowClient {
563
625
  * @param CreatePrivateEndpointRequest
564
626
  * @return CreatePrivateEndpointResponse
565
627
  * @throws OciError when an error occurs
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.
628
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/CreatePrivateEndpoint.ts.html |here} to see how to use CreatePrivateEndpoint API.
567
629
  */
568
630
  createPrivateEndpoint(createPrivateEndpointRequest) {
569
631
  return __awaiter(this, void 0, void 0, function* () {
@@ -637,7 +699,7 @@ class DataFlowClient {
637
699
  * @param CreateRunRequest
638
700
  * @return CreateRunResponse
639
701
  * @throws OciError when an error occurs
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.
702
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/CreateRun.ts.html |here} to see how to use CreateRun API.
641
703
  */
642
704
  createRun(createRunRequest) {
643
705
  return __awaiter(this, void 0, void 0, function* () {
@@ -694,6 +756,74 @@ class DataFlowClient {
694
756
  }
695
757
  });
696
758
  }
759
+ /**
760
+ * Create a new Sql Endpoint.
761
+ * This operation does not retry by default if the user has not defined a retry configuration.
762
+ * @param CreateSqlEndpointRequest
763
+ * @return CreateSqlEndpointResponse
764
+ * @throws OciError when an error occurs
765
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/CreateSqlEndpoint.ts.html |here} to see how to use CreateSqlEndpoint API.
766
+ */
767
+ createSqlEndpoint(createSqlEndpointRequest) {
768
+ return __awaiter(this, void 0, void 0, function* () {
769
+ if (this.logger)
770
+ this.logger.debug("Calling operation DataFlowClient#createSqlEndpoint.");
771
+ const operationName = "createSqlEndpoint";
772
+ const apiReferenceLink = "";
773
+ const pathParams = {};
774
+ const queryParams = {};
775
+ let headerParams = {
776
+ "Content-Type": common.Constants.APPLICATION_JSON,
777
+ "opc-retry-token": createSqlEndpointRequest.opcRetryToken,
778
+ "opc-request-id": createSqlEndpointRequest.opcRequestId
779
+ };
780
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
781
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSqlEndpointRequest.retryConfiguration, specRetryConfiguration);
782
+ if (this.logger)
783
+ retrier.logger = this.logger;
784
+ const request = yield oci_common_2.composeRequest({
785
+ baseEndpoint: this._endpoint,
786
+ defaultHeaders: this._defaultHeaders,
787
+ path: "/sqlEndpoints",
788
+ method: "POST",
789
+ bodyContent: common.ObjectSerializer.serialize(createSqlEndpointRequest.createSqlEndpointDetails, "CreateSqlEndpointDetails", model.CreateSqlEndpointDetails.getJsonObj),
790
+ pathParams: pathParams,
791
+ headerParams: headerParams,
792
+ queryParams: queryParams
793
+ });
794
+ try {
795
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
796
+ const sdkResponse = oci_common_2.composeResponse({
797
+ responseObject: {},
798
+ body: yield response.json(),
799
+ bodyKey: "sqlEndpoint",
800
+ bodyModel: model.SqlEndpoint,
801
+ type: "model.SqlEndpoint",
802
+ responseHeaders: [
803
+ {
804
+ value: response.headers.get("opc-request-id"),
805
+ key: "opcRequestId",
806
+ dataType: "string"
807
+ },
808
+ {
809
+ value: response.headers.get("opc-work-request-id"),
810
+ key: "opcWorkRequestId",
811
+ dataType: "string"
812
+ },
813
+ {
814
+ value: response.headers.get("etag"),
815
+ key: "etag",
816
+ dataType: "string"
817
+ }
818
+ ]
819
+ });
820
+ return sdkResponse;
821
+ }
822
+ catch (err) {
823
+ throw err;
824
+ }
825
+ });
826
+ }
697
827
  /**
698
828
  * Executes a statement for a Session run.
699
829
  *
@@ -701,7 +831,7 @@ class DataFlowClient {
701
831
  * @param CreateStatementRequest
702
832
  * @return CreateStatementResponse
703
833
  * @throws OciError when an error occurs
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.
834
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/CreateStatement.ts.html |here} to see how to use CreateStatement API.
705
835
  */
706
836
  createStatement(createStatementRequest) {
707
837
  return __awaiter(this, void 0, void 0, function* () {
@@ -766,7 +896,7 @@ class DataFlowClient {
766
896
  * @param DeleteApplicationRequest
767
897
  * @return DeleteApplicationResponse
768
898
  * @throws OciError when an error occurs
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.
899
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/DeleteApplication.ts.html |here} to see how to use DeleteApplication API.
770
900
  */
771
901
  deleteApplication(deleteApplicationRequest) {
772
902
  return __awaiter(this, void 0, void 0, function* () {
@@ -822,7 +952,7 @@ class DataFlowClient {
822
952
  * @param DeletePoolRequest
823
953
  * @return DeletePoolResponse
824
954
  * @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.
955
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/DeletePool.ts.html |here} to see how to use DeletePool API.
826
956
  */
827
957
  deletePool(deletePoolRequest) {
828
958
  return __awaiter(this, void 0, void 0, function* () {
@@ -878,7 +1008,7 @@ class DataFlowClient {
878
1008
  * @param DeletePrivateEndpointRequest
879
1009
  * @return DeletePrivateEndpointResponse
880
1010
  * @throws OciError when an error occurs
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.
1011
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/DeletePrivateEndpoint.ts.html |here} to see how to use DeletePrivateEndpoint API.
882
1012
  */
883
1013
  deletePrivateEndpoint(deletePrivateEndpointRequest) {
884
1014
  return __awaiter(this, void 0, void 0, function* () {
@@ -940,7 +1070,7 @@ class DataFlowClient {
940
1070
  * @param DeleteRunRequest
941
1071
  * @return DeleteRunResponse
942
1072
  * @throws OciError when an error occurs
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.
1073
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/DeleteRun.ts.html |here} to see how to use DeleteRun API.
944
1074
  */
945
1075
  deleteRun(deleteRunRequest) {
946
1076
  return __awaiter(this, void 0, void 0, function* () {
@@ -989,6 +1119,66 @@ class DataFlowClient {
989
1119
  }
990
1120
  });
991
1121
  }
1122
+ /**
1123
+ * Delete a Sql Endpoint resource, identified by the SqlEndpoint id.
1124
+ * This operation does not retry by default if the user has not defined a retry configuration.
1125
+ * @param DeleteSqlEndpointRequest
1126
+ * @return DeleteSqlEndpointResponse
1127
+ * @throws OciError when an error occurs
1128
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/DeleteSqlEndpoint.ts.html |here} to see how to use DeleteSqlEndpoint API.
1129
+ */
1130
+ deleteSqlEndpoint(deleteSqlEndpointRequest) {
1131
+ return __awaiter(this, void 0, void 0, function* () {
1132
+ if (this.logger)
1133
+ this.logger.debug("Calling operation DataFlowClient#deleteSqlEndpoint.");
1134
+ const operationName = "deleteSqlEndpoint";
1135
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/SqlEndpoint/DeleteSqlEndpoint";
1136
+ const pathParams = {
1137
+ "{sqlEndpointId}": deleteSqlEndpointRequest.sqlEndpointId
1138
+ };
1139
+ const queryParams = {};
1140
+ let headerParams = {
1141
+ "Content-Type": common.Constants.APPLICATION_JSON,
1142
+ "if-match": deleteSqlEndpointRequest.ifMatch,
1143
+ "opc-request-id": deleteSqlEndpointRequest.opcRequestId
1144
+ };
1145
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1146
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSqlEndpointRequest.retryConfiguration, specRetryConfiguration);
1147
+ if (this.logger)
1148
+ retrier.logger = this.logger;
1149
+ const request = yield oci_common_2.composeRequest({
1150
+ baseEndpoint: this._endpoint,
1151
+ defaultHeaders: this._defaultHeaders,
1152
+ path: "/sqlEndpoints/{sqlEndpointId}",
1153
+ method: "DELETE",
1154
+ pathParams: pathParams,
1155
+ headerParams: headerParams,
1156
+ queryParams: queryParams
1157
+ });
1158
+ try {
1159
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1160
+ const sdkResponse = oci_common_2.composeResponse({
1161
+ responseObject: {},
1162
+ responseHeaders: [
1163
+ {
1164
+ value: response.headers.get("opc-request-id"),
1165
+ key: "opcRequestId",
1166
+ dataType: "string"
1167
+ },
1168
+ {
1169
+ value: response.headers.get("opc-work-request-id"),
1170
+ key: "opcWorkRequestId",
1171
+ dataType: "string"
1172
+ }
1173
+ ]
1174
+ });
1175
+ return sdkResponse;
1176
+ }
1177
+ catch (err) {
1178
+ throw err;
1179
+ }
1180
+ });
1181
+ }
992
1182
  /**
993
1183
  * Cancels the specified statement for a Session run.
994
1184
  *
@@ -996,7 +1186,7 @@ class DataFlowClient {
996
1186
  * @param DeleteStatementRequest
997
1187
  * @return DeleteStatementResponse
998
1188
  * @throws OciError when an error occurs
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.
1189
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/DeleteStatement.ts.html |here} to see how to use DeleteStatement API.
1000
1190
  */
1001
1191
  deleteStatement(deleteStatementRequest) {
1002
1192
  return __awaiter(this, void 0, void 0, function* () {
@@ -1053,7 +1243,7 @@ class DataFlowClient {
1053
1243
  * @param GetApplicationRequest
1054
1244
  * @return GetApplicationResponse
1055
1245
  * @throws OciError when an error occurs
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.
1246
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/GetApplication.ts.html |here} to see how to use GetApplication API.
1057
1247
  */
1058
1248
  getApplication(getApplicationRequest) {
1059
1249
  return __awaiter(this, void 0, void 0, function* () {
@@ -1117,7 +1307,7 @@ class DataFlowClient {
1117
1307
  * @param GetPoolRequest
1118
1308
  * @return GetPoolResponse
1119
1309
  * @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.
1310
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/GetPool.ts.html |here} to see how to use GetPool API.
1121
1311
  */
1122
1312
  getPool(getPoolRequest) {
1123
1313
  return __awaiter(this, void 0, void 0, function* () {
@@ -1181,7 +1371,7 @@ class DataFlowClient {
1181
1371
  * @param GetPrivateEndpointRequest
1182
1372
  * @return GetPrivateEndpointResponse
1183
1373
  * @throws OciError when an error occurs
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.
1374
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/GetPrivateEndpoint.ts.html |here} to see how to use GetPrivateEndpoint API.
1185
1375
  */
1186
1376
  getPrivateEndpoint(getPrivateEndpointRequest) {
1187
1377
  return __awaiter(this, void 0, void 0, function* () {
@@ -1245,7 +1435,7 @@ class DataFlowClient {
1245
1435
  * @param GetRunRequest
1246
1436
  * @return GetRunResponse
1247
1437
  * @throws OciError when an error occurs
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.
1438
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/GetRun.ts.html |here} to see how to use GetRun API.
1249
1439
  */
1250
1440
  getRun(getRunRequest) {
1251
1441
  return __awaiter(this, void 0, void 0, function* () {
@@ -1309,7 +1499,7 @@ class DataFlowClient {
1309
1499
  * @param GetRunLogRequest
1310
1500
  * @return GetRunLogResponse
1311
1501
  * @throws OciError when an error occurs
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.
1502
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/GetRunLog.ts.html |here} to see how to use GetRunLog API.
1313
1503
  */
1314
1504
  getRunLog(getRunLogRequest) {
1315
1505
  return __awaiter(this, void 0, void 0, function* () {
@@ -1389,6 +1579,69 @@ class DataFlowClient {
1389
1579
  }
1390
1580
  });
1391
1581
  }
1582
+ /**
1583
+ * Retrieves a SQL Endpoint using a sqlEndpointId.
1584
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1585
+ * @param GetSqlEndpointRequest
1586
+ * @return GetSqlEndpointResponse
1587
+ * @throws OciError when an error occurs
1588
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/GetSqlEndpoint.ts.html |here} to see how to use GetSqlEndpoint API.
1589
+ */
1590
+ getSqlEndpoint(getSqlEndpointRequest) {
1591
+ return __awaiter(this, void 0, void 0, function* () {
1592
+ if (this.logger)
1593
+ this.logger.debug("Calling operation DataFlowClient#getSqlEndpoint.");
1594
+ const operationName = "getSqlEndpoint";
1595
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/SqlEndpoint/GetSqlEndpoint";
1596
+ const pathParams = {
1597
+ "{sqlEndpointId}": getSqlEndpointRequest.sqlEndpointId
1598
+ };
1599
+ const queryParams = {};
1600
+ let headerParams = {
1601
+ "Content-Type": common.Constants.APPLICATION_JSON,
1602
+ "opc-request-id": getSqlEndpointRequest.opcRequestId
1603
+ };
1604
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1605
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSqlEndpointRequest.retryConfiguration, specRetryConfiguration);
1606
+ if (this.logger)
1607
+ retrier.logger = this.logger;
1608
+ const request = yield oci_common_2.composeRequest({
1609
+ baseEndpoint: this._endpoint,
1610
+ defaultHeaders: this._defaultHeaders,
1611
+ path: "/sqlEndpoints/{sqlEndpointId}",
1612
+ method: "GET",
1613
+ pathParams: pathParams,
1614
+ headerParams: headerParams,
1615
+ queryParams: queryParams
1616
+ });
1617
+ try {
1618
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1619
+ const sdkResponse = oci_common_2.composeResponse({
1620
+ responseObject: {},
1621
+ body: yield response.json(),
1622
+ bodyKey: "sqlEndpoint",
1623
+ bodyModel: model.SqlEndpoint,
1624
+ type: "model.SqlEndpoint",
1625
+ responseHeaders: [
1626
+ {
1627
+ value: response.headers.get("etag"),
1628
+ key: "etag",
1629
+ dataType: "string"
1630
+ },
1631
+ {
1632
+ value: response.headers.get("opc-request-id"),
1633
+ key: "opcRequestId",
1634
+ dataType: "string"
1635
+ }
1636
+ ]
1637
+ });
1638
+ return sdkResponse;
1639
+ }
1640
+ catch (err) {
1641
+ throw err;
1642
+ }
1643
+ });
1644
+ }
1392
1645
  /**
1393
1646
  * Retrieves the statement corresponding to the `statementId` for a Session run specified by `runId`.
1394
1647
  *
@@ -1396,7 +1649,7 @@ class DataFlowClient {
1396
1649
  * @param GetStatementRequest
1397
1650
  * @return GetStatementResponse
1398
1651
  * @throws OciError when an error occurs
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.
1652
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/GetStatement.ts.html |here} to see how to use GetStatement API.
1400
1653
  */
1401
1654
  getStatement(getStatementRequest) {
1402
1655
  return __awaiter(this, void 0, void 0, function* () {
@@ -1461,7 +1714,7 @@ class DataFlowClient {
1461
1714
  * @param GetWorkRequestRequest
1462
1715
  * @return GetWorkRequestResponse
1463
1716
  * @throws OciError when an error occurs
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.
1717
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1465
1718
  */
1466
1719
  getWorkRequest(getWorkRequestRequest) {
1467
1720
  return __awaiter(this, void 0, void 0, function* () {
@@ -1520,7 +1773,7 @@ class DataFlowClient {
1520
1773
  * @param ListApplicationsRequest
1521
1774
  * @return ListApplicationsResponse
1522
1775
  * @throws OciError when an error occurs
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.
1776
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListApplications.ts.html |here} to see how to use ListApplications API.
1524
1777
  */
1525
1778
  listApplications(listApplicationsRequest) {
1526
1779
  return __awaiter(this, void 0, void 0, function* () {
@@ -1637,7 +1890,7 @@ class DataFlowClient {
1637
1890
  * @param ListPoolsRequest
1638
1891
  * @return ListPoolsResponse
1639
1892
  * @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.
1893
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListPools.ts.html |here} to see how to use ListPools API.
1641
1894
  */
1642
1895
  listPools(listPoolsRequest) {
1643
1896
  return __awaiter(this, void 0, void 0, function* () {
@@ -1714,7 +1967,7 @@ class DataFlowClient {
1714
1967
  * @param ListPrivateEndpointsRequest
1715
1968
  * @return ListPrivateEndpointsResponse
1716
1969
  * @throws OciError when an error occurs
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.
1970
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListPrivateEndpoints.ts.html |here} to see how to use ListPrivateEndpoints API.
1718
1971
  */
1719
1972
  listPrivateEndpoints(listPrivateEndpointsRequest) {
1720
1973
  return __awaiter(this, void 0, void 0, function* () {
@@ -1791,7 +2044,7 @@ class DataFlowClient {
1791
2044
  * @param ListRunLogsRequest
1792
2045
  * @return ListRunLogsResponse
1793
2046
  * @throws OciError when an error occurs
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.
2047
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListRunLogs.ts.html |here} to see how to use ListRunLogs API.
1795
2048
  */
1796
2049
  listRunLogs(listRunLogsRequest) {
1797
2050
  return __awaiter(this, void 0, void 0, function* () {
@@ -1903,7 +2156,7 @@ class DataFlowClient {
1903
2156
  * @param ListRunsRequest
1904
2157
  * @return ListRunsResponse
1905
2158
  * @throws OciError when an error occurs
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.
2159
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListRuns.ts.html |here} to see how to use ListRuns API.
1907
2160
  */
1908
2161
  listRuns(listRunsRequest) {
1909
2162
  return __awaiter(this, void 0, void 0, function* () {
@@ -2016,6 +2269,79 @@ class DataFlowClient {
2016
2269
  listRunsResponseIterator(request) {
2017
2270
  return oci_common_1.paginateResponses(request, req => this.listRuns(req));
2018
2271
  }
2272
+ /**
2273
+ * Lists all Sql Endpoints in the specified compartment.
2274
+ * The query must include compartmentId or sqlEndpointId.
2275
+ * If the query does not include either compartmentId or sqlEndpointId, an error is returned.
2276
+ *
2277
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2278
+ * @param ListSqlEndpointsRequest
2279
+ * @return ListSqlEndpointsResponse
2280
+ * @throws OciError when an error occurs
2281
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListSqlEndpoints.ts.html |here} to see how to use ListSqlEndpoints API.
2282
+ */
2283
+ listSqlEndpoints(listSqlEndpointsRequest) {
2284
+ return __awaiter(this, void 0, void 0, function* () {
2285
+ if (this.logger)
2286
+ this.logger.debug("Calling operation DataFlowClient#listSqlEndpoints.");
2287
+ const operationName = "listSqlEndpoints";
2288
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/SqlEndpointCollection/ListSqlEndpoints";
2289
+ const pathParams = {};
2290
+ const queryParams = {
2291
+ "compartmentId": listSqlEndpointsRequest.compartmentId,
2292
+ "sqlEndpointId": listSqlEndpointsRequest.sqlEndpointId,
2293
+ "lifecycleState": listSqlEndpointsRequest.lifecycleState,
2294
+ "displayName": listSqlEndpointsRequest.displayName,
2295
+ "limit": listSqlEndpointsRequest.limit,
2296
+ "page": listSqlEndpointsRequest.page,
2297
+ "sortOrder": listSqlEndpointsRequest.sortOrder,
2298
+ "sortBy": listSqlEndpointsRequest.sortBy
2299
+ };
2300
+ let headerParams = {
2301
+ "Content-Type": common.Constants.APPLICATION_JSON,
2302
+ "opc-request-id": listSqlEndpointsRequest.opcRequestId
2303
+ };
2304
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2305
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSqlEndpointsRequest.retryConfiguration, specRetryConfiguration);
2306
+ if (this.logger)
2307
+ retrier.logger = this.logger;
2308
+ const request = yield oci_common_2.composeRequest({
2309
+ baseEndpoint: this._endpoint,
2310
+ defaultHeaders: this._defaultHeaders,
2311
+ path: "/sqlEndpoints",
2312
+ method: "GET",
2313
+ pathParams: pathParams,
2314
+ headerParams: headerParams,
2315
+ queryParams: queryParams
2316
+ });
2317
+ try {
2318
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2319
+ const sdkResponse = oci_common_2.composeResponse({
2320
+ responseObject: {},
2321
+ body: yield response.json(),
2322
+ bodyKey: "sqlEndpointCollection",
2323
+ bodyModel: model.SqlEndpointCollection,
2324
+ type: "model.SqlEndpointCollection",
2325
+ responseHeaders: [
2326
+ {
2327
+ value: response.headers.get("opc-next-page"),
2328
+ key: "opcNextPage",
2329
+ dataType: "string"
2330
+ },
2331
+ {
2332
+ value: response.headers.get("opc-request-id"),
2333
+ key: "opcRequestId",
2334
+ dataType: "string"
2335
+ }
2336
+ ]
2337
+ });
2338
+ return sdkResponse;
2339
+ }
2340
+ catch (err) {
2341
+ throw err;
2342
+ }
2343
+ });
2344
+ }
2019
2345
  /**
2020
2346
  * Lists all statements for a Session run.
2021
2347
  *
@@ -2023,7 +2349,7 @@ class DataFlowClient {
2023
2349
  * @param ListStatementsRequest
2024
2350
  * @return ListStatementsResponse
2025
2351
  * @throws OciError when an error occurs
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.
2352
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListStatements.ts.html |here} to see how to use ListStatements API.
2027
2353
  */
2028
2354
  listStatements(listStatementsRequest) {
2029
2355
  return __awaiter(this, void 0, void 0, function* () {
@@ -2098,7 +2424,7 @@ class DataFlowClient {
2098
2424
  * @param ListWorkRequestErrorsRequest
2099
2425
  * @return ListWorkRequestErrorsResponse
2100
2426
  * @throws OciError when an error occurs
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.
2427
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2102
2428
  */
2103
2429
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
2104
2430
  return __awaiter(this, void 0, void 0, function* () {
@@ -2170,7 +2496,7 @@ class DataFlowClient {
2170
2496
  * @param ListWorkRequestLogsRequest
2171
2497
  * @return ListWorkRequestLogsResponse
2172
2498
  * @throws OciError when an error occurs
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.
2499
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2174
2500
  */
2175
2501
  listWorkRequestLogs(listWorkRequestLogsRequest) {
2176
2502
  return __awaiter(this, void 0, void 0, function* () {
@@ -2242,7 +2568,7 @@ class DataFlowClient {
2242
2568
  * @param ListWorkRequestsRequest
2243
2569
  * @return ListWorkRequestsResponse
2244
2570
  * @throws OciError when an error occurs
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.
2571
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2246
2572
  */
2247
2573
  listWorkRequests(listWorkRequestsRequest) {
2248
2574
  return __awaiter(this, void 0, void 0, function* () {
@@ -2313,7 +2639,7 @@ class DataFlowClient {
2313
2639
  * @param StartPoolRequest
2314
2640
  * @return StartPoolResponse
2315
2641
  * @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.
2642
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/StartPool.ts.html |here} to see how to use StartPool API.
2317
2643
  */
2318
2644
  startPool(startPoolRequest) {
2319
2645
  return __awaiter(this, void 0, void 0, function* () {
@@ -2375,7 +2701,7 @@ class DataFlowClient {
2375
2701
  * @param StopPoolRequest
2376
2702
  * @return StopPoolResponse
2377
2703
  * @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.
2704
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/StopPool.ts.html |here} to see how to use StopPool API.
2379
2705
  */
2380
2706
  stopPool(stopPoolRequest) {
2381
2707
  return __awaiter(this, void 0, void 0, function* () {
@@ -2437,7 +2763,7 @@ class DataFlowClient {
2437
2763
  * @param UpdateApplicationRequest
2438
2764
  * @return UpdateApplicationResponse
2439
2765
  * @throws OciError when an error occurs
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.
2766
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/UpdateApplication.ts.html |here} to see how to use UpdateApplication API.
2441
2767
  */
2442
2768
  updateApplication(updateApplicationRequest) {
2443
2769
  return __awaiter(this, void 0, void 0, function* () {
@@ -2505,7 +2831,7 @@ class DataFlowClient {
2505
2831
  * @param UpdatePoolRequest
2506
2832
  * @return UpdatePoolResponse
2507
2833
  * @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.
2834
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/UpdatePool.ts.html |here} to see how to use UpdatePool API.
2509
2835
  */
2510
2836
  updatePool(updatePoolRequest) {
2511
2837
  return __awaiter(this, void 0, void 0, function* () {
@@ -2569,7 +2895,7 @@ class DataFlowClient {
2569
2895
  * @param UpdatePrivateEndpointRequest
2570
2896
  * @return UpdatePrivateEndpointResponse
2571
2897
  * @throws OciError when an error occurs
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.
2898
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/UpdatePrivateEndpoint.ts.html |here} to see how to use UpdatePrivateEndpoint API.
2573
2899
  */
2574
2900
  updatePrivateEndpoint(updatePrivateEndpointRequest) {
2575
2901
  return __awaiter(this, void 0, void 0, function* () {
@@ -2631,7 +2957,7 @@ class DataFlowClient {
2631
2957
  * @param UpdateRunRequest
2632
2958
  * @return UpdateRunResponse
2633
2959
  * @throws OciError when an error occurs
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.
2960
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/UpdateRun.ts.html |here} to see how to use UpdateRun API.
2635
2961
  */
2636
2962
  updateRun(updateRunRequest) {
2637
2963
  return __awaiter(this, void 0, void 0, function* () {
@@ -2690,6 +3016,67 @@ class DataFlowClient {
2690
3016
  }
2691
3017
  });
2692
3018
  }
3019
+ /**
3020
+ * Update a Sql Endpoint resource, identified by the SqlEndpoint id.
3021
+ * This operation does not retry by default if the user has not defined a retry configuration.
3022
+ * @param UpdateSqlEndpointRequest
3023
+ * @return UpdateSqlEndpointResponse
3024
+ * @throws OciError when an error occurs
3025
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/dataflow/UpdateSqlEndpoint.ts.html |here} to see how to use UpdateSqlEndpoint API.
3026
+ */
3027
+ updateSqlEndpoint(updateSqlEndpointRequest) {
3028
+ return __awaiter(this, void 0, void 0, function* () {
3029
+ if (this.logger)
3030
+ this.logger.debug("Calling operation DataFlowClient#updateSqlEndpoint.");
3031
+ const operationName = "updateSqlEndpoint";
3032
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/SqlEndpoint/UpdateSqlEndpoint";
3033
+ const pathParams = {
3034
+ "{sqlEndpointId}": updateSqlEndpointRequest.sqlEndpointId
3035
+ };
3036
+ const queryParams = {};
3037
+ let headerParams = {
3038
+ "Content-Type": common.Constants.APPLICATION_JSON,
3039
+ "if-match": updateSqlEndpointRequest.ifMatch,
3040
+ "opc-request-id": updateSqlEndpointRequest.opcRequestId
3041
+ };
3042
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3043
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSqlEndpointRequest.retryConfiguration, specRetryConfiguration);
3044
+ if (this.logger)
3045
+ retrier.logger = this.logger;
3046
+ const request = yield oci_common_2.composeRequest({
3047
+ baseEndpoint: this._endpoint,
3048
+ defaultHeaders: this._defaultHeaders,
3049
+ path: "/sqlEndpoints/{sqlEndpointId}",
3050
+ method: "PUT",
3051
+ bodyContent: common.ObjectSerializer.serialize(updateSqlEndpointRequest.updateSqlEndpointDetails, "UpdateSqlEndpointDetails", model.UpdateSqlEndpointDetails.getJsonObj),
3052
+ pathParams: pathParams,
3053
+ headerParams: headerParams,
3054
+ queryParams: queryParams
3055
+ });
3056
+ try {
3057
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3058
+ const sdkResponse = oci_common_2.composeResponse({
3059
+ responseObject: {},
3060
+ responseHeaders: [
3061
+ {
3062
+ value: response.headers.get("opc-request-id"),
3063
+ key: "opcRequestId",
3064
+ dataType: "string"
3065
+ },
3066
+ {
3067
+ value: response.headers.get("opc-work-request-id"),
3068
+ key: "opcWorkRequestId",
3069
+ dataType: "string"
3070
+ }
3071
+ ]
3072
+ });
3073
+ return sdkResponse;
3074
+ }
3075
+ catch (err) {
3076
+ throw err;
3077
+ }
3078
+ });
3079
+ }
2693
3080
  }
2694
3081
  exports.DataFlowClient = DataFlowClient;
2695
3082
  DataFlowClient.serviceEndpointTemplate = "https://dataflow.{region}.oci.{secondLevelDomain}";