oci-streaming 2.5.2 → 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/lib/client.d.ts +58 -26
- package/lib/client.js +124 -52
- package/lib/client.js.map +1 -1
- package/lib/request/change-connect-harness-compartment-request.d.ts +1 -1
- package/lib/request/change-stream-compartment-request.d.ts +1 -1
- package/lib/request/change-stream-pool-compartment-request.d.ts +1 -1
- package/lib/request/consumer-commit-request.d.ts +1 -1
- package/lib/request/consumer-heartbeat-request.d.ts +1 -1
- package/lib/request/create-connect-harness-request.d.ts +1 -1
- package/lib/request/create-cursor-request.d.ts +1 -1
- package/lib/request/create-group-cursor-request.d.ts +1 -1
- package/lib/request/create-stream-pool-request.d.ts +1 -1
- package/lib/request/create-stream-request.d.ts +1 -1
- package/lib/request/delete-connect-harness-request.d.ts +1 -1
- package/lib/request/delete-stream-pool-request.d.ts +1 -1
- package/lib/request/delete-stream-request.d.ts +1 -1
- package/lib/request/get-connect-harness-request.d.ts +1 -1
- package/lib/request/get-group-request.d.ts +1 -1
- package/lib/request/get-messages-request.d.ts +1 -1
- package/lib/request/get-stream-pool-request.d.ts +1 -1
- package/lib/request/get-stream-request.d.ts +1 -1
- package/lib/request/list-connect-harnesses-request.d.ts +1 -1
- package/lib/request/list-stream-pools-request.d.ts +1 -1
- package/lib/request/list-streams-request.d.ts +1 -1
- package/lib/request/put-messages-request.d.ts +1 -1
- package/lib/request/update-connect-harness-request.d.ts +1 -1
- package/lib/request/update-group-request.d.ts +1 -1
- package/lib/request/update-stream-pool-request.d.ts +1 -1
- package/lib/request/update-stream-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -52,6 +52,9 @@ const oci_common_2 = require("oci-common");
|
|
|
52
52
|
var StreamApiKeys;
|
|
53
53
|
(function (StreamApiKeys) {
|
|
54
54
|
})(StreamApiKeys = exports.StreamApiKeys || (exports.StreamApiKeys = {}));
|
|
55
|
+
/**
|
|
56
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
57
|
+
*/
|
|
55
58
|
class StreamClient {
|
|
56
59
|
constructor(params, clientConfiguration) {
|
|
57
60
|
this["_endpoint"] = "";
|
|
@@ -66,6 +69,13 @@ class StreamClient {
|
|
|
66
69
|
? clientConfiguration.circuitBreaker.circuit
|
|
67
70
|
: null;
|
|
68
71
|
}
|
|
72
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
73
|
+
const specCircuitBreakerEnabled = false;
|
|
74
|
+
if (!this._circuitBreaker &&
|
|
75
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
76
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
77
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
78
|
+
}
|
|
69
79
|
this._httpClient =
|
|
70
80
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
71
81
|
}
|
|
@@ -92,10 +102,11 @@ class StreamClient {
|
|
|
92
102
|
* Provides a mechanism to manually commit offsets, if not using commit-on-get consumer semantics.
|
|
93
103
|
* This commits offsets assicated with the provided cursor, extends the timeout on each of the affected partitions, and returns an updated cursor.
|
|
94
104
|
*
|
|
105
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
95
106
|
* @param ConsumerCommitRequest
|
|
96
107
|
* @return ConsumerCommitResponse
|
|
97
108
|
* @throws OciError when an error occurs
|
|
98
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
109
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/ConsumerCommit.ts.html |here} to see how to use ConsumerCommit API.
|
|
99
110
|
*/
|
|
100
111
|
consumerCommit(consumerCommitRequest) {
|
|
101
112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -111,7 +122,8 @@ class StreamClient {
|
|
|
111
122
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
112
123
|
"opc-request-id": consumerCommitRequest.opcRequestId
|
|
113
124
|
};
|
|
114
|
-
const
|
|
125
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
126
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, consumerCommitRequest.retryConfiguration, specRetryConfiguration);
|
|
115
127
|
if (this.logger)
|
|
116
128
|
retrier.logger = this.logger;
|
|
117
129
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -149,10 +161,11 @@ class StreamClient {
|
|
|
149
161
|
/**
|
|
150
162
|
* Allows long-running processes to extend the timeout on partitions reserved by a consumer instance.
|
|
151
163
|
*
|
|
164
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
152
165
|
* @param ConsumerHeartbeatRequest
|
|
153
166
|
* @return ConsumerHeartbeatResponse
|
|
154
167
|
* @throws OciError when an error occurs
|
|
155
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
168
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/ConsumerHeartbeat.ts.html |here} to see how to use ConsumerHeartbeat API.
|
|
156
169
|
*/
|
|
157
170
|
consumerHeartbeat(consumerHeartbeatRequest) {
|
|
158
171
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -168,7 +181,8 @@ class StreamClient {
|
|
|
168
181
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
169
182
|
"opc-request-id": consumerHeartbeatRequest.opcRequestId
|
|
170
183
|
};
|
|
171
|
-
const
|
|
184
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
185
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, consumerHeartbeatRequest.retryConfiguration, specRetryConfiguration);
|
|
172
186
|
if (this.logger)
|
|
173
187
|
retrier.logger = this.logger;
|
|
174
188
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -210,10 +224,11 @@ class StreamClient {
|
|
|
210
224
|
* on the most recent message allows consumption of only messages that are added to the stream after you create the cursor. Cursors expire
|
|
211
225
|
* five minutes after you receive them from the service.
|
|
212
226
|
*
|
|
227
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
213
228
|
* @param CreateCursorRequest
|
|
214
229
|
* @return CreateCursorResponse
|
|
215
230
|
* @throws OciError when an error occurs
|
|
216
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
231
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/CreateCursor.ts.html |here} to see how to use CreateCursor API.
|
|
217
232
|
*/
|
|
218
233
|
createCursor(createCursorRequest) {
|
|
219
234
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -227,7 +242,8 @@ class StreamClient {
|
|
|
227
242
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
228
243
|
"opc-request-id": createCursorRequest.opcRequestId
|
|
229
244
|
};
|
|
230
|
-
const
|
|
245
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
246
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCursorRequest.retryConfiguration, specRetryConfiguration);
|
|
231
247
|
if (this.logger)
|
|
232
248
|
retrier.logger = this.logger;
|
|
233
249
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -266,10 +282,11 @@ class StreamClient {
|
|
|
266
282
|
/**
|
|
267
283
|
* Creates a group-cursor.
|
|
268
284
|
*
|
|
285
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
269
286
|
* @param CreateGroupCursorRequest
|
|
270
287
|
* @return CreateGroupCursorResponse
|
|
271
288
|
* @throws OciError when an error occurs
|
|
272
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
289
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/CreateGroupCursor.ts.html |here} to see how to use CreateGroupCursor API.
|
|
273
290
|
*/
|
|
274
291
|
createGroupCursor(createGroupCursorRequest) {
|
|
275
292
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -283,7 +300,8 @@ class StreamClient {
|
|
|
283
300
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
284
301
|
"opc-request-id": createGroupCursorRequest.opcRequestId
|
|
285
302
|
};
|
|
286
|
-
const
|
|
303
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
304
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createGroupCursorRequest.retryConfiguration, specRetryConfiguration);
|
|
287
305
|
if (this.logger)
|
|
288
306
|
retrier.logger = this.logger;
|
|
289
307
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -322,10 +340,11 @@ class StreamClient {
|
|
|
322
340
|
/**
|
|
323
341
|
* Returns the current state of a consumer group.
|
|
324
342
|
*
|
|
343
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
325
344
|
* @param GetGroupRequest
|
|
326
345
|
* @return GetGroupResponse
|
|
327
346
|
* @throws OciError when an error occurs
|
|
328
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
347
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/GetGroup.ts.html |here} to see how to use GetGroup API.
|
|
329
348
|
*/
|
|
330
349
|
getGroup(getGroupRequest) {
|
|
331
350
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -340,7 +359,8 @@ class StreamClient {
|
|
|
340
359
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
341
360
|
"opc-request-id": getGroupRequest.opcRequestId
|
|
342
361
|
};
|
|
343
|
-
const
|
|
362
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
363
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
344
364
|
if (this.logger)
|
|
345
365
|
retrier.logger = this.logger;
|
|
346
366
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -380,10 +400,11 @@ class StreamClient {
|
|
|
380
400
|
* To get messages, you must first obtain a cursor using the {@link #createCursor(CreateCursorRequest) createCursor} operation.
|
|
381
401
|
* In the response, retrieve the value of the 'opc-next-cursor' header to pass as a parameter to get the next batch of messages in the stream.
|
|
382
402
|
*
|
|
403
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
383
404
|
* @param GetMessagesRequest
|
|
384
405
|
* @return GetMessagesResponse
|
|
385
406
|
* @throws OciError when an error occurs
|
|
386
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
407
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/GetMessages.ts.html |here} to see how to use GetMessages API.
|
|
387
408
|
*/
|
|
388
409
|
getMessages(getMessagesRequest) {
|
|
389
410
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -400,7 +421,8 @@ class StreamClient {
|
|
|
400
421
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
401
422
|
"opc-request-id": getMessagesRequest.opcRequestId
|
|
402
423
|
};
|
|
403
|
-
const
|
|
424
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
425
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMessagesRequest.retryConfiguration, specRetryConfiguration);
|
|
404
426
|
if (this.logger)
|
|
405
427
|
retrier.logger = this.logger;
|
|
406
428
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -446,10 +468,11 @@ class StreamClient {
|
|
|
446
468
|
* If a message does not contain a key or if the key is null, the service generates a message key for you.
|
|
447
469
|
* The partition ID cannot be passed as a parameter.
|
|
448
470
|
*
|
|
471
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
449
472
|
* @param PutMessagesRequest
|
|
450
473
|
* @return PutMessagesResponse
|
|
451
474
|
* @throws OciError when an error occurs
|
|
452
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
475
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/PutMessages.ts.html |here} to see how to use PutMessages API.
|
|
453
476
|
*/
|
|
454
477
|
putMessages(putMessagesRequest) {
|
|
455
478
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -463,7 +486,8 @@ class StreamClient {
|
|
|
463
486
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
464
487
|
"opc-request-id": putMessagesRequest.opcRequestId
|
|
465
488
|
};
|
|
466
|
-
const
|
|
489
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
490
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, putMessagesRequest.retryConfiguration, specRetryConfiguration);
|
|
467
491
|
if (this.logger)
|
|
468
492
|
retrier.logger = this.logger;
|
|
469
493
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -502,10 +526,11 @@ class StreamClient {
|
|
|
502
526
|
/**
|
|
503
527
|
* Forcefully changes the current location of a group as a whole; reseting processing location of all consumers to a particular location in the stream.
|
|
504
528
|
*
|
|
529
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
505
530
|
* @param UpdateGroupRequest
|
|
506
531
|
* @return UpdateGroupResponse
|
|
507
532
|
* @throws OciError when an error occurs
|
|
508
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
533
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/UpdateGroup.ts.html |here} to see how to use UpdateGroup API.
|
|
509
534
|
*/
|
|
510
535
|
updateGroup(updateGroupRequest) {
|
|
511
536
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -520,7 +545,8 @@ class StreamClient {
|
|
|
520
545
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
521
546
|
"opc-request-id": updateGroupRequest.opcRequestId
|
|
522
547
|
};
|
|
523
|
-
const
|
|
548
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
549
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
524
550
|
if (this.logger)
|
|
525
551
|
retrier.logger = this.logger;
|
|
526
552
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -558,6 +584,9 @@ StreamClient.serviceEndpointTemplate = "https://streaming.{region}.oci.{secondLe
|
|
|
558
584
|
var StreamAdminApiKeys;
|
|
559
585
|
(function (StreamAdminApiKeys) {
|
|
560
586
|
})(StreamAdminApiKeys = exports.StreamAdminApiKeys || (exports.StreamAdminApiKeys = {}));
|
|
587
|
+
/**
|
|
588
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
589
|
+
*/
|
|
561
590
|
class StreamAdminClient {
|
|
562
591
|
constructor(params, clientConfiguration) {
|
|
563
592
|
this["_endpoint"] = "";
|
|
@@ -572,6 +601,13 @@ class StreamAdminClient {
|
|
|
572
601
|
? clientConfiguration.circuitBreaker.circuit
|
|
573
602
|
: null;
|
|
574
603
|
}
|
|
604
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
605
|
+
const specCircuitBreakerEnabled = false;
|
|
606
|
+
if (!this._circuitBreaker &&
|
|
607
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
608
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
609
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
610
|
+
}
|
|
575
611
|
this._httpClient =
|
|
576
612
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
577
613
|
if (params.authenticationDetailsProvider &&
|
|
@@ -643,10 +679,11 @@ class StreamAdminClient {
|
|
|
643
679
|
}
|
|
644
680
|
/**
|
|
645
681
|
* Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
|
|
682
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
646
683
|
* @param ChangeConnectHarnessCompartmentRequest
|
|
647
684
|
* @return ChangeConnectHarnessCompartmentResponse
|
|
648
685
|
* @throws OciError when an error occurs
|
|
649
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
686
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/ChangeConnectHarnessCompartment.ts.html |here} to see how to use ChangeConnectHarnessCompartment API.
|
|
650
687
|
*/
|
|
651
688
|
changeConnectHarnessCompartment(changeConnectHarnessCompartmentRequest) {
|
|
652
689
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -661,7 +698,8 @@ class StreamAdminClient {
|
|
|
661
698
|
"if-match": changeConnectHarnessCompartmentRequest.ifMatch,
|
|
662
699
|
"opc-request-id": changeConnectHarnessCompartmentRequest.opcRequestId
|
|
663
700
|
};
|
|
664
|
-
const
|
|
701
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
702
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeConnectHarnessCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
665
703
|
if (this.logger)
|
|
666
704
|
retrier.logger = this.logger;
|
|
667
705
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -698,10 +736,11 @@ class StreamAdminClient {
|
|
|
698
736
|
* When provided, If-Match is checked against ETag values of the resource.
|
|
699
737
|
* The stream will also be moved into the default stream pool in the destination compartment.
|
|
700
738
|
*
|
|
739
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
701
740
|
* @param ChangeStreamCompartmentRequest
|
|
702
741
|
* @return ChangeStreamCompartmentResponse
|
|
703
742
|
* @throws OciError when an error occurs
|
|
704
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
743
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/ChangeStreamCompartment.ts.html |here} to see how to use ChangeStreamCompartment API.
|
|
705
744
|
*/
|
|
706
745
|
changeStreamCompartment(changeStreamCompartmentRequest) {
|
|
707
746
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -716,7 +755,8 @@ class StreamAdminClient {
|
|
|
716
755
|
"if-match": changeStreamCompartmentRequest.ifMatch,
|
|
717
756
|
"opc-request-id": changeStreamCompartmentRequest.opcRequestId
|
|
718
757
|
};
|
|
719
|
-
const
|
|
758
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
759
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeStreamCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
720
760
|
if (this.logger)
|
|
721
761
|
retrier.logger = this.logger;
|
|
722
762
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -750,10 +790,11 @@ class StreamAdminClient {
|
|
|
750
790
|
}
|
|
751
791
|
/**
|
|
752
792
|
* Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
|
|
793
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
753
794
|
* @param ChangeStreamPoolCompartmentRequest
|
|
754
795
|
* @return ChangeStreamPoolCompartmentResponse
|
|
755
796
|
* @throws OciError when an error occurs
|
|
756
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
797
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/ChangeStreamPoolCompartment.ts.html |here} to see how to use ChangeStreamPoolCompartment API.
|
|
757
798
|
*/
|
|
758
799
|
changeStreamPoolCompartment(changeStreamPoolCompartmentRequest) {
|
|
759
800
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -768,7 +809,8 @@ class StreamAdminClient {
|
|
|
768
809
|
"if-match": changeStreamPoolCompartmentRequest.ifMatch,
|
|
769
810
|
"opc-request-id": changeStreamPoolCompartmentRequest.opcRequestId
|
|
770
811
|
};
|
|
771
|
-
const
|
|
812
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
813
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeStreamPoolCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
772
814
|
if (this.logger)
|
|
773
815
|
retrier.logger = this.logger;
|
|
774
816
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -804,10 +846,11 @@ class StreamAdminClient {
|
|
|
804
846
|
* Starts the provisioning of a new connect harness.
|
|
805
847
|
* To track the progress of the provisioning, you can periodically call {@link ConnectHarness} object tells you its current state.
|
|
806
848
|
*
|
|
849
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
807
850
|
* @param CreateConnectHarnessRequest
|
|
808
851
|
* @return CreateConnectHarnessResponse
|
|
809
852
|
* @throws OciError when an error occurs
|
|
810
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
853
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/CreateConnectHarness.ts.html |here} to see how to use CreateConnectHarness API.
|
|
811
854
|
*/
|
|
812
855
|
createConnectHarness(createConnectHarnessRequest) {
|
|
813
856
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -820,7 +863,8 @@ class StreamAdminClient {
|
|
|
820
863
|
"opc-request-id": createConnectHarnessRequest.opcRequestId,
|
|
821
864
|
"opc-retry-token": createConnectHarnessRequest.opcRetryToken
|
|
822
865
|
};
|
|
823
|
-
const
|
|
866
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
867
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createConnectHarnessRequest.retryConfiguration, specRetryConfiguration);
|
|
824
868
|
if (this.logger)
|
|
825
869
|
retrier.logger = this.logger;
|
|
826
870
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -868,10 +912,11 @@ class StreamAdminClient {
|
|
|
868
912
|
* To track the progress of the provisioning, you can periodically call {@link #getStream(GetStreamRequest) getStream}.
|
|
869
913
|
* In the response, the `lifecycleState` parameter of the {@link Stream} object tells you its current state.
|
|
870
914
|
*
|
|
915
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
871
916
|
* @param CreateStreamRequest
|
|
872
917
|
* @return CreateStreamResponse
|
|
873
918
|
* @throws OciError when an error occurs
|
|
874
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
919
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/CreateStream.ts.html |here} to see how to use CreateStream API.
|
|
875
920
|
*/
|
|
876
921
|
createStream(createStreamRequest) {
|
|
877
922
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -883,7 +928,8 @@ class StreamAdminClient {
|
|
|
883
928
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
884
929
|
"opc-request-id": createStreamRequest.opcRequestId
|
|
885
930
|
};
|
|
886
|
-
const
|
|
931
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
932
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createStreamRequest.retryConfiguration, specRetryConfiguration);
|
|
887
933
|
if (this.logger)
|
|
888
934
|
retrier.logger = this.logger;
|
|
889
935
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -929,10 +975,11 @@ class StreamAdminClient {
|
|
|
929
975
|
* To track the progress of the provisioning, you can periodically call GetStreamPool.
|
|
930
976
|
* In the response, the `lifecycleState` parameter of the object tells you its current state.
|
|
931
977
|
*
|
|
978
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
932
979
|
* @param CreateStreamPoolRequest
|
|
933
980
|
* @return CreateStreamPoolResponse
|
|
934
981
|
* @throws OciError when an error occurs
|
|
935
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
982
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/CreateStreamPool.ts.html |here} to see how to use CreateStreamPool API.
|
|
936
983
|
*/
|
|
937
984
|
createStreamPool(createStreamPoolRequest) {
|
|
938
985
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -945,7 +992,8 @@ class StreamAdminClient {
|
|
|
945
992
|
"opc-request-id": createStreamPoolRequest.opcRequestId,
|
|
946
993
|
"opc-retry-token": createStreamPoolRequest.opcRetryToken
|
|
947
994
|
};
|
|
948
|
-
const
|
|
995
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
996
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createStreamPoolRequest.retryConfiguration, specRetryConfiguration);
|
|
949
997
|
if (this.logger)
|
|
950
998
|
retrier.logger = this.logger;
|
|
951
999
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -993,10 +1041,11 @@ class StreamAdminClient {
|
|
|
993
1041
|
* lifecycle state as `DELETED`, then the connect harness has been deleted. If the call returns a \"404 Not Found\" error, that means all records of the
|
|
994
1042
|
* connect harness have been deleted.
|
|
995
1043
|
*
|
|
1044
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
996
1045
|
* @param DeleteConnectHarnessRequest
|
|
997
1046
|
* @return DeleteConnectHarnessResponse
|
|
998
1047
|
* @throws OciError when an error occurs
|
|
999
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1048
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/DeleteConnectHarness.ts.html |here} to see how to use DeleteConnectHarness API.
|
|
1000
1049
|
*/
|
|
1001
1050
|
deleteConnectHarness(deleteConnectHarnessRequest) {
|
|
1002
1051
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1011,7 +1060,8 @@ class StreamAdminClient {
|
|
|
1011
1060
|
"opc-request-id": deleteConnectHarnessRequest.opcRequestId,
|
|
1012
1061
|
"if-match": deleteConnectHarnessRequest.ifMatch
|
|
1013
1062
|
};
|
|
1014
|
-
const
|
|
1063
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1064
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteConnectHarnessRequest.retryConfiguration, specRetryConfiguration);
|
|
1015
1065
|
if (this.logger)
|
|
1016
1066
|
retrier.logger = this.logger;
|
|
1017
1067
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1049,10 +1099,11 @@ class StreamAdminClient {
|
|
|
1049
1099
|
* lifecycle state as `DELETED`, then the stream has been deleted. If the call returns a \"404 Not Found\" error, that means all records of the
|
|
1050
1100
|
* stream have been deleted.
|
|
1051
1101
|
*
|
|
1102
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1052
1103
|
* @param DeleteStreamRequest
|
|
1053
1104
|
* @return DeleteStreamResponse
|
|
1054
1105
|
* @throws OciError when an error occurs
|
|
1055
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1106
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/DeleteStream.ts.html |here} to see how to use DeleteStream API.
|
|
1056
1107
|
*/
|
|
1057
1108
|
deleteStream(deleteStreamRequest) {
|
|
1058
1109
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1067,7 +1118,8 @@ class StreamAdminClient {
|
|
|
1067
1118
|
"opc-request-id": deleteStreamRequest.opcRequestId,
|
|
1068
1119
|
"if-match": deleteStreamRequest.ifMatch
|
|
1069
1120
|
};
|
|
1070
|
-
const
|
|
1121
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1122
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteStreamRequest.retryConfiguration, specRetryConfiguration);
|
|
1071
1123
|
if (this.logger)
|
|
1072
1124
|
retrier.logger = this.logger;
|
|
1073
1125
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1102,10 +1154,11 @@ class StreamAdminClient {
|
|
|
1102
1154
|
* Deletes a stream pool. All containing streams will also be deleted.
|
|
1103
1155
|
* The default stream pool of a compartment cannot be deleted.
|
|
1104
1156
|
*
|
|
1157
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1105
1158
|
* @param DeleteStreamPoolRequest
|
|
1106
1159
|
* @return DeleteStreamPoolResponse
|
|
1107
1160
|
* @throws OciError when an error occurs
|
|
1108
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1161
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/DeleteStreamPool.ts.html |here} to see how to use DeleteStreamPool API.
|
|
1109
1162
|
*/
|
|
1110
1163
|
deleteStreamPool(deleteStreamPoolRequest) {
|
|
1111
1164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1120,7 +1173,8 @@ class StreamAdminClient {
|
|
|
1120
1173
|
"opc-request-id": deleteStreamPoolRequest.opcRequestId,
|
|
1121
1174
|
"if-match": deleteStreamPoolRequest.ifMatch
|
|
1122
1175
|
};
|
|
1123
|
-
const
|
|
1176
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1177
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteStreamPoolRequest.retryConfiguration, specRetryConfiguration);
|
|
1124
1178
|
if (this.logger)
|
|
1125
1179
|
retrier.logger = this.logger;
|
|
1126
1180
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1153,10 +1207,11 @@ class StreamAdminClient {
|
|
|
1153
1207
|
}
|
|
1154
1208
|
/**
|
|
1155
1209
|
* Gets detailed information about a connect harness.
|
|
1210
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1156
1211
|
* @param GetConnectHarnessRequest
|
|
1157
1212
|
* @return GetConnectHarnessResponse
|
|
1158
1213
|
* @throws OciError when an error occurs
|
|
1159
|
-
* @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/streaming/GetConnectHarness.ts.html |here} to see how to use GetConnectHarness API.
|
|
1160
1215
|
*/
|
|
1161
1216
|
getConnectHarness(getConnectHarnessRequest) {
|
|
1162
1217
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1170,7 +1225,8 @@ class StreamAdminClient {
|
|
|
1170
1225
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1171
1226
|
"opc-request-id": getConnectHarnessRequest.opcRequestId
|
|
1172
1227
|
};
|
|
1173
|
-
const
|
|
1228
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1229
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConnectHarnessRequest.retryConfiguration, specRetryConfiguration);
|
|
1174
1230
|
if (this.logger)
|
|
1175
1231
|
retrier.logger = this.logger;
|
|
1176
1232
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1212,10 +1268,11 @@ class StreamAdminClient {
|
|
|
1212
1268
|
}
|
|
1213
1269
|
/**
|
|
1214
1270
|
* Gets detailed information about a stream, including the number of partitions.
|
|
1271
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1215
1272
|
* @param GetStreamRequest
|
|
1216
1273
|
* @return GetStreamResponse
|
|
1217
1274
|
* @throws OciError when an error occurs
|
|
1218
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1275
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/GetStream.ts.html |here} to see how to use GetStream API.
|
|
1219
1276
|
*/
|
|
1220
1277
|
getStream(getStreamRequest) {
|
|
1221
1278
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1229,7 +1286,8 @@ class StreamAdminClient {
|
|
|
1229
1286
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1230
1287
|
"opc-request-id": getStreamRequest.opcRequestId
|
|
1231
1288
|
};
|
|
1232
|
-
const
|
|
1289
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1290
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStreamRequest.retryConfiguration, specRetryConfiguration);
|
|
1233
1291
|
if (this.logger)
|
|
1234
1292
|
retrier.logger = this.logger;
|
|
1235
1293
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1271,10 +1329,11 @@ class StreamAdminClient {
|
|
|
1271
1329
|
}
|
|
1272
1330
|
/**
|
|
1273
1331
|
* Gets detailed information about the stream pool, such as Kafka settings.
|
|
1332
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1274
1333
|
* @param GetStreamPoolRequest
|
|
1275
1334
|
* @return GetStreamPoolResponse
|
|
1276
1335
|
* @throws OciError when an error occurs
|
|
1277
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1336
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/GetStreamPool.ts.html |here} to see how to use GetStreamPool API.
|
|
1278
1337
|
*/
|
|
1279
1338
|
getStreamPool(getStreamPoolRequest) {
|
|
1280
1339
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1288,7 +1347,8 @@ class StreamAdminClient {
|
|
|
1288
1347
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1289
1348
|
"opc-request-id": getStreamPoolRequest.opcRequestId
|
|
1290
1349
|
};
|
|
1291
|
-
const
|
|
1350
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1351
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStreamPoolRequest.retryConfiguration, specRetryConfiguration);
|
|
1292
1352
|
if (this.logger)
|
|
1293
1353
|
retrier.logger = this.logger;
|
|
1294
1354
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1330,10 +1390,11 @@ class StreamAdminClient {
|
|
|
1330
1390
|
}
|
|
1331
1391
|
/**
|
|
1332
1392
|
* Lists the connectharness.
|
|
1393
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1333
1394
|
* @param ListConnectHarnessesRequest
|
|
1334
1395
|
* @return ListConnectHarnessesResponse
|
|
1335
1396
|
* @throws OciError when an error occurs
|
|
1336
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1397
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/ListConnectHarnesses.ts.html |here} to see how to use ListConnectHarnesses API.
|
|
1337
1398
|
*/
|
|
1338
1399
|
listConnectHarnesses(listConnectHarnessesRequest) {
|
|
1339
1400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1354,7 +1415,8 @@ class StreamAdminClient {
|
|
|
1354
1415
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1355
1416
|
"opc-request-id": listConnectHarnessesRequest.opcRequestId
|
|
1356
1417
|
};
|
|
1357
|
-
const
|
|
1418
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1419
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listConnectHarnessesRequest.retryConfiguration, specRetryConfiguration);
|
|
1358
1420
|
if (this.logger)
|
|
1359
1421
|
retrier.logger = this.logger;
|
|
1360
1422
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1441,10 +1503,11 @@ class StreamAdminClient {
|
|
|
1441
1503
|
}
|
|
1442
1504
|
/**
|
|
1443
1505
|
* List the stream pools for a given compartment ID.
|
|
1506
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1444
1507
|
* @param ListStreamPoolsRequest
|
|
1445
1508
|
* @return ListStreamPoolsResponse
|
|
1446
1509
|
* @throws OciError when an error occurs
|
|
1447
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1510
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/ListStreamPools.ts.html |here} to see how to use ListStreamPools API.
|
|
1448
1511
|
*/
|
|
1449
1512
|
listStreamPools(listStreamPoolsRequest) {
|
|
1450
1513
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1465,7 +1528,8 @@ class StreamAdminClient {
|
|
|
1465
1528
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1466
1529
|
"opc-request-id": listStreamPoolsRequest.opcRequestId
|
|
1467
1530
|
};
|
|
1468
|
-
const
|
|
1531
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1532
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listStreamPoolsRequest.retryConfiguration, specRetryConfiguration);
|
|
1469
1533
|
if (this.logger)
|
|
1470
1534
|
retrier.logger = this.logger;
|
|
1471
1535
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1556,10 +1620,11 @@ class StreamAdminClient {
|
|
|
1556
1620
|
* If the stream pool id is specified, the action will be scoped to that stream pool.
|
|
1557
1621
|
* The compartment id and stream pool id cannot be specified at the same time.
|
|
1558
1622
|
*
|
|
1623
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1559
1624
|
* @param ListStreamsRequest
|
|
1560
1625
|
* @return ListStreamsResponse
|
|
1561
1626
|
* @throws OciError when an error occurs
|
|
1562
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1627
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/ListStreams.ts.html |here} to see how to use ListStreams API.
|
|
1563
1628
|
*/
|
|
1564
1629
|
listStreams(listStreamsRequest) {
|
|
1565
1630
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1581,7 +1646,8 @@ class StreamAdminClient {
|
|
|
1581
1646
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1582
1647
|
"opc-request-id": listStreamsRequest.opcRequestId
|
|
1583
1648
|
};
|
|
1584
|
-
const
|
|
1649
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1650
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listStreamsRequest.retryConfiguration, specRetryConfiguration);
|
|
1585
1651
|
if (this.logger)
|
|
1586
1652
|
retrier.logger = this.logger;
|
|
1587
1653
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1669,10 +1735,11 @@ class StreamAdminClient {
|
|
|
1669
1735
|
/**
|
|
1670
1736
|
* Updates the tags applied to the connect harness.
|
|
1671
1737
|
*
|
|
1738
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1672
1739
|
* @param UpdateConnectHarnessRequest
|
|
1673
1740
|
* @return UpdateConnectHarnessResponse
|
|
1674
1741
|
* @throws OciError when an error occurs
|
|
1675
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1742
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/UpdateConnectHarness.ts.html |here} to see how to use UpdateConnectHarness API.
|
|
1676
1743
|
*/
|
|
1677
1744
|
updateConnectHarness(updateConnectHarnessRequest) {
|
|
1678
1745
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1687,7 +1754,8 @@ class StreamAdminClient {
|
|
|
1687
1754
|
"opc-request-id": updateConnectHarnessRequest.opcRequestId,
|
|
1688
1755
|
"if-match": updateConnectHarnessRequest.ifMatch
|
|
1689
1756
|
};
|
|
1690
|
-
const
|
|
1757
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1758
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateConnectHarnessRequest.retryConfiguration, specRetryConfiguration);
|
|
1691
1759
|
if (this.logger)
|
|
1692
1760
|
retrier.logger = this.logger;
|
|
1693
1761
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1731,10 +1799,11 @@ class StreamAdminClient {
|
|
|
1731
1799
|
/**
|
|
1732
1800
|
* Updates the stream. Only specified values will be updated.
|
|
1733
1801
|
*
|
|
1802
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1734
1803
|
* @param UpdateStreamRequest
|
|
1735
1804
|
* @return UpdateStreamResponse
|
|
1736
1805
|
* @throws OciError when an error occurs
|
|
1737
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1806
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/UpdateStream.ts.html |here} to see how to use UpdateStream API.
|
|
1738
1807
|
*/
|
|
1739
1808
|
updateStream(updateStreamRequest) {
|
|
1740
1809
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1749,7 +1818,8 @@ class StreamAdminClient {
|
|
|
1749
1818
|
"opc-request-id": updateStreamRequest.opcRequestId,
|
|
1750
1819
|
"if-match": updateStreamRequest.ifMatch
|
|
1751
1820
|
};
|
|
1752
|
-
const
|
|
1821
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1822
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateStreamRequest.retryConfiguration, specRetryConfiguration);
|
|
1753
1823
|
if (this.logger)
|
|
1754
1824
|
retrier.logger = this.logger;
|
|
1755
1825
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1793,10 +1863,11 @@ class StreamAdminClient {
|
|
|
1793
1863
|
/**
|
|
1794
1864
|
* Updates the specified stream pool.
|
|
1795
1865
|
*
|
|
1866
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1796
1867
|
* @param UpdateStreamPoolRequest
|
|
1797
1868
|
* @return UpdateStreamPoolResponse
|
|
1798
1869
|
* @throws OciError when an error occurs
|
|
1799
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1870
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/streaming/UpdateStreamPool.ts.html |here} to see how to use UpdateStreamPool API.
|
|
1800
1871
|
*/
|
|
1801
1872
|
updateStreamPool(updateStreamPoolRequest) {
|
|
1802
1873
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1811,7 +1882,8 @@ class StreamAdminClient {
|
|
|
1811
1882
|
"opc-request-id": updateStreamPoolRequest.opcRequestId,
|
|
1812
1883
|
"if-match": updateStreamPoolRequest.ifMatch
|
|
1813
1884
|
};
|
|
1814
|
-
const
|
|
1885
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1886
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateStreamPoolRequest.retryConfiguration, specRetryConfiguration);
|
|
1815
1887
|
if (this.logger)
|
|
1816
1888
|
retrier.logger = this.logger;
|
|
1817
1889
|
const request = yield oci_common_2.composeRequest({
|