oci-streaming 2.7.0 → 2.8.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/index.d.ts +2 -2
- package/index.js +2 -2
- package/lib/client.d.ts +54 -54
- package/lib/client.js +80 -80
- package/lib/client.js.map +1 -1
- package/lib/model/change-connect-harness-compartment-details.d.ts +2 -2
- package/lib/model/change-connect-harness-compartment-details.js +2 -2
- package/lib/model/change-stream-compartment-details.d.ts +2 -2
- package/lib/model/change-stream-compartment-details.js +2 -2
- package/lib/model/change-stream-pool-compartment-details.d.ts +2 -2
- package/lib/model/change-stream-pool-compartment-details.js +2 -2
- package/lib/model/connect-harness-summary.d.ts +2 -2
- package/lib/model/connect-harness-summary.js +2 -2
- package/lib/model/connect-harness.d.ts +2 -2
- package/lib/model/connect-harness.js +2 -2
- package/lib/model/create-connect-harness-details.d.ts +2 -2
- package/lib/model/create-connect-harness-details.js +2 -2
- package/lib/model/create-cursor-details.d.ts +2 -2
- package/lib/model/create-cursor-details.js +2 -2
- package/lib/model/create-group-cursor-details.d.ts +2 -2
- package/lib/model/create-group-cursor-details.js +2 -2
- package/lib/model/create-stream-details.d.ts +2 -2
- package/lib/model/create-stream-details.js +2 -2
- package/lib/model/create-stream-pool-details.d.ts +2 -2
- package/lib/model/create-stream-pool-details.js +2 -2
- package/lib/model/cursor.d.ts +2 -2
- package/lib/model/cursor.js +2 -2
- package/lib/model/custom-encryption-key-details.d.ts +2 -2
- package/lib/model/custom-encryption-key-details.js +2 -2
- package/lib/model/custom-encryption-key.d.ts +2 -2
- package/lib/model/custom-encryption-key.js +2 -2
- package/lib/model/group.d.ts +2 -2
- package/lib/model/group.js +2 -2
- package/lib/model/index.d.ts +2 -2
- package/lib/model/index.js +2 -2
- package/lib/model/kafka-settings.d.ts +2 -2
- package/lib/model/kafka-settings.js +2 -2
- package/lib/model/message.d.ts +2 -2
- package/lib/model/message.js +2 -2
- package/lib/model/partition-reservation.d.ts +2 -2
- package/lib/model/partition-reservation.js +2 -2
- package/lib/model/private-endpoint-details.d.ts +2 -2
- package/lib/model/private-endpoint-details.js +2 -2
- package/lib/model/private-endpoint-settings.d.ts +2 -2
- package/lib/model/private-endpoint-settings.js +2 -2
- package/lib/model/put-messages-details-entry.d.ts +2 -2
- package/lib/model/put-messages-details-entry.js +2 -2
- package/lib/model/put-messages-details.d.ts +2 -2
- package/lib/model/put-messages-details.js +2 -2
- package/lib/model/put-messages-result-entry.d.ts +2 -2
- package/lib/model/put-messages-result-entry.js +2 -2
- package/lib/model/put-messages-result.d.ts +2 -2
- package/lib/model/put-messages-result.js +2 -2
- package/lib/model/stream-pool-summary.d.ts +2 -2
- package/lib/model/stream-pool-summary.js +2 -2
- package/lib/model/stream-pool.d.ts +2 -2
- package/lib/model/stream-pool.js +2 -2
- package/lib/model/stream-summary.d.ts +2 -2
- package/lib/model/stream-summary.js +2 -2
- package/lib/model/stream.d.ts +2 -2
- package/lib/model/stream.js +2 -2
- package/lib/model/update-connect-harness-details.d.ts +2 -2
- package/lib/model/update-connect-harness-details.js +2 -2
- package/lib/model/update-group-details.d.ts +2 -2
- package/lib/model/update-group-details.js +2 -2
- package/lib/model/update-stream-details.d.ts +2 -2
- package/lib/model/update-stream-details.js +2 -2
- package/lib/model/update-stream-pool-details.d.ts +2 -2
- package/lib/model/update-stream-pool-details.js +2 -2
- 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/index.d.ts +2 -2
- package/lib/request/index.js +2 -2
- 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/lib/response/index.d.ts +2 -2
- package/lib/response/index.js +2 -2
- package/lib/streamadmin-waiter.d.ts +2 -2
- package/lib/streamadmin-waiter.js +2 -2
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Streaming
|
|
4
|
-
*
|
|
3
|
+
* Streaming API
|
|
4
|
+
* Use the Streaming API to produce and consume messages, create streams and stream pools, and manage related items. For more information, see [Streaming](/Content/Streaming/Concepts/streamingoverview.htm).
|
|
5
5
|
* OpenAPI spec version: 20180418
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -102,11 +102,11 @@ class StreamClient {
|
|
|
102
102
|
* Provides a mechanism to manually commit offsets, if not using commit-on-get consumer semantics.
|
|
103
103
|
* This commits offsets assicated with the provided cursor, extends the timeout on each of the affected partitions, and returns an updated cursor.
|
|
104
104
|
*
|
|
105
|
-
* This operation
|
|
105
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
106
106
|
* @param ConsumerCommitRequest
|
|
107
107
|
* @return ConsumerCommitResponse
|
|
108
108
|
* @throws OciError when an error occurs
|
|
109
|
-
* @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.8.0/streaming/ConsumerCommit.ts.html |here} to see how to use ConsumerCommit API.
|
|
110
110
|
*/
|
|
111
111
|
consumerCommit(consumerCommitRequest) {
|
|
112
112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -122,7 +122,7 @@ class StreamClient {
|
|
|
122
122
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
123
123
|
"opc-request-id": consumerCommitRequest.opcRequestId
|
|
124
124
|
};
|
|
125
|
-
const specRetryConfiguration = common.
|
|
125
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
126
126
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, consumerCommitRequest.retryConfiguration, specRetryConfiguration);
|
|
127
127
|
if (this.logger)
|
|
128
128
|
retrier.logger = this.logger;
|
|
@@ -161,11 +161,11 @@ class StreamClient {
|
|
|
161
161
|
/**
|
|
162
162
|
* Allows long-running processes to extend the timeout on partitions reserved by a consumer instance.
|
|
163
163
|
*
|
|
164
|
-
* This operation
|
|
164
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
165
165
|
* @param ConsumerHeartbeatRequest
|
|
166
166
|
* @return ConsumerHeartbeatResponse
|
|
167
167
|
* @throws OciError when an error occurs
|
|
168
|
-
* @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.8.0/streaming/ConsumerHeartbeat.ts.html |here} to see how to use ConsumerHeartbeat API.
|
|
169
169
|
*/
|
|
170
170
|
consumerHeartbeat(consumerHeartbeatRequest) {
|
|
171
171
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -181,7 +181,7 @@ class StreamClient {
|
|
|
181
181
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
182
182
|
"opc-request-id": consumerHeartbeatRequest.opcRequestId
|
|
183
183
|
};
|
|
184
|
-
const specRetryConfiguration = common.
|
|
184
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
185
185
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, consumerHeartbeatRequest.retryConfiguration, specRetryConfiguration);
|
|
186
186
|
if (this.logger)
|
|
187
187
|
retrier.logger = this.logger;
|
|
@@ -224,11 +224,11 @@ class StreamClient {
|
|
|
224
224
|
* on the most recent message allows consumption of only messages that are added to the stream after you create the cursor. Cursors expire
|
|
225
225
|
* five minutes after you receive them from the service.
|
|
226
226
|
*
|
|
227
|
-
* This operation
|
|
227
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
228
228
|
* @param CreateCursorRequest
|
|
229
229
|
* @return CreateCursorResponse
|
|
230
230
|
* @throws OciError when an error occurs
|
|
231
|
-
* @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.8.0/streaming/CreateCursor.ts.html |here} to see how to use CreateCursor API.
|
|
232
232
|
*/
|
|
233
233
|
createCursor(createCursorRequest) {
|
|
234
234
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -242,7 +242,7 @@ class StreamClient {
|
|
|
242
242
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
243
243
|
"opc-request-id": createCursorRequest.opcRequestId
|
|
244
244
|
};
|
|
245
|
-
const specRetryConfiguration = common.
|
|
245
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
246
246
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCursorRequest.retryConfiguration, specRetryConfiguration);
|
|
247
247
|
if (this.logger)
|
|
248
248
|
retrier.logger = this.logger;
|
|
@@ -282,11 +282,11 @@ class StreamClient {
|
|
|
282
282
|
/**
|
|
283
283
|
* Creates a group-cursor.
|
|
284
284
|
*
|
|
285
|
-
* This operation
|
|
285
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
286
286
|
* @param CreateGroupCursorRequest
|
|
287
287
|
* @return CreateGroupCursorResponse
|
|
288
288
|
* @throws OciError when an error occurs
|
|
289
|
-
* @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.8.0/streaming/CreateGroupCursor.ts.html |here} to see how to use CreateGroupCursor API.
|
|
290
290
|
*/
|
|
291
291
|
createGroupCursor(createGroupCursorRequest) {
|
|
292
292
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -300,7 +300,7 @@ class StreamClient {
|
|
|
300
300
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
301
301
|
"opc-request-id": createGroupCursorRequest.opcRequestId
|
|
302
302
|
};
|
|
303
|
-
const specRetryConfiguration = common.
|
|
303
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
304
304
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createGroupCursorRequest.retryConfiguration, specRetryConfiguration);
|
|
305
305
|
if (this.logger)
|
|
306
306
|
retrier.logger = this.logger;
|
|
@@ -340,11 +340,11 @@ class StreamClient {
|
|
|
340
340
|
/**
|
|
341
341
|
* Returns the current state of a consumer group.
|
|
342
342
|
*
|
|
343
|
-
* This operation
|
|
343
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
344
344
|
* @param GetGroupRequest
|
|
345
345
|
* @return GetGroupResponse
|
|
346
346
|
* @throws OciError when an error occurs
|
|
347
|
-
* @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.8.0/streaming/GetGroup.ts.html |here} to see how to use GetGroup API.
|
|
348
348
|
*/
|
|
349
349
|
getGroup(getGroupRequest) {
|
|
350
350
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -359,7 +359,7 @@ class StreamClient {
|
|
|
359
359
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
360
360
|
"opc-request-id": getGroupRequest.opcRequestId
|
|
361
361
|
};
|
|
362
|
-
const specRetryConfiguration = common.
|
|
362
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
363
363
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
364
364
|
if (this.logger)
|
|
365
365
|
retrier.logger = this.logger;
|
|
@@ -400,11 +400,11 @@ class StreamClient {
|
|
|
400
400
|
* To get messages, you must first obtain a cursor using the {@link #createCursor(CreateCursorRequest) createCursor} operation.
|
|
401
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.
|
|
402
402
|
*
|
|
403
|
-
* This operation
|
|
403
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
404
404
|
* @param GetMessagesRequest
|
|
405
405
|
* @return GetMessagesResponse
|
|
406
406
|
* @throws OciError when an error occurs
|
|
407
|
-
* @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.8.0/streaming/GetMessages.ts.html |here} to see how to use GetMessages API.
|
|
408
408
|
*/
|
|
409
409
|
getMessages(getMessagesRequest) {
|
|
410
410
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -421,7 +421,7 @@ class StreamClient {
|
|
|
421
421
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
422
422
|
"opc-request-id": getMessagesRequest.opcRequestId
|
|
423
423
|
};
|
|
424
|
-
const specRetryConfiguration = common.
|
|
424
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
425
425
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMessagesRequest.retryConfiguration, specRetryConfiguration);
|
|
426
426
|
if (this.logger)
|
|
427
427
|
retrier.logger = this.logger;
|
|
@@ -472,7 +472,7 @@ class StreamClient {
|
|
|
472
472
|
* @param PutMessagesRequest
|
|
473
473
|
* @return PutMessagesResponse
|
|
474
474
|
* @throws OciError when an error occurs
|
|
475
|
-
* @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.8.0/streaming/PutMessages.ts.html |here} to see how to use PutMessages API.
|
|
476
476
|
*/
|
|
477
477
|
putMessages(putMessagesRequest) {
|
|
478
478
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -526,11 +526,11 @@ class StreamClient {
|
|
|
526
526
|
/**
|
|
527
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.
|
|
528
528
|
*
|
|
529
|
-
* This operation
|
|
529
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
530
530
|
* @param UpdateGroupRequest
|
|
531
531
|
* @return UpdateGroupResponse
|
|
532
532
|
* @throws OciError when an error occurs
|
|
533
|
-
* @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.8.0/streaming/UpdateGroup.ts.html |here} to see how to use UpdateGroup API.
|
|
534
534
|
*/
|
|
535
535
|
updateGroup(updateGroupRequest) {
|
|
536
536
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -545,7 +545,7 @@ class StreamClient {
|
|
|
545
545
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
546
546
|
"opc-request-id": updateGroupRequest.opcRequestId
|
|
547
547
|
};
|
|
548
|
-
const specRetryConfiguration = common.
|
|
548
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
549
549
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
550
550
|
if (this.logger)
|
|
551
551
|
retrier.logger = this.logger;
|
|
@@ -585,7 +585,7 @@ var StreamAdminApiKeys;
|
|
|
585
585
|
(function (StreamAdminApiKeys) {
|
|
586
586
|
})(StreamAdminApiKeys = exports.StreamAdminApiKeys || (exports.StreamAdminApiKeys = {}));
|
|
587
587
|
/**
|
|
588
|
-
* This service client
|
|
588
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
589
589
|
*/
|
|
590
590
|
class StreamAdminClient {
|
|
591
591
|
constructor(params, clientConfiguration) {
|
|
@@ -602,7 +602,7 @@ class StreamAdminClient {
|
|
|
602
602
|
: null;
|
|
603
603
|
}
|
|
604
604
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
605
|
-
const specCircuitBreakerEnabled =
|
|
605
|
+
const specCircuitBreakerEnabled = true;
|
|
606
606
|
if (!this._circuitBreaker &&
|
|
607
607
|
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
608
608
|
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
@@ -679,11 +679,11 @@ class StreamAdminClient {
|
|
|
679
679
|
}
|
|
680
680
|
/**
|
|
681
681
|
* Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
|
|
682
|
-
* This operation
|
|
682
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
683
683
|
* @param ChangeConnectHarnessCompartmentRequest
|
|
684
684
|
* @return ChangeConnectHarnessCompartmentResponse
|
|
685
685
|
* @throws OciError when an error occurs
|
|
686
|
-
* @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.8.0/streaming/ChangeConnectHarnessCompartment.ts.html |here} to see how to use ChangeConnectHarnessCompartment API.
|
|
687
687
|
*/
|
|
688
688
|
changeConnectHarnessCompartment(changeConnectHarnessCompartmentRequest) {
|
|
689
689
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -698,7 +698,7 @@ class StreamAdminClient {
|
|
|
698
698
|
"if-match": changeConnectHarnessCompartmentRequest.ifMatch,
|
|
699
699
|
"opc-request-id": changeConnectHarnessCompartmentRequest.opcRequestId
|
|
700
700
|
};
|
|
701
|
-
const specRetryConfiguration = common.
|
|
701
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
702
702
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeConnectHarnessCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
703
703
|
if (this.logger)
|
|
704
704
|
retrier.logger = this.logger;
|
|
@@ -736,11 +736,11 @@ class StreamAdminClient {
|
|
|
736
736
|
* When provided, If-Match is checked against ETag values of the resource.
|
|
737
737
|
* The stream will also be moved into the default stream pool in the destination compartment.
|
|
738
738
|
*
|
|
739
|
-
* This operation
|
|
739
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
740
740
|
* @param ChangeStreamCompartmentRequest
|
|
741
741
|
* @return ChangeStreamCompartmentResponse
|
|
742
742
|
* @throws OciError when an error occurs
|
|
743
|
-
* @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.8.0/streaming/ChangeStreamCompartment.ts.html |here} to see how to use ChangeStreamCompartment API.
|
|
744
744
|
*/
|
|
745
745
|
changeStreamCompartment(changeStreamCompartmentRequest) {
|
|
746
746
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -755,7 +755,7 @@ class StreamAdminClient {
|
|
|
755
755
|
"if-match": changeStreamCompartmentRequest.ifMatch,
|
|
756
756
|
"opc-request-id": changeStreamCompartmentRequest.opcRequestId
|
|
757
757
|
};
|
|
758
|
-
const specRetryConfiguration = common.
|
|
758
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
759
759
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeStreamCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
760
760
|
if (this.logger)
|
|
761
761
|
retrier.logger = this.logger;
|
|
@@ -790,11 +790,11 @@ class StreamAdminClient {
|
|
|
790
790
|
}
|
|
791
791
|
/**
|
|
792
792
|
* Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
|
|
793
|
-
* This operation
|
|
793
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
794
794
|
* @param ChangeStreamPoolCompartmentRequest
|
|
795
795
|
* @return ChangeStreamPoolCompartmentResponse
|
|
796
796
|
* @throws OciError when an error occurs
|
|
797
|
-
* @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.8.0/streaming/ChangeStreamPoolCompartment.ts.html |here} to see how to use ChangeStreamPoolCompartment API.
|
|
798
798
|
*/
|
|
799
799
|
changeStreamPoolCompartment(changeStreamPoolCompartmentRequest) {
|
|
800
800
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -809,7 +809,7 @@ class StreamAdminClient {
|
|
|
809
809
|
"if-match": changeStreamPoolCompartmentRequest.ifMatch,
|
|
810
810
|
"opc-request-id": changeStreamPoolCompartmentRequest.opcRequestId
|
|
811
811
|
};
|
|
812
|
-
const specRetryConfiguration = common.
|
|
812
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
813
813
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeStreamPoolCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
814
814
|
if (this.logger)
|
|
815
815
|
retrier.logger = this.logger;
|
|
@@ -846,11 +846,11 @@ class StreamAdminClient {
|
|
|
846
846
|
* Starts the provisioning of a new connect harness.
|
|
847
847
|
* To track the progress of the provisioning, you can periodically call {@link ConnectHarness} object tells you its current state.
|
|
848
848
|
*
|
|
849
|
-
* This operation
|
|
849
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
850
850
|
* @param CreateConnectHarnessRequest
|
|
851
851
|
* @return CreateConnectHarnessResponse
|
|
852
852
|
* @throws OciError when an error occurs
|
|
853
|
-
* @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.8.0/streaming/CreateConnectHarness.ts.html |here} to see how to use CreateConnectHarness API.
|
|
854
854
|
*/
|
|
855
855
|
createConnectHarness(createConnectHarnessRequest) {
|
|
856
856
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -863,7 +863,7 @@ class StreamAdminClient {
|
|
|
863
863
|
"opc-request-id": createConnectHarnessRequest.opcRequestId,
|
|
864
864
|
"opc-retry-token": createConnectHarnessRequest.opcRetryToken
|
|
865
865
|
};
|
|
866
|
-
const specRetryConfiguration = common.
|
|
866
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
867
867
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createConnectHarnessRequest.retryConfiguration, specRetryConfiguration);
|
|
868
868
|
if (this.logger)
|
|
869
869
|
retrier.logger = this.logger;
|
|
@@ -912,11 +912,11 @@ class StreamAdminClient {
|
|
|
912
912
|
* To track the progress of the provisioning, you can periodically call {@link #getStream(GetStreamRequest) getStream}.
|
|
913
913
|
* In the response, the `lifecycleState` parameter of the {@link Stream} object tells you its current state.
|
|
914
914
|
*
|
|
915
|
-
* This operation
|
|
915
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
916
916
|
* @param CreateStreamRequest
|
|
917
917
|
* @return CreateStreamResponse
|
|
918
918
|
* @throws OciError when an error occurs
|
|
919
|
-
* @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.8.0/streaming/CreateStream.ts.html |here} to see how to use CreateStream API.
|
|
920
920
|
*/
|
|
921
921
|
createStream(createStreamRequest) {
|
|
922
922
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -928,7 +928,7 @@ class StreamAdminClient {
|
|
|
928
928
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
929
929
|
"opc-request-id": createStreamRequest.opcRequestId
|
|
930
930
|
};
|
|
931
|
-
const specRetryConfiguration = common.
|
|
931
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
932
932
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createStreamRequest.retryConfiguration, specRetryConfiguration);
|
|
933
933
|
if (this.logger)
|
|
934
934
|
retrier.logger = this.logger;
|
|
@@ -975,11 +975,11 @@ class StreamAdminClient {
|
|
|
975
975
|
* To track the progress of the provisioning, you can periodically call GetStreamPool.
|
|
976
976
|
* In the response, the `lifecycleState` parameter of the object tells you its current state.
|
|
977
977
|
*
|
|
978
|
-
* This operation
|
|
978
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
979
979
|
* @param CreateStreamPoolRequest
|
|
980
980
|
* @return CreateStreamPoolResponse
|
|
981
981
|
* @throws OciError when an error occurs
|
|
982
|
-
* @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.8.0/streaming/CreateStreamPool.ts.html |here} to see how to use CreateStreamPool API.
|
|
983
983
|
*/
|
|
984
984
|
createStreamPool(createStreamPoolRequest) {
|
|
985
985
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -992,7 +992,7 @@ class StreamAdminClient {
|
|
|
992
992
|
"opc-request-id": createStreamPoolRequest.opcRequestId,
|
|
993
993
|
"opc-retry-token": createStreamPoolRequest.opcRetryToken
|
|
994
994
|
};
|
|
995
|
-
const specRetryConfiguration = common.
|
|
995
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
996
996
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createStreamPoolRequest.retryConfiguration, specRetryConfiguration);
|
|
997
997
|
if (this.logger)
|
|
998
998
|
retrier.logger = this.logger;
|
|
@@ -1041,11 +1041,11 @@ class StreamAdminClient {
|
|
|
1041
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
|
|
1042
1042
|
* connect harness have been deleted.
|
|
1043
1043
|
*
|
|
1044
|
-
* This operation
|
|
1044
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1045
1045
|
* @param DeleteConnectHarnessRequest
|
|
1046
1046
|
* @return DeleteConnectHarnessResponse
|
|
1047
1047
|
* @throws OciError when an error occurs
|
|
1048
|
-
* @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.8.0/streaming/DeleteConnectHarness.ts.html |here} to see how to use DeleteConnectHarness API.
|
|
1049
1049
|
*/
|
|
1050
1050
|
deleteConnectHarness(deleteConnectHarnessRequest) {
|
|
1051
1051
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1060,7 +1060,7 @@ class StreamAdminClient {
|
|
|
1060
1060
|
"opc-request-id": deleteConnectHarnessRequest.opcRequestId,
|
|
1061
1061
|
"if-match": deleteConnectHarnessRequest.ifMatch
|
|
1062
1062
|
};
|
|
1063
|
-
const specRetryConfiguration = common.
|
|
1063
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1064
1064
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteConnectHarnessRequest.retryConfiguration, specRetryConfiguration);
|
|
1065
1065
|
if (this.logger)
|
|
1066
1066
|
retrier.logger = this.logger;
|
|
@@ -1099,11 +1099,11 @@ class StreamAdminClient {
|
|
|
1099
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
|
|
1100
1100
|
* stream have been deleted.
|
|
1101
1101
|
*
|
|
1102
|
-
* This operation
|
|
1102
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1103
1103
|
* @param DeleteStreamRequest
|
|
1104
1104
|
* @return DeleteStreamResponse
|
|
1105
1105
|
* @throws OciError when an error occurs
|
|
1106
|
-
* @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.8.0/streaming/DeleteStream.ts.html |here} to see how to use DeleteStream API.
|
|
1107
1107
|
*/
|
|
1108
1108
|
deleteStream(deleteStreamRequest) {
|
|
1109
1109
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1118,7 +1118,7 @@ class StreamAdminClient {
|
|
|
1118
1118
|
"opc-request-id": deleteStreamRequest.opcRequestId,
|
|
1119
1119
|
"if-match": deleteStreamRequest.ifMatch
|
|
1120
1120
|
};
|
|
1121
|
-
const specRetryConfiguration = common.
|
|
1121
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1122
1122
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteStreamRequest.retryConfiguration, specRetryConfiguration);
|
|
1123
1123
|
if (this.logger)
|
|
1124
1124
|
retrier.logger = this.logger;
|
|
@@ -1154,11 +1154,11 @@ class StreamAdminClient {
|
|
|
1154
1154
|
* Deletes a stream pool. All containing streams will also be deleted.
|
|
1155
1155
|
* The default stream pool of a compartment cannot be deleted.
|
|
1156
1156
|
*
|
|
1157
|
-
* This operation
|
|
1157
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1158
1158
|
* @param DeleteStreamPoolRequest
|
|
1159
1159
|
* @return DeleteStreamPoolResponse
|
|
1160
1160
|
* @throws OciError when an error occurs
|
|
1161
|
-
* @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.8.0/streaming/DeleteStreamPool.ts.html |here} to see how to use DeleteStreamPool API.
|
|
1162
1162
|
*/
|
|
1163
1163
|
deleteStreamPool(deleteStreamPoolRequest) {
|
|
1164
1164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1173,7 +1173,7 @@ class StreamAdminClient {
|
|
|
1173
1173
|
"opc-request-id": deleteStreamPoolRequest.opcRequestId,
|
|
1174
1174
|
"if-match": deleteStreamPoolRequest.ifMatch
|
|
1175
1175
|
};
|
|
1176
|
-
const specRetryConfiguration = common.
|
|
1176
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1177
1177
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteStreamPoolRequest.retryConfiguration, specRetryConfiguration);
|
|
1178
1178
|
if (this.logger)
|
|
1179
1179
|
retrier.logger = this.logger;
|
|
@@ -1207,11 +1207,11 @@ class StreamAdminClient {
|
|
|
1207
1207
|
}
|
|
1208
1208
|
/**
|
|
1209
1209
|
* Gets detailed information about a connect harness.
|
|
1210
|
-
* This operation
|
|
1210
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1211
1211
|
* @param GetConnectHarnessRequest
|
|
1212
1212
|
* @return GetConnectHarnessResponse
|
|
1213
1213
|
* @throws OciError when an error occurs
|
|
1214
|
-
* @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.8.0/streaming/GetConnectHarness.ts.html |here} to see how to use GetConnectHarness API.
|
|
1215
1215
|
*/
|
|
1216
1216
|
getConnectHarness(getConnectHarnessRequest) {
|
|
1217
1217
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1225,7 +1225,7 @@ class StreamAdminClient {
|
|
|
1225
1225
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1226
1226
|
"opc-request-id": getConnectHarnessRequest.opcRequestId
|
|
1227
1227
|
};
|
|
1228
|
-
const specRetryConfiguration = common.
|
|
1228
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1229
1229
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConnectHarnessRequest.retryConfiguration, specRetryConfiguration);
|
|
1230
1230
|
if (this.logger)
|
|
1231
1231
|
retrier.logger = this.logger;
|
|
@@ -1268,11 +1268,11 @@ class StreamAdminClient {
|
|
|
1268
1268
|
}
|
|
1269
1269
|
/**
|
|
1270
1270
|
* Gets detailed information about a stream, including the number of partitions.
|
|
1271
|
-
* This operation
|
|
1271
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1272
1272
|
* @param GetStreamRequest
|
|
1273
1273
|
* @return GetStreamResponse
|
|
1274
1274
|
* @throws OciError when an error occurs
|
|
1275
|
-
* @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.8.0/streaming/GetStream.ts.html |here} to see how to use GetStream API.
|
|
1276
1276
|
*/
|
|
1277
1277
|
getStream(getStreamRequest) {
|
|
1278
1278
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1286,7 +1286,7 @@ class StreamAdminClient {
|
|
|
1286
1286
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1287
1287
|
"opc-request-id": getStreamRequest.opcRequestId
|
|
1288
1288
|
};
|
|
1289
|
-
const specRetryConfiguration = common.
|
|
1289
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1290
1290
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStreamRequest.retryConfiguration, specRetryConfiguration);
|
|
1291
1291
|
if (this.logger)
|
|
1292
1292
|
retrier.logger = this.logger;
|
|
@@ -1329,11 +1329,11 @@ class StreamAdminClient {
|
|
|
1329
1329
|
}
|
|
1330
1330
|
/**
|
|
1331
1331
|
* Gets detailed information about the stream pool, such as Kafka settings.
|
|
1332
|
-
* This operation
|
|
1332
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1333
1333
|
* @param GetStreamPoolRequest
|
|
1334
1334
|
* @return GetStreamPoolResponse
|
|
1335
1335
|
* @throws OciError when an error occurs
|
|
1336
|
-
* @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.8.0/streaming/GetStreamPool.ts.html |here} to see how to use GetStreamPool API.
|
|
1337
1337
|
*/
|
|
1338
1338
|
getStreamPool(getStreamPoolRequest) {
|
|
1339
1339
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1347,7 +1347,7 @@ class StreamAdminClient {
|
|
|
1347
1347
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1348
1348
|
"opc-request-id": getStreamPoolRequest.opcRequestId
|
|
1349
1349
|
};
|
|
1350
|
-
const specRetryConfiguration = common.
|
|
1350
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1351
1351
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStreamPoolRequest.retryConfiguration, specRetryConfiguration);
|
|
1352
1352
|
if (this.logger)
|
|
1353
1353
|
retrier.logger = this.logger;
|
|
@@ -1390,11 +1390,11 @@ class StreamAdminClient {
|
|
|
1390
1390
|
}
|
|
1391
1391
|
/**
|
|
1392
1392
|
* Lists the connectharness.
|
|
1393
|
-
* This operation
|
|
1393
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1394
1394
|
* @param ListConnectHarnessesRequest
|
|
1395
1395
|
* @return ListConnectHarnessesResponse
|
|
1396
1396
|
* @throws OciError when an error occurs
|
|
1397
|
-
* @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.8.0/streaming/ListConnectHarnesses.ts.html |here} to see how to use ListConnectHarnesses API.
|
|
1398
1398
|
*/
|
|
1399
1399
|
listConnectHarnesses(listConnectHarnessesRequest) {
|
|
1400
1400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1415,7 +1415,7 @@ class StreamAdminClient {
|
|
|
1415
1415
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1416
1416
|
"opc-request-id": listConnectHarnessesRequest.opcRequestId
|
|
1417
1417
|
};
|
|
1418
|
-
const specRetryConfiguration = common.
|
|
1418
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1419
1419
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listConnectHarnessesRequest.retryConfiguration, specRetryConfiguration);
|
|
1420
1420
|
if (this.logger)
|
|
1421
1421
|
retrier.logger = this.logger;
|
|
@@ -1503,11 +1503,11 @@ class StreamAdminClient {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
/**
|
|
1505
1505
|
* List the stream pools for a given compartment ID.
|
|
1506
|
-
* This operation
|
|
1506
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1507
1507
|
* @param ListStreamPoolsRequest
|
|
1508
1508
|
* @return ListStreamPoolsResponse
|
|
1509
1509
|
* @throws OciError when an error occurs
|
|
1510
|
-
* @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.8.0/streaming/ListStreamPools.ts.html |here} to see how to use ListStreamPools API.
|
|
1511
1511
|
*/
|
|
1512
1512
|
listStreamPools(listStreamPoolsRequest) {
|
|
1513
1513
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1528,7 +1528,7 @@ class StreamAdminClient {
|
|
|
1528
1528
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1529
1529
|
"opc-request-id": listStreamPoolsRequest.opcRequestId
|
|
1530
1530
|
};
|
|
1531
|
-
const specRetryConfiguration = common.
|
|
1531
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1532
1532
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listStreamPoolsRequest.retryConfiguration, specRetryConfiguration);
|
|
1533
1533
|
if (this.logger)
|
|
1534
1534
|
retrier.logger = this.logger;
|
|
@@ -1620,11 +1620,11 @@ class StreamAdminClient {
|
|
|
1620
1620
|
* If the stream pool id is specified, the action will be scoped to that stream pool.
|
|
1621
1621
|
* The compartment id and stream pool id cannot be specified at the same time.
|
|
1622
1622
|
*
|
|
1623
|
-
* This operation
|
|
1623
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1624
1624
|
* @param ListStreamsRequest
|
|
1625
1625
|
* @return ListStreamsResponse
|
|
1626
1626
|
* @throws OciError when an error occurs
|
|
1627
|
-
* @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.8.0/streaming/ListStreams.ts.html |here} to see how to use ListStreams API.
|
|
1628
1628
|
*/
|
|
1629
1629
|
listStreams(listStreamsRequest) {
|
|
1630
1630
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1646,7 +1646,7 @@ class StreamAdminClient {
|
|
|
1646
1646
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1647
1647
|
"opc-request-id": listStreamsRequest.opcRequestId
|
|
1648
1648
|
};
|
|
1649
|
-
const specRetryConfiguration = common.
|
|
1649
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1650
1650
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listStreamsRequest.retryConfiguration, specRetryConfiguration);
|
|
1651
1651
|
if (this.logger)
|
|
1652
1652
|
retrier.logger = this.logger;
|
|
@@ -1735,11 +1735,11 @@ class StreamAdminClient {
|
|
|
1735
1735
|
/**
|
|
1736
1736
|
* Updates the tags applied to the connect harness.
|
|
1737
1737
|
*
|
|
1738
|
-
* This operation
|
|
1738
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1739
1739
|
* @param UpdateConnectHarnessRequest
|
|
1740
1740
|
* @return UpdateConnectHarnessResponse
|
|
1741
1741
|
* @throws OciError when an error occurs
|
|
1742
|
-
* @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.8.0/streaming/UpdateConnectHarness.ts.html |here} to see how to use UpdateConnectHarness API.
|
|
1743
1743
|
*/
|
|
1744
1744
|
updateConnectHarness(updateConnectHarnessRequest) {
|
|
1745
1745
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1754,7 +1754,7 @@ class StreamAdminClient {
|
|
|
1754
1754
|
"opc-request-id": updateConnectHarnessRequest.opcRequestId,
|
|
1755
1755
|
"if-match": updateConnectHarnessRequest.ifMatch
|
|
1756
1756
|
};
|
|
1757
|
-
const specRetryConfiguration = common.
|
|
1757
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1758
1758
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateConnectHarnessRequest.retryConfiguration, specRetryConfiguration);
|
|
1759
1759
|
if (this.logger)
|
|
1760
1760
|
retrier.logger = this.logger;
|
|
@@ -1799,11 +1799,11 @@ class StreamAdminClient {
|
|
|
1799
1799
|
/**
|
|
1800
1800
|
* Updates the stream. Only specified values will be updated.
|
|
1801
1801
|
*
|
|
1802
|
-
* This operation
|
|
1802
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1803
1803
|
* @param UpdateStreamRequest
|
|
1804
1804
|
* @return UpdateStreamResponse
|
|
1805
1805
|
* @throws OciError when an error occurs
|
|
1806
|
-
* @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.8.0/streaming/UpdateStream.ts.html |here} to see how to use UpdateStream API.
|
|
1807
1807
|
*/
|
|
1808
1808
|
updateStream(updateStreamRequest) {
|
|
1809
1809
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1818,7 +1818,7 @@ class StreamAdminClient {
|
|
|
1818
1818
|
"opc-request-id": updateStreamRequest.opcRequestId,
|
|
1819
1819
|
"if-match": updateStreamRequest.ifMatch
|
|
1820
1820
|
};
|
|
1821
|
-
const specRetryConfiguration = common.
|
|
1821
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1822
1822
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateStreamRequest.retryConfiguration, specRetryConfiguration);
|
|
1823
1823
|
if (this.logger)
|
|
1824
1824
|
retrier.logger = this.logger;
|
|
@@ -1863,11 +1863,11 @@ class StreamAdminClient {
|
|
|
1863
1863
|
/**
|
|
1864
1864
|
* Updates the specified stream pool.
|
|
1865
1865
|
*
|
|
1866
|
-
* This operation
|
|
1866
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1867
1867
|
* @param UpdateStreamPoolRequest
|
|
1868
1868
|
* @return UpdateStreamPoolResponse
|
|
1869
1869
|
* @throws OciError when an error occurs
|
|
1870
|
-
* @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.8.0/streaming/UpdateStreamPool.ts.html |here} to see how to use UpdateStreamPool API.
|
|
1871
1871
|
*/
|
|
1872
1872
|
updateStreamPool(updateStreamPoolRequest) {
|
|
1873
1873
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1882,7 +1882,7 @@ class StreamAdminClient {
|
|
|
1882
1882
|
"opc-request-id": updateStreamPoolRequest.opcRequestId,
|
|
1883
1883
|
"if-match": updateStreamPoolRequest.ifMatch
|
|
1884
1884
|
};
|
|
1885
|
-
const specRetryConfiguration = common.
|
|
1885
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1886
1886
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateStreamPoolRequest.retryConfiguration, specRetryConfiguration);
|
|
1887
1887
|
if (this.logger)
|
|
1888
1888
|
retrier.logger = this.logger;
|