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