oci-streaming 2.25.0 → 2.28.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 +28 -26
- package/lib/client.js +106 -52
- package/lib/client.js.map +1 -1
- package/lib/request/change-connect-harness-compartment-request.d.ts +1 -1
- package/lib/request/change-stream-compartment-request.d.ts +1 -1
- package/lib/request/change-stream-pool-compartment-request.d.ts +1 -1
- package/lib/request/consumer-commit-request.d.ts +1 -1
- package/lib/request/consumer-heartbeat-request.d.ts +1 -1
- package/lib/request/create-connect-harness-request.d.ts +1 -1
- package/lib/request/create-cursor-request.d.ts +1 -1
- package/lib/request/create-group-cursor-request.d.ts +1 -1
- package/lib/request/create-stream-pool-request.d.ts +1 -1
- package/lib/request/create-stream-request.d.ts +1 -1
- package/lib/request/delete-connect-harness-request.d.ts +1 -1
- package/lib/request/delete-stream-pool-request.d.ts +1 -1
- package/lib/request/delete-stream-request.d.ts +1 -1
- package/lib/request/get-connect-harness-request.d.ts +1 -1
- package/lib/request/get-group-request.d.ts +1 -1
- package/lib/request/get-messages-request.d.ts +1 -1
- package/lib/request/get-stream-pool-request.d.ts +1 -1
- package/lib/request/get-stream-request.d.ts +1 -1
- package/lib/request/list-connect-harnesses-request.d.ts +1 -1
- package/lib/request/list-stream-pools-request.d.ts +1 -1
- package/lib/request/list-streams-request.d.ts +1 -1
- package/lib/request/put-messages-request.d.ts +1 -1
- package/lib/request/update-connect-harness-request.d.ts +1 -1
- package/lib/request/update-group-request.d.ts +1 -1
- package/lib/request/update-stream-pool-request.d.ts +1 -1
- package/lib/request/update-stream-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -61,6 +61,7 @@ class StreamClient {
|
|
|
61
61
|
this["_defaultHeaders"] = {};
|
|
62
62
|
this._circuitBreaker = null;
|
|
63
63
|
this._httpOptions = undefined;
|
|
64
|
+
this.targetService = "Stream";
|
|
64
65
|
const requestSigner = params.authenticationDetailsProvider
|
|
65
66
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
66
67
|
: null;
|
|
@@ -111,12 +112,14 @@ class StreamClient {
|
|
|
111
112
|
* @param ConsumerCommitRequest
|
|
112
113
|
* @return ConsumerCommitResponse
|
|
113
114
|
* @throws OciError when an error occurs
|
|
114
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
115
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/ConsumerCommit.ts.html |here} to see how to use ConsumerCommit API.
|
|
115
116
|
*/
|
|
116
117
|
consumerCommit(consumerCommitRequest) {
|
|
117
118
|
return __awaiter(this, void 0, void 0, function* () {
|
|
118
119
|
if (this.logger)
|
|
119
120
|
this.logger.debug("Calling operation StreamClient#consumerCommit.");
|
|
121
|
+
const operationName = "consumerCommit";
|
|
122
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Group/ConsumerCommit";
|
|
120
123
|
const pathParams = {
|
|
121
124
|
"{streamId}": consumerCommitRequest.streamId
|
|
122
125
|
};
|
|
@@ -141,7 +144,7 @@ class StreamClient {
|
|
|
141
144
|
queryParams: queryParams
|
|
142
145
|
});
|
|
143
146
|
try {
|
|
144
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
147
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
145
148
|
const sdkResponse = oci_common_2.composeResponse({
|
|
146
149
|
responseObject: {},
|
|
147
150
|
body: yield response.json(),
|
|
@@ -170,12 +173,14 @@ class StreamClient {
|
|
|
170
173
|
* @param ConsumerHeartbeatRequest
|
|
171
174
|
* @return ConsumerHeartbeatResponse
|
|
172
175
|
* @throws OciError when an error occurs
|
|
173
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
176
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/ConsumerHeartbeat.ts.html |here} to see how to use ConsumerHeartbeat API.
|
|
174
177
|
*/
|
|
175
178
|
consumerHeartbeat(consumerHeartbeatRequest) {
|
|
176
179
|
return __awaiter(this, void 0, void 0, function* () {
|
|
177
180
|
if (this.logger)
|
|
178
181
|
this.logger.debug("Calling operation StreamClient#consumerHeartbeat.");
|
|
182
|
+
const operationName = "consumerHeartbeat";
|
|
183
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Group/ConsumerHeartbeat";
|
|
179
184
|
const pathParams = {
|
|
180
185
|
"{streamId}": consumerHeartbeatRequest.streamId
|
|
181
186
|
};
|
|
@@ -200,7 +205,7 @@ class StreamClient {
|
|
|
200
205
|
queryParams: queryParams
|
|
201
206
|
});
|
|
202
207
|
try {
|
|
203
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
208
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
204
209
|
const sdkResponse = oci_common_2.composeResponse({
|
|
205
210
|
responseObject: {},
|
|
206
211
|
body: yield response.json(),
|
|
@@ -233,12 +238,14 @@ class StreamClient {
|
|
|
233
238
|
* @param CreateCursorRequest
|
|
234
239
|
* @return CreateCursorResponse
|
|
235
240
|
* @throws OciError when an error occurs
|
|
236
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
241
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/CreateCursor.ts.html |here} to see how to use CreateCursor API.
|
|
237
242
|
*/
|
|
238
243
|
createCursor(createCursorRequest) {
|
|
239
244
|
return __awaiter(this, void 0, void 0, function* () {
|
|
240
245
|
if (this.logger)
|
|
241
246
|
this.logger.debug("Calling operation StreamClient#createCursor.");
|
|
247
|
+
const operationName = "createCursor";
|
|
248
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Cursor/CreateCursor";
|
|
242
249
|
const pathParams = {
|
|
243
250
|
"{streamId}": createCursorRequest.streamId
|
|
244
251
|
};
|
|
@@ -262,7 +269,7 @@ class StreamClient {
|
|
|
262
269
|
queryParams: queryParams
|
|
263
270
|
});
|
|
264
271
|
try {
|
|
265
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
272
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
266
273
|
const sdkResponse = oci_common_2.composeResponse({
|
|
267
274
|
responseObject: {},
|
|
268
275
|
body: yield response.json(),
|
|
@@ -291,12 +298,14 @@ class StreamClient {
|
|
|
291
298
|
* @param CreateGroupCursorRequest
|
|
292
299
|
* @return CreateGroupCursorResponse
|
|
293
300
|
* @throws OciError when an error occurs
|
|
294
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
301
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/CreateGroupCursor.ts.html |here} to see how to use CreateGroupCursor API.
|
|
295
302
|
*/
|
|
296
303
|
createGroupCursor(createGroupCursorRequest) {
|
|
297
304
|
return __awaiter(this, void 0, void 0, function* () {
|
|
298
305
|
if (this.logger)
|
|
299
306
|
this.logger.debug("Calling operation StreamClient#createGroupCursor.");
|
|
307
|
+
const operationName = "createGroupCursor";
|
|
308
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Cursor/CreateGroupCursor";
|
|
300
309
|
const pathParams = {
|
|
301
310
|
"{streamId}": createGroupCursorRequest.streamId
|
|
302
311
|
};
|
|
@@ -320,7 +329,7 @@ class StreamClient {
|
|
|
320
329
|
queryParams: queryParams
|
|
321
330
|
});
|
|
322
331
|
try {
|
|
323
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
332
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
324
333
|
const sdkResponse = oci_common_2.composeResponse({
|
|
325
334
|
responseObject: {},
|
|
326
335
|
body: yield response.json(),
|
|
@@ -349,12 +358,14 @@ class StreamClient {
|
|
|
349
358
|
* @param GetGroupRequest
|
|
350
359
|
* @return GetGroupResponse
|
|
351
360
|
* @throws OciError when an error occurs
|
|
352
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
361
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/GetGroup.ts.html |here} to see how to use GetGroup API.
|
|
353
362
|
*/
|
|
354
363
|
getGroup(getGroupRequest) {
|
|
355
364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
356
365
|
if (this.logger)
|
|
357
366
|
this.logger.debug("Calling operation StreamClient#getGroup.");
|
|
367
|
+
const operationName = "getGroup";
|
|
368
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Group/GetGroup";
|
|
358
369
|
const pathParams = {
|
|
359
370
|
"{streamId}": getGroupRequest.streamId,
|
|
360
371
|
"{groupName}": getGroupRequest.groupName
|
|
@@ -378,7 +389,7 @@ class StreamClient {
|
|
|
378
389
|
queryParams: queryParams
|
|
379
390
|
});
|
|
380
391
|
try {
|
|
381
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
392
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
382
393
|
const sdkResponse = oci_common_2.composeResponse({
|
|
383
394
|
responseObject: {},
|
|
384
395
|
body: yield response.json(),
|
|
@@ -409,12 +420,14 @@ class StreamClient {
|
|
|
409
420
|
* @param GetMessagesRequest
|
|
410
421
|
* @return GetMessagesResponse
|
|
411
422
|
* @throws OciError when an error occurs
|
|
412
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
423
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/GetMessages.ts.html |here} to see how to use GetMessages API.
|
|
413
424
|
*/
|
|
414
425
|
getMessages(getMessagesRequest) {
|
|
415
426
|
return __awaiter(this, void 0, void 0, function* () {
|
|
416
427
|
if (this.logger)
|
|
417
428
|
this.logger.debug("Calling operation StreamClient#getMessages.");
|
|
429
|
+
const operationName = "getMessages";
|
|
430
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Message/GetMessages";
|
|
418
431
|
const pathParams = {
|
|
419
432
|
"{streamId}": getMessagesRequest.streamId
|
|
420
433
|
};
|
|
@@ -440,7 +453,7 @@ class StreamClient {
|
|
|
440
453
|
queryParams: queryParams
|
|
441
454
|
});
|
|
442
455
|
try {
|
|
443
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
456
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
444
457
|
const sdkResponse = oci_common_2.composeResponse({
|
|
445
458
|
responseObject: {},
|
|
446
459
|
body: yield response.json(),
|
|
@@ -477,12 +490,14 @@ class StreamClient {
|
|
|
477
490
|
* @param PutMessagesRequest
|
|
478
491
|
* @return PutMessagesResponse
|
|
479
492
|
* @throws OciError when an error occurs
|
|
480
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
493
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/PutMessages.ts.html |here} to see how to use PutMessages API.
|
|
481
494
|
*/
|
|
482
495
|
putMessages(putMessagesRequest) {
|
|
483
496
|
return __awaiter(this, void 0, void 0, function* () {
|
|
484
497
|
if (this.logger)
|
|
485
498
|
this.logger.debug("Calling operation StreamClient#putMessages.");
|
|
499
|
+
const operationName = "putMessages";
|
|
500
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Message/PutMessages";
|
|
486
501
|
const pathParams = {
|
|
487
502
|
"{streamId}": putMessagesRequest.streamId
|
|
488
503
|
};
|
|
@@ -506,7 +521,7 @@ class StreamClient {
|
|
|
506
521
|
queryParams: queryParams
|
|
507
522
|
});
|
|
508
523
|
try {
|
|
509
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request, true);
|
|
524
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink, true);
|
|
510
525
|
const sdkResponse = oci_common_2.composeResponse({
|
|
511
526
|
responseObject: {},
|
|
512
527
|
body: yield response.json(),
|
|
@@ -535,12 +550,14 @@ class StreamClient {
|
|
|
535
550
|
* @param UpdateGroupRequest
|
|
536
551
|
* @return UpdateGroupResponse
|
|
537
552
|
* @throws OciError when an error occurs
|
|
538
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
553
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/UpdateGroup.ts.html |here} to see how to use UpdateGroup API.
|
|
539
554
|
*/
|
|
540
555
|
updateGroup(updateGroupRequest) {
|
|
541
556
|
return __awaiter(this, void 0, void 0, function* () {
|
|
542
557
|
if (this.logger)
|
|
543
558
|
this.logger.debug("Calling operation StreamClient#updateGroup.");
|
|
559
|
+
const operationName = "updateGroup";
|
|
560
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Group/UpdateGroup";
|
|
544
561
|
const pathParams = {
|
|
545
562
|
"{streamId}": updateGroupRequest.streamId,
|
|
546
563
|
"{groupName}": updateGroupRequest.groupName
|
|
@@ -565,7 +582,7 @@ class StreamClient {
|
|
|
565
582
|
queryParams: queryParams
|
|
566
583
|
});
|
|
567
584
|
try {
|
|
568
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
585
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
569
586
|
const sdkResponse = oci_common_2.composeResponse({
|
|
570
587
|
responseObject: {},
|
|
571
588
|
responseHeaders: [
|
|
@@ -599,6 +616,7 @@ class StreamAdminClient {
|
|
|
599
616
|
this["_defaultHeaders"] = {};
|
|
600
617
|
this._circuitBreaker = null;
|
|
601
618
|
this._httpOptions = undefined;
|
|
619
|
+
this.targetService = "StreamAdmin";
|
|
602
620
|
const requestSigner = params.authenticationDetailsProvider
|
|
603
621
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
604
622
|
: null;
|
|
@@ -694,12 +712,14 @@ class StreamAdminClient {
|
|
|
694
712
|
* @param ChangeConnectHarnessCompartmentRequest
|
|
695
713
|
* @return ChangeConnectHarnessCompartmentResponse
|
|
696
714
|
* @throws OciError when an error occurs
|
|
697
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
715
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/ChangeConnectHarnessCompartment.ts.html |here} to see how to use ChangeConnectHarnessCompartment API.
|
|
698
716
|
*/
|
|
699
717
|
changeConnectHarnessCompartment(changeConnectHarnessCompartmentRequest) {
|
|
700
718
|
return __awaiter(this, void 0, void 0, function* () {
|
|
701
719
|
if (this.logger)
|
|
702
720
|
this.logger.debug("Calling operation StreamAdminClient#changeConnectHarnessCompartment.");
|
|
721
|
+
const operationName = "changeConnectHarnessCompartment";
|
|
722
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/ConnectHarness/ChangeConnectHarnessCompartment";
|
|
703
723
|
const pathParams = {
|
|
704
724
|
"{connectHarnessId}": changeConnectHarnessCompartmentRequest.connectHarnessId
|
|
705
725
|
};
|
|
@@ -724,7 +744,7 @@ class StreamAdminClient {
|
|
|
724
744
|
queryParams: queryParams
|
|
725
745
|
});
|
|
726
746
|
try {
|
|
727
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
747
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
728
748
|
const sdkResponse = oci_common_2.composeResponse({
|
|
729
749
|
responseObject: {},
|
|
730
750
|
responseHeaders: [
|
|
@@ -751,12 +771,14 @@ class StreamAdminClient {
|
|
|
751
771
|
* @param ChangeStreamCompartmentRequest
|
|
752
772
|
* @return ChangeStreamCompartmentResponse
|
|
753
773
|
* @throws OciError when an error occurs
|
|
754
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
774
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/ChangeStreamCompartment.ts.html |here} to see how to use ChangeStreamCompartment API.
|
|
755
775
|
*/
|
|
756
776
|
changeStreamCompartment(changeStreamCompartmentRequest) {
|
|
757
777
|
return __awaiter(this, void 0, void 0, function* () {
|
|
758
778
|
if (this.logger)
|
|
759
779
|
this.logger.debug("Calling operation StreamAdminClient#changeStreamCompartment.");
|
|
780
|
+
const operationName = "changeStreamCompartment";
|
|
781
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Stream/ChangeStreamCompartment";
|
|
760
782
|
const pathParams = {
|
|
761
783
|
"{streamId}": changeStreamCompartmentRequest.streamId
|
|
762
784
|
};
|
|
@@ -781,7 +803,7 @@ class StreamAdminClient {
|
|
|
781
803
|
queryParams: queryParams
|
|
782
804
|
});
|
|
783
805
|
try {
|
|
784
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
806
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
785
807
|
const sdkResponse = oci_common_2.composeResponse({
|
|
786
808
|
responseObject: {},
|
|
787
809
|
responseHeaders: [
|
|
@@ -805,12 +827,14 @@ class StreamAdminClient {
|
|
|
805
827
|
* @param ChangeStreamPoolCompartmentRequest
|
|
806
828
|
* @return ChangeStreamPoolCompartmentResponse
|
|
807
829
|
* @throws OciError when an error occurs
|
|
808
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
830
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/ChangeStreamPoolCompartment.ts.html |here} to see how to use ChangeStreamPoolCompartment API.
|
|
809
831
|
*/
|
|
810
832
|
changeStreamPoolCompartment(changeStreamPoolCompartmentRequest) {
|
|
811
833
|
return __awaiter(this, void 0, void 0, function* () {
|
|
812
834
|
if (this.logger)
|
|
813
835
|
this.logger.debug("Calling operation StreamAdminClient#changeStreamPoolCompartment.");
|
|
836
|
+
const operationName = "changeStreamPoolCompartment";
|
|
837
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/StreamPool/ChangeStreamPoolCompartment";
|
|
814
838
|
const pathParams = {
|
|
815
839
|
"{streamPoolId}": changeStreamPoolCompartmentRequest.streamPoolId
|
|
816
840
|
};
|
|
@@ -835,7 +859,7 @@ class StreamAdminClient {
|
|
|
835
859
|
queryParams: queryParams
|
|
836
860
|
});
|
|
837
861
|
try {
|
|
838
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
862
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
839
863
|
const sdkResponse = oci_common_2.composeResponse({
|
|
840
864
|
responseObject: {},
|
|
841
865
|
responseHeaders: [
|
|
@@ -861,12 +885,14 @@ class StreamAdminClient {
|
|
|
861
885
|
* @param CreateConnectHarnessRequest
|
|
862
886
|
* @return CreateConnectHarnessResponse
|
|
863
887
|
* @throws OciError when an error occurs
|
|
864
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
888
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/CreateConnectHarness.ts.html |here} to see how to use CreateConnectHarness API.
|
|
865
889
|
*/
|
|
866
890
|
createConnectHarness(createConnectHarnessRequest) {
|
|
867
891
|
return __awaiter(this, void 0, void 0, function* () {
|
|
868
892
|
if (this.logger)
|
|
869
893
|
this.logger.debug("Calling operation StreamAdminClient#createConnectHarness.");
|
|
894
|
+
const operationName = "createConnectHarness";
|
|
895
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/ConnectHarness/CreateConnectHarness";
|
|
870
896
|
const pathParams = {};
|
|
871
897
|
const queryParams = {};
|
|
872
898
|
let headerParams = {
|
|
@@ -889,7 +915,7 @@ class StreamAdminClient {
|
|
|
889
915
|
queryParams: queryParams
|
|
890
916
|
});
|
|
891
917
|
try {
|
|
892
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
918
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
893
919
|
const sdkResponse = oci_common_2.composeResponse({
|
|
894
920
|
responseObject: {},
|
|
895
921
|
body: yield response.json(),
|
|
@@ -927,12 +953,14 @@ class StreamAdminClient {
|
|
|
927
953
|
* @param CreateStreamRequest
|
|
928
954
|
* @return CreateStreamResponse
|
|
929
955
|
* @throws OciError when an error occurs
|
|
930
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
956
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/CreateStream.ts.html |here} to see how to use CreateStream API.
|
|
931
957
|
*/
|
|
932
958
|
createStream(createStreamRequest) {
|
|
933
959
|
return __awaiter(this, void 0, void 0, function* () {
|
|
934
960
|
if (this.logger)
|
|
935
961
|
this.logger.debug("Calling operation StreamAdminClient#createStream.");
|
|
962
|
+
const operationName = "createStream";
|
|
963
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Stream/CreateStream";
|
|
936
964
|
const pathParams = {};
|
|
937
965
|
const queryParams = {};
|
|
938
966
|
let headerParams = {
|
|
@@ -954,7 +982,7 @@ class StreamAdminClient {
|
|
|
954
982
|
queryParams: queryParams
|
|
955
983
|
});
|
|
956
984
|
try {
|
|
957
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
985
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
958
986
|
const sdkResponse = oci_common_2.composeResponse({
|
|
959
987
|
responseObject: {},
|
|
960
988
|
body: yield response.json(),
|
|
@@ -990,12 +1018,14 @@ class StreamAdminClient {
|
|
|
990
1018
|
* @param CreateStreamPoolRequest
|
|
991
1019
|
* @return CreateStreamPoolResponse
|
|
992
1020
|
* @throws OciError when an error occurs
|
|
993
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1021
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/CreateStreamPool.ts.html |here} to see how to use CreateStreamPool API.
|
|
994
1022
|
*/
|
|
995
1023
|
createStreamPool(createStreamPoolRequest) {
|
|
996
1024
|
return __awaiter(this, void 0, void 0, function* () {
|
|
997
1025
|
if (this.logger)
|
|
998
1026
|
this.logger.debug("Calling operation StreamAdminClient#createStreamPool.");
|
|
1027
|
+
const operationName = "createStreamPool";
|
|
1028
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/StreamPool/CreateStreamPool";
|
|
999
1029
|
const pathParams = {};
|
|
1000
1030
|
const queryParams = {};
|
|
1001
1031
|
let headerParams = {
|
|
@@ -1018,7 +1048,7 @@ class StreamAdminClient {
|
|
|
1018
1048
|
queryParams: queryParams
|
|
1019
1049
|
});
|
|
1020
1050
|
try {
|
|
1021
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1051
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1022
1052
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1023
1053
|
responseObject: {},
|
|
1024
1054
|
body: yield response.json(),
|
|
@@ -1056,12 +1086,14 @@ class StreamAdminClient {
|
|
|
1056
1086
|
* @param DeleteConnectHarnessRequest
|
|
1057
1087
|
* @return DeleteConnectHarnessResponse
|
|
1058
1088
|
* @throws OciError when an error occurs
|
|
1059
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1089
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/DeleteConnectHarness.ts.html |here} to see how to use DeleteConnectHarness API.
|
|
1060
1090
|
*/
|
|
1061
1091
|
deleteConnectHarness(deleteConnectHarnessRequest) {
|
|
1062
1092
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1063
1093
|
if (this.logger)
|
|
1064
1094
|
this.logger.debug("Calling operation StreamAdminClient#deleteConnectHarness.");
|
|
1095
|
+
const operationName = "deleteConnectHarness";
|
|
1096
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/ConnectHarness/DeleteConnectHarness";
|
|
1065
1097
|
const pathParams = {
|
|
1066
1098
|
"{connectHarnessId}": deleteConnectHarnessRequest.connectHarnessId
|
|
1067
1099
|
};
|
|
@@ -1085,7 +1117,7 @@ class StreamAdminClient {
|
|
|
1085
1117
|
queryParams: queryParams
|
|
1086
1118
|
});
|
|
1087
1119
|
try {
|
|
1088
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1120
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1089
1121
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1090
1122
|
responseObject: {},
|
|
1091
1123
|
responseHeaders: [
|
|
@@ -1114,12 +1146,14 @@ class StreamAdminClient {
|
|
|
1114
1146
|
* @param DeleteStreamRequest
|
|
1115
1147
|
* @return DeleteStreamResponse
|
|
1116
1148
|
* @throws OciError when an error occurs
|
|
1117
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1149
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/DeleteStream.ts.html |here} to see how to use DeleteStream API.
|
|
1118
1150
|
*/
|
|
1119
1151
|
deleteStream(deleteStreamRequest) {
|
|
1120
1152
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1121
1153
|
if (this.logger)
|
|
1122
1154
|
this.logger.debug("Calling operation StreamAdminClient#deleteStream.");
|
|
1155
|
+
const operationName = "deleteStream";
|
|
1156
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Stream/DeleteStream";
|
|
1123
1157
|
const pathParams = {
|
|
1124
1158
|
"{streamId}": deleteStreamRequest.streamId
|
|
1125
1159
|
};
|
|
@@ -1143,7 +1177,7 @@ class StreamAdminClient {
|
|
|
1143
1177
|
queryParams: queryParams
|
|
1144
1178
|
});
|
|
1145
1179
|
try {
|
|
1146
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1180
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1147
1181
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1148
1182
|
responseObject: {},
|
|
1149
1183
|
responseHeaders: [
|
|
@@ -1169,12 +1203,14 @@ class StreamAdminClient {
|
|
|
1169
1203
|
* @param DeleteStreamPoolRequest
|
|
1170
1204
|
* @return DeleteStreamPoolResponse
|
|
1171
1205
|
* @throws OciError when an error occurs
|
|
1172
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1206
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/DeleteStreamPool.ts.html |here} to see how to use DeleteStreamPool API.
|
|
1173
1207
|
*/
|
|
1174
1208
|
deleteStreamPool(deleteStreamPoolRequest) {
|
|
1175
1209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1176
1210
|
if (this.logger)
|
|
1177
1211
|
this.logger.debug("Calling operation StreamAdminClient#deleteStreamPool.");
|
|
1212
|
+
const operationName = "deleteStreamPool";
|
|
1213
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/StreamPool/DeleteStreamPool";
|
|
1178
1214
|
const pathParams = {
|
|
1179
1215
|
"{streamPoolId}": deleteStreamPoolRequest.streamPoolId
|
|
1180
1216
|
};
|
|
@@ -1198,7 +1234,7 @@ class StreamAdminClient {
|
|
|
1198
1234
|
queryParams: queryParams
|
|
1199
1235
|
});
|
|
1200
1236
|
try {
|
|
1201
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1237
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1202
1238
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1203
1239
|
responseObject: {},
|
|
1204
1240
|
responseHeaders: [
|
|
@@ -1222,12 +1258,14 @@ class StreamAdminClient {
|
|
|
1222
1258
|
* @param GetConnectHarnessRequest
|
|
1223
1259
|
* @return GetConnectHarnessResponse
|
|
1224
1260
|
* @throws OciError when an error occurs
|
|
1225
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1261
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/GetConnectHarness.ts.html |here} to see how to use GetConnectHarness API.
|
|
1226
1262
|
*/
|
|
1227
1263
|
getConnectHarness(getConnectHarnessRequest) {
|
|
1228
1264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1229
1265
|
if (this.logger)
|
|
1230
1266
|
this.logger.debug("Calling operation StreamAdminClient#getConnectHarness.");
|
|
1267
|
+
const operationName = "getConnectHarness";
|
|
1268
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/ConnectHarness/GetConnectHarness";
|
|
1231
1269
|
const pathParams = {
|
|
1232
1270
|
"{connectHarnessId}": getConnectHarnessRequest.connectHarnessId
|
|
1233
1271
|
};
|
|
@@ -1250,7 +1288,7 @@ class StreamAdminClient {
|
|
|
1250
1288
|
queryParams: queryParams
|
|
1251
1289
|
});
|
|
1252
1290
|
try {
|
|
1253
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1291
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1254
1292
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1255
1293
|
responseObject: {},
|
|
1256
1294
|
body: yield response.json(),
|
|
@@ -1283,12 +1321,14 @@ class StreamAdminClient {
|
|
|
1283
1321
|
* @param GetStreamRequest
|
|
1284
1322
|
* @return GetStreamResponse
|
|
1285
1323
|
* @throws OciError when an error occurs
|
|
1286
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1324
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/GetStream.ts.html |here} to see how to use GetStream API.
|
|
1287
1325
|
*/
|
|
1288
1326
|
getStream(getStreamRequest) {
|
|
1289
1327
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1290
1328
|
if (this.logger)
|
|
1291
1329
|
this.logger.debug("Calling operation StreamAdminClient#getStream.");
|
|
1330
|
+
const operationName = "getStream";
|
|
1331
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Stream/GetStream";
|
|
1292
1332
|
const pathParams = {
|
|
1293
1333
|
"{streamId}": getStreamRequest.streamId
|
|
1294
1334
|
};
|
|
@@ -1311,7 +1351,7 @@ class StreamAdminClient {
|
|
|
1311
1351
|
queryParams: queryParams
|
|
1312
1352
|
});
|
|
1313
1353
|
try {
|
|
1314
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1354
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1315
1355
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1316
1356
|
responseObject: {},
|
|
1317
1357
|
body: yield response.json(),
|
|
@@ -1344,12 +1384,14 @@ class StreamAdminClient {
|
|
|
1344
1384
|
* @param GetStreamPoolRequest
|
|
1345
1385
|
* @return GetStreamPoolResponse
|
|
1346
1386
|
* @throws OciError when an error occurs
|
|
1347
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1387
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/GetStreamPool.ts.html |here} to see how to use GetStreamPool API.
|
|
1348
1388
|
*/
|
|
1349
1389
|
getStreamPool(getStreamPoolRequest) {
|
|
1350
1390
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1351
1391
|
if (this.logger)
|
|
1352
1392
|
this.logger.debug("Calling operation StreamAdminClient#getStreamPool.");
|
|
1393
|
+
const operationName = "getStreamPool";
|
|
1394
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/StreamPool/GetStreamPool";
|
|
1353
1395
|
const pathParams = {
|
|
1354
1396
|
"{streamPoolId}": getStreamPoolRequest.streamPoolId
|
|
1355
1397
|
};
|
|
@@ -1372,7 +1414,7 @@ class StreamAdminClient {
|
|
|
1372
1414
|
queryParams: queryParams
|
|
1373
1415
|
});
|
|
1374
1416
|
try {
|
|
1375
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1417
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1376
1418
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1377
1419
|
responseObject: {},
|
|
1378
1420
|
body: yield response.json(),
|
|
@@ -1405,12 +1447,14 @@ class StreamAdminClient {
|
|
|
1405
1447
|
* @param ListConnectHarnessesRequest
|
|
1406
1448
|
* @return ListConnectHarnessesResponse
|
|
1407
1449
|
* @throws OciError when an error occurs
|
|
1408
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1450
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/ListConnectHarnesses.ts.html |here} to see how to use ListConnectHarnesses API.
|
|
1409
1451
|
*/
|
|
1410
1452
|
listConnectHarnesses(listConnectHarnessesRequest) {
|
|
1411
1453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1412
1454
|
if (this.logger)
|
|
1413
1455
|
this.logger.debug("Calling operation StreamAdminClient#listConnectHarnesses.");
|
|
1456
|
+
const operationName = "listConnectHarnesses";
|
|
1457
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/ConnectHarnessSummary/ListConnectHarnesses";
|
|
1414
1458
|
const pathParams = {};
|
|
1415
1459
|
const queryParams = {
|
|
1416
1460
|
"compartmentId": listConnectHarnessesRequest.compartmentId,
|
|
@@ -1440,7 +1484,7 @@ class StreamAdminClient {
|
|
|
1440
1484
|
queryParams: queryParams
|
|
1441
1485
|
});
|
|
1442
1486
|
try {
|
|
1443
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1487
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1444
1488
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1445
1489
|
responseObject: {},
|
|
1446
1490
|
body: yield response.json(),
|
|
@@ -1518,12 +1562,14 @@ class StreamAdminClient {
|
|
|
1518
1562
|
* @param ListStreamPoolsRequest
|
|
1519
1563
|
* @return ListStreamPoolsResponse
|
|
1520
1564
|
* @throws OciError when an error occurs
|
|
1521
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1565
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/ListStreamPools.ts.html |here} to see how to use ListStreamPools API.
|
|
1522
1566
|
*/
|
|
1523
1567
|
listStreamPools(listStreamPoolsRequest) {
|
|
1524
1568
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1525
1569
|
if (this.logger)
|
|
1526
1570
|
this.logger.debug("Calling operation StreamAdminClient#listStreamPools.");
|
|
1571
|
+
const operationName = "listStreamPools";
|
|
1572
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/StreamPoolSummary/ListStreamPools";
|
|
1527
1573
|
const pathParams = {};
|
|
1528
1574
|
const queryParams = {
|
|
1529
1575
|
"compartmentId": listStreamPoolsRequest.compartmentId,
|
|
@@ -1553,7 +1599,7 @@ class StreamAdminClient {
|
|
|
1553
1599
|
queryParams: queryParams
|
|
1554
1600
|
});
|
|
1555
1601
|
try {
|
|
1556
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1602
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1557
1603
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1558
1604
|
responseObject: {},
|
|
1559
1605
|
body: yield response.json(),
|
|
@@ -1635,12 +1681,14 @@ class StreamAdminClient {
|
|
|
1635
1681
|
* @param ListStreamsRequest
|
|
1636
1682
|
* @return ListStreamsResponse
|
|
1637
1683
|
* @throws OciError when an error occurs
|
|
1638
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1684
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/ListStreams.ts.html |here} to see how to use ListStreams API.
|
|
1639
1685
|
*/
|
|
1640
1686
|
listStreams(listStreamsRequest) {
|
|
1641
1687
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1642
1688
|
if (this.logger)
|
|
1643
1689
|
this.logger.debug("Calling operation StreamAdminClient#listStreams.");
|
|
1690
|
+
const operationName = "listStreams";
|
|
1691
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/StreamSummary/ListStreams";
|
|
1644
1692
|
const pathParams = {};
|
|
1645
1693
|
const queryParams = {
|
|
1646
1694
|
"compartmentId": listStreamsRequest.compartmentId,
|
|
@@ -1671,7 +1719,7 @@ class StreamAdminClient {
|
|
|
1671
1719
|
queryParams: queryParams
|
|
1672
1720
|
});
|
|
1673
1721
|
try {
|
|
1674
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1722
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1675
1723
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1676
1724
|
responseObject: {},
|
|
1677
1725
|
body: yield response.json(),
|
|
@@ -1750,12 +1798,14 @@ class StreamAdminClient {
|
|
|
1750
1798
|
* @param UpdateConnectHarnessRequest
|
|
1751
1799
|
* @return UpdateConnectHarnessResponse
|
|
1752
1800
|
* @throws OciError when an error occurs
|
|
1753
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1801
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/UpdateConnectHarness.ts.html |here} to see how to use UpdateConnectHarness API.
|
|
1754
1802
|
*/
|
|
1755
1803
|
updateConnectHarness(updateConnectHarnessRequest) {
|
|
1756
1804
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1757
1805
|
if (this.logger)
|
|
1758
1806
|
this.logger.debug("Calling operation StreamAdminClient#updateConnectHarness.");
|
|
1807
|
+
const operationName = "updateConnectHarness";
|
|
1808
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/ConnectHarness/UpdateConnectHarness";
|
|
1759
1809
|
const pathParams = {
|
|
1760
1810
|
"{connectHarnessId}": updateConnectHarnessRequest.connectHarnessId
|
|
1761
1811
|
};
|
|
@@ -1780,7 +1830,7 @@ class StreamAdminClient {
|
|
|
1780
1830
|
queryParams: queryParams
|
|
1781
1831
|
});
|
|
1782
1832
|
try {
|
|
1783
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1833
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1784
1834
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1785
1835
|
responseObject: {},
|
|
1786
1836
|
body: yield response.json(),
|
|
@@ -1814,12 +1864,14 @@ class StreamAdminClient {
|
|
|
1814
1864
|
* @param UpdateStreamRequest
|
|
1815
1865
|
* @return UpdateStreamResponse
|
|
1816
1866
|
* @throws OciError when an error occurs
|
|
1817
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1867
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/UpdateStream.ts.html |here} to see how to use UpdateStream API.
|
|
1818
1868
|
*/
|
|
1819
1869
|
updateStream(updateStreamRequest) {
|
|
1820
1870
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1821
1871
|
if (this.logger)
|
|
1822
1872
|
this.logger.debug("Calling operation StreamAdminClient#updateStream.");
|
|
1873
|
+
const operationName = "updateStream";
|
|
1874
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/Stream/UpdateStream";
|
|
1823
1875
|
const pathParams = {
|
|
1824
1876
|
"{streamId}": updateStreamRequest.streamId
|
|
1825
1877
|
};
|
|
@@ -1844,7 +1896,7 @@ class StreamAdminClient {
|
|
|
1844
1896
|
queryParams: queryParams
|
|
1845
1897
|
});
|
|
1846
1898
|
try {
|
|
1847
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1899
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1848
1900
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1849
1901
|
responseObject: {},
|
|
1850
1902
|
body: yield response.json(),
|
|
@@ -1878,12 +1930,14 @@ class StreamAdminClient {
|
|
|
1878
1930
|
* @param UpdateStreamPoolRequest
|
|
1879
1931
|
* @return UpdateStreamPoolResponse
|
|
1880
1932
|
* @throws OciError when an error occurs
|
|
1881
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1933
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/streaming/UpdateStreamPool.ts.html |here} to see how to use UpdateStreamPool API.
|
|
1882
1934
|
*/
|
|
1883
1935
|
updateStreamPool(updateStreamPoolRequest) {
|
|
1884
1936
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1885
1937
|
if (this.logger)
|
|
1886
1938
|
this.logger.debug("Calling operation StreamAdminClient#updateStreamPool.");
|
|
1939
|
+
const operationName = "updateStreamPool";
|
|
1940
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/streaming/20180418/StreamPool/UpdateStreamPool";
|
|
1887
1941
|
const pathParams = {
|
|
1888
1942
|
"{streamPoolId}": updateStreamPoolRequest.streamPoolId
|
|
1889
1943
|
};
|
|
@@ -1908,7 +1962,7 @@ class StreamAdminClient {
|
|
|
1908
1962
|
queryParams: queryParams
|
|
1909
1963
|
});
|
|
1910
1964
|
try {
|
|
1911
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1965
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1912
1966
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1913
1967
|
responseObject: {},
|
|
1914
1968
|
body: yield response.json(),
|