oci-streaming 2.79.0 → 2.79.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +26 -28
- package/lib/client.js +56 -144
- package/lib/client.js.map +1 -1
- package/lib/request/change-connect-harness-compartment-request.d.ts +1 -1
- package/lib/request/change-stream-compartment-request.d.ts +1 -1
- package/lib/request/change-stream-pool-compartment-request.d.ts +1 -1
- package/lib/request/consumer-commit-request.d.ts +1 -1
- package/lib/request/consumer-heartbeat-request.d.ts +1 -1
- package/lib/request/create-connect-harness-request.d.ts +1 -1
- package/lib/request/create-cursor-request.d.ts +1 -1
- package/lib/request/create-group-cursor-request.d.ts +1 -1
- package/lib/request/create-stream-pool-request.d.ts +1 -1
- package/lib/request/create-stream-request.d.ts +1 -1
- package/lib/request/delete-connect-harness-request.d.ts +1 -1
- package/lib/request/delete-stream-pool-request.d.ts +1 -1
- package/lib/request/delete-stream-request.d.ts +1 -1
- package/lib/request/get-connect-harness-request.d.ts +1 -1
- package/lib/request/get-group-request.d.ts +1 -1
- package/lib/request/get-messages-request.d.ts +1 -1
- package/lib/request/get-stream-pool-request.d.ts +1 -1
- package/lib/request/get-stream-request.d.ts +1 -1
- package/lib/request/list-connect-harnesses-request.d.ts +1 -1
- package/lib/request/list-stream-pools-request.d.ts +1 -1
- package/lib/request/list-streams-request.d.ts +1 -1
- package/lib/request/put-messages-request.d.ts +1 -1
- package/lib/request/update-connect-harness-request.d.ts +1 -1
- package/lib/request/update-group-request.d.ts +1 -1
- package/lib/request/update-stream-pool-request.d.ts +1 -1
- package/lib/request/update-stream-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -108,11 +108,7 @@ class StreamClient {
|
|
|
108
108
|
set endpoint(endpoint) {
|
|
109
109
|
this._endpoint = endpoint;
|
|
110
110
|
this._endpoint = this._endpoint + "/20180418";
|
|
111
|
-
|
|
112
|
-
this.logger.info(`StreamClient endpoint set to ${this._endpoint}`);
|
|
113
|
-
}
|
|
114
|
-
get logger() {
|
|
115
|
-
return common.LOG.logger;
|
|
111
|
+
oci_common_2.logger.info(`StreamClient endpoint set to ${this._endpoint}`);
|
|
116
112
|
}
|
|
117
113
|
/**
|
|
118
114
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -121,8 +117,7 @@ class StreamClient {
|
|
|
121
117
|
*/
|
|
122
118
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
123
119
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
124
|
-
|
|
125
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
120
|
+
oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
126
121
|
}
|
|
127
122
|
/**
|
|
128
123
|
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
@@ -140,12 +135,11 @@ class StreamClient {
|
|
|
140
135
|
* @param ConsumerCommitRequest
|
|
141
136
|
* @return ConsumerCommitResponse
|
|
142
137
|
* @throws OciError when an error occurs
|
|
143
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
138
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/ConsumerCommit.ts.html |here} to see how to use ConsumerCommit API.
|
|
144
139
|
*/
|
|
145
140
|
consumerCommit(consumerCommitRequest) {
|
|
146
141
|
return __awaiter(this, void 0, void 0, function* () {
|
|
147
|
-
|
|
148
|
-
this.logger.debug("Calling operation StreamClient#consumerCommit.");
|
|
142
|
+
oci_common_2.logger.debug("Calling operation StreamClient#consumerCommit.");
|
|
149
143
|
const operationName = "consumerCommit";
|
|
150
144
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Group/ConsumerCommit";
|
|
151
145
|
const pathParams = {
|
|
@@ -160,8 +154,6 @@ class StreamClient {
|
|
|
160
154
|
};
|
|
161
155
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
162
156
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, consumerCommitRequest.retryConfiguration, specRetryConfiguration);
|
|
163
|
-
if (this.logger)
|
|
164
|
-
retrier.logger = this.logger;
|
|
165
157
|
const request = yield oci_common_2.composeRequest({
|
|
166
158
|
baseEndpoint: this._endpoint,
|
|
167
159
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -201,12 +193,11 @@ class StreamClient {
|
|
|
201
193
|
* @param ConsumerHeartbeatRequest
|
|
202
194
|
* @return ConsumerHeartbeatResponse
|
|
203
195
|
* @throws OciError when an error occurs
|
|
204
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
196
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/ConsumerHeartbeat.ts.html |here} to see how to use ConsumerHeartbeat API.
|
|
205
197
|
*/
|
|
206
198
|
consumerHeartbeat(consumerHeartbeatRequest) {
|
|
207
199
|
return __awaiter(this, void 0, void 0, function* () {
|
|
208
|
-
|
|
209
|
-
this.logger.debug("Calling operation StreamClient#consumerHeartbeat.");
|
|
200
|
+
oci_common_2.logger.debug("Calling operation StreamClient#consumerHeartbeat.");
|
|
210
201
|
const operationName = "consumerHeartbeat";
|
|
211
202
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Group/ConsumerHeartbeat";
|
|
212
203
|
const pathParams = {
|
|
@@ -221,8 +212,6 @@ class StreamClient {
|
|
|
221
212
|
};
|
|
222
213
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
223
214
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, consumerHeartbeatRequest.retryConfiguration, specRetryConfiguration);
|
|
224
|
-
if (this.logger)
|
|
225
|
-
retrier.logger = this.logger;
|
|
226
215
|
const request = yield oci_common_2.composeRequest({
|
|
227
216
|
baseEndpoint: this._endpoint,
|
|
228
217
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -266,12 +255,11 @@ class StreamClient {
|
|
|
266
255
|
* @param CreateCursorRequest
|
|
267
256
|
* @return CreateCursorResponse
|
|
268
257
|
* @throws OciError when an error occurs
|
|
269
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
258
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/CreateCursor.ts.html |here} to see how to use CreateCursor API.
|
|
270
259
|
*/
|
|
271
260
|
createCursor(createCursorRequest) {
|
|
272
261
|
return __awaiter(this, void 0, void 0, function* () {
|
|
273
|
-
|
|
274
|
-
this.logger.debug("Calling operation StreamClient#createCursor.");
|
|
262
|
+
oci_common_2.logger.debug("Calling operation StreamClient#createCursor.");
|
|
275
263
|
const operationName = "createCursor";
|
|
276
264
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Cursor/CreateCursor";
|
|
277
265
|
const pathParams = {
|
|
@@ -284,8 +272,6 @@ class StreamClient {
|
|
|
284
272
|
};
|
|
285
273
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
286
274
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCursorRequest.retryConfiguration, specRetryConfiguration);
|
|
287
|
-
if (this.logger)
|
|
288
|
-
retrier.logger = this.logger;
|
|
289
275
|
const request = yield oci_common_2.composeRequest({
|
|
290
276
|
baseEndpoint: this._endpoint,
|
|
291
277
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -326,12 +312,11 @@ class StreamClient {
|
|
|
326
312
|
* @param CreateGroupCursorRequest
|
|
327
313
|
* @return CreateGroupCursorResponse
|
|
328
314
|
* @throws OciError when an error occurs
|
|
329
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
315
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/CreateGroupCursor.ts.html |here} to see how to use CreateGroupCursor API.
|
|
330
316
|
*/
|
|
331
317
|
createGroupCursor(createGroupCursorRequest) {
|
|
332
318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
333
|
-
|
|
334
|
-
this.logger.debug("Calling operation StreamClient#createGroupCursor.");
|
|
319
|
+
oci_common_2.logger.debug("Calling operation StreamClient#createGroupCursor.");
|
|
335
320
|
const operationName = "createGroupCursor";
|
|
336
321
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Cursor/CreateGroupCursor";
|
|
337
322
|
const pathParams = {
|
|
@@ -344,8 +329,6 @@ class StreamClient {
|
|
|
344
329
|
};
|
|
345
330
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
346
331
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createGroupCursorRequest.retryConfiguration, specRetryConfiguration);
|
|
347
|
-
if (this.logger)
|
|
348
|
-
retrier.logger = this.logger;
|
|
349
332
|
const request = yield oci_common_2.composeRequest({
|
|
350
333
|
baseEndpoint: this._endpoint,
|
|
351
334
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -386,12 +369,11 @@ class StreamClient {
|
|
|
386
369
|
* @param GetGroupRequest
|
|
387
370
|
* @return GetGroupResponse
|
|
388
371
|
* @throws OciError when an error occurs
|
|
389
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
372
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/GetGroup.ts.html |here} to see how to use GetGroup API.
|
|
390
373
|
*/
|
|
391
374
|
getGroup(getGroupRequest) {
|
|
392
375
|
return __awaiter(this, void 0, void 0, function* () {
|
|
393
|
-
|
|
394
|
-
this.logger.debug("Calling operation StreamClient#getGroup.");
|
|
376
|
+
oci_common_2.logger.debug("Calling operation StreamClient#getGroup.");
|
|
395
377
|
const operationName = "getGroup";
|
|
396
378
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Group/GetGroup";
|
|
397
379
|
const pathParams = {
|
|
@@ -405,8 +387,6 @@ class StreamClient {
|
|
|
405
387
|
};
|
|
406
388
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
407
389
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
408
|
-
if (this.logger)
|
|
409
|
-
retrier.logger = this.logger;
|
|
410
390
|
const request = yield oci_common_2.composeRequest({
|
|
411
391
|
baseEndpoint: this._endpoint,
|
|
412
392
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -448,12 +428,11 @@ class StreamClient {
|
|
|
448
428
|
* @param GetMessagesRequest
|
|
449
429
|
* @return GetMessagesResponse
|
|
450
430
|
* @throws OciError when an error occurs
|
|
451
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
431
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/GetMessages.ts.html |here} to see how to use GetMessages API.
|
|
452
432
|
*/
|
|
453
433
|
getMessages(getMessagesRequest) {
|
|
454
434
|
return __awaiter(this, void 0, void 0, function* () {
|
|
455
|
-
|
|
456
|
-
this.logger.debug("Calling operation StreamClient#getMessages.");
|
|
435
|
+
oci_common_2.logger.debug("Calling operation StreamClient#getMessages.");
|
|
457
436
|
const operationName = "getMessages";
|
|
458
437
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Message/GetMessages";
|
|
459
438
|
const pathParams = {
|
|
@@ -469,8 +448,6 @@ class StreamClient {
|
|
|
469
448
|
};
|
|
470
449
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
471
450
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMessagesRequest.retryConfiguration, specRetryConfiguration);
|
|
472
|
-
if (this.logger)
|
|
473
|
-
retrier.logger = this.logger;
|
|
474
451
|
const request = yield oci_common_2.composeRequest({
|
|
475
452
|
baseEndpoint: this._endpoint,
|
|
476
453
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -518,12 +495,11 @@ class StreamClient {
|
|
|
518
495
|
* @param PutMessagesRequest
|
|
519
496
|
* @return PutMessagesResponse
|
|
520
497
|
* @throws OciError when an error occurs
|
|
521
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
498
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/PutMessages.ts.html |here} to see how to use PutMessages API.
|
|
522
499
|
*/
|
|
523
500
|
putMessages(putMessagesRequest) {
|
|
524
501
|
return __awaiter(this, void 0, void 0, function* () {
|
|
525
|
-
|
|
526
|
-
this.logger.debug("Calling operation StreamClient#putMessages.");
|
|
502
|
+
oci_common_2.logger.debug("Calling operation StreamClient#putMessages.");
|
|
527
503
|
const operationName = "putMessages";
|
|
528
504
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Message/PutMessages";
|
|
529
505
|
const pathParams = {
|
|
@@ -536,8 +512,6 @@ class StreamClient {
|
|
|
536
512
|
};
|
|
537
513
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
538
514
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, putMessagesRequest.retryConfiguration, specRetryConfiguration);
|
|
539
|
-
if (this.logger)
|
|
540
|
-
retrier.logger = this.logger;
|
|
541
515
|
const request = yield oci_common_2.composeRequest({
|
|
542
516
|
baseEndpoint: this._endpoint,
|
|
543
517
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -578,12 +552,11 @@ class StreamClient {
|
|
|
578
552
|
* @param UpdateGroupRequest
|
|
579
553
|
* @return UpdateGroupResponse
|
|
580
554
|
* @throws OciError when an error occurs
|
|
581
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
555
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/UpdateGroup.ts.html |here} to see how to use UpdateGroup API.
|
|
582
556
|
*/
|
|
583
557
|
updateGroup(updateGroupRequest) {
|
|
584
558
|
return __awaiter(this, void 0, void 0, function* () {
|
|
585
|
-
|
|
586
|
-
this.logger.debug("Calling operation StreamClient#updateGroup.");
|
|
559
|
+
oci_common_2.logger.debug("Calling operation StreamClient#updateGroup.");
|
|
587
560
|
const operationName = "updateGroup";
|
|
588
561
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Group/UpdateGroup";
|
|
589
562
|
const pathParams = {
|
|
@@ -597,8 +570,6 @@ class StreamClient {
|
|
|
597
570
|
};
|
|
598
571
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
599
572
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
600
|
-
if (this.logger)
|
|
601
|
-
retrier.logger = this.logger;
|
|
602
573
|
const request = yield oci_common_2.composeRequest({
|
|
603
574
|
baseEndpoint: this._endpoint,
|
|
604
575
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -699,11 +670,7 @@ class StreamAdminClient {
|
|
|
699
670
|
set endpoint(endpoint) {
|
|
700
671
|
this._endpoint = endpoint;
|
|
701
672
|
this._endpoint = this._endpoint + "/20180418";
|
|
702
|
-
|
|
703
|
-
this.logger.info(`StreamAdminClient endpoint set to ${this._endpoint}`);
|
|
704
|
-
}
|
|
705
|
-
get logger() {
|
|
706
|
-
return common.LOG.logger;
|
|
673
|
+
oci_common_2.logger.info(`StreamAdminClient endpoint set to ${this._endpoint}`);
|
|
707
674
|
}
|
|
708
675
|
/**
|
|
709
676
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -712,8 +679,7 @@ class StreamAdminClient {
|
|
|
712
679
|
*/
|
|
713
680
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
714
681
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
715
|
-
|
|
716
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
682
|
+
oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
717
683
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
718
684
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(StreamAdminClient.serviceEndpointTemplate, this._region, StreamAdminClient.endpointServiceName);
|
|
719
685
|
}
|
|
@@ -779,12 +745,11 @@ class StreamAdminClient {
|
|
|
779
745
|
* @param ChangeConnectHarnessCompartmentRequest
|
|
780
746
|
* @return ChangeConnectHarnessCompartmentResponse
|
|
781
747
|
* @throws OciError when an error occurs
|
|
782
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
748
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/ChangeConnectHarnessCompartment.ts.html |here} to see how to use ChangeConnectHarnessCompartment API.
|
|
783
749
|
*/
|
|
784
750
|
changeConnectHarnessCompartment(changeConnectHarnessCompartmentRequest) {
|
|
785
751
|
return __awaiter(this, void 0, void 0, function* () {
|
|
786
|
-
|
|
787
|
-
this.logger.debug("Calling operation StreamAdminClient#changeConnectHarnessCompartment.");
|
|
752
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#changeConnectHarnessCompartment.");
|
|
788
753
|
const operationName = "changeConnectHarnessCompartment";
|
|
789
754
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/ConnectHarness/ChangeConnectHarnessCompartment";
|
|
790
755
|
const pathParams = {
|
|
@@ -798,8 +763,6 @@ class StreamAdminClient {
|
|
|
798
763
|
};
|
|
799
764
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
800
765
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeConnectHarnessCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
801
|
-
if (this.logger)
|
|
802
|
-
retrier.logger = this.logger;
|
|
803
766
|
const request = yield oci_common_2.composeRequest({
|
|
804
767
|
baseEndpoint: this._endpoint,
|
|
805
768
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -838,12 +801,11 @@ class StreamAdminClient {
|
|
|
838
801
|
* @param ChangeStreamCompartmentRequest
|
|
839
802
|
* @return ChangeStreamCompartmentResponse
|
|
840
803
|
* @throws OciError when an error occurs
|
|
841
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
804
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/ChangeStreamCompartment.ts.html |here} to see how to use ChangeStreamCompartment API.
|
|
842
805
|
*/
|
|
843
806
|
changeStreamCompartment(changeStreamCompartmentRequest) {
|
|
844
807
|
return __awaiter(this, void 0, void 0, function* () {
|
|
845
|
-
|
|
846
|
-
this.logger.debug("Calling operation StreamAdminClient#changeStreamCompartment.");
|
|
808
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#changeStreamCompartment.");
|
|
847
809
|
const operationName = "changeStreamCompartment";
|
|
848
810
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Stream/ChangeStreamCompartment";
|
|
849
811
|
const pathParams = {
|
|
@@ -857,8 +819,6 @@ class StreamAdminClient {
|
|
|
857
819
|
};
|
|
858
820
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
859
821
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeStreamCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
860
|
-
if (this.logger)
|
|
861
|
-
retrier.logger = this.logger;
|
|
862
822
|
const request = yield oci_common_2.composeRequest({
|
|
863
823
|
baseEndpoint: this._endpoint,
|
|
864
824
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -894,12 +854,11 @@ class StreamAdminClient {
|
|
|
894
854
|
* @param ChangeStreamPoolCompartmentRequest
|
|
895
855
|
* @return ChangeStreamPoolCompartmentResponse
|
|
896
856
|
* @throws OciError when an error occurs
|
|
897
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
857
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/ChangeStreamPoolCompartment.ts.html |here} to see how to use ChangeStreamPoolCompartment API.
|
|
898
858
|
*/
|
|
899
859
|
changeStreamPoolCompartment(changeStreamPoolCompartmentRequest) {
|
|
900
860
|
return __awaiter(this, void 0, void 0, function* () {
|
|
901
|
-
|
|
902
|
-
this.logger.debug("Calling operation StreamAdminClient#changeStreamPoolCompartment.");
|
|
861
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#changeStreamPoolCompartment.");
|
|
903
862
|
const operationName = "changeStreamPoolCompartment";
|
|
904
863
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/StreamPool/ChangeStreamPoolCompartment";
|
|
905
864
|
const pathParams = {
|
|
@@ -913,8 +872,6 @@ class StreamAdminClient {
|
|
|
913
872
|
};
|
|
914
873
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
915
874
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeStreamPoolCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
916
|
-
if (this.logger)
|
|
917
|
-
retrier.logger = this.logger;
|
|
918
875
|
const request = yield oci_common_2.composeRequest({
|
|
919
876
|
baseEndpoint: this._endpoint,
|
|
920
877
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -952,12 +909,11 @@ class StreamAdminClient {
|
|
|
952
909
|
* @param CreateConnectHarnessRequest
|
|
953
910
|
* @return CreateConnectHarnessResponse
|
|
954
911
|
* @throws OciError when an error occurs
|
|
955
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
912
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/CreateConnectHarness.ts.html |here} to see how to use CreateConnectHarness API.
|
|
956
913
|
*/
|
|
957
914
|
createConnectHarness(createConnectHarnessRequest) {
|
|
958
915
|
return __awaiter(this, void 0, void 0, function* () {
|
|
959
|
-
|
|
960
|
-
this.logger.debug("Calling operation StreamAdminClient#createConnectHarness.");
|
|
916
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#createConnectHarness.");
|
|
961
917
|
const operationName = "createConnectHarness";
|
|
962
918
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/ConnectHarness/CreateConnectHarness";
|
|
963
919
|
const pathParams = {};
|
|
@@ -969,8 +925,6 @@ class StreamAdminClient {
|
|
|
969
925
|
};
|
|
970
926
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
971
927
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createConnectHarnessRequest.retryConfiguration, specRetryConfiguration);
|
|
972
|
-
if (this.logger)
|
|
973
|
-
retrier.logger = this.logger;
|
|
974
928
|
const request = yield oci_common_2.composeRequest({
|
|
975
929
|
baseEndpoint: this._endpoint,
|
|
976
930
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1020,12 +974,11 @@ class StreamAdminClient {
|
|
|
1020
974
|
* @param CreateStreamRequest
|
|
1021
975
|
* @return CreateStreamResponse
|
|
1022
976
|
* @throws OciError when an error occurs
|
|
1023
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
977
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/CreateStream.ts.html |here} to see how to use CreateStream API.
|
|
1024
978
|
*/
|
|
1025
979
|
createStream(createStreamRequest) {
|
|
1026
980
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1027
|
-
|
|
1028
|
-
this.logger.debug("Calling operation StreamAdminClient#createStream.");
|
|
981
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#createStream.");
|
|
1029
982
|
const operationName = "createStream";
|
|
1030
983
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Stream/CreateStream";
|
|
1031
984
|
const pathParams = {};
|
|
@@ -1036,8 +989,6 @@ class StreamAdminClient {
|
|
|
1036
989
|
};
|
|
1037
990
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1038
991
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createStreamRequest.retryConfiguration, specRetryConfiguration);
|
|
1039
|
-
if (this.logger)
|
|
1040
|
-
retrier.logger = this.logger;
|
|
1041
992
|
const request = yield oci_common_2.composeRequest({
|
|
1042
993
|
baseEndpoint: this._endpoint,
|
|
1043
994
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1085,12 +1036,11 @@ class StreamAdminClient {
|
|
|
1085
1036
|
* @param CreateStreamPoolRequest
|
|
1086
1037
|
* @return CreateStreamPoolResponse
|
|
1087
1038
|
* @throws OciError when an error occurs
|
|
1088
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1039
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/CreateStreamPool.ts.html |here} to see how to use CreateStreamPool API.
|
|
1089
1040
|
*/
|
|
1090
1041
|
createStreamPool(createStreamPoolRequest) {
|
|
1091
1042
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1092
|
-
|
|
1093
|
-
this.logger.debug("Calling operation StreamAdminClient#createStreamPool.");
|
|
1043
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#createStreamPool.");
|
|
1094
1044
|
const operationName = "createStreamPool";
|
|
1095
1045
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/StreamPool/CreateStreamPool";
|
|
1096
1046
|
const pathParams = {};
|
|
@@ -1102,8 +1052,6 @@ class StreamAdminClient {
|
|
|
1102
1052
|
};
|
|
1103
1053
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1104
1054
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createStreamPoolRequest.retryConfiguration, specRetryConfiguration);
|
|
1105
|
-
if (this.logger)
|
|
1106
|
-
retrier.logger = this.logger;
|
|
1107
1055
|
const request = yield oci_common_2.composeRequest({
|
|
1108
1056
|
baseEndpoint: this._endpoint,
|
|
1109
1057
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1153,12 +1101,11 @@ class StreamAdminClient {
|
|
|
1153
1101
|
* @param DeleteConnectHarnessRequest
|
|
1154
1102
|
* @return DeleteConnectHarnessResponse
|
|
1155
1103
|
* @throws OciError when an error occurs
|
|
1156
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1104
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/DeleteConnectHarness.ts.html |here} to see how to use DeleteConnectHarness API.
|
|
1157
1105
|
*/
|
|
1158
1106
|
deleteConnectHarness(deleteConnectHarnessRequest) {
|
|
1159
1107
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1160
|
-
|
|
1161
|
-
this.logger.debug("Calling operation StreamAdminClient#deleteConnectHarness.");
|
|
1108
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#deleteConnectHarness.");
|
|
1162
1109
|
const operationName = "deleteConnectHarness";
|
|
1163
1110
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/ConnectHarness/DeleteConnectHarness";
|
|
1164
1111
|
const pathParams = {
|
|
@@ -1172,8 +1119,6 @@ class StreamAdminClient {
|
|
|
1172
1119
|
};
|
|
1173
1120
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1174
1121
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteConnectHarnessRequest.retryConfiguration, specRetryConfiguration);
|
|
1175
|
-
if (this.logger)
|
|
1176
|
-
retrier.logger = this.logger;
|
|
1177
1122
|
const request = yield oci_common_2.composeRequest({
|
|
1178
1123
|
baseEndpoint: this._endpoint,
|
|
1179
1124
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1213,12 +1158,11 @@ class StreamAdminClient {
|
|
|
1213
1158
|
* @param DeleteStreamRequest
|
|
1214
1159
|
* @return DeleteStreamResponse
|
|
1215
1160
|
* @throws OciError when an error occurs
|
|
1216
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1161
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/DeleteStream.ts.html |here} to see how to use DeleteStream API.
|
|
1217
1162
|
*/
|
|
1218
1163
|
deleteStream(deleteStreamRequest) {
|
|
1219
1164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1220
|
-
|
|
1221
|
-
this.logger.debug("Calling operation StreamAdminClient#deleteStream.");
|
|
1165
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#deleteStream.");
|
|
1222
1166
|
const operationName = "deleteStream";
|
|
1223
1167
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Stream/DeleteStream";
|
|
1224
1168
|
const pathParams = {
|
|
@@ -1232,8 +1176,6 @@ class StreamAdminClient {
|
|
|
1232
1176
|
};
|
|
1233
1177
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1234
1178
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteStreamRequest.retryConfiguration, specRetryConfiguration);
|
|
1235
|
-
if (this.logger)
|
|
1236
|
-
retrier.logger = this.logger;
|
|
1237
1179
|
const request = yield oci_common_2.composeRequest({
|
|
1238
1180
|
baseEndpoint: this._endpoint,
|
|
1239
1181
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1270,12 +1212,11 @@ class StreamAdminClient {
|
|
|
1270
1212
|
* @param DeleteStreamPoolRequest
|
|
1271
1213
|
* @return DeleteStreamPoolResponse
|
|
1272
1214
|
* @throws OciError when an error occurs
|
|
1273
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1215
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/DeleteStreamPool.ts.html |here} to see how to use DeleteStreamPool API.
|
|
1274
1216
|
*/
|
|
1275
1217
|
deleteStreamPool(deleteStreamPoolRequest) {
|
|
1276
1218
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1277
|
-
|
|
1278
|
-
this.logger.debug("Calling operation StreamAdminClient#deleteStreamPool.");
|
|
1219
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#deleteStreamPool.");
|
|
1279
1220
|
const operationName = "deleteStreamPool";
|
|
1280
1221
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/StreamPool/DeleteStreamPool";
|
|
1281
1222
|
const pathParams = {
|
|
@@ -1289,8 +1230,6 @@ class StreamAdminClient {
|
|
|
1289
1230
|
};
|
|
1290
1231
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1291
1232
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteStreamPoolRequest.retryConfiguration, specRetryConfiguration);
|
|
1292
|
-
if (this.logger)
|
|
1293
|
-
retrier.logger = this.logger;
|
|
1294
1233
|
const request = yield oci_common_2.composeRequest({
|
|
1295
1234
|
baseEndpoint: this._endpoint,
|
|
1296
1235
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1325,12 +1264,11 @@ class StreamAdminClient {
|
|
|
1325
1264
|
* @param GetConnectHarnessRequest
|
|
1326
1265
|
* @return GetConnectHarnessResponse
|
|
1327
1266
|
* @throws OciError when an error occurs
|
|
1328
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1267
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/GetConnectHarness.ts.html |here} to see how to use GetConnectHarness API.
|
|
1329
1268
|
*/
|
|
1330
1269
|
getConnectHarness(getConnectHarnessRequest) {
|
|
1331
1270
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1332
|
-
|
|
1333
|
-
this.logger.debug("Calling operation StreamAdminClient#getConnectHarness.");
|
|
1271
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#getConnectHarness.");
|
|
1334
1272
|
const operationName = "getConnectHarness";
|
|
1335
1273
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/ConnectHarness/GetConnectHarness";
|
|
1336
1274
|
const pathParams = {
|
|
@@ -1343,8 +1281,6 @@ class StreamAdminClient {
|
|
|
1343
1281
|
};
|
|
1344
1282
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1345
1283
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConnectHarnessRequest.retryConfiguration, specRetryConfiguration);
|
|
1346
|
-
if (this.logger)
|
|
1347
|
-
retrier.logger = this.logger;
|
|
1348
1284
|
const request = yield oci_common_2.composeRequest({
|
|
1349
1285
|
baseEndpoint: this._endpoint,
|
|
1350
1286
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1388,12 +1324,11 @@ class StreamAdminClient {
|
|
|
1388
1324
|
* @param GetStreamRequest
|
|
1389
1325
|
* @return GetStreamResponse
|
|
1390
1326
|
* @throws OciError when an error occurs
|
|
1391
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1327
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/GetStream.ts.html |here} to see how to use GetStream API.
|
|
1392
1328
|
*/
|
|
1393
1329
|
getStream(getStreamRequest) {
|
|
1394
1330
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1395
|
-
|
|
1396
|
-
this.logger.debug("Calling operation StreamAdminClient#getStream.");
|
|
1331
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#getStream.");
|
|
1397
1332
|
const operationName = "getStream";
|
|
1398
1333
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Stream/GetStream";
|
|
1399
1334
|
const pathParams = {
|
|
@@ -1406,8 +1341,6 @@ class StreamAdminClient {
|
|
|
1406
1341
|
};
|
|
1407
1342
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1408
1343
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStreamRequest.retryConfiguration, specRetryConfiguration);
|
|
1409
|
-
if (this.logger)
|
|
1410
|
-
retrier.logger = this.logger;
|
|
1411
1344
|
const request = yield oci_common_2.composeRequest({
|
|
1412
1345
|
baseEndpoint: this._endpoint,
|
|
1413
1346
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1451,12 +1384,11 @@ class StreamAdminClient {
|
|
|
1451
1384
|
* @param GetStreamPoolRequest
|
|
1452
1385
|
* @return GetStreamPoolResponse
|
|
1453
1386
|
* @throws OciError when an error occurs
|
|
1454
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1387
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/GetStreamPool.ts.html |here} to see how to use GetStreamPool API.
|
|
1455
1388
|
*/
|
|
1456
1389
|
getStreamPool(getStreamPoolRequest) {
|
|
1457
1390
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1458
|
-
|
|
1459
|
-
this.logger.debug("Calling operation StreamAdminClient#getStreamPool.");
|
|
1391
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#getStreamPool.");
|
|
1460
1392
|
const operationName = "getStreamPool";
|
|
1461
1393
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/StreamPool/GetStreamPool";
|
|
1462
1394
|
const pathParams = {
|
|
@@ -1469,8 +1401,6 @@ class StreamAdminClient {
|
|
|
1469
1401
|
};
|
|
1470
1402
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1471
1403
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStreamPoolRequest.retryConfiguration, specRetryConfiguration);
|
|
1472
|
-
if (this.logger)
|
|
1473
|
-
retrier.logger = this.logger;
|
|
1474
1404
|
const request = yield oci_common_2.composeRequest({
|
|
1475
1405
|
baseEndpoint: this._endpoint,
|
|
1476
1406
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1514,12 +1444,11 @@ class StreamAdminClient {
|
|
|
1514
1444
|
* @param ListConnectHarnessesRequest
|
|
1515
1445
|
* @return ListConnectHarnessesResponse
|
|
1516
1446
|
* @throws OciError when an error occurs
|
|
1517
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1447
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/ListConnectHarnesses.ts.html |here} to see how to use ListConnectHarnesses API.
|
|
1518
1448
|
*/
|
|
1519
1449
|
listConnectHarnesses(listConnectHarnessesRequest) {
|
|
1520
1450
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1521
|
-
|
|
1522
|
-
this.logger.debug("Calling operation StreamAdminClient#listConnectHarnesses.");
|
|
1451
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#listConnectHarnesses.");
|
|
1523
1452
|
const operationName = "listConnectHarnesses";
|
|
1524
1453
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/ConnectHarnessSummary/ListConnectHarnesses";
|
|
1525
1454
|
const pathParams = {};
|
|
@@ -1539,8 +1468,6 @@ class StreamAdminClient {
|
|
|
1539
1468
|
};
|
|
1540
1469
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1541
1470
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listConnectHarnessesRequest.retryConfiguration, specRetryConfiguration);
|
|
1542
|
-
if (this.logger)
|
|
1543
|
-
retrier.logger = this.logger;
|
|
1544
1471
|
const request = yield oci_common_2.composeRequest({
|
|
1545
1472
|
baseEndpoint: this._endpoint,
|
|
1546
1473
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1629,12 +1556,11 @@ class StreamAdminClient {
|
|
|
1629
1556
|
* @param ListStreamPoolsRequest
|
|
1630
1557
|
* @return ListStreamPoolsResponse
|
|
1631
1558
|
* @throws OciError when an error occurs
|
|
1632
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1559
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/ListStreamPools.ts.html |here} to see how to use ListStreamPools API.
|
|
1633
1560
|
*/
|
|
1634
1561
|
listStreamPools(listStreamPoolsRequest) {
|
|
1635
1562
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1636
|
-
|
|
1637
|
-
this.logger.debug("Calling operation StreamAdminClient#listStreamPools.");
|
|
1563
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#listStreamPools.");
|
|
1638
1564
|
const operationName = "listStreamPools";
|
|
1639
1565
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/StreamPoolSummary/ListStreamPools";
|
|
1640
1566
|
const pathParams = {};
|
|
@@ -1654,8 +1580,6 @@ class StreamAdminClient {
|
|
|
1654
1580
|
};
|
|
1655
1581
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1656
1582
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listStreamPoolsRequest.retryConfiguration, specRetryConfiguration);
|
|
1657
|
-
if (this.logger)
|
|
1658
|
-
retrier.logger = this.logger;
|
|
1659
1583
|
const request = yield oci_common_2.composeRequest({
|
|
1660
1584
|
baseEndpoint: this._endpoint,
|
|
1661
1585
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1748,12 +1672,11 @@ class StreamAdminClient {
|
|
|
1748
1672
|
* @param ListStreamsRequest
|
|
1749
1673
|
* @return ListStreamsResponse
|
|
1750
1674
|
* @throws OciError when an error occurs
|
|
1751
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1675
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/ListStreams.ts.html |here} to see how to use ListStreams API.
|
|
1752
1676
|
*/
|
|
1753
1677
|
listStreams(listStreamsRequest) {
|
|
1754
1678
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1755
|
-
|
|
1756
|
-
this.logger.debug("Calling operation StreamAdminClient#listStreams.");
|
|
1679
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#listStreams.");
|
|
1757
1680
|
const operationName = "listStreams";
|
|
1758
1681
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/StreamSummary/ListStreams";
|
|
1759
1682
|
const pathParams = {};
|
|
@@ -1774,8 +1697,6 @@ class StreamAdminClient {
|
|
|
1774
1697
|
};
|
|
1775
1698
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1776
1699
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listStreamsRequest.retryConfiguration, specRetryConfiguration);
|
|
1777
|
-
if (this.logger)
|
|
1778
|
-
retrier.logger = this.logger;
|
|
1779
1700
|
const request = yield oci_common_2.composeRequest({
|
|
1780
1701
|
baseEndpoint: this._endpoint,
|
|
1781
1702
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1865,12 +1786,11 @@ class StreamAdminClient {
|
|
|
1865
1786
|
* @param UpdateConnectHarnessRequest
|
|
1866
1787
|
* @return UpdateConnectHarnessResponse
|
|
1867
1788
|
* @throws OciError when an error occurs
|
|
1868
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1789
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/UpdateConnectHarness.ts.html |here} to see how to use UpdateConnectHarness API.
|
|
1869
1790
|
*/
|
|
1870
1791
|
updateConnectHarness(updateConnectHarnessRequest) {
|
|
1871
1792
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1872
|
-
|
|
1873
|
-
this.logger.debug("Calling operation StreamAdminClient#updateConnectHarness.");
|
|
1793
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#updateConnectHarness.");
|
|
1874
1794
|
const operationName = "updateConnectHarness";
|
|
1875
1795
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/ConnectHarness/UpdateConnectHarness";
|
|
1876
1796
|
const pathParams = {
|
|
@@ -1884,8 +1804,6 @@ class StreamAdminClient {
|
|
|
1884
1804
|
};
|
|
1885
1805
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1886
1806
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateConnectHarnessRequest.retryConfiguration, specRetryConfiguration);
|
|
1887
|
-
if (this.logger)
|
|
1888
|
-
retrier.logger = this.logger;
|
|
1889
1807
|
const request = yield oci_common_2.composeRequest({
|
|
1890
1808
|
baseEndpoint: this._endpoint,
|
|
1891
1809
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1931,12 +1849,11 @@ class StreamAdminClient {
|
|
|
1931
1849
|
* @param UpdateStreamRequest
|
|
1932
1850
|
* @return UpdateStreamResponse
|
|
1933
1851
|
* @throws OciError when an error occurs
|
|
1934
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1852
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/UpdateStream.ts.html |here} to see how to use UpdateStream API.
|
|
1935
1853
|
*/
|
|
1936
1854
|
updateStream(updateStreamRequest) {
|
|
1937
1855
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1938
|
-
|
|
1939
|
-
this.logger.debug("Calling operation StreamAdminClient#updateStream.");
|
|
1856
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#updateStream.");
|
|
1940
1857
|
const operationName = "updateStream";
|
|
1941
1858
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Stream/UpdateStream";
|
|
1942
1859
|
const pathParams = {
|
|
@@ -1950,8 +1867,6 @@ class StreamAdminClient {
|
|
|
1950
1867
|
};
|
|
1951
1868
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1952
1869
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateStreamRequest.retryConfiguration, specRetryConfiguration);
|
|
1953
|
-
if (this.logger)
|
|
1954
|
-
retrier.logger = this.logger;
|
|
1955
1870
|
const request = yield oci_common_2.composeRequest({
|
|
1956
1871
|
baseEndpoint: this._endpoint,
|
|
1957
1872
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1997,12 +1912,11 @@ class StreamAdminClient {
|
|
|
1997
1912
|
* @param UpdateStreamPoolRequest
|
|
1998
1913
|
* @return UpdateStreamPoolResponse
|
|
1999
1914
|
* @throws OciError when an error occurs
|
|
2000
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.
|
|
1915
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/streaming/UpdateStreamPool.ts.html |here} to see how to use UpdateStreamPool API.
|
|
2001
1916
|
*/
|
|
2002
1917
|
updateStreamPool(updateStreamPoolRequest) {
|
|
2003
1918
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2004
|
-
|
|
2005
|
-
this.logger.debug("Calling operation StreamAdminClient#updateStreamPool.");
|
|
1919
|
+
oci_common_2.logger.debug("Calling operation StreamAdminClient#updateStreamPool.");
|
|
2006
1920
|
const operationName = "updateStreamPool";
|
|
2007
1921
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/StreamPool/UpdateStreamPool";
|
|
2008
1922
|
const pathParams = {
|
|
@@ -2016,8 +1930,6 @@ class StreamAdminClient {
|
|
|
2016
1930
|
};
|
|
2017
1931
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2018
1932
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateStreamPoolRequest.retryConfiguration, specRetryConfiguration);
|
|
2019
|
-
if (this.logger)
|
|
2020
|
-
retrier.logger = this.logger;
|
|
2021
1933
|
const request = yield oci_common_2.composeRequest({
|
|
2022
1934
|
baseEndpoint: this._endpoint,
|
|
2023
1935
|
defaultHeaders: this._defaultHeaders,
|