oci-dataflow 2.4.0 → 2.6.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.
- package/LICENSE.txt +6 -0
- package/lib/client.d.ts +102 -24
- package/lib/client.js +170 -49
- package/lib/client.js.map +1 -1
- package/lib/request/change-application-compartment-request.d.ts +1 -1
- package/lib/request/change-private-endpoint-compartment-request.d.ts +1 -1
- package/lib/request/change-run-compartment-request.d.ts +1 -1
- package/lib/request/create-application-request.d.ts +1 -1
- package/lib/request/create-private-endpoint-request.d.ts +1 -1
- package/lib/request/create-run-request.d.ts +1 -1
- package/lib/request/delete-application-request.d.ts +1 -1
- package/lib/request/delete-private-endpoint-request.d.ts +1 -1
- package/lib/request/delete-run-request.d.ts +1 -1
- package/lib/request/get-application-request.d.ts +1 -1
- package/lib/request/get-private-endpoint-request.d.ts +1 -1
- package/lib/request/get-run-log-request.d.ts +1 -1
- package/lib/request/get-run-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-applications-request.d.ts +1 -1
- package/lib/request/list-private-endpoints-request.d.ts +1 -1
- package/lib/request/list-run-logs-request.d.ts +1 -1
- package/lib/request/list-runs-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-application-request.d.ts +1 -1
- package/lib/request/update-private-endpoint-request.d.ts +1 -1
- package/lib/request/update-run-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -53,6 +53,9 @@ const oci_common_2 = require("oci-common");
|
|
|
53
53
|
var DataFlowApiKeys;
|
|
54
54
|
(function (DataFlowApiKeys) {
|
|
55
55
|
})(DataFlowApiKeys = exports.DataFlowApiKeys || (exports.DataFlowApiKeys = {}));
|
|
56
|
+
/**
|
|
57
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
58
|
+
*/
|
|
56
59
|
class DataFlowClient {
|
|
57
60
|
constructor(params, clientConfiguration) {
|
|
58
61
|
this["_endpoint"] = "";
|
|
@@ -67,6 +70,13 @@ class DataFlowClient {
|
|
|
67
70
|
? clientConfiguration.circuitBreaker.circuit
|
|
68
71
|
: null;
|
|
69
72
|
}
|
|
73
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
74
|
+
const specCircuitBreakerEnabled = false;
|
|
75
|
+
if (!this._circuitBreaker &&
|
|
76
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
77
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
78
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
79
|
+
}
|
|
70
80
|
this._httpClient =
|
|
71
81
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
72
82
|
if (params.authenticationDetailsProvider &&
|
|
@@ -140,10 +150,11 @@ class DataFlowClient {
|
|
|
140
150
|
* Moves an application into a different compartment. When provided, If-Match is checked against ETag values of the resource.
|
|
141
151
|
* Associated resources, like runs, will not be automatically moved.
|
|
142
152
|
*
|
|
153
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
143
154
|
* @param ChangeApplicationCompartmentRequest
|
|
144
155
|
* @return ChangeApplicationCompartmentResponse
|
|
145
156
|
* @throws OciError when an error occurs
|
|
146
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
157
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/ChangeApplicationCompartment.ts.html |here} to see how to use ChangeApplicationCompartment API.
|
|
147
158
|
*/
|
|
148
159
|
changeApplicationCompartment(changeApplicationCompartmentRequest) {
|
|
149
160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -159,7 +170,8 @@ class DataFlowClient {
|
|
|
159
170
|
"if-match": changeApplicationCompartmentRequest.ifMatch,
|
|
160
171
|
"opc-retry-token": changeApplicationCompartmentRequest.opcRetryToken
|
|
161
172
|
};
|
|
162
|
-
const
|
|
173
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
174
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeApplicationCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
163
175
|
if (this.logger)
|
|
164
176
|
retrier.logger = this.logger;
|
|
165
177
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -194,10 +206,11 @@ class DataFlowClient {
|
|
|
194
206
|
/**
|
|
195
207
|
* Moves a private endpoint into a different compartment. When provided, If-Match is checked against ETag values of the resource.
|
|
196
208
|
*
|
|
209
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
197
210
|
* @param ChangePrivateEndpointCompartmentRequest
|
|
198
211
|
* @return ChangePrivateEndpointCompartmentResponse
|
|
199
212
|
* @throws OciError when an error occurs
|
|
200
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
213
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/ChangePrivateEndpointCompartment.ts.html |here} to see how to use ChangePrivateEndpointCompartment API.
|
|
201
214
|
*/
|
|
202
215
|
changePrivateEndpointCompartment(changePrivateEndpointCompartmentRequest) {
|
|
203
216
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -212,7 +225,8 @@ class DataFlowClient {
|
|
|
212
225
|
"opc-request-id": changePrivateEndpointCompartmentRequest.opcRequestId,
|
|
213
226
|
"if-match": changePrivateEndpointCompartmentRequest.ifMatch
|
|
214
227
|
};
|
|
215
|
-
const
|
|
228
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
229
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changePrivateEndpointCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
216
230
|
if (this.logger)
|
|
217
231
|
retrier.logger = this.logger;
|
|
218
232
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -255,10 +269,11 @@ class DataFlowClient {
|
|
|
255
269
|
* automatically moved. The run must be in a terminal state (CANCELED, FAILED, SUCCEEDED) in
|
|
256
270
|
* order for it to be moved to a different compartment
|
|
257
271
|
*
|
|
272
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
258
273
|
* @param ChangeRunCompartmentRequest
|
|
259
274
|
* @return ChangeRunCompartmentResponse
|
|
260
275
|
* @throws OciError when an error occurs
|
|
261
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
276
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/ChangeRunCompartment.ts.html |here} to see how to use ChangeRunCompartment API.
|
|
262
277
|
*/
|
|
263
278
|
changeRunCompartment(changeRunCompartmentRequest) {
|
|
264
279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -274,7 +289,8 @@ class DataFlowClient {
|
|
|
274
289
|
"if-match": changeRunCompartmentRequest.ifMatch,
|
|
275
290
|
"opc-retry-token": changeRunCompartmentRequest.opcRetryToken
|
|
276
291
|
};
|
|
277
|
-
const
|
|
292
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
293
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeRunCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
278
294
|
if (this.logger)
|
|
279
295
|
retrier.logger = this.logger;
|
|
280
296
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -309,10 +325,11 @@ class DataFlowClient {
|
|
|
309
325
|
/**
|
|
310
326
|
* Creates an application.
|
|
311
327
|
*
|
|
328
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
312
329
|
* @param CreateApplicationRequest
|
|
313
330
|
* @return CreateApplicationResponse
|
|
314
331
|
* @throws OciError when an error occurs
|
|
315
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
332
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/CreateApplication.ts.html |here} to see how to use CreateApplication API.
|
|
316
333
|
*/
|
|
317
334
|
createApplication(createApplicationRequest) {
|
|
318
335
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -325,7 +342,8 @@ class DataFlowClient {
|
|
|
325
342
|
"opc-retry-token": createApplicationRequest.opcRetryToken,
|
|
326
343
|
"opc-request-id": createApplicationRequest.opcRequestId
|
|
327
344
|
};
|
|
328
|
-
const
|
|
345
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
346
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createApplicationRequest.retryConfiguration, specRetryConfiguration);
|
|
329
347
|
if (this.logger)
|
|
330
348
|
retrier.logger = this.logger;
|
|
331
349
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -369,10 +387,11 @@ class DataFlowClient {
|
|
|
369
387
|
/**
|
|
370
388
|
* Creates a private endpoint to be used by applications.
|
|
371
389
|
*
|
|
390
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
372
391
|
* @param CreatePrivateEndpointRequest
|
|
373
392
|
* @return CreatePrivateEndpointResponse
|
|
374
393
|
* @throws OciError when an error occurs
|
|
375
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
394
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/CreatePrivateEndpoint.ts.html |here} to see how to use CreatePrivateEndpoint API.
|
|
376
395
|
*/
|
|
377
396
|
createPrivateEndpoint(createPrivateEndpointRequest) {
|
|
378
397
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -385,7 +404,8 @@ class DataFlowClient {
|
|
|
385
404
|
"opc-retry-token": createPrivateEndpointRequest.opcRetryToken,
|
|
386
405
|
"opc-request-id": createPrivateEndpointRequest.opcRequestId
|
|
387
406
|
};
|
|
388
|
-
const
|
|
407
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
408
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
389
409
|
if (this.logger)
|
|
390
410
|
retrier.logger = this.logger;
|
|
391
411
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -439,10 +459,11 @@ class DataFlowClient {
|
|
|
439
459
|
/**
|
|
440
460
|
* Creates a run for an application.
|
|
441
461
|
*
|
|
462
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
442
463
|
* @param CreateRunRequest
|
|
443
464
|
* @return CreateRunResponse
|
|
444
465
|
* @throws OciError when an error occurs
|
|
445
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
466
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/CreateRun.ts.html |here} to see how to use CreateRun API.
|
|
446
467
|
*/
|
|
447
468
|
createRun(createRunRequest) {
|
|
448
469
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -455,7 +476,8 @@ class DataFlowClient {
|
|
|
455
476
|
"opc-retry-token": createRunRequest.opcRetryToken,
|
|
456
477
|
"opc-request-id": createRunRequest.opcRequestId
|
|
457
478
|
};
|
|
458
|
-
const
|
|
479
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
480
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRunRequest.retryConfiguration, specRetryConfiguration);
|
|
459
481
|
if (this.logger)
|
|
460
482
|
retrier.logger = this.logger;
|
|
461
483
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -499,10 +521,11 @@ class DataFlowClient {
|
|
|
499
521
|
/**
|
|
500
522
|
* Deletes an application using an `applicationId`.
|
|
501
523
|
*
|
|
524
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
502
525
|
* @param DeleteApplicationRequest
|
|
503
526
|
* @return DeleteApplicationResponse
|
|
504
527
|
* @throws OciError when an error occurs
|
|
505
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
528
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/DeleteApplication.ts.html |here} to see how to use DeleteApplication API.
|
|
506
529
|
*/
|
|
507
530
|
deleteApplication(deleteApplicationRequest) {
|
|
508
531
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -517,7 +540,8 @@ class DataFlowClient {
|
|
|
517
540
|
"opc-request-id": deleteApplicationRequest.opcRequestId,
|
|
518
541
|
"if-match": deleteApplicationRequest.ifMatch
|
|
519
542
|
};
|
|
520
|
-
const
|
|
543
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
544
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteApplicationRequest.retryConfiguration, specRetryConfiguration);
|
|
521
545
|
if (this.logger)
|
|
522
546
|
retrier.logger = this.logger;
|
|
523
547
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -551,10 +575,11 @@ class DataFlowClient {
|
|
|
551
575
|
/**
|
|
552
576
|
* Deletes a private endpoint using a `privateEndpointId`.
|
|
553
577
|
*
|
|
578
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
554
579
|
* @param DeletePrivateEndpointRequest
|
|
555
580
|
* @return DeletePrivateEndpointResponse
|
|
556
581
|
* @throws OciError when an error occurs
|
|
557
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
582
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/DeletePrivateEndpoint.ts.html |here} to see how to use DeletePrivateEndpoint API.
|
|
558
583
|
*/
|
|
559
584
|
deletePrivateEndpoint(deletePrivateEndpointRequest) {
|
|
560
585
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -569,7 +594,8 @@ class DataFlowClient {
|
|
|
569
594
|
"opc-request-id": deletePrivateEndpointRequest.opcRequestId,
|
|
570
595
|
"if-match": deletePrivateEndpointRequest.ifMatch
|
|
571
596
|
};
|
|
572
|
-
const
|
|
597
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
598
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
573
599
|
if (this.logger)
|
|
574
600
|
retrier.logger = this.logger;
|
|
575
601
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -609,10 +635,11 @@ class DataFlowClient {
|
|
|
609
635
|
* Cancels the specified run if it has not already completed or was previously cancelled.
|
|
610
636
|
* If a run is in progress, the executing job will be killed.
|
|
611
637
|
*
|
|
638
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
612
639
|
* @param DeleteRunRequest
|
|
613
640
|
* @return DeleteRunResponse
|
|
614
641
|
* @throws OciError when an error occurs
|
|
615
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
642
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/DeleteRun.ts.html |here} to see how to use DeleteRun API.
|
|
616
643
|
*/
|
|
617
644
|
deleteRun(deleteRunRequest) {
|
|
618
645
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -627,7 +654,8 @@ class DataFlowClient {
|
|
|
627
654
|
"opc-request-id": deleteRunRequest.opcRequestId,
|
|
628
655
|
"if-match": deleteRunRequest.ifMatch
|
|
629
656
|
};
|
|
630
|
-
const
|
|
657
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
658
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRunRequest.retryConfiguration, specRetryConfiguration);
|
|
631
659
|
if (this.logger)
|
|
632
660
|
retrier.logger = this.logger;
|
|
633
661
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -661,10 +689,11 @@ class DataFlowClient {
|
|
|
661
689
|
/**
|
|
662
690
|
* Retrieves an application using an `applicationId`.
|
|
663
691
|
*
|
|
692
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
664
693
|
* @param GetApplicationRequest
|
|
665
694
|
* @return GetApplicationResponse
|
|
666
695
|
* @throws OciError when an error occurs
|
|
667
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
696
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/GetApplication.ts.html |here} to see how to use GetApplication API.
|
|
668
697
|
*/
|
|
669
698
|
getApplication(getApplicationRequest) {
|
|
670
699
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -678,7 +707,8 @@ class DataFlowClient {
|
|
|
678
707
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
679
708
|
"opc-request-id": getApplicationRequest.opcRequestId
|
|
680
709
|
};
|
|
681
|
-
const
|
|
710
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
711
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getApplicationRequest.retryConfiguration, specRetryConfiguration);
|
|
682
712
|
if (this.logger)
|
|
683
713
|
retrier.logger = this.logger;
|
|
684
714
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -721,10 +751,11 @@ class DataFlowClient {
|
|
|
721
751
|
/**
|
|
722
752
|
* Retrieves an private endpoint using a `privateEndpointId`.
|
|
723
753
|
*
|
|
754
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
724
755
|
* @param GetPrivateEndpointRequest
|
|
725
756
|
* @return GetPrivateEndpointResponse
|
|
726
757
|
* @throws OciError when an error occurs
|
|
727
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
758
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/GetPrivateEndpoint.ts.html |here} to see how to use GetPrivateEndpoint API.
|
|
728
759
|
*/
|
|
729
760
|
getPrivateEndpoint(getPrivateEndpointRequest) {
|
|
730
761
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -738,7 +769,8 @@ class DataFlowClient {
|
|
|
738
769
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
739
770
|
"opc-request-id": getPrivateEndpointRequest.opcRequestId
|
|
740
771
|
};
|
|
741
|
-
const
|
|
772
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
773
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
742
774
|
if (this.logger)
|
|
743
775
|
retrier.logger = this.logger;
|
|
744
776
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -781,10 +813,11 @@ class DataFlowClient {
|
|
|
781
813
|
/**
|
|
782
814
|
* Retrieves the run for the specified `runId`.
|
|
783
815
|
*
|
|
816
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
784
817
|
* @param GetRunRequest
|
|
785
818
|
* @return GetRunResponse
|
|
786
819
|
* @throws OciError when an error occurs
|
|
787
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
820
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/GetRun.ts.html |here} to see how to use GetRun API.
|
|
788
821
|
*/
|
|
789
822
|
getRun(getRunRequest) {
|
|
790
823
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -798,7 +831,8 @@ class DataFlowClient {
|
|
|
798
831
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
799
832
|
"opc-request-id": getRunRequest.opcRequestId
|
|
800
833
|
};
|
|
801
|
-
const
|
|
834
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
835
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRunRequest.retryConfiguration, specRetryConfiguration);
|
|
802
836
|
if (this.logger)
|
|
803
837
|
retrier.logger = this.logger;
|
|
804
838
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -841,10 +875,11 @@ class DataFlowClient {
|
|
|
841
875
|
/**
|
|
842
876
|
* Retrieves the content of an run log.
|
|
843
877
|
*
|
|
878
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
844
879
|
* @param GetRunLogRequest
|
|
845
880
|
* @return GetRunLogResponse
|
|
846
881
|
* @throws OciError when an error occurs
|
|
847
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
882
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/GetRunLog.ts.html |here} to see how to use GetRunLog API.
|
|
848
883
|
*/
|
|
849
884
|
getRunLog(getRunLogRequest) {
|
|
850
885
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -859,7 +894,8 @@ class DataFlowClient {
|
|
|
859
894
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
860
895
|
"opc-request-id": getRunLogRequest.opcRequestId
|
|
861
896
|
};
|
|
862
|
-
const
|
|
897
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
898
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRunLogRequest.retryConfiguration, specRetryConfiguration);
|
|
863
899
|
if (this.logger)
|
|
864
900
|
retrier.logger = this.logger;
|
|
865
901
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -910,7 +946,7 @@ class DataFlowClient {
|
|
|
910
946
|
const pattern = "opc-meta-";
|
|
911
947
|
response.headers.forEach((v, k) => {
|
|
912
948
|
if (k.startsWith(pattern)) {
|
|
913
|
-
Object.assign(opcMeta, { k: v });
|
|
949
|
+
Object.assign(opcMeta, { [k]: v });
|
|
914
950
|
}
|
|
915
951
|
});
|
|
916
952
|
sdkResponse.opcMeta = opcMeta;
|
|
@@ -924,10 +960,11 @@ class DataFlowClient {
|
|
|
924
960
|
/**
|
|
925
961
|
* Gets the status of the work request with the given OCID.
|
|
926
962
|
*
|
|
963
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
927
964
|
* @param GetWorkRequestRequest
|
|
928
965
|
* @return GetWorkRequestResponse
|
|
929
966
|
* @throws OciError when an error occurs
|
|
930
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
967
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
931
968
|
*/
|
|
932
969
|
getWorkRequest(getWorkRequestRequest) {
|
|
933
970
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -941,7 +978,8 @@ class DataFlowClient {
|
|
|
941
978
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
942
979
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
943
980
|
};
|
|
944
|
-
const
|
|
981
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
982
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
945
983
|
if (this.logger)
|
|
946
984
|
retrier.logger = this.logger;
|
|
947
985
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -979,10 +1017,11 @@ class DataFlowClient {
|
|
|
979
1017
|
/**
|
|
980
1018
|
* Lists all applications in the specified compartment. Only one parameter other than compartmentId may also be included in a query. The query must include compartmentId. If the query does not include compartmentId, or includes compartmentId but two or more other parameters an error is returned.
|
|
981
1019
|
*
|
|
1020
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
982
1021
|
* @param ListApplicationsRequest
|
|
983
1022
|
* @return ListApplicationsResponse
|
|
984
1023
|
* @throws OciError when an error occurs
|
|
985
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1024
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/ListApplications.ts.html |here} to see how to use ListApplications API.
|
|
986
1025
|
*/
|
|
987
1026
|
listApplications(listApplicationsRequest) {
|
|
988
1027
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1004,7 +1043,8 @@ class DataFlowClient {
|
|
|
1004
1043
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1005
1044
|
"opc-request-id": listApplicationsRequest.opcRequestId
|
|
1006
1045
|
};
|
|
1007
|
-
const
|
|
1046
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1047
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listApplicationsRequest.retryConfiguration, specRetryConfiguration);
|
|
1008
1048
|
if (this.logger)
|
|
1009
1049
|
retrier.logger = this.logger;
|
|
1010
1050
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1050,6 +1090,7 @@ class DataFlowClient {
|
|
|
1050
1090
|
});
|
|
1051
1091
|
}
|
|
1052
1092
|
/**
|
|
1093
|
+
* NOTE: This function is deprecated in favor of listApplicationsRecordIterator function.
|
|
1053
1094
|
* Creates a new async iterator which will iterate over the models.ApplicationSummary objects
|
|
1054
1095
|
* contained in responses from the listApplications operation. This iterator will fetch more data from the
|
|
1055
1096
|
* server as needed.
|
|
@@ -1060,6 +1101,7 @@ class DataFlowClient {
|
|
|
1060
1101
|
return oci_common_1.paginateRecords(request, req => this.listApplications(req));
|
|
1061
1102
|
}
|
|
1062
1103
|
/**
|
|
1104
|
+
* NOTE: This function is deprecated in favor of listApplicationsResponseIterator function.
|
|
1063
1105
|
* Creates a new async iterator which will iterate over the responses received from the listApplications operation. This iterator
|
|
1064
1106
|
* will fetch more data from the server as needed.
|
|
1065
1107
|
*
|
|
@@ -1068,13 +1110,33 @@ class DataFlowClient {
|
|
|
1068
1110
|
listAllApplicationsResponses(request) {
|
|
1069
1111
|
return oci_common_1.paginateResponses(request, req => this.listApplications(req));
|
|
1070
1112
|
}
|
|
1113
|
+
/**
|
|
1114
|
+
* Creates a new async iterator which will iterate over the models.ApplicationSummary objects
|
|
1115
|
+
* contained in responses from the listApplications operation. This iterator will fetch more data from the
|
|
1116
|
+
* server as needed.
|
|
1117
|
+
*
|
|
1118
|
+
* @param request a request which can be sent to the service operation
|
|
1119
|
+
*/
|
|
1120
|
+
listApplicationsRecordIterator(request) {
|
|
1121
|
+
return oci_common_1.paginateRecords(request, req => this.listApplications(req));
|
|
1122
|
+
}
|
|
1123
|
+
/**
|
|
1124
|
+
* Creates a new async iterator which will iterate over the responses received from the listApplications operation. This iterator
|
|
1125
|
+
* will fetch more data from the server as needed.
|
|
1126
|
+
*
|
|
1127
|
+
* @param request a request which can be sent to the service operation
|
|
1128
|
+
*/
|
|
1129
|
+
listApplicationsResponseIterator(request) {
|
|
1130
|
+
return oci_common_1.paginateResponses(request, req => this.listApplications(req));
|
|
1131
|
+
}
|
|
1071
1132
|
/**
|
|
1072
1133
|
* Lists all private endpoints in the specified compartment.
|
|
1073
1134
|
*
|
|
1135
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1074
1136
|
* @param ListPrivateEndpointsRequest
|
|
1075
1137
|
* @return ListPrivateEndpointsResponse
|
|
1076
1138
|
* @throws OciError when an error occurs
|
|
1077
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1139
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/ListPrivateEndpoints.ts.html |here} to see how to use ListPrivateEndpoints API.
|
|
1078
1140
|
*/
|
|
1079
1141
|
listPrivateEndpoints(listPrivateEndpointsRequest) {
|
|
1080
1142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1096,7 +1158,8 @@ class DataFlowClient {
|
|
|
1096
1158
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1097
1159
|
"opc-request-id": listPrivateEndpointsRequest.opcRequestId
|
|
1098
1160
|
};
|
|
1099
|
-
const
|
|
1161
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1162
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPrivateEndpointsRequest.retryConfiguration, specRetryConfiguration);
|
|
1100
1163
|
if (this.logger)
|
|
1101
1164
|
retrier.logger = this.logger;
|
|
1102
1165
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1144,10 +1207,11 @@ class DataFlowClient {
|
|
|
1144
1207
|
/**
|
|
1145
1208
|
* Retrieves summaries of the run's logs.
|
|
1146
1209
|
*
|
|
1210
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1147
1211
|
* @param ListRunLogsRequest
|
|
1148
1212
|
* @return ListRunLogsResponse
|
|
1149
1213
|
* @throws OciError when an error occurs
|
|
1150
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1214
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/ListRunLogs.ts.html |here} to see how to use ListRunLogs API.
|
|
1151
1215
|
*/
|
|
1152
1216
|
listRunLogs(listRunLogsRequest) {
|
|
1153
1217
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1164,7 +1228,8 @@ class DataFlowClient {
|
|
|
1164
1228
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1165
1229
|
"opc-request-id": listRunLogsRequest.opcRequestId
|
|
1166
1230
|
};
|
|
1167
|
-
const
|
|
1231
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1232
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRunLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1168
1233
|
if (this.logger)
|
|
1169
1234
|
retrier.logger = this.logger;
|
|
1170
1235
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1210,6 +1275,7 @@ class DataFlowClient {
|
|
|
1210
1275
|
});
|
|
1211
1276
|
}
|
|
1212
1277
|
/**
|
|
1278
|
+
* NOTE: This function is deprecated in favor of listRunLogsRecordIterator function.
|
|
1213
1279
|
* Creates a new async iterator which will iterate over the models.RunLogSummary objects
|
|
1214
1280
|
* contained in responses from the listRunLogs operation. This iterator will fetch more data from the
|
|
1215
1281
|
* server as needed.
|
|
@@ -1220,6 +1286,7 @@ class DataFlowClient {
|
|
|
1220
1286
|
return oci_common_1.paginateRecords(request, req => this.listRunLogs(req));
|
|
1221
1287
|
}
|
|
1222
1288
|
/**
|
|
1289
|
+
* NOTE: This function is deprecated in favor of listRunLogsResponseIterator function.
|
|
1223
1290
|
* Creates a new async iterator which will iterate over the responses received from the listRunLogs operation. This iterator
|
|
1224
1291
|
* will fetch more data from the server as needed.
|
|
1225
1292
|
*
|
|
@@ -1228,13 +1295,33 @@ class DataFlowClient {
|
|
|
1228
1295
|
listAllRunLogsResponses(request) {
|
|
1229
1296
|
return oci_common_1.paginateResponses(request, req => this.listRunLogs(req));
|
|
1230
1297
|
}
|
|
1298
|
+
/**
|
|
1299
|
+
* Creates a new async iterator which will iterate over the models.RunLogSummary objects
|
|
1300
|
+
* contained in responses from the listRunLogs operation. This iterator will fetch more data from the
|
|
1301
|
+
* server as needed.
|
|
1302
|
+
*
|
|
1303
|
+
* @param request a request which can be sent to the service operation
|
|
1304
|
+
*/
|
|
1305
|
+
listRunLogsRecordIterator(request) {
|
|
1306
|
+
return oci_common_1.paginateRecords(request, req => this.listRunLogs(req));
|
|
1307
|
+
}
|
|
1308
|
+
/**
|
|
1309
|
+
* Creates a new async iterator which will iterate over the responses received from the listRunLogs operation. This iterator
|
|
1310
|
+
* will fetch more data from the server as needed.
|
|
1311
|
+
*
|
|
1312
|
+
* @param request a request which can be sent to the service operation
|
|
1313
|
+
*/
|
|
1314
|
+
listRunLogsResponseIterator(request) {
|
|
1315
|
+
return oci_common_1.paginateResponses(request, req => this.listRunLogs(req));
|
|
1316
|
+
}
|
|
1231
1317
|
/**
|
|
1232
1318
|
* Lists all runs of an application in the specified compartment. Only one parameter other than compartmentId may also be included in a query. The query must include compartmentId. If the query does not include compartmentId, or includes compartmentId but two or more other parameters an error is returned.
|
|
1233
1319
|
*
|
|
1320
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1234
1321
|
* @param ListRunsRequest
|
|
1235
1322
|
* @return ListRunsResponse
|
|
1236
1323
|
* @throws OciError when an error occurs
|
|
1237
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1324
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/ListRuns.ts.html |here} to see how to use ListRuns API.
|
|
1238
1325
|
*/
|
|
1239
1326
|
listRuns(listRunsRequest) {
|
|
1240
1327
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1258,7 +1345,8 @@ class DataFlowClient {
|
|
|
1258
1345
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1259
1346
|
"opc-request-id": listRunsRequest.opcRequestId
|
|
1260
1347
|
};
|
|
1261
|
-
const
|
|
1348
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1349
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRunsRequest.retryConfiguration, specRetryConfiguration);
|
|
1262
1350
|
if (this.logger)
|
|
1263
1351
|
retrier.logger = this.logger;
|
|
1264
1352
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1304,6 +1392,7 @@ class DataFlowClient {
|
|
|
1304
1392
|
});
|
|
1305
1393
|
}
|
|
1306
1394
|
/**
|
|
1395
|
+
* NOTE: This function is deprecated in favor of listRunsRecordIterator function.
|
|
1307
1396
|
* Creates a new async iterator which will iterate over the models.RunSummary objects
|
|
1308
1397
|
* contained in responses from the listRuns operation. This iterator will fetch more data from the
|
|
1309
1398
|
* server as needed.
|
|
@@ -1314,6 +1403,7 @@ class DataFlowClient {
|
|
|
1314
1403
|
return oci_common_1.paginateRecords(request, req => this.listRuns(req));
|
|
1315
1404
|
}
|
|
1316
1405
|
/**
|
|
1406
|
+
* NOTE: This function is deprecated in favor of listRunsResponseIterator function.
|
|
1317
1407
|
* Creates a new async iterator which will iterate over the responses received from the listRuns operation. This iterator
|
|
1318
1408
|
* will fetch more data from the server as needed.
|
|
1319
1409
|
*
|
|
@@ -1322,13 +1412,33 @@ class DataFlowClient {
|
|
|
1322
1412
|
listAllRunsResponses(request) {
|
|
1323
1413
|
return oci_common_1.paginateResponses(request, req => this.listRuns(req));
|
|
1324
1414
|
}
|
|
1415
|
+
/**
|
|
1416
|
+
* Creates a new async iterator which will iterate over the models.RunSummary objects
|
|
1417
|
+
* contained in responses from the listRuns operation. This iterator will fetch more data from the
|
|
1418
|
+
* server as needed.
|
|
1419
|
+
*
|
|
1420
|
+
* @param request a request which can be sent to the service operation
|
|
1421
|
+
*/
|
|
1422
|
+
listRunsRecordIterator(request) {
|
|
1423
|
+
return oci_common_1.paginateRecords(request, req => this.listRuns(req));
|
|
1424
|
+
}
|
|
1425
|
+
/**
|
|
1426
|
+
* Creates a new async iterator which will iterate over the responses received from the listRuns operation. This iterator
|
|
1427
|
+
* will fetch more data from the server as needed.
|
|
1428
|
+
*
|
|
1429
|
+
* @param request a request which can be sent to the service operation
|
|
1430
|
+
*/
|
|
1431
|
+
listRunsResponseIterator(request) {
|
|
1432
|
+
return oci_common_1.paginateResponses(request, req => this.listRuns(req));
|
|
1433
|
+
}
|
|
1325
1434
|
/**
|
|
1326
1435
|
* Return a (paginated) list of errors for a given work request.
|
|
1327
1436
|
*
|
|
1437
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1328
1438
|
* @param ListWorkRequestErrorsRequest
|
|
1329
1439
|
* @return ListWorkRequestErrorsResponse
|
|
1330
1440
|
* @throws OciError when an error occurs
|
|
1331
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1441
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1332
1442
|
*/
|
|
1333
1443
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1334
1444
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1345,7 +1455,8 @@ class DataFlowClient {
|
|
|
1345
1455
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1346
1456
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
1347
1457
|
};
|
|
1348
|
-
const
|
|
1458
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1459
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1349
1460
|
if (this.logger)
|
|
1350
1461
|
retrier.logger = this.logger;
|
|
1351
1462
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1393,10 +1504,11 @@ class DataFlowClient {
|
|
|
1393
1504
|
/**
|
|
1394
1505
|
* Return a paginated list of logs for a given work request.
|
|
1395
1506
|
*
|
|
1507
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1396
1508
|
* @param ListWorkRequestLogsRequest
|
|
1397
1509
|
* @return ListWorkRequestLogsResponse
|
|
1398
1510
|
* @throws OciError when an error occurs
|
|
1399
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1511
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1400
1512
|
*/
|
|
1401
1513
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1402
1514
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1413,7 +1525,8 @@ class DataFlowClient {
|
|
|
1413
1525
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1414
1526
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1415
1527
|
};
|
|
1416
|
-
const
|
|
1528
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1529
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1417
1530
|
if (this.logger)
|
|
1418
1531
|
retrier.logger = this.logger;
|
|
1419
1532
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1461,10 +1574,11 @@ class DataFlowClient {
|
|
|
1461
1574
|
/**
|
|
1462
1575
|
* Lists the work requests in a compartment.
|
|
1463
1576
|
*
|
|
1577
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1464
1578
|
* @param ListWorkRequestsRequest
|
|
1465
1579
|
* @return ListWorkRequestsResponse
|
|
1466
1580
|
* @throws OciError when an error occurs
|
|
1467
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1581
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1468
1582
|
*/
|
|
1469
1583
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1470
1584
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1480,7 +1594,8 @@ class DataFlowClient {
|
|
|
1480
1594
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1481
1595
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1482
1596
|
};
|
|
1483
|
-
const
|
|
1597
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1598
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1484
1599
|
if (this.logger)
|
|
1485
1600
|
retrier.logger = this.logger;
|
|
1486
1601
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1528,10 +1643,11 @@ class DataFlowClient {
|
|
|
1528
1643
|
/**
|
|
1529
1644
|
* Updates an application using an `applicationId`.
|
|
1530
1645
|
*
|
|
1646
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1531
1647
|
* @param UpdateApplicationRequest
|
|
1532
1648
|
* @return UpdateApplicationResponse
|
|
1533
1649
|
* @throws OciError when an error occurs
|
|
1534
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1650
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/UpdateApplication.ts.html |here} to see how to use UpdateApplication API.
|
|
1535
1651
|
*/
|
|
1536
1652
|
updateApplication(updateApplicationRequest) {
|
|
1537
1653
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1546,7 +1662,8 @@ class DataFlowClient {
|
|
|
1546
1662
|
"opc-request-id": updateApplicationRequest.opcRequestId,
|
|
1547
1663
|
"if-match": updateApplicationRequest.ifMatch
|
|
1548
1664
|
};
|
|
1549
|
-
const
|
|
1665
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1666
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateApplicationRequest.retryConfiguration, specRetryConfiguration);
|
|
1550
1667
|
if (this.logger)
|
|
1551
1668
|
retrier.logger = this.logger;
|
|
1552
1669
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1592,10 +1709,11 @@ class DataFlowClient {
|
|
|
1592
1709
|
* a previously defined private endpoint, then a 409 status code will be returned. This indicates
|
|
1593
1710
|
* that a conflict has been detected.
|
|
1594
1711
|
*
|
|
1712
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1595
1713
|
* @param UpdatePrivateEndpointRequest
|
|
1596
1714
|
* @return UpdatePrivateEndpointResponse
|
|
1597
1715
|
* @throws OciError when an error occurs
|
|
1598
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1716
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/UpdatePrivateEndpoint.ts.html |here} to see how to use UpdatePrivateEndpoint API.
|
|
1599
1717
|
*/
|
|
1600
1718
|
updatePrivateEndpoint(updatePrivateEndpointRequest) {
|
|
1601
1719
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1610,7 +1728,8 @@ class DataFlowClient {
|
|
|
1610
1728
|
"opc-request-id": updatePrivateEndpointRequest.opcRequestId,
|
|
1611
1729
|
"if-match": updatePrivateEndpointRequest.ifMatch
|
|
1612
1730
|
};
|
|
1613
|
-
const
|
|
1731
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1732
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1614
1733
|
if (this.logger)
|
|
1615
1734
|
retrier.logger = this.logger;
|
|
1616
1735
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1650,10 +1769,11 @@ class DataFlowClient {
|
|
|
1650
1769
|
/**
|
|
1651
1770
|
* Updates a run using a `runId`.
|
|
1652
1771
|
*
|
|
1772
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1653
1773
|
* @param UpdateRunRequest
|
|
1654
1774
|
* @return UpdateRunResponse
|
|
1655
1775
|
* @throws OciError when an error occurs
|
|
1656
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1776
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dataflow/UpdateRun.ts.html |here} to see how to use UpdateRun API.
|
|
1657
1777
|
*/
|
|
1658
1778
|
updateRun(updateRunRequest) {
|
|
1659
1779
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1668,7 +1788,8 @@ class DataFlowClient {
|
|
|
1668
1788
|
"opc-request-id": updateRunRequest.opcRequestId,
|
|
1669
1789
|
"if-match": updateRunRequest.ifMatch
|
|
1670
1790
|
};
|
|
1671
|
-
const
|
|
1791
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1792
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRunRequest.retryConfiguration, specRetryConfiguration);
|
|
1672
1793
|
if (this.logger)
|
|
1673
1794
|
retrier.logger = this.logger;
|
|
1674
1795
|
const request = yield oci_common_2.composeRequest({
|