oci-blockchain 2.27.0 → 2.30.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 -27
- package/lib/client.js +109 -54
- package/lib/client.js.map +1 -1
- package/lib/request/change-blockchain-platform-compartment-request.d.ts +1 -1
- package/lib/request/create-blockchain-platform-request.d.ts +1 -1
- package/lib/request/create-osn-request.d.ts +1 -1
- package/lib/request/create-peer-request.d.ts +1 -1
- package/lib/request/delete-blockchain-platform-request.d.ts +1 -1
- package/lib/request/delete-osn-request.d.ts +1 -1
- package/lib/request/delete-peer-request.d.ts +1 -1
- package/lib/request/delete-work-request-request.d.ts +1 -1
- package/lib/request/get-blockchain-platform-request.d.ts +1 -1
- package/lib/request/get-osn-request.d.ts +1 -1
- package/lib/request/get-peer-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-blockchain-platform-patches-request.d.ts +1 -1
- package/lib/request/list-blockchain-platforms-request.d.ts +1 -1
- package/lib/request/list-osns-request.d.ts +1 -1
- package/lib/request/list-peers-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/preview-scale-blockchain-platform-request.d.ts +1 -1
- package/lib/request/scale-blockchain-platform-request.d.ts +1 -1
- package/lib/request/start-blockchain-platform-request.d.ts +1 -1
- package/lib/request/stop-blockchain-platform-request.d.ts +1 -1
- package/lib/request/update-blockchain-platform-request.d.ts +1 -1
- package/lib/request/update-osn-request.d.ts +1 -1
- package/lib/request/update-peer-request.d.ts +1 -1
- package/lib/request/upgrade-blockchain-platform-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -60,6 +60,7 @@ class BlockchainPlatformClient {
|
|
|
60
60
|
this["_defaultHeaders"] = {};
|
|
61
61
|
this._circuitBreaker = null;
|
|
62
62
|
this._httpOptions = undefined;
|
|
63
|
+
this.targetService = "BlockchainPlatform";
|
|
63
64
|
const requestSigner = params.authenticationDetailsProvider
|
|
64
65
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
65
66
|
: null;
|
|
@@ -155,12 +156,14 @@ class BlockchainPlatformClient {
|
|
|
155
156
|
* @param ChangeBlockchainPlatformCompartmentRequest
|
|
156
157
|
* @return ChangeBlockchainPlatformCompartmentResponse
|
|
157
158
|
* @throws OciError when an error occurs
|
|
158
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
159
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/ChangeBlockchainPlatformCompartment.ts.html |here} to see how to use ChangeBlockchainPlatformCompartment API.
|
|
159
160
|
*/
|
|
160
161
|
changeBlockchainPlatformCompartment(changeBlockchainPlatformCompartmentRequest) {
|
|
161
162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
162
163
|
if (this.logger)
|
|
163
164
|
this.logger.debug("Calling operation BlockchainPlatformClient#changeBlockchainPlatformCompartment.");
|
|
165
|
+
const operationName = "changeBlockchainPlatformCompartment";
|
|
166
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/ChangeBlockchainPlatformCompartment";
|
|
164
167
|
const pathParams = {
|
|
165
168
|
"{blockchainPlatformId}": changeBlockchainPlatformCompartmentRequest.blockchainPlatformId
|
|
166
169
|
};
|
|
@@ -186,7 +189,7 @@ class BlockchainPlatformClient {
|
|
|
186
189
|
queryParams: queryParams
|
|
187
190
|
});
|
|
188
191
|
try {
|
|
189
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
192
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
190
193
|
const sdkResponse = oci_common_1.composeResponse({
|
|
191
194
|
responseObject: {},
|
|
192
195
|
responseHeaders: [
|
|
@@ -216,12 +219,14 @@ class BlockchainPlatformClient {
|
|
|
216
219
|
* @param CreateBlockchainPlatformRequest
|
|
217
220
|
* @return CreateBlockchainPlatformResponse
|
|
218
221
|
* @throws OciError when an error occurs
|
|
219
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
222
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/CreateBlockchainPlatform.ts.html |here} to see how to use CreateBlockchainPlatform API.
|
|
220
223
|
*/
|
|
221
224
|
createBlockchainPlatform(createBlockchainPlatformRequest) {
|
|
222
225
|
return __awaiter(this, void 0, void 0, function* () {
|
|
223
226
|
if (this.logger)
|
|
224
227
|
this.logger.debug("Calling operation BlockchainPlatformClient#createBlockchainPlatform.");
|
|
228
|
+
const operationName = "createBlockchainPlatform";
|
|
229
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/CreateBlockchainPlatform";
|
|
225
230
|
const pathParams = {};
|
|
226
231
|
const queryParams = {};
|
|
227
232
|
let headerParams = {
|
|
@@ -244,7 +249,7 @@ class BlockchainPlatformClient {
|
|
|
244
249
|
queryParams: queryParams
|
|
245
250
|
});
|
|
246
251
|
try {
|
|
247
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
252
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
248
253
|
const sdkResponse = oci_common_1.composeResponse({
|
|
249
254
|
responseObject: {},
|
|
250
255
|
responseHeaders: [
|
|
@@ -273,12 +278,14 @@ class BlockchainPlatformClient {
|
|
|
273
278
|
* @param CreateOsnRequest
|
|
274
279
|
* @return CreateOsnResponse
|
|
275
280
|
* @throws OciError when an error occurs
|
|
276
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
281
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/CreateOsn.ts.html |here} to see how to use CreateOsn API.
|
|
277
282
|
*/
|
|
278
283
|
createOsn(createOsnRequest) {
|
|
279
284
|
return __awaiter(this, void 0, void 0, function* () {
|
|
280
285
|
if (this.logger)
|
|
281
286
|
this.logger.debug("Calling operation BlockchainPlatformClient#createOsn.");
|
|
287
|
+
const operationName = "createOsn";
|
|
288
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/CreateOsn";
|
|
282
289
|
const pathParams = {
|
|
283
290
|
"{blockchainPlatformId}": createOsnRequest.blockchainPlatformId
|
|
284
291
|
};
|
|
@@ -304,7 +311,7 @@ class BlockchainPlatformClient {
|
|
|
304
311
|
queryParams: queryParams
|
|
305
312
|
});
|
|
306
313
|
try {
|
|
307
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
314
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
308
315
|
const sdkResponse = oci_common_1.composeResponse({
|
|
309
316
|
responseObject: {},
|
|
310
317
|
responseHeaders: [
|
|
@@ -333,12 +340,14 @@ class BlockchainPlatformClient {
|
|
|
333
340
|
* @param CreatePeerRequest
|
|
334
341
|
* @return CreatePeerResponse
|
|
335
342
|
* @throws OciError when an error occurs
|
|
336
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
343
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/CreatePeer.ts.html |here} to see how to use CreatePeer API.
|
|
337
344
|
*/
|
|
338
345
|
createPeer(createPeerRequest) {
|
|
339
346
|
return __awaiter(this, void 0, void 0, function* () {
|
|
340
347
|
if (this.logger)
|
|
341
348
|
this.logger.debug("Calling operation BlockchainPlatformClient#createPeer.");
|
|
349
|
+
const operationName = "createPeer";
|
|
350
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/CreatePeer";
|
|
342
351
|
const pathParams = {
|
|
343
352
|
"{blockchainPlatformId}": createPeerRequest.blockchainPlatformId
|
|
344
353
|
};
|
|
@@ -363,7 +372,7 @@ class BlockchainPlatformClient {
|
|
|
363
372
|
queryParams: queryParams
|
|
364
373
|
});
|
|
365
374
|
try {
|
|
366
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
375
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
367
376
|
const sdkResponse = oci_common_1.composeResponse({
|
|
368
377
|
responseObject: {},
|
|
369
378
|
responseHeaders: [
|
|
@@ -392,12 +401,14 @@ class BlockchainPlatformClient {
|
|
|
392
401
|
* @param DeleteBlockchainPlatformRequest
|
|
393
402
|
* @return DeleteBlockchainPlatformResponse
|
|
394
403
|
* @throws OciError when an error occurs
|
|
395
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
404
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/DeleteBlockchainPlatform.ts.html |here} to see how to use DeleteBlockchainPlatform API.
|
|
396
405
|
*/
|
|
397
406
|
deleteBlockchainPlatform(deleteBlockchainPlatformRequest) {
|
|
398
407
|
return __awaiter(this, void 0, void 0, function* () {
|
|
399
408
|
if (this.logger)
|
|
400
409
|
this.logger.debug("Calling operation BlockchainPlatformClient#deleteBlockchainPlatform.");
|
|
410
|
+
const operationName = "deleteBlockchainPlatform";
|
|
411
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/DeleteBlockchainPlatform";
|
|
401
412
|
const pathParams = {
|
|
402
413
|
"{blockchainPlatformId}": deleteBlockchainPlatformRequest.blockchainPlatformId
|
|
403
414
|
};
|
|
@@ -422,7 +433,7 @@ class BlockchainPlatformClient {
|
|
|
422
433
|
queryParams: queryParams
|
|
423
434
|
});
|
|
424
435
|
try {
|
|
425
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
436
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
426
437
|
const sdkResponse = oci_common_1.composeResponse({
|
|
427
438
|
responseObject: {},
|
|
428
439
|
responseHeaders: [
|
|
@@ -451,12 +462,14 @@ class BlockchainPlatformClient {
|
|
|
451
462
|
* @param DeleteOsnRequest
|
|
452
463
|
* @return DeleteOsnResponse
|
|
453
464
|
* @throws OciError when an error occurs
|
|
454
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
465
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/DeleteOsn.ts.html |here} to see how to use DeleteOsn API.
|
|
455
466
|
*/
|
|
456
467
|
deleteOsn(deleteOsnRequest) {
|
|
457
468
|
return __awaiter(this, void 0, void 0, function* () {
|
|
458
469
|
if (this.logger)
|
|
459
470
|
this.logger.debug("Calling operation BlockchainPlatformClient#deleteOsn.");
|
|
471
|
+
const operationName = "deleteOsn";
|
|
472
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/DeleteOsn";
|
|
460
473
|
const pathParams = {
|
|
461
474
|
"{blockchainPlatformId}": deleteOsnRequest.blockchainPlatformId,
|
|
462
475
|
"{osnId}": deleteOsnRequest.osnId
|
|
@@ -481,7 +494,7 @@ class BlockchainPlatformClient {
|
|
|
481
494
|
queryParams: queryParams
|
|
482
495
|
});
|
|
483
496
|
try {
|
|
484
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
497
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
485
498
|
const sdkResponse = oci_common_1.composeResponse({
|
|
486
499
|
responseObject: {},
|
|
487
500
|
responseHeaders: [
|
|
@@ -510,12 +523,14 @@ class BlockchainPlatformClient {
|
|
|
510
523
|
* @param DeletePeerRequest
|
|
511
524
|
* @return DeletePeerResponse
|
|
512
525
|
* @throws OciError when an error occurs
|
|
513
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
526
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/DeletePeer.ts.html |here} to see how to use DeletePeer API.
|
|
514
527
|
*/
|
|
515
528
|
deletePeer(deletePeerRequest) {
|
|
516
529
|
return __awaiter(this, void 0, void 0, function* () {
|
|
517
530
|
if (this.logger)
|
|
518
531
|
this.logger.debug("Calling operation BlockchainPlatformClient#deletePeer.");
|
|
532
|
+
const operationName = "deletePeer";
|
|
533
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/DeletePeer";
|
|
519
534
|
const pathParams = {
|
|
520
535
|
"{blockchainPlatformId}": deletePeerRequest.blockchainPlatformId,
|
|
521
536
|
"{peerId}": deletePeerRequest.peerId
|
|
@@ -541,7 +556,7 @@ class BlockchainPlatformClient {
|
|
|
541
556
|
queryParams: queryParams
|
|
542
557
|
});
|
|
543
558
|
try {
|
|
544
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
559
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
545
560
|
const sdkResponse = oci_common_1.composeResponse({
|
|
546
561
|
responseObject: {},
|
|
547
562
|
responseHeaders: [
|
|
@@ -570,12 +585,14 @@ class BlockchainPlatformClient {
|
|
|
570
585
|
* @param DeleteWorkRequestRequest
|
|
571
586
|
* @return DeleteWorkRequestResponse
|
|
572
587
|
* @throws OciError when an error occurs
|
|
573
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
588
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
|
|
574
589
|
*/
|
|
575
590
|
deleteWorkRequest(deleteWorkRequestRequest) {
|
|
576
591
|
return __awaiter(this, void 0, void 0, function* () {
|
|
577
592
|
if (this.logger)
|
|
578
593
|
this.logger.debug("Calling operation BlockchainPlatformClient#deleteWorkRequest.");
|
|
594
|
+
const operationName = "deleteWorkRequest";
|
|
595
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/WorkRequest/DeleteWorkRequest";
|
|
579
596
|
const pathParams = {
|
|
580
597
|
"{workRequestId}": deleteWorkRequestRequest.workRequestId
|
|
581
598
|
};
|
|
@@ -599,7 +616,7 @@ class BlockchainPlatformClient {
|
|
|
599
616
|
queryParams: queryParams
|
|
600
617
|
});
|
|
601
618
|
try {
|
|
602
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
619
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
603
620
|
const sdkResponse = oci_common_1.composeResponse({
|
|
604
621
|
responseObject: {},
|
|
605
622
|
responseHeaders: [
|
|
@@ -628,12 +645,14 @@ class BlockchainPlatformClient {
|
|
|
628
645
|
* @param GetBlockchainPlatformRequest
|
|
629
646
|
* @return GetBlockchainPlatformResponse
|
|
630
647
|
* @throws OciError when an error occurs
|
|
631
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
648
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/GetBlockchainPlatform.ts.html |here} to see how to use GetBlockchainPlatform API.
|
|
632
649
|
*/
|
|
633
650
|
getBlockchainPlatform(getBlockchainPlatformRequest) {
|
|
634
651
|
return __awaiter(this, void 0, void 0, function* () {
|
|
635
652
|
if (this.logger)
|
|
636
653
|
this.logger.debug("Calling operation BlockchainPlatformClient#getBlockchainPlatform.");
|
|
654
|
+
const operationName = "getBlockchainPlatform";
|
|
655
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/GetBlockchainPlatform";
|
|
637
656
|
const pathParams = {
|
|
638
657
|
"{blockchainPlatformId}": getBlockchainPlatformRequest.blockchainPlatformId
|
|
639
658
|
};
|
|
@@ -656,7 +675,7 @@ class BlockchainPlatformClient {
|
|
|
656
675
|
queryParams: queryParams
|
|
657
676
|
});
|
|
658
677
|
try {
|
|
659
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
678
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
660
679
|
const sdkResponse = oci_common_1.composeResponse({
|
|
661
680
|
responseObject: {},
|
|
662
681
|
body: yield response.json(),
|
|
@@ -689,12 +708,14 @@ class BlockchainPlatformClient {
|
|
|
689
708
|
* @param GetOsnRequest
|
|
690
709
|
* @return GetOsnResponse
|
|
691
710
|
* @throws OciError when an error occurs
|
|
692
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
711
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/GetOsn.ts.html |here} to see how to use GetOsn API.
|
|
693
712
|
*/
|
|
694
713
|
getOsn(getOsnRequest) {
|
|
695
714
|
return __awaiter(this, void 0, void 0, function* () {
|
|
696
715
|
if (this.logger)
|
|
697
716
|
this.logger.debug("Calling operation BlockchainPlatformClient#getOsn.");
|
|
717
|
+
const operationName = "getOsn";
|
|
718
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/Osn/GetOsn";
|
|
698
719
|
const pathParams = {
|
|
699
720
|
"{blockchainPlatformId}": getOsnRequest.blockchainPlatformId,
|
|
700
721
|
"{osnId}": getOsnRequest.osnId
|
|
@@ -718,7 +739,7 @@ class BlockchainPlatformClient {
|
|
|
718
739
|
queryParams: queryParams
|
|
719
740
|
});
|
|
720
741
|
try {
|
|
721
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
742
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
722
743
|
const sdkResponse = oci_common_1.composeResponse({
|
|
723
744
|
responseObject: {},
|
|
724
745
|
body: yield response.json(),
|
|
@@ -751,12 +772,14 @@ class BlockchainPlatformClient {
|
|
|
751
772
|
* @param GetPeerRequest
|
|
752
773
|
* @return GetPeerResponse
|
|
753
774
|
* @throws OciError when an error occurs
|
|
754
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
775
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/GetPeer.ts.html |here} to see how to use GetPeer API.
|
|
755
776
|
*/
|
|
756
777
|
getPeer(getPeerRequest) {
|
|
757
778
|
return __awaiter(this, void 0, void 0, function* () {
|
|
758
779
|
if (this.logger)
|
|
759
780
|
this.logger.debug("Calling operation BlockchainPlatformClient#getPeer.");
|
|
781
|
+
const operationName = "getPeer";
|
|
782
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/Peer/GetPeer";
|
|
760
783
|
const pathParams = {
|
|
761
784
|
"{blockchainPlatformId}": getPeerRequest.blockchainPlatformId,
|
|
762
785
|
"{peerId}": getPeerRequest.peerId
|
|
@@ -780,7 +803,7 @@ class BlockchainPlatformClient {
|
|
|
780
803
|
queryParams: queryParams
|
|
781
804
|
});
|
|
782
805
|
try {
|
|
783
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
806
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
784
807
|
const sdkResponse = oci_common_1.composeResponse({
|
|
785
808
|
responseObject: {},
|
|
786
809
|
body: yield response.json(),
|
|
@@ -813,12 +836,14 @@ class BlockchainPlatformClient {
|
|
|
813
836
|
* @param GetWorkRequestRequest
|
|
814
837
|
* @return GetWorkRequestResponse
|
|
815
838
|
* @throws OciError when an error occurs
|
|
816
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
839
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
817
840
|
*/
|
|
818
841
|
getWorkRequest(getWorkRequestRequest) {
|
|
819
842
|
return __awaiter(this, void 0, void 0, function* () {
|
|
820
843
|
if (this.logger)
|
|
821
844
|
this.logger.debug("Calling operation BlockchainPlatformClient#getWorkRequest.");
|
|
845
|
+
const operationName = "getWorkRequest";
|
|
846
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/WorkRequest/GetWorkRequest";
|
|
822
847
|
const pathParams = {
|
|
823
848
|
"{workRequestId}": getWorkRequestRequest.workRequestId
|
|
824
849
|
};
|
|
@@ -841,7 +866,7 @@ class BlockchainPlatformClient {
|
|
|
841
866
|
queryParams: queryParams
|
|
842
867
|
});
|
|
843
868
|
try {
|
|
844
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
869
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
845
870
|
const sdkResponse = oci_common_1.composeResponse({
|
|
846
871
|
responseObject: {},
|
|
847
872
|
body: yield response.json(),
|
|
@@ -879,12 +904,14 @@ class BlockchainPlatformClient {
|
|
|
879
904
|
* @param ListBlockchainPlatformPatchesRequest
|
|
880
905
|
* @return ListBlockchainPlatformPatchesResponse
|
|
881
906
|
* @throws OciError when an error occurs
|
|
882
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
907
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/ListBlockchainPlatformPatches.ts.html |here} to see how to use ListBlockchainPlatformPatches API.
|
|
883
908
|
*/
|
|
884
909
|
listBlockchainPlatformPatches(listBlockchainPlatformPatchesRequest) {
|
|
885
910
|
return __awaiter(this, void 0, void 0, function* () {
|
|
886
911
|
if (this.logger)
|
|
887
912
|
this.logger.debug("Calling operation BlockchainPlatformClient#listBlockchainPlatformPatches.");
|
|
913
|
+
const operationName = "listBlockchainPlatformPatches";
|
|
914
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/ListBlockchainPlatformPatches";
|
|
888
915
|
const pathParams = {
|
|
889
916
|
"{blockchainPlatformId}": listBlockchainPlatformPatchesRequest.blockchainPlatformId
|
|
890
917
|
};
|
|
@@ -910,7 +937,7 @@ class BlockchainPlatformClient {
|
|
|
910
937
|
queryParams: queryParams
|
|
911
938
|
});
|
|
912
939
|
try {
|
|
913
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
940
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
914
941
|
const sdkResponse = oci_common_1.composeResponse({
|
|
915
942
|
responseObject: {},
|
|
916
943
|
body: yield response.json(),
|
|
@@ -943,12 +970,14 @@ class BlockchainPlatformClient {
|
|
|
943
970
|
* @param ListBlockchainPlatformsRequest
|
|
944
971
|
* @return ListBlockchainPlatformsResponse
|
|
945
972
|
* @throws OciError when an error occurs
|
|
946
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
973
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/ListBlockchainPlatforms.ts.html |here} to see how to use ListBlockchainPlatforms API.
|
|
947
974
|
*/
|
|
948
975
|
listBlockchainPlatforms(listBlockchainPlatformsRequest) {
|
|
949
976
|
return __awaiter(this, void 0, void 0, function* () {
|
|
950
977
|
if (this.logger)
|
|
951
978
|
this.logger.debug("Calling operation BlockchainPlatformClient#listBlockchainPlatforms.");
|
|
979
|
+
const operationName = "listBlockchainPlatforms";
|
|
980
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/ListBlockchainPlatforms";
|
|
952
981
|
const pathParams = {};
|
|
953
982
|
const queryParams = {
|
|
954
983
|
"compartmentId": listBlockchainPlatformsRequest.compartmentId,
|
|
@@ -977,7 +1006,7 @@ class BlockchainPlatformClient {
|
|
|
977
1006
|
queryParams: queryParams
|
|
978
1007
|
});
|
|
979
1008
|
try {
|
|
980
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1009
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
981
1010
|
const sdkResponse = oci_common_1.composeResponse({
|
|
982
1011
|
responseObject: {},
|
|
983
1012
|
body: yield response.json(),
|
|
@@ -1010,12 +1039,14 @@ class BlockchainPlatformClient {
|
|
|
1010
1039
|
* @param ListOsnsRequest
|
|
1011
1040
|
* @return ListOsnsResponse
|
|
1012
1041
|
* @throws OciError when an error occurs
|
|
1013
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1042
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/ListOsns.ts.html |here} to see how to use ListOsns API.
|
|
1014
1043
|
*/
|
|
1015
1044
|
listOsns(listOsnsRequest) {
|
|
1016
1045
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1017
1046
|
if (this.logger)
|
|
1018
1047
|
this.logger.debug("Calling operation BlockchainPlatformClient#listOsns.");
|
|
1048
|
+
const operationName = "listOsns";
|
|
1049
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/Osn/ListOsns";
|
|
1019
1050
|
const pathParams = {
|
|
1020
1051
|
"{blockchainPlatformId}": listOsnsRequest.blockchainPlatformId
|
|
1021
1052
|
};
|
|
@@ -1045,7 +1076,7 @@ class BlockchainPlatformClient {
|
|
|
1045
1076
|
queryParams: queryParams
|
|
1046
1077
|
});
|
|
1047
1078
|
try {
|
|
1048
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1079
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1049
1080
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1050
1081
|
responseObject: {},
|
|
1051
1082
|
body: yield response.json(),
|
|
@@ -1078,12 +1109,14 @@ class BlockchainPlatformClient {
|
|
|
1078
1109
|
* @param ListPeersRequest
|
|
1079
1110
|
* @return ListPeersResponse
|
|
1080
1111
|
* @throws OciError when an error occurs
|
|
1081
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1112
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/ListPeers.ts.html |here} to see how to use ListPeers API.
|
|
1082
1113
|
*/
|
|
1083
1114
|
listPeers(listPeersRequest) {
|
|
1084
1115
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1085
1116
|
if (this.logger)
|
|
1086
1117
|
this.logger.debug("Calling operation BlockchainPlatformClient#listPeers.");
|
|
1118
|
+
const operationName = "listPeers";
|
|
1119
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/Peer/ListPeers";
|
|
1087
1120
|
const pathParams = {
|
|
1088
1121
|
"{blockchainPlatformId}": listPeersRequest.blockchainPlatformId
|
|
1089
1122
|
};
|
|
@@ -1113,7 +1146,7 @@ class BlockchainPlatformClient {
|
|
|
1113
1146
|
queryParams: queryParams
|
|
1114
1147
|
});
|
|
1115
1148
|
try {
|
|
1116
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1149
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1117
1150
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1118
1151
|
responseObject: {},
|
|
1119
1152
|
body: yield response.json(),
|
|
@@ -1147,12 +1180,14 @@ class BlockchainPlatformClient {
|
|
|
1147
1180
|
* @param ListWorkRequestErrorsRequest
|
|
1148
1181
|
* @return ListWorkRequestErrorsResponse
|
|
1149
1182
|
* @throws OciError when an error occurs
|
|
1150
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1183
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1151
1184
|
*/
|
|
1152
1185
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1153
1186
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1154
1187
|
if (this.logger)
|
|
1155
1188
|
this.logger.debug("Calling operation BlockchainPlatformClient#listWorkRequestErrors.");
|
|
1189
|
+
const operationName = "listWorkRequestErrors";
|
|
1190
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/WorkRequestError/ListWorkRequestErrors";
|
|
1156
1191
|
const pathParams = {
|
|
1157
1192
|
"{workRequestId}": listWorkRequestErrorsRequest.workRequestId
|
|
1158
1193
|
};
|
|
@@ -1178,7 +1213,7 @@ class BlockchainPlatformClient {
|
|
|
1178
1213
|
queryParams: queryParams
|
|
1179
1214
|
});
|
|
1180
1215
|
try {
|
|
1181
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1216
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1182
1217
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1183
1218
|
responseObject: {},
|
|
1184
1219
|
body: yield response.json(),
|
|
@@ -1212,12 +1247,14 @@ class BlockchainPlatformClient {
|
|
|
1212
1247
|
* @param ListWorkRequestLogsRequest
|
|
1213
1248
|
* @return ListWorkRequestLogsResponse
|
|
1214
1249
|
* @throws OciError when an error occurs
|
|
1215
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1250
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1216
1251
|
*/
|
|
1217
1252
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1218
1253
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1219
1254
|
if (this.logger)
|
|
1220
1255
|
this.logger.debug("Calling operation BlockchainPlatformClient#listWorkRequestLogs.");
|
|
1256
|
+
const operationName = "listWorkRequestLogs";
|
|
1257
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/WorkRequestLogEntry/ListWorkRequestLogs";
|
|
1221
1258
|
const pathParams = {
|
|
1222
1259
|
"{workRequestId}": listWorkRequestLogsRequest.workRequestId
|
|
1223
1260
|
};
|
|
@@ -1243,7 +1280,7 @@ class BlockchainPlatformClient {
|
|
|
1243
1280
|
queryParams: queryParams
|
|
1244
1281
|
});
|
|
1245
1282
|
try {
|
|
1246
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1283
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1247
1284
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1248
1285
|
responseObject: {},
|
|
1249
1286
|
body: yield response.json(),
|
|
@@ -1277,12 +1314,14 @@ class BlockchainPlatformClient {
|
|
|
1277
1314
|
* @param ListWorkRequestsRequest
|
|
1278
1315
|
* @return ListWorkRequestsResponse
|
|
1279
1316
|
* @throws OciError when an error occurs
|
|
1280
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1317
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1281
1318
|
*/
|
|
1282
1319
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1283
1320
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1284
1321
|
if (this.logger)
|
|
1285
1322
|
this.logger.debug("Calling operation BlockchainPlatformClient#listWorkRequests.");
|
|
1323
|
+
const operationName = "listWorkRequests";
|
|
1324
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/WorkRequest/ListWorkRequests";
|
|
1286
1325
|
const pathParams = {};
|
|
1287
1326
|
const queryParams = {
|
|
1288
1327
|
"compartmentId": listWorkRequestsRequest.compartmentId,
|
|
@@ -1310,7 +1349,7 @@ class BlockchainPlatformClient {
|
|
|
1310
1349
|
queryParams: queryParams
|
|
1311
1350
|
});
|
|
1312
1351
|
try {
|
|
1313
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1352
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1314
1353
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1315
1354
|
responseObject: {},
|
|
1316
1355
|
body: yield response.json(),
|
|
@@ -1343,12 +1382,14 @@ class BlockchainPlatformClient {
|
|
|
1343
1382
|
* @param PreviewScaleBlockchainPlatformRequest
|
|
1344
1383
|
* @return PreviewScaleBlockchainPlatformResponse
|
|
1345
1384
|
* @throws OciError when an error occurs
|
|
1346
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1385
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/PreviewScaleBlockchainPlatform.ts.html |here} to see how to use PreviewScaleBlockchainPlatform API.
|
|
1347
1386
|
*/
|
|
1348
1387
|
previewScaleBlockchainPlatform(previewScaleBlockchainPlatformRequest) {
|
|
1349
1388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1350
1389
|
if (this.logger)
|
|
1351
1390
|
this.logger.debug("Calling operation BlockchainPlatformClient#previewScaleBlockchainPlatform.");
|
|
1391
|
+
const operationName = "previewScaleBlockchainPlatform";
|
|
1392
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/PreviewScaleBlockchainPlatform";
|
|
1352
1393
|
const pathParams = {
|
|
1353
1394
|
"{blockchainPlatformId}": previewScaleBlockchainPlatformRequest.blockchainPlatformId
|
|
1354
1395
|
};
|
|
@@ -1372,7 +1413,7 @@ class BlockchainPlatformClient {
|
|
|
1372
1413
|
queryParams: queryParams
|
|
1373
1414
|
});
|
|
1374
1415
|
try {
|
|
1375
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1416
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1376
1417
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1377
1418
|
responseObject: {},
|
|
1378
1419
|
body: yield response.json(),
|
|
@@ -1405,12 +1446,14 @@ class BlockchainPlatformClient {
|
|
|
1405
1446
|
* @param ScaleBlockchainPlatformRequest
|
|
1406
1447
|
* @return ScaleBlockchainPlatformResponse
|
|
1407
1448
|
* @throws OciError when an error occurs
|
|
1408
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1449
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/ScaleBlockchainPlatform.ts.html |here} to see how to use ScaleBlockchainPlatform API.
|
|
1409
1450
|
*/
|
|
1410
1451
|
scaleBlockchainPlatform(scaleBlockchainPlatformRequest) {
|
|
1411
1452
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1412
1453
|
if (this.logger)
|
|
1413
1454
|
this.logger.debug("Calling operation BlockchainPlatformClient#scaleBlockchainPlatform.");
|
|
1455
|
+
const operationName = "scaleBlockchainPlatform";
|
|
1456
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/ScaleBlockchainPlatform";
|
|
1414
1457
|
const pathParams = {
|
|
1415
1458
|
"{blockchainPlatformId}": scaleBlockchainPlatformRequest.blockchainPlatformId
|
|
1416
1459
|
};
|
|
@@ -1436,7 +1479,7 @@ class BlockchainPlatformClient {
|
|
|
1436
1479
|
queryParams: queryParams
|
|
1437
1480
|
});
|
|
1438
1481
|
try {
|
|
1439
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1482
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1440
1483
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1441
1484
|
responseObject: {},
|
|
1442
1485
|
responseHeaders: [
|
|
@@ -1465,12 +1508,14 @@ class BlockchainPlatformClient {
|
|
|
1465
1508
|
* @param StartBlockchainPlatformRequest
|
|
1466
1509
|
* @return StartBlockchainPlatformResponse
|
|
1467
1510
|
* @throws OciError when an error occurs
|
|
1468
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1511
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/StartBlockchainPlatform.ts.html |here} to see how to use StartBlockchainPlatform API.
|
|
1469
1512
|
*/
|
|
1470
1513
|
startBlockchainPlatform(startBlockchainPlatformRequest) {
|
|
1471
1514
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1472
1515
|
if (this.logger)
|
|
1473
1516
|
this.logger.debug("Calling operation BlockchainPlatformClient#startBlockchainPlatform.");
|
|
1517
|
+
const operationName = "startBlockchainPlatform";
|
|
1518
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/StartBlockchainPlatform";
|
|
1474
1519
|
const pathParams = {
|
|
1475
1520
|
"{blockchainPlatformId}": startBlockchainPlatformRequest.blockchainPlatformId
|
|
1476
1521
|
};
|
|
@@ -1495,7 +1540,7 @@ class BlockchainPlatformClient {
|
|
|
1495
1540
|
queryParams: queryParams
|
|
1496
1541
|
});
|
|
1497
1542
|
try {
|
|
1498
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1543
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1499
1544
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1500
1545
|
responseObject: {},
|
|
1501
1546
|
responseHeaders: [
|
|
@@ -1524,12 +1569,14 @@ class BlockchainPlatformClient {
|
|
|
1524
1569
|
* @param StopBlockchainPlatformRequest
|
|
1525
1570
|
* @return StopBlockchainPlatformResponse
|
|
1526
1571
|
* @throws OciError when an error occurs
|
|
1527
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1572
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/StopBlockchainPlatform.ts.html |here} to see how to use StopBlockchainPlatform API.
|
|
1528
1573
|
*/
|
|
1529
1574
|
stopBlockchainPlatform(stopBlockchainPlatformRequest) {
|
|
1530
1575
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1531
1576
|
if (this.logger)
|
|
1532
1577
|
this.logger.debug("Calling operation BlockchainPlatformClient#stopBlockchainPlatform.");
|
|
1578
|
+
const operationName = "stopBlockchainPlatform";
|
|
1579
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/StopBlockchainPlatform";
|
|
1533
1580
|
const pathParams = {
|
|
1534
1581
|
"{blockchainPlatformId}": stopBlockchainPlatformRequest.blockchainPlatformId
|
|
1535
1582
|
};
|
|
@@ -1554,7 +1601,7 @@ class BlockchainPlatformClient {
|
|
|
1554
1601
|
queryParams: queryParams
|
|
1555
1602
|
});
|
|
1556
1603
|
try {
|
|
1557
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1604
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1558
1605
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1559
1606
|
responseObject: {},
|
|
1560
1607
|
responseHeaders: [
|
|
@@ -1583,12 +1630,14 @@ class BlockchainPlatformClient {
|
|
|
1583
1630
|
* @param UpdateBlockchainPlatformRequest
|
|
1584
1631
|
* @return UpdateBlockchainPlatformResponse
|
|
1585
1632
|
* @throws OciError when an error occurs
|
|
1586
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1633
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/UpdateBlockchainPlatform.ts.html |here} to see how to use UpdateBlockchainPlatform API.
|
|
1587
1634
|
*/
|
|
1588
1635
|
updateBlockchainPlatform(updateBlockchainPlatformRequest) {
|
|
1589
1636
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1590
1637
|
if (this.logger)
|
|
1591
1638
|
this.logger.debug("Calling operation BlockchainPlatformClient#updateBlockchainPlatform.");
|
|
1639
|
+
const operationName = "updateBlockchainPlatform";
|
|
1640
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/UpdateBlockchainPlatform";
|
|
1592
1641
|
const pathParams = {
|
|
1593
1642
|
"{blockchainPlatformId}": updateBlockchainPlatformRequest.blockchainPlatformId
|
|
1594
1643
|
};
|
|
@@ -1614,7 +1663,7 @@ class BlockchainPlatformClient {
|
|
|
1614
1663
|
queryParams: queryParams
|
|
1615
1664
|
});
|
|
1616
1665
|
try {
|
|
1617
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1666
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1618
1667
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1619
1668
|
responseObject: {},
|
|
1620
1669
|
responseHeaders: [
|
|
@@ -1643,12 +1692,14 @@ class BlockchainPlatformClient {
|
|
|
1643
1692
|
* @param UpdateOsnRequest
|
|
1644
1693
|
* @return UpdateOsnResponse
|
|
1645
1694
|
* @throws OciError when an error occurs
|
|
1646
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1695
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/UpdateOsn.ts.html |here} to see how to use UpdateOsn API.
|
|
1647
1696
|
*/
|
|
1648
1697
|
updateOsn(updateOsnRequest) {
|
|
1649
1698
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1650
1699
|
if (this.logger)
|
|
1651
1700
|
this.logger.debug("Calling operation BlockchainPlatformClient#updateOsn.");
|
|
1701
|
+
const operationName = "updateOsn";
|
|
1702
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/UpdateOsn";
|
|
1652
1703
|
const pathParams = {
|
|
1653
1704
|
"{blockchainPlatformId}": updateOsnRequest.blockchainPlatformId,
|
|
1654
1705
|
"{osnId}": updateOsnRequest.osnId
|
|
@@ -1675,7 +1726,7 @@ class BlockchainPlatformClient {
|
|
|
1675
1726
|
queryParams: queryParams
|
|
1676
1727
|
});
|
|
1677
1728
|
try {
|
|
1678
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1729
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1679
1730
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1680
1731
|
responseObject: {},
|
|
1681
1732
|
responseHeaders: [
|
|
@@ -1704,12 +1755,14 @@ class BlockchainPlatformClient {
|
|
|
1704
1755
|
* @param UpdatePeerRequest
|
|
1705
1756
|
* @return UpdatePeerResponse
|
|
1706
1757
|
* @throws OciError when an error occurs
|
|
1707
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1758
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/UpdatePeer.ts.html |here} to see how to use UpdatePeer API.
|
|
1708
1759
|
*/
|
|
1709
1760
|
updatePeer(updatePeerRequest) {
|
|
1710
1761
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1711
1762
|
if (this.logger)
|
|
1712
1763
|
this.logger.debug("Calling operation BlockchainPlatformClient#updatePeer.");
|
|
1764
|
+
const operationName = "updatePeer";
|
|
1765
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/UpdatePeer";
|
|
1713
1766
|
const pathParams = {
|
|
1714
1767
|
"{blockchainPlatformId}": updatePeerRequest.blockchainPlatformId,
|
|
1715
1768
|
"{peerId}": updatePeerRequest.peerId
|
|
@@ -1736,7 +1789,7 @@ class BlockchainPlatformClient {
|
|
|
1736
1789
|
queryParams: queryParams
|
|
1737
1790
|
});
|
|
1738
1791
|
try {
|
|
1739
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1792
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1740
1793
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1741
1794
|
responseObject: {},
|
|
1742
1795
|
responseHeaders: [
|
|
@@ -1765,12 +1818,14 @@ class BlockchainPlatformClient {
|
|
|
1765
1818
|
* @param UpgradeBlockchainPlatformRequest
|
|
1766
1819
|
* @return UpgradeBlockchainPlatformResponse
|
|
1767
1820
|
* @throws OciError when an error occurs
|
|
1768
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1821
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.30.0/blockchain/UpgradeBlockchainPlatform.ts.html |here} to see how to use UpgradeBlockchainPlatform API.
|
|
1769
1822
|
*/
|
|
1770
1823
|
upgradeBlockchainPlatform(upgradeBlockchainPlatformRequest) {
|
|
1771
1824
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1772
1825
|
if (this.logger)
|
|
1773
1826
|
this.logger.debug("Calling operation BlockchainPlatformClient#upgradeBlockchainPlatform.");
|
|
1827
|
+
const operationName = "upgradeBlockchainPlatform";
|
|
1828
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/blockchain/20191010/BlockchainPlatform/UpgradeBlockchainPlatform";
|
|
1774
1829
|
const pathParams = {
|
|
1775
1830
|
"{blockchainPlatformId}": upgradeBlockchainPlatformRequest.blockchainPlatformId
|
|
1776
1831
|
};
|
|
@@ -1796,7 +1851,7 @@ class BlockchainPlatformClient {
|
|
|
1796
1851
|
queryParams: queryParams
|
|
1797
1852
|
});
|
|
1798
1853
|
try {
|
|
1799
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1854
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1800
1855
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1801
1856
|
responseObject: {},
|
|
1802
1857
|
responseHeaders: [
|