oci-blockchain 2.4.0 → 2.6.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/LICENSE.txt +6 -0
- package/lib/client.d.ts +53 -25
- package/lib/client.js +110 -50
- 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-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/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -51,6 +51,9 @@ const oci_common_1 = require("oci-common");
|
|
|
51
51
|
var BlockchainPlatformApiKeys;
|
|
52
52
|
(function (BlockchainPlatformApiKeys) {
|
|
53
53
|
})(BlockchainPlatformApiKeys = exports.BlockchainPlatformApiKeys || (exports.BlockchainPlatformApiKeys = {}));
|
|
54
|
+
/**
|
|
55
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
56
|
+
*/
|
|
54
57
|
class BlockchainPlatformClient {
|
|
55
58
|
constructor(params, clientConfiguration) {
|
|
56
59
|
this["_endpoint"] = "";
|
|
@@ -65,6 +68,13 @@ class BlockchainPlatformClient {
|
|
|
65
68
|
? clientConfiguration.circuitBreaker.circuit
|
|
66
69
|
: null;
|
|
67
70
|
}
|
|
71
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
72
|
+
const specCircuitBreakerEnabled = false;
|
|
73
|
+
if (!this._circuitBreaker &&
|
|
74
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
75
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
76
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
77
|
+
}
|
|
68
78
|
this._httpClient =
|
|
69
79
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
70
80
|
if (params.authenticationDetailsProvider &&
|
|
@@ -136,10 +146,11 @@ class BlockchainPlatformClient {
|
|
|
136
146
|
}
|
|
137
147
|
/**
|
|
138
148
|
* Change Blockchain Platform Compartment
|
|
149
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
139
150
|
* @param ChangeBlockchainPlatformCompartmentRequest
|
|
140
151
|
* @return ChangeBlockchainPlatformCompartmentResponse
|
|
141
152
|
* @throws OciError when an error occurs
|
|
142
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
153
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/ChangeBlockchainPlatformCompartment.ts.html |here} to see how to use ChangeBlockchainPlatformCompartment API.
|
|
143
154
|
*/
|
|
144
155
|
changeBlockchainPlatformCompartment(changeBlockchainPlatformCompartmentRequest) {
|
|
145
156
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -155,7 +166,8 @@ class BlockchainPlatformClient {
|
|
|
155
166
|
"opc-request-id": changeBlockchainPlatformCompartmentRequest.opcRequestId,
|
|
156
167
|
"opc-retry-token": changeBlockchainPlatformCompartmentRequest.opcRetryToken
|
|
157
168
|
};
|
|
158
|
-
const
|
|
169
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
170
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeBlockchainPlatformCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
159
171
|
if (this.logger)
|
|
160
172
|
retrier.logger = this.logger;
|
|
161
173
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -195,10 +207,11 @@ class BlockchainPlatformClient {
|
|
|
195
207
|
/**
|
|
196
208
|
* Creates a new Blockchain Platform.
|
|
197
209
|
*
|
|
210
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
198
211
|
* @param CreateBlockchainPlatformRequest
|
|
199
212
|
* @return CreateBlockchainPlatformResponse
|
|
200
213
|
* @throws OciError when an error occurs
|
|
201
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
214
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/CreateBlockchainPlatform.ts.html |here} to see how to use CreateBlockchainPlatform API.
|
|
202
215
|
*/
|
|
203
216
|
createBlockchainPlatform(createBlockchainPlatformRequest) {
|
|
204
217
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -211,7 +224,8 @@ class BlockchainPlatformClient {
|
|
|
211
224
|
"opc-retry-token": createBlockchainPlatformRequest.opcRetryToken,
|
|
212
225
|
"opc-request-id": createBlockchainPlatformRequest.opcRequestId
|
|
213
226
|
};
|
|
214
|
-
const
|
|
227
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
228
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
|
|
215
229
|
if (this.logger)
|
|
216
230
|
retrier.logger = this.logger;
|
|
217
231
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -250,10 +264,11 @@ class BlockchainPlatformClient {
|
|
|
250
264
|
}
|
|
251
265
|
/**
|
|
252
266
|
* Create Blockchain Platform Osn
|
|
267
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
253
268
|
* @param CreateOsnRequest
|
|
254
269
|
* @return CreateOsnResponse
|
|
255
270
|
* @throws OciError when an error occurs
|
|
256
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
271
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/CreateOsn.ts.html |here} to see how to use CreateOsn API.
|
|
257
272
|
*/
|
|
258
273
|
createOsn(createOsnRequest) {
|
|
259
274
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -269,7 +284,8 @@ class BlockchainPlatformClient {
|
|
|
269
284
|
"opc-request-id": createOsnRequest.opcRequestId,
|
|
270
285
|
"opc-retry-token": createOsnRequest.opcRetryToken
|
|
271
286
|
};
|
|
272
|
-
const
|
|
287
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
288
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOsnRequest.retryConfiguration, specRetryConfiguration);
|
|
273
289
|
if (this.logger)
|
|
274
290
|
retrier.logger = this.logger;
|
|
275
291
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -308,10 +324,11 @@ class BlockchainPlatformClient {
|
|
|
308
324
|
}
|
|
309
325
|
/**
|
|
310
326
|
* Create Blockchain Platform Peer
|
|
327
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
311
328
|
* @param CreatePeerRequest
|
|
312
329
|
* @return CreatePeerResponse
|
|
313
330
|
* @throws OciError when an error occurs
|
|
314
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
331
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/CreatePeer.ts.html |here} to see how to use CreatePeer API.
|
|
315
332
|
*/
|
|
316
333
|
createPeer(createPeerRequest) {
|
|
317
334
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -326,7 +343,8 @@ class BlockchainPlatformClient {
|
|
|
326
343
|
"opc-request-id": createPeerRequest.opcRequestId,
|
|
327
344
|
"opc-retry-token": createPeerRequest.opcRetryToken
|
|
328
345
|
};
|
|
329
|
-
const
|
|
346
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
347
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPeerRequest.retryConfiguration, specRetryConfiguration);
|
|
330
348
|
if (this.logger)
|
|
331
349
|
retrier.logger = this.logger;
|
|
332
350
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -365,10 +383,11 @@ class BlockchainPlatformClient {
|
|
|
365
383
|
}
|
|
366
384
|
/**
|
|
367
385
|
* Delete a particular of a Blockchain Platform
|
|
386
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
368
387
|
* @param DeleteBlockchainPlatformRequest
|
|
369
388
|
* @return DeleteBlockchainPlatformResponse
|
|
370
389
|
* @throws OciError when an error occurs
|
|
371
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
390
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/DeleteBlockchainPlatform.ts.html |here} to see how to use DeleteBlockchainPlatform API.
|
|
372
391
|
*/
|
|
373
392
|
deleteBlockchainPlatform(deleteBlockchainPlatformRequest) {
|
|
374
393
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -383,7 +402,8 @@ class BlockchainPlatformClient {
|
|
|
383
402
|
"opc-request-id": deleteBlockchainPlatformRequest.opcRequestId,
|
|
384
403
|
"if-match": deleteBlockchainPlatformRequest.ifMatch
|
|
385
404
|
};
|
|
386
|
-
const
|
|
405
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
406
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
|
|
387
407
|
if (this.logger)
|
|
388
408
|
retrier.logger = this.logger;
|
|
389
409
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -421,10 +441,11 @@ class BlockchainPlatformClient {
|
|
|
421
441
|
}
|
|
422
442
|
/**
|
|
423
443
|
* Delete a particular OSN of a Blockchain Platform
|
|
444
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
424
445
|
* @param DeleteOsnRequest
|
|
425
446
|
* @return DeleteOsnResponse
|
|
426
447
|
* @throws OciError when an error occurs
|
|
427
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
448
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/DeleteOsn.ts.html |here} to see how to use DeleteOsn API.
|
|
428
449
|
*/
|
|
429
450
|
deleteOsn(deleteOsnRequest) {
|
|
430
451
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -440,7 +461,8 @@ class BlockchainPlatformClient {
|
|
|
440
461
|
"opc-request-id": deleteOsnRequest.opcRequestId,
|
|
441
462
|
"if-match": deleteOsnRequest.ifMatch
|
|
442
463
|
};
|
|
443
|
-
const
|
|
464
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
465
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOsnRequest.retryConfiguration, specRetryConfiguration);
|
|
444
466
|
if (this.logger)
|
|
445
467
|
retrier.logger = this.logger;
|
|
446
468
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -478,10 +500,11 @@ class BlockchainPlatformClient {
|
|
|
478
500
|
}
|
|
479
501
|
/**
|
|
480
502
|
* Delete a particular peer of a Blockchain Platform
|
|
503
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
481
504
|
* @param DeletePeerRequest
|
|
482
505
|
* @return DeletePeerResponse
|
|
483
506
|
* @throws OciError when an error occurs
|
|
484
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
507
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/DeletePeer.ts.html |here} to see how to use DeletePeer API.
|
|
485
508
|
*/
|
|
486
509
|
deletePeer(deletePeerRequest) {
|
|
487
510
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -497,7 +520,8 @@ class BlockchainPlatformClient {
|
|
|
497
520
|
"opc-request-id": deletePeerRequest.opcRequestId,
|
|
498
521
|
"if-match": deletePeerRequest.ifMatch
|
|
499
522
|
};
|
|
500
|
-
const
|
|
523
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
524
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePeerRequest.retryConfiguration, specRetryConfiguration);
|
|
501
525
|
if (this.logger)
|
|
502
526
|
retrier.logger = this.logger;
|
|
503
527
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -535,10 +559,11 @@ class BlockchainPlatformClient {
|
|
|
535
559
|
}
|
|
536
560
|
/**
|
|
537
561
|
* Attempts to cancel the work request with the given ID.
|
|
562
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
538
563
|
* @param DeleteWorkRequestRequest
|
|
539
564
|
* @return DeleteWorkRequestResponse
|
|
540
565
|
* @throws OciError when an error occurs
|
|
541
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
566
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
|
|
542
567
|
*/
|
|
543
568
|
deleteWorkRequest(deleteWorkRequestRequest) {
|
|
544
569
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -553,7 +578,8 @@ class BlockchainPlatformClient {
|
|
|
553
578
|
"opc-request-id": deleteWorkRequestRequest.opcRequestId,
|
|
554
579
|
"if-match": deleteWorkRequestRequest.ifMatch
|
|
555
580
|
};
|
|
556
|
-
const
|
|
581
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
582
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
557
583
|
if (this.logger)
|
|
558
584
|
retrier.logger = this.logger;
|
|
559
585
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -591,10 +617,11 @@ class BlockchainPlatformClient {
|
|
|
591
617
|
}
|
|
592
618
|
/**
|
|
593
619
|
* Gets information about a Blockchain Platform identified by the specific id
|
|
620
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
594
621
|
* @param GetBlockchainPlatformRequest
|
|
595
622
|
* @return GetBlockchainPlatformResponse
|
|
596
623
|
* @throws OciError when an error occurs
|
|
597
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
624
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/GetBlockchainPlatform.ts.html |here} to see how to use GetBlockchainPlatform API.
|
|
598
625
|
*/
|
|
599
626
|
getBlockchainPlatform(getBlockchainPlatformRequest) {
|
|
600
627
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -608,7 +635,8 @@ class BlockchainPlatformClient {
|
|
|
608
635
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
609
636
|
"opc-request-id": getBlockchainPlatformRequest.opcRequestId
|
|
610
637
|
};
|
|
611
|
-
const
|
|
638
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
639
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
|
|
612
640
|
if (this.logger)
|
|
613
641
|
retrier.logger = this.logger;
|
|
614
642
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -650,10 +678,11 @@ class BlockchainPlatformClient {
|
|
|
650
678
|
}
|
|
651
679
|
/**
|
|
652
680
|
* Gets information about an OSN identified by the specific id
|
|
681
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
653
682
|
* @param GetOsnRequest
|
|
654
683
|
* @return GetOsnResponse
|
|
655
684
|
* @throws OciError when an error occurs
|
|
656
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
685
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/GetOsn.ts.html |here} to see how to use GetOsn API.
|
|
657
686
|
*/
|
|
658
687
|
getOsn(getOsnRequest) {
|
|
659
688
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -668,7 +697,8 @@ class BlockchainPlatformClient {
|
|
|
668
697
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
669
698
|
"opc-request-id": getOsnRequest.opcRequestId
|
|
670
699
|
};
|
|
671
|
-
const
|
|
700
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
701
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOsnRequest.retryConfiguration, specRetryConfiguration);
|
|
672
702
|
if (this.logger)
|
|
673
703
|
retrier.logger = this.logger;
|
|
674
704
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -710,10 +740,11 @@ class BlockchainPlatformClient {
|
|
|
710
740
|
}
|
|
711
741
|
/**
|
|
712
742
|
* Gets information about a peer identified by the specific id
|
|
743
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
713
744
|
* @param GetPeerRequest
|
|
714
745
|
* @return GetPeerResponse
|
|
715
746
|
* @throws OciError when an error occurs
|
|
716
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
747
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/GetPeer.ts.html |here} to see how to use GetPeer API.
|
|
717
748
|
*/
|
|
718
749
|
getPeer(getPeerRequest) {
|
|
719
750
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -728,7 +759,8 @@ class BlockchainPlatformClient {
|
|
|
728
759
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
729
760
|
"opc-request-id": getPeerRequest.opcRequestId
|
|
730
761
|
};
|
|
731
|
-
const
|
|
762
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
763
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPeerRequest.retryConfiguration, specRetryConfiguration);
|
|
732
764
|
if (this.logger)
|
|
733
765
|
retrier.logger = this.logger;
|
|
734
766
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -770,10 +802,11 @@ class BlockchainPlatformClient {
|
|
|
770
802
|
}
|
|
771
803
|
/**
|
|
772
804
|
* Gets the status of the work request with the given ID.
|
|
805
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
773
806
|
* @param GetWorkRequestRequest
|
|
774
807
|
* @return GetWorkRequestResponse
|
|
775
808
|
* @throws OciError when an error occurs
|
|
776
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
809
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
777
810
|
*/
|
|
778
811
|
getWorkRequest(getWorkRequestRequest) {
|
|
779
812
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -787,7 +820,8 @@ class BlockchainPlatformClient {
|
|
|
787
820
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
788
821
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
789
822
|
};
|
|
790
|
-
const
|
|
823
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
824
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
791
825
|
if (this.logger)
|
|
792
826
|
retrier.logger = this.logger;
|
|
793
827
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -834,10 +868,11 @@ class BlockchainPlatformClient {
|
|
|
834
868
|
}
|
|
835
869
|
/**
|
|
836
870
|
* Returns a list Blockchain Platform Instances in a compartment
|
|
871
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
837
872
|
* @param ListBlockchainPlatformsRequest
|
|
838
873
|
* @return ListBlockchainPlatformsResponse
|
|
839
874
|
* @throws OciError when an error occurs
|
|
840
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
875
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/ListBlockchainPlatforms.ts.html |here} to see how to use ListBlockchainPlatforms API.
|
|
841
876
|
*/
|
|
842
877
|
listBlockchainPlatforms(listBlockchainPlatformsRequest) {
|
|
843
878
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -857,7 +892,8 @@ class BlockchainPlatformClient {
|
|
|
857
892
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
858
893
|
"opc-request-id": listBlockchainPlatformsRequest.opcRequestId
|
|
859
894
|
};
|
|
860
|
-
const
|
|
895
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
896
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBlockchainPlatformsRequest.retryConfiguration, specRetryConfiguration);
|
|
861
897
|
if (this.logger)
|
|
862
898
|
retrier.logger = this.logger;
|
|
863
899
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -899,10 +935,11 @@ class BlockchainPlatformClient {
|
|
|
899
935
|
}
|
|
900
936
|
/**
|
|
901
937
|
* List Blockchain Platform OSNs
|
|
938
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
902
939
|
* @param ListOsnsRequest
|
|
903
940
|
* @return ListOsnsResponse
|
|
904
941
|
* @throws OciError when an error occurs
|
|
905
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
942
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/ListOsns.ts.html |here} to see how to use ListOsns API.
|
|
906
943
|
*/
|
|
907
944
|
listOsns(listOsnsRequest) {
|
|
908
945
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -923,7 +960,8 @@ class BlockchainPlatformClient {
|
|
|
923
960
|
"opc-request-id": listOsnsRequest.opcRequestId,
|
|
924
961
|
"opc-retry-token": listOsnsRequest.opcRetryToken
|
|
925
962
|
};
|
|
926
|
-
const
|
|
963
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
964
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOsnsRequest.retryConfiguration, specRetryConfiguration);
|
|
927
965
|
if (this.logger)
|
|
928
966
|
retrier.logger = this.logger;
|
|
929
967
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -965,10 +1003,11 @@ class BlockchainPlatformClient {
|
|
|
965
1003
|
}
|
|
966
1004
|
/**
|
|
967
1005
|
* List Blockchain Platform Peers
|
|
1006
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
968
1007
|
* @param ListPeersRequest
|
|
969
1008
|
* @return ListPeersResponse
|
|
970
1009
|
* @throws OciError when an error occurs
|
|
971
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1010
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/ListPeers.ts.html |here} to see how to use ListPeers API.
|
|
972
1011
|
*/
|
|
973
1012
|
listPeers(listPeersRequest) {
|
|
974
1013
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -989,7 +1028,8 @@ class BlockchainPlatformClient {
|
|
|
989
1028
|
"opc-request-id": listPeersRequest.opcRequestId,
|
|
990
1029
|
"opc-retry-token": listPeersRequest.opcRetryToken
|
|
991
1030
|
};
|
|
992
|
-
const
|
|
1031
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1032
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPeersRequest.retryConfiguration, specRetryConfiguration);
|
|
993
1033
|
if (this.logger)
|
|
994
1034
|
retrier.logger = this.logger;
|
|
995
1035
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1032,10 +1072,11 @@ class BlockchainPlatformClient {
|
|
|
1032
1072
|
/**
|
|
1033
1073
|
* Return a (paginated) list of errors for a given work request.
|
|
1034
1074
|
*
|
|
1075
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1035
1076
|
* @param ListWorkRequestErrorsRequest
|
|
1036
1077
|
* @return ListWorkRequestErrorsResponse
|
|
1037
1078
|
* @throws OciError when an error occurs
|
|
1038
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1079
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1039
1080
|
*/
|
|
1040
1081
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1041
1082
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1052,7 +1093,8 @@ class BlockchainPlatformClient {
|
|
|
1052
1093
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1053
1094
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
1054
1095
|
};
|
|
1055
|
-
const
|
|
1096
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1097
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1056
1098
|
if (this.logger)
|
|
1057
1099
|
retrier.logger = this.logger;
|
|
1058
1100
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1095,10 +1137,11 @@ class BlockchainPlatformClient {
|
|
|
1095
1137
|
/**
|
|
1096
1138
|
* Return a (paginated) list of logs for a given work request.
|
|
1097
1139
|
*
|
|
1140
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1098
1141
|
* @param ListWorkRequestLogsRequest
|
|
1099
1142
|
* @return ListWorkRequestLogsResponse
|
|
1100
1143
|
* @throws OciError when an error occurs
|
|
1101
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1144
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1102
1145
|
*/
|
|
1103
1146
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1104
1147
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1115,7 +1158,8 @@ class BlockchainPlatformClient {
|
|
|
1115
1158
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1116
1159
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1117
1160
|
};
|
|
1118
|
-
const
|
|
1161
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1162
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1119
1163
|
if (this.logger)
|
|
1120
1164
|
retrier.logger = this.logger;
|
|
1121
1165
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1158,10 +1202,11 @@ class BlockchainPlatformClient {
|
|
|
1158
1202
|
/**
|
|
1159
1203
|
* Lists the work requests in a compartment.
|
|
1160
1204
|
*
|
|
1205
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1161
1206
|
* @param ListWorkRequestsRequest
|
|
1162
1207
|
* @return ListWorkRequestsResponse
|
|
1163
1208
|
* @throws OciError when an error occurs
|
|
1164
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1209
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1165
1210
|
*/
|
|
1166
1211
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1167
1212
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1180,7 +1225,8 @@ class BlockchainPlatformClient {
|
|
|
1180
1225
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1181
1226
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1182
1227
|
};
|
|
1183
|
-
const
|
|
1228
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1229
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1184
1230
|
if (this.logger)
|
|
1185
1231
|
retrier.logger = this.logger;
|
|
1186
1232
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1222,10 +1268,11 @@ class BlockchainPlatformClient {
|
|
|
1222
1268
|
}
|
|
1223
1269
|
/**
|
|
1224
1270
|
* Preview Scale Blockchain Platform
|
|
1271
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1225
1272
|
* @param PreviewScaleBlockchainPlatformRequest
|
|
1226
1273
|
* @return PreviewScaleBlockchainPlatformResponse
|
|
1227
1274
|
* @throws OciError when an error occurs
|
|
1228
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1275
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/PreviewScaleBlockchainPlatform.ts.html |here} to see how to use PreviewScaleBlockchainPlatform API.
|
|
1229
1276
|
*/
|
|
1230
1277
|
previewScaleBlockchainPlatform(previewScaleBlockchainPlatformRequest) {
|
|
1231
1278
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1239,7 +1286,8 @@ class BlockchainPlatformClient {
|
|
|
1239
1286
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1240
1287
|
"opc-request-id": previewScaleBlockchainPlatformRequest.opcRequestId
|
|
1241
1288
|
};
|
|
1242
|
-
const
|
|
1289
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1290
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, previewScaleBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
|
|
1243
1291
|
if (this.logger)
|
|
1244
1292
|
retrier.logger = this.logger;
|
|
1245
1293
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1282,10 +1330,11 @@ class BlockchainPlatformClient {
|
|
|
1282
1330
|
}
|
|
1283
1331
|
/**
|
|
1284
1332
|
* Scale Blockchain Platform
|
|
1333
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1285
1334
|
* @param ScaleBlockchainPlatformRequest
|
|
1286
1335
|
* @return ScaleBlockchainPlatformResponse
|
|
1287
1336
|
* @throws OciError when an error occurs
|
|
1288
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1337
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/ScaleBlockchainPlatform.ts.html |here} to see how to use ScaleBlockchainPlatform API.
|
|
1289
1338
|
*/
|
|
1290
1339
|
scaleBlockchainPlatform(scaleBlockchainPlatformRequest) {
|
|
1291
1340
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1301,7 +1350,8 @@ class BlockchainPlatformClient {
|
|
|
1301
1350
|
"opc-request-id": scaleBlockchainPlatformRequest.opcRequestId,
|
|
1302
1351
|
"opc-retry-token": scaleBlockchainPlatformRequest.opcRetryToken
|
|
1303
1352
|
};
|
|
1304
|
-
const
|
|
1353
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1354
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, scaleBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
|
|
1305
1355
|
if (this.logger)
|
|
1306
1356
|
retrier.logger = this.logger;
|
|
1307
1357
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1340,10 +1390,11 @@ class BlockchainPlatformClient {
|
|
|
1340
1390
|
}
|
|
1341
1391
|
/**
|
|
1342
1392
|
* Start a Blockchain Platform
|
|
1393
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1343
1394
|
* @param StartBlockchainPlatformRequest
|
|
1344
1395
|
* @return StartBlockchainPlatformResponse
|
|
1345
1396
|
* @throws OciError when an error occurs
|
|
1346
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1397
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/StartBlockchainPlatform.ts.html |here} to see how to use StartBlockchainPlatform API.
|
|
1347
1398
|
*/
|
|
1348
1399
|
startBlockchainPlatform(startBlockchainPlatformRequest) {
|
|
1349
1400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1359,7 +1410,8 @@ class BlockchainPlatformClient {
|
|
|
1359
1410
|
"opc-request-id": startBlockchainPlatformRequest.opcRequestId,
|
|
1360
1411
|
"opc-retry-token": startBlockchainPlatformRequest.opcRetryToken
|
|
1361
1412
|
};
|
|
1362
|
-
const
|
|
1413
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1414
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
|
|
1363
1415
|
if (this.logger)
|
|
1364
1416
|
retrier.logger = this.logger;
|
|
1365
1417
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1397,10 +1449,11 @@ class BlockchainPlatformClient {
|
|
|
1397
1449
|
}
|
|
1398
1450
|
/**
|
|
1399
1451
|
* Stop a Blockchain Platform
|
|
1452
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1400
1453
|
* @param StopBlockchainPlatformRequest
|
|
1401
1454
|
* @return StopBlockchainPlatformResponse
|
|
1402
1455
|
* @throws OciError when an error occurs
|
|
1403
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1456
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/StopBlockchainPlatform.ts.html |here} to see how to use StopBlockchainPlatform API.
|
|
1404
1457
|
*/
|
|
1405
1458
|
stopBlockchainPlatform(stopBlockchainPlatformRequest) {
|
|
1406
1459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1416,7 +1469,8 @@ class BlockchainPlatformClient {
|
|
|
1416
1469
|
"opc-request-id": stopBlockchainPlatformRequest.opcRequestId,
|
|
1417
1470
|
"opc-retry-token": stopBlockchainPlatformRequest.opcRetryToken
|
|
1418
1471
|
};
|
|
1419
|
-
const
|
|
1472
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1473
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
|
|
1420
1474
|
if (this.logger)
|
|
1421
1475
|
retrier.logger = this.logger;
|
|
1422
1476
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1454,10 +1508,11 @@ class BlockchainPlatformClient {
|
|
|
1454
1508
|
}
|
|
1455
1509
|
/**
|
|
1456
1510
|
* Update a particular of a Blockchain Platform
|
|
1511
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1457
1512
|
* @param UpdateBlockchainPlatformRequest
|
|
1458
1513
|
* @return UpdateBlockchainPlatformResponse
|
|
1459
1514
|
* @throws OciError when an error occurs
|
|
1460
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1515
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/UpdateBlockchainPlatform.ts.html |here} to see how to use UpdateBlockchainPlatform API.
|
|
1461
1516
|
*/
|
|
1462
1517
|
updateBlockchainPlatform(updateBlockchainPlatformRequest) {
|
|
1463
1518
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1473,7 +1528,8 @@ class BlockchainPlatformClient {
|
|
|
1473
1528
|
"if-match": updateBlockchainPlatformRequest.ifMatch,
|
|
1474
1529
|
"opc-retry-token": updateBlockchainPlatformRequest.opcRetryToken
|
|
1475
1530
|
};
|
|
1476
|
-
const
|
|
1531
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1532
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
|
|
1477
1533
|
if (this.logger)
|
|
1478
1534
|
retrier.logger = this.logger;
|
|
1479
1535
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1512,10 +1568,11 @@ class BlockchainPlatformClient {
|
|
|
1512
1568
|
}
|
|
1513
1569
|
/**
|
|
1514
1570
|
* Update Blockchain Platform OSN
|
|
1571
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1515
1572
|
* @param UpdateOsnRequest
|
|
1516
1573
|
* @return UpdateOsnResponse
|
|
1517
1574
|
* @throws OciError when an error occurs
|
|
1518
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1575
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/UpdateOsn.ts.html |here} to see how to use UpdateOsn API.
|
|
1519
1576
|
*/
|
|
1520
1577
|
updateOsn(updateOsnRequest) {
|
|
1521
1578
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1532,7 +1589,8 @@ class BlockchainPlatformClient {
|
|
|
1532
1589
|
"opc-request-id": updateOsnRequest.opcRequestId,
|
|
1533
1590
|
"opc-retry-token": updateOsnRequest.opcRetryToken
|
|
1534
1591
|
};
|
|
1535
|
-
const
|
|
1592
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1593
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOsnRequest.retryConfiguration, specRetryConfiguration);
|
|
1536
1594
|
if (this.logger)
|
|
1537
1595
|
retrier.logger = this.logger;
|
|
1538
1596
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1571,10 +1629,11 @@ class BlockchainPlatformClient {
|
|
|
1571
1629
|
}
|
|
1572
1630
|
/**
|
|
1573
1631
|
* Update Blockchain Platform Peer
|
|
1632
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1574
1633
|
* @param UpdatePeerRequest
|
|
1575
1634
|
* @return UpdatePeerResponse
|
|
1576
1635
|
* @throws OciError when an error occurs
|
|
1577
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1636
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/blockchain/UpdatePeer.ts.html |here} to see how to use UpdatePeer API.
|
|
1578
1637
|
*/
|
|
1579
1638
|
updatePeer(updatePeerRequest) {
|
|
1580
1639
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1591,7 +1650,8 @@ class BlockchainPlatformClient {
|
|
|
1591
1650
|
"opc-request-id": updatePeerRequest.opcRequestId,
|
|
1592
1651
|
"opc-retry-token": updatePeerRequest.opcRetryToken
|
|
1593
1652
|
};
|
|
1594
|
-
const
|
|
1653
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1654
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePeerRequest.retryConfiguration, specRetryConfiguration);
|
|
1595
1655
|
if (this.logger)
|
|
1596
1656
|
retrier.logger = this.logger;
|
|
1597
1657
|
const request = yield oci_common_1.composeRequest({
|