oci-streaming 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.
Files changed (31) hide show
  1. package/LICENSE.txt +6 -0
  2. package/lib/client.d.ts +109 -26
  3. package/lib/client.js +187 -52
  4. package/lib/client.js.map +1 -1
  5. package/lib/request/change-connect-harness-compartment-request.d.ts +1 -1
  6. package/lib/request/change-stream-compartment-request.d.ts +1 -1
  7. package/lib/request/change-stream-pool-compartment-request.d.ts +1 -1
  8. package/lib/request/consumer-commit-request.d.ts +1 -1
  9. package/lib/request/consumer-heartbeat-request.d.ts +1 -1
  10. package/lib/request/create-connect-harness-request.d.ts +1 -1
  11. package/lib/request/create-cursor-request.d.ts +1 -1
  12. package/lib/request/create-group-cursor-request.d.ts +1 -1
  13. package/lib/request/create-stream-pool-request.d.ts +1 -1
  14. package/lib/request/create-stream-request.d.ts +1 -1
  15. package/lib/request/delete-connect-harness-request.d.ts +1 -1
  16. package/lib/request/delete-stream-pool-request.d.ts +1 -1
  17. package/lib/request/delete-stream-request.d.ts +1 -1
  18. package/lib/request/get-connect-harness-request.d.ts +1 -1
  19. package/lib/request/get-group-request.d.ts +1 -1
  20. package/lib/request/get-messages-request.d.ts +1 -1
  21. package/lib/request/get-stream-pool-request.d.ts +1 -1
  22. package/lib/request/get-stream-request.d.ts +1 -1
  23. package/lib/request/list-connect-harnesses-request.d.ts +1 -1
  24. package/lib/request/list-stream-pools-request.d.ts +1 -1
  25. package/lib/request/list-streams-request.d.ts +1 -1
  26. package/lib/request/put-messages-request.d.ts +1 -1
  27. package/lib/request/update-connect-harness-request.d.ts +1 -1
  28. package/lib/request/update-group-request.d.ts +1 -1
  29. package/lib/request/update-stream-pool-request.d.ts +1 -1
  30. package/lib/request/update-stream-request.d.ts +1 -1
  31. 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.4.0/streaming/ConsumerCommit.ts.html |here} to see how to use ConsumerCommit API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, consumerCommitRequest.retryConfiguration);
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.4.0/streaming/ConsumerHeartbeat.ts.html |here} to see how to use ConsumerHeartbeat API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, consumerHeartbeatRequest.retryConfiguration);
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.4.0/streaming/CreateCursor.ts.html |here} to see how to use CreateCursor API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createCursorRequest.retryConfiguration);
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.4.0/streaming/CreateGroupCursor.ts.html |here} to see how to use CreateGroupCursor API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createGroupCursorRequest.retryConfiguration);
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.4.0/streaming/GetGroup.ts.html |here} to see how to use GetGroup API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getGroupRequest.retryConfiguration);
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.4.0/streaming/GetMessages.ts.html |here} to see how to use GetMessages API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getMessagesRequest.retryConfiguration);
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.4.0/streaming/PutMessages.ts.html |here} to see how to use PutMessages API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, putMessagesRequest.retryConfiguration);
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.4.0/streaming/UpdateGroup.ts.html |here} to see how to use UpdateGroup API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateGroupRequest.retryConfiguration);
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.4.0/streaming/ChangeConnectHarnessCompartment.ts.html |here} to see how to use ChangeConnectHarnessCompartment API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, changeConnectHarnessCompartmentRequest.retryConfiguration);
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.4.0/streaming/ChangeStreamCompartment.ts.html |here} to see how to use ChangeStreamCompartment API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, changeStreamCompartmentRequest.retryConfiguration);
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.4.0/streaming/ChangeStreamPoolCompartment.ts.html |here} to see how to use ChangeStreamPoolCompartment API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, changeStreamPoolCompartmentRequest.retryConfiguration);
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.4.0/streaming/CreateConnectHarness.ts.html |here} to see how to use CreateConnectHarness API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createConnectHarnessRequest.retryConfiguration);
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.4.0/streaming/CreateStream.ts.html |here} to see how to use CreateStream API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createStreamRequest.retryConfiguration);
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.4.0/streaming/CreateStreamPool.ts.html |here} to see how to use CreateStreamPool API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createStreamPoolRequest.retryConfiguration);
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.4.0/streaming/DeleteConnectHarness.ts.html |here} to see how to use DeleteConnectHarness API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, deleteConnectHarnessRequest.retryConfiguration);
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.4.0/streaming/DeleteStream.ts.html |here} to see how to use DeleteStream API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, deleteStreamRequest.retryConfiguration);
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.4.0/streaming/DeleteStreamPool.ts.html |here} to see how to use DeleteStreamPool API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, deleteStreamPoolRequest.retryConfiguration);
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.4.0/streaming/GetConnectHarness.ts.html |here} to see how to use GetConnectHarness API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getConnectHarnessRequest.retryConfiguration);
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.4.0/streaming/GetStream.ts.html |here} to see how to use GetStream API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getStreamRequest.retryConfiguration);
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.4.0/streaming/GetStreamPool.ts.html |here} to see how to use GetStreamPool API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getStreamPoolRequest.retryConfiguration);
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.4.0/streaming/ListConnectHarnesses.ts.html |here} to see how to use ListConnectHarnesses API.
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 retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listConnectHarnessesRequest.retryConfiguration);
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({
@@ -1400,6 +1462,7 @@ class StreamAdminClient {
1400
1462
  });
1401
1463
  }
1402
1464
  /**
1465
+ * NOTE: This function is deprecated in favor of listConnectHarnessesRecordIterator function.
1403
1466
  * Creates a new async iterator which will iterate over the models.ConnectHarnessSummary objects
1404
1467
  * contained in responses from the listConnectHarnesses operation. This iterator will fetch more data from the
1405
1468
  * server as needed.
@@ -1410,6 +1473,7 @@ class StreamAdminClient {
1410
1473
  return oci_common_1.paginateRecords(request, req => this.listConnectHarnesses(req));
1411
1474
  }
1412
1475
  /**
1476
+ * NOTE: This function is deprecated in favor of listConnectHarnessesResponseIterator function.
1413
1477
  * Creates a new async iterator which will iterate over the responses received from the listConnectHarnesses operation. This iterator
1414
1478
  * will fetch more data from the server as needed.
1415
1479
  *
@@ -1418,12 +1482,32 @@ class StreamAdminClient {
1418
1482
  listAllConnectHarnessesResponses(request) {
1419
1483
  return oci_common_1.paginateResponses(request, req => this.listConnectHarnesses(req));
1420
1484
  }
1485
+ /**
1486
+ * Creates a new async iterator which will iterate over the models.ConnectHarnessSummary objects
1487
+ * contained in responses from the listConnectHarnesses operation. This iterator will fetch more data from the
1488
+ * server as needed.
1489
+ *
1490
+ * @param request a request which can be sent to the service operation
1491
+ */
1492
+ listConnectHarnessesRecordIterator(request) {
1493
+ return oci_common_1.paginateRecords(request, req => this.listConnectHarnesses(req));
1494
+ }
1495
+ /**
1496
+ * Creates a new async iterator which will iterate over the responses received from the listConnectHarnesses operation. This iterator
1497
+ * will fetch more data from the server as needed.
1498
+ *
1499
+ * @param request a request which can be sent to the service operation
1500
+ */
1501
+ listConnectHarnessesResponseIterator(request) {
1502
+ return oci_common_1.paginateResponses(request, req => this.listConnectHarnesses(req));
1503
+ }
1421
1504
  /**
1422
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.
1423
1507
  * @param ListStreamPoolsRequest
1424
1508
  * @return ListStreamPoolsResponse
1425
1509
  * @throws OciError when an error occurs
1426
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/streaming/ListStreamPools.ts.html |here} to see how to use ListStreamPools API.
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.
1427
1511
  */
1428
1512
  listStreamPools(listStreamPoolsRequest) {
1429
1513
  return __awaiter(this, void 0, void 0, function* () {
@@ -1444,7 +1528,8 @@ class StreamAdminClient {
1444
1528
  "Content-Type": common.Constants.APPLICATION_JSON,
1445
1529
  "opc-request-id": listStreamPoolsRequest.opcRequestId
1446
1530
  };
1447
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listStreamPoolsRequest.retryConfiguration);
1531
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1532
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listStreamPoolsRequest.retryConfiguration, specRetryConfiguration);
1448
1533
  if (this.logger)
1449
1534
  retrier.logger = this.logger;
1450
1535
  const request = yield oci_common_2.composeRequest({
@@ -1490,6 +1575,7 @@ class StreamAdminClient {
1490
1575
  });
1491
1576
  }
1492
1577
  /**
1578
+ * NOTE: This function is deprecated in favor of listStreamPoolsRecordIterator function.
1493
1579
  * Creates a new async iterator which will iterate over the models.StreamPoolSummary objects
1494
1580
  * contained in responses from the listStreamPools operation. This iterator will fetch more data from the
1495
1581
  * server as needed.
@@ -1500,6 +1586,7 @@ class StreamAdminClient {
1500
1586
  return oci_common_1.paginateRecords(request, req => this.listStreamPools(req));
1501
1587
  }
1502
1588
  /**
1589
+ * NOTE: This function is deprecated in favor of listStreamPoolsResponseIterator function.
1503
1590
  * Creates a new async iterator which will iterate over the responses received from the listStreamPools operation. This iterator
1504
1591
  * will fetch more data from the server as needed.
1505
1592
  *
@@ -1508,16 +1595,36 @@ class StreamAdminClient {
1508
1595
  listAllStreamPoolsResponses(request) {
1509
1596
  return oci_common_1.paginateResponses(request, req => this.listStreamPools(req));
1510
1597
  }
1598
+ /**
1599
+ * Creates a new async iterator which will iterate over the models.StreamPoolSummary objects
1600
+ * contained in responses from the listStreamPools operation. This iterator will fetch more data from the
1601
+ * server as needed.
1602
+ *
1603
+ * @param request a request which can be sent to the service operation
1604
+ */
1605
+ listStreamPoolsRecordIterator(request) {
1606
+ return oci_common_1.paginateRecords(request, req => this.listStreamPools(req));
1607
+ }
1608
+ /**
1609
+ * Creates a new async iterator which will iterate over the responses received from the listStreamPools operation. This iterator
1610
+ * will fetch more data from the server as needed.
1611
+ *
1612
+ * @param request a request which can be sent to the service operation
1613
+ */
1614
+ listStreamPoolsResponseIterator(request) {
1615
+ return oci_common_1.paginateResponses(request, req => this.listStreamPools(req));
1616
+ }
1511
1617
  /**
1512
1618
  * Lists the streams in the given compartment id.
1513
1619
  * If the compartment id is specified, it will list streams in the compartment, regardless of their stream pool.
1514
1620
  * If the stream pool id is specified, the action will be scoped to that stream pool.
1515
1621
  * The compartment id and stream pool id cannot be specified at the same time.
1516
1622
  *
1623
+ * This operation does not retry by default if the user has not defined a retry configuration.
1517
1624
  * @param ListStreamsRequest
1518
1625
  * @return ListStreamsResponse
1519
1626
  * @throws OciError when an error occurs
1520
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/streaming/ListStreams.ts.html |here} to see how to use ListStreams API.
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.
1521
1628
  */
1522
1629
  listStreams(listStreamsRequest) {
1523
1630
  return __awaiter(this, void 0, void 0, function* () {
@@ -1539,7 +1646,8 @@ class StreamAdminClient {
1539
1646
  "Content-Type": common.Constants.APPLICATION_JSON,
1540
1647
  "opc-request-id": listStreamsRequest.opcRequestId
1541
1648
  };
1542
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listStreamsRequest.retryConfiguration);
1649
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1650
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listStreamsRequest.retryConfiguration, specRetryConfiguration);
1543
1651
  if (this.logger)
1544
1652
  retrier.logger = this.logger;
1545
1653
  const request = yield oci_common_2.composeRequest({
@@ -1585,6 +1693,7 @@ class StreamAdminClient {
1585
1693
  });
1586
1694
  }
1587
1695
  /**
1696
+ * NOTE: This function is deprecated in favor of listStreamsRecordIterator function.
1588
1697
  * Creates a new async iterator which will iterate over the models.StreamSummary objects
1589
1698
  * contained in responses from the listStreams operation. This iterator will fetch more data from the
1590
1699
  * server as needed.
@@ -1595,6 +1704,7 @@ class StreamAdminClient {
1595
1704
  return oci_common_1.paginateRecords(request, req => this.listStreams(req));
1596
1705
  }
1597
1706
  /**
1707
+ * NOTE: This function is deprecated in favor of listStreamsResponseIterator function.
1598
1708
  * Creates a new async iterator which will iterate over the responses received from the listStreams operation. This iterator
1599
1709
  * will fetch more data from the server as needed.
1600
1710
  *
@@ -1603,13 +1713,33 @@ class StreamAdminClient {
1603
1713
  listAllStreamsResponses(request) {
1604
1714
  return oci_common_1.paginateResponses(request, req => this.listStreams(req));
1605
1715
  }
1716
+ /**
1717
+ * Creates a new async iterator which will iterate over the models.StreamSummary objects
1718
+ * contained in responses from the listStreams operation. This iterator will fetch more data from the
1719
+ * server as needed.
1720
+ *
1721
+ * @param request a request which can be sent to the service operation
1722
+ */
1723
+ listStreamsRecordIterator(request) {
1724
+ return oci_common_1.paginateRecords(request, req => this.listStreams(req));
1725
+ }
1726
+ /**
1727
+ * Creates a new async iterator which will iterate over the responses received from the listStreams operation. This iterator
1728
+ * will fetch more data from the server as needed.
1729
+ *
1730
+ * @param request a request which can be sent to the service operation
1731
+ */
1732
+ listStreamsResponseIterator(request) {
1733
+ return oci_common_1.paginateResponses(request, req => this.listStreams(req));
1734
+ }
1606
1735
  /**
1607
1736
  * Updates the tags applied to the connect harness.
1608
1737
  *
1738
+ * This operation does not retry by default if the user has not defined a retry configuration.
1609
1739
  * @param UpdateConnectHarnessRequest
1610
1740
  * @return UpdateConnectHarnessResponse
1611
1741
  * @throws OciError when an error occurs
1612
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/streaming/UpdateConnectHarness.ts.html |here} to see how to use UpdateConnectHarness API.
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.
1613
1743
  */
1614
1744
  updateConnectHarness(updateConnectHarnessRequest) {
1615
1745
  return __awaiter(this, void 0, void 0, function* () {
@@ -1624,7 +1754,8 @@ class StreamAdminClient {
1624
1754
  "opc-request-id": updateConnectHarnessRequest.opcRequestId,
1625
1755
  "if-match": updateConnectHarnessRequest.ifMatch
1626
1756
  };
1627
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateConnectHarnessRequest.retryConfiguration);
1757
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1758
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateConnectHarnessRequest.retryConfiguration, specRetryConfiguration);
1628
1759
  if (this.logger)
1629
1760
  retrier.logger = this.logger;
1630
1761
  const request = yield oci_common_2.composeRequest({
@@ -1668,10 +1799,11 @@ class StreamAdminClient {
1668
1799
  /**
1669
1800
  * Updates the stream. Only specified values will be updated.
1670
1801
  *
1802
+ * This operation does not retry by default if the user has not defined a retry configuration.
1671
1803
  * @param UpdateStreamRequest
1672
1804
  * @return UpdateStreamResponse
1673
1805
  * @throws OciError when an error occurs
1674
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/streaming/UpdateStream.ts.html |here} to see how to use UpdateStream API.
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.
1675
1807
  */
1676
1808
  updateStream(updateStreamRequest) {
1677
1809
  return __awaiter(this, void 0, void 0, function* () {
@@ -1686,7 +1818,8 @@ class StreamAdminClient {
1686
1818
  "opc-request-id": updateStreamRequest.opcRequestId,
1687
1819
  "if-match": updateStreamRequest.ifMatch
1688
1820
  };
1689
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateStreamRequest.retryConfiguration);
1821
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1822
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateStreamRequest.retryConfiguration, specRetryConfiguration);
1690
1823
  if (this.logger)
1691
1824
  retrier.logger = this.logger;
1692
1825
  const request = yield oci_common_2.composeRequest({
@@ -1730,10 +1863,11 @@ class StreamAdminClient {
1730
1863
  /**
1731
1864
  * Updates the specified stream pool.
1732
1865
  *
1866
+ * This operation does not retry by default if the user has not defined a retry configuration.
1733
1867
  * @param UpdateStreamPoolRequest
1734
1868
  * @return UpdateStreamPoolResponse
1735
1869
  * @throws OciError when an error occurs
1736
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.4.0/streaming/UpdateStreamPool.ts.html |here} to see how to use UpdateStreamPool API.
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.
1737
1871
  */
1738
1872
  updateStreamPool(updateStreamPoolRequest) {
1739
1873
  return __awaiter(this, void 0, void 0, function* () {
@@ -1748,7 +1882,8 @@ class StreamAdminClient {
1748
1882
  "opc-request-id": updateStreamPoolRequest.opcRequestId,
1749
1883
  "if-match": updateStreamPoolRequest.ifMatch
1750
1884
  };
1751
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateStreamPoolRequest.retryConfiguration);
1885
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1886
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateStreamPoolRequest.retryConfiguration, specRetryConfiguration);
1752
1887
  if (this.logger)
1753
1888
  retrier.logger = this.logger;
1754
1889
  const request = yield oci_common_2.composeRequest({