oci-lockbox 2.84.0 → 2.85.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 +59 -46
- package/lib/client.js +143 -69
- package/lib/client.js.map +1 -1
- package/lib/model/access-request-ext.d.ts +138 -0
- package/lib/model/access-request-ext.js +95 -0
- package/lib/model/access-request-ext.js.map +1 -0
- package/lib/model/access-request-summary.d.ts +28 -0
- package/lib/model/access-request-summary.js.map +1 -1
- package/lib/model/approver-info.d.ts +4 -0
- package/lib/model/approver-info.js.map +1 -1
- package/lib/model/index.d.ts +2 -0
- package/lib/model/index.js +3 -1
- package/lib/model/index.js.map +1 -1
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-approval-template-compartment-request.d.ts +1 -1
- package/lib/request/change-lockbox-compartment-request.d.ts +1 -1
- package/lib/request/create-access-request-request.d.ts +1 -1
- package/lib/request/create-approval-template-request.d.ts +1 -1
- package/lib/request/create-lockbox-request.d.ts +1 -1
- package/lib/request/delete-approval-template-request.d.ts +1 -1
- package/lib/request/delete-lockbox-request.d.ts +1 -1
- package/lib/request/export-access-requests-request.d.ts +2 -2
- package/lib/request/get-access-materials-request.d.ts +1 -1
- package/lib/request/get-access-request-internal-request.d.ts +26 -0
- package/lib/request/get-access-request-internal-request.js +15 -0
- package/lib/request/get-access-request-internal-request.js.map +1 -0
- package/lib/request/get-access-request-request.d.ts +1 -1
- package/lib/request/get-approval-template-request.d.ts +1 -1
- package/lib/request/get-lockbox-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/handle-access-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +2 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-access-requests-request.d.ts +1 -1
- package/lib/request/list-approval-templates-request.d.ts +1 -1
- package/lib/request/list-lockboxes-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/update-approval-template-request.d.ts +1 -1
- package/lib/request/update-lockbox-request.d.ts +1 -1
- package/lib/response/export-access-requests-response.d.ts +5 -0
- package/lib/response/get-access-request-internal-response.d.ts +30 -0
- package/lib/response/get-access-request-internal-response.js +15 -0
- package/lib/response/get-access-request-internal-response.js.map +1 -0
- package/lib/response/index.d.ts +2 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -193,13 +193,19 @@ class LockboxClient {
|
|
|
193
193
|
this._circuitBreaker.shutdown();
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
+
/**
|
|
197
|
+
* Close the client once it is no longer needed
|
|
198
|
+
*/
|
|
199
|
+
close() {
|
|
200
|
+
this.shutdownCircuitBreaker();
|
|
201
|
+
}
|
|
196
202
|
/**
|
|
197
203
|
* Cancels the work request with the given ID.
|
|
198
|
-
* This operation
|
|
204
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
199
205
|
* @param CancelWorkRequestRequest
|
|
200
206
|
* @return CancelWorkRequestResponse
|
|
201
207
|
* @throws OciError when an error occurs
|
|
202
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
208
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
203
209
|
*/
|
|
204
210
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
205
211
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -216,7 +222,7 @@ class LockboxClient {
|
|
|
216
222
|
"if-match": cancelWorkRequestRequest.ifMatch,
|
|
217
223
|
"opc-request-id": cancelWorkRequestRequest.opcRequestId
|
|
218
224
|
};
|
|
219
|
-
const specRetryConfiguration = common.
|
|
225
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
220
226
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
221
227
|
if (this.logger)
|
|
222
228
|
retrier.logger = this.logger;
|
|
@@ -250,11 +256,11 @@ class LockboxClient {
|
|
|
250
256
|
}
|
|
251
257
|
/**
|
|
252
258
|
* Moves an ApprovalTemplate resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
|
|
253
|
-
* This operation
|
|
259
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
254
260
|
* @param ChangeApprovalTemplateCompartmentRequest
|
|
255
261
|
* @return ChangeApprovalTemplateCompartmentResponse
|
|
256
262
|
* @throws OciError when an error occurs
|
|
257
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
263
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/ChangeApprovalTemplateCompartment.ts.html |here} to see how to use ChangeApprovalTemplateCompartment API.
|
|
258
264
|
*/
|
|
259
265
|
changeApprovalTemplateCompartment(changeApprovalTemplateCompartmentRequest) {
|
|
260
266
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -272,7 +278,7 @@ class LockboxClient {
|
|
|
272
278
|
"opc-request-id": changeApprovalTemplateCompartmentRequest.opcRequestId,
|
|
273
279
|
"opc-retry-token": changeApprovalTemplateCompartmentRequest.opcRetryToken
|
|
274
280
|
};
|
|
275
|
-
const specRetryConfiguration = common.
|
|
281
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
276
282
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeApprovalTemplateCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
277
283
|
if (this.logger)
|
|
278
284
|
retrier.logger = this.logger;
|
|
@@ -307,11 +313,11 @@ class LockboxClient {
|
|
|
307
313
|
}
|
|
308
314
|
/**
|
|
309
315
|
* Moves a Lockbox resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
|
|
310
|
-
* This operation
|
|
316
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
311
317
|
* @param ChangeLockboxCompartmentRequest
|
|
312
318
|
* @return ChangeLockboxCompartmentResponse
|
|
313
319
|
* @throws OciError when an error occurs
|
|
314
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
320
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/ChangeLockboxCompartment.ts.html |here} to see how to use ChangeLockboxCompartment API.
|
|
315
321
|
*/
|
|
316
322
|
changeLockboxCompartment(changeLockboxCompartmentRequest) {
|
|
317
323
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -329,7 +335,7 @@ class LockboxClient {
|
|
|
329
335
|
"opc-request-id": changeLockboxCompartmentRequest.opcRequestId,
|
|
330
336
|
"opc-retry-token": changeLockboxCompartmentRequest.opcRetryToken
|
|
331
337
|
};
|
|
332
|
-
const specRetryConfiguration = common.
|
|
338
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
333
339
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLockboxCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
334
340
|
if (this.logger)
|
|
335
341
|
retrier.logger = this.logger;
|
|
@@ -365,11 +371,11 @@ class LockboxClient {
|
|
|
365
371
|
/**
|
|
366
372
|
* Creates a new access request.
|
|
367
373
|
*
|
|
368
|
-
* This operation
|
|
374
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
369
375
|
* @param CreateAccessRequestRequest
|
|
370
376
|
* @return CreateAccessRequestResponse
|
|
371
377
|
* @throws OciError when an error occurs
|
|
372
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
378
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/CreateAccessRequest.ts.html |here} to see how to use CreateAccessRequest API.
|
|
373
379
|
*/
|
|
374
380
|
createAccessRequest(createAccessRequestRequest) {
|
|
375
381
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -384,7 +390,7 @@ class LockboxClient {
|
|
|
384
390
|
"opc-retry-token": createAccessRequestRequest.opcRetryToken,
|
|
385
391
|
"opc-request-id": createAccessRequestRequest.opcRequestId
|
|
386
392
|
};
|
|
387
|
-
const specRetryConfiguration = common.
|
|
393
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
388
394
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
389
395
|
if (this.logger)
|
|
390
396
|
retrier.logger = this.logger;
|
|
@@ -439,11 +445,11 @@ class LockboxClient {
|
|
|
439
445
|
/**
|
|
440
446
|
* Creates a new approval template.
|
|
441
447
|
*
|
|
442
|
-
* This operation
|
|
448
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
443
449
|
* @param CreateApprovalTemplateRequest
|
|
444
450
|
* @return CreateApprovalTemplateResponse
|
|
445
451
|
* @throws OciError when an error occurs
|
|
446
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
452
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/CreateApprovalTemplate.ts.html |here} to see how to use CreateApprovalTemplate API.
|
|
447
453
|
*/
|
|
448
454
|
createApprovalTemplate(createApprovalTemplateRequest) {
|
|
449
455
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -458,7 +464,7 @@ class LockboxClient {
|
|
|
458
464
|
"opc-retry-token": createApprovalTemplateRequest.opcRetryToken,
|
|
459
465
|
"opc-request-id": createApprovalTemplateRequest.opcRequestId
|
|
460
466
|
};
|
|
461
|
-
const specRetryConfiguration = common.
|
|
467
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
462
468
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createApprovalTemplateRequest.retryConfiguration, specRetryConfiguration);
|
|
463
469
|
if (this.logger)
|
|
464
470
|
retrier.logger = this.logger;
|
|
@@ -508,11 +514,11 @@ class LockboxClient {
|
|
|
508
514
|
/**
|
|
509
515
|
* Creates a new Lockbox.
|
|
510
516
|
*
|
|
511
|
-
* This operation
|
|
517
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
512
518
|
* @param CreateLockboxRequest
|
|
513
519
|
* @return CreateLockboxResponse
|
|
514
520
|
* @throws OciError when an error occurs
|
|
515
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
521
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/CreateLockbox.ts.html |here} to see how to use CreateLockbox API.
|
|
516
522
|
*/
|
|
517
523
|
createLockbox(createLockboxRequest) {
|
|
518
524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -527,7 +533,7 @@ class LockboxClient {
|
|
|
527
533
|
"opc-retry-token": createLockboxRequest.opcRetryToken,
|
|
528
534
|
"opc-request-id": createLockboxRequest.opcRequestId
|
|
529
535
|
};
|
|
530
|
-
const specRetryConfiguration = common.
|
|
536
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
531
537
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLockboxRequest.retryConfiguration, specRetryConfiguration);
|
|
532
538
|
if (this.logger)
|
|
533
539
|
retrier.logger = this.logger;
|
|
@@ -576,11 +582,11 @@ class LockboxClient {
|
|
|
576
582
|
}
|
|
577
583
|
/**
|
|
578
584
|
* Deletes an ApprovalTemplate resource by identifier
|
|
579
|
-
* This operation
|
|
585
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
580
586
|
* @param DeleteApprovalTemplateRequest
|
|
581
587
|
* @return DeleteApprovalTemplateResponse
|
|
582
588
|
* @throws OciError when an error occurs
|
|
583
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
589
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/DeleteApprovalTemplate.ts.html |here} to see how to use DeleteApprovalTemplate API.
|
|
584
590
|
*/
|
|
585
591
|
deleteApprovalTemplate(deleteApprovalTemplateRequest) {
|
|
586
592
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -597,7 +603,7 @@ class LockboxClient {
|
|
|
597
603
|
"if-match": deleteApprovalTemplateRequest.ifMatch,
|
|
598
604
|
"opc-request-id": deleteApprovalTemplateRequest.opcRequestId
|
|
599
605
|
};
|
|
600
|
-
const specRetryConfiguration = common.
|
|
606
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
601
607
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteApprovalTemplateRequest.retryConfiguration, specRetryConfiguration);
|
|
602
608
|
if (this.logger)
|
|
603
609
|
retrier.logger = this.logger;
|
|
@@ -631,11 +637,11 @@ class LockboxClient {
|
|
|
631
637
|
}
|
|
632
638
|
/**
|
|
633
639
|
* Deletes a Lockbox resource by identifier
|
|
634
|
-
* This operation
|
|
640
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
635
641
|
* @param DeleteLockboxRequest
|
|
636
642
|
* @return DeleteLockboxResponse
|
|
637
643
|
* @throws OciError when an error occurs
|
|
638
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
644
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/DeleteLockbox.ts.html |here} to see how to use DeleteLockbox API.
|
|
639
645
|
*/
|
|
640
646
|
deleteLockbox(deleteLockboxRequest) {
|
|
641
647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -653,7 +659,7 @@ class LockboxClient {
|
|
|
653
659
|
"opc-request-id": deleteLockboxRequest.opcRequestId,
|
|
654
660
|
"opc-retry-token": deleteLockboxRequest.opcRetryToken
|
|
655
661
|
};
|
|
656
|
-
const specRetryConfiguration = common.
|
|
662
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
657
663
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLockboxRequest.retryConfiguration, specRetryConfiguration);
|
|
658
664
|
if (this.logger)
|
|
659
665
|
retrier.logger = this.logger;
|
|
@@ -688,11 +694,11 @@ class LockboxClient {
|
|
|
688
694
|
/**
|
|
689
695
|
* Exports a list of AccessRequestSummary objects within a compartment and during a specified time range in text format. You can filter the results by problem severity.
|
|
690
696
|
*
|
|
691
|
-
* This operation
|
|
697
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
692
698
|
* @param ExportAccessRequestsRequest
|
|
693
699
|
* @return ExportAccessRequestsResponse
|
|
694
700
|
* @throws OciError when an error occurs
|
|
695
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
701
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/ExportAccessRequests.ts.html |here} to see how to use ExportAccessRequests API.
|
|
696
702
|
*/
|
|
697
703
|
exportAccessRequests(exportAccessRequestsRequest) {
|
|
698
704
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -717,7 +723,7 @@ class LockboxClient {
|
|
|
717
723
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
718
724
|
"opc-request-id": exportAccessRequestsRequest.opcRequestId
|
|
719
725
|
};
|
|
720
|
-
const specRetryConfiguration = common.
|
|
726
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
721
727
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportAccessRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
722
728
|
if (this.logger)
|
|
723
729
|
retrier.logger = this.logger;
|
|
@@ -743,6 +749,11 @@ class LockboxClient {
|
|
|
743
749
|
value: response.headers.get("opc-request-id"),
|
|
744
750
|
key: "opcRequestId",
|
|
745
751
|
dataType: "string"
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
value: response.headers.get("etag"),
|
|
755
|
+
key: "etag",
|
|
756
|
+
dataType: "string"
|
|
746
757
|
}
|
|
747
758
|
]
|
|
748
759
|
});
|
|
@@ -756,11 +767,11 @@ class LockboxClient {
|
|
|
756
767
|
/**
|
|
757
768
|
* Retrieves the access credential/material associated with the access request.
|
|
758
769
|
*
|
|
759
|
-
* This operation
|
|
770
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
760
771
|
* @param GetAccessMaterialsRequest
|
|
761
772
|
* @return GetAccessMaterialsResponse
|
|
762
773
|
* @throws OciError when an error occurs
|
|
763
|
-
* @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.85.0/lockbox/GetAccessMaterials.ts.html |here} to see how to use GetAccessMaterials API.
|
|
764
775
|
*/
|
|
765
776
|
getAccessMaterials(getAccessMaterialsRequest) {
|
|
766
777
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -776,7 +787,7 @@ class LockboxClient {
|
|
|
776
787
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
777
788
|
"opc-request-id": getAccessMaterialsRequest.opcRequestId
|
|
778
789
|
};
|
|
779
|
-
const specRetryConfiguration = common.
|
|
790
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
780
791
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAccessMaterialsRequest.retryConfiguration, specRetryConfiguration);
|
|
781
792
|
if (this.logger)
|
|
782
793
|
retrier.logger = this.logger;
|
|
@@ -814,11 +825,11 @@ class LockboxClient {
|
|
|
814
825
|
}
|
|
815
826
|
/**
|
|
816
827
|
* Retrieves an access request identified by the access request ID.
|
|
817
|
-
* This operation
|
|
828
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
818
829
|
* @param GetAccessRequestRequest
|
|
819
830
|
* @return GetAccessRequestResponse
|
|
820
831
|
* @throws OciError when an error occurs
|
|
821
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
832
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/GetAccessRequest.ts.html |here} to see how to use GetAccessRequest API.
|
|
822
833
|
*/
|
|
823
834
|
getAccessRequest(getAccessRequestRequest) {
|
|
824
835
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -834,7 +845,7 @@ class LockboxClient {
|
|
|
834
845
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
835
846
|
"opc-request-id": getAccessRequestRequest.opcRequestId
|
|
836
847
|
};
|
|
837
|
-
const specRetryConfiguration = common.
|
|
848
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
838
849
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
839
850
|
if (this.logger)
|
|
840
851
|
retrier.logger = this.logger;
|
|
@@ -875,13 +886,76 @@ class LockboxClient {
|
|
|
875
886
|
}
|
|
876
887
|
});
|
|
877
888
|
}
|
|
889
|
+
/**
|
|
890
|
+
* Retrieves an access request identified by the access request ID for internal use.
|
|
891
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
892
|
+
* @param GetAccessRequestInternalRequest
|
|
893
|
+
* @return GetAccessRequestInternalResponse
|
|
894
|
+
* @throws OciError when an error occurs
|
|
895
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/GetAccessRequestInternal.ts.html |here} to see how to use GetAccessRequestInternal API.
|
|
896
|
+
*/
|
|
897
|
+
getAccessRequestInternal(getAccessRequestInternalRequest) {
|
|
898
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
899
|
+
if (this.logger)
|
|
900
|
+
this.logger.debug("Calling operation LockboxClient#getAccessRequestInternal.");
|
|
901
|
+
const operationName = "getAccessRequestInternal";
|
|
902
|
+
const apiReferenceLink = "";
|
|
903
|
+
const pathParams = {
|
|
904
|
+
"{accessRequestId}": getAccessRequestInternalRequest.accessRequestId
|
|
905
|
+
};
|
|
906
|
+
const queryParams = {};
|
|
907
|
+
let headerParams = {
|
|
908
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
909
|
+
"opc-request-id": getAccessRequestInternalRequest.opcRequestId
|
|
910
|
+
};
|
|
911
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
912
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAccessRequestInternalRequest.retryConfiguration, specRetryConfiguration);
|
|
913
|
+
if (this.logger)
|
|
914
|
+
retrier.logger = this.logger;
|
|
915
|
+
const request = yield oci_common_1.composeRequest({
|
|
916
|
+
baseEndpoint: this._endpoint,
|
|
917
|
+
defaultHeaders: this._defaultHeaders,
|
|
918
|
+
path: "/accessRequests/{accessRequestId}/internal",
|
|
919
|
+
method: "GET",
|
|
920
|
+
pathParams: pathParams,
|
|
921
|
+
headerParams: headerParams,
|
|
922
|
+
queryParams: queryParams
|
|
923
|
+
});
|
|
924
|
+
try {
|
|
925
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
926
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
927
|
+
responseObject: {},
|
|
928
|
+
body: yield response.json(),
|
|
929
|
+
bodyKey: "accessRequestExt",
|
|
930
|
+
bodyModel: model.AccessRequestExt,
|
|
931
|
+
type: "model.AccessRequestExt",
|
|
932
|
+
responseHeaders: [
|
|
933
|
+
{
|
|
934
|
+
value: response.headers.get("etag"),
|
|
935
|
+
key: "etag",
|
|
936
|
+
dataType: "string"
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
value: response.headers.get("opc-request-id"),
|
|
940
|
+
key: "opcRequestId",
|
|
941
|
+
dataType: "string"
|
|
942
|
+
}
|
|
943
|
+
]
|
|
944
|
+
});
|
|
945
|
+
return sdkResponse;
|
|
946
|
+
}
|
|
947
|
+
catch (err) {
|
|
948
|
+
throw err;
|
|
949
|
+
}
|
|
950
|
+
});
|
|
951
|
+
}
|
|
878
952
|
/**
|
|
879
953
|
* Retrieves an approval template identified by the approval template ID.
|
|
880
|
-
* This operation
|
|
954
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
881
955
|
* @param GetApprovalTemplateRequest
|
|
882
956
|
* @return GetApprovalTemplateResponse
|
|
883
957
|
* @throws OciError when an error occurs
|
|
884
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
958
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/GetApprovalTemplate.ts.html |here} to see how to use GetApprovalTemplate API.
|
|
885
959
|
*/
|
|
886
960
|
getApprovalTemplate(getApprovalTemplateRequest) {
|
|
887
961
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -897,7 +971,7 @@ class LockboxClient {
|
|
|
897
971
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
898
972
|
"opc-request-id": getApprovalTemplateRequest.opcRequestId
|
|
899
973
|
};
|
|
900
|
-
const specRetryConfiguration = common.
|
|
974
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
901
975
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getApprovalTemplateRequest.retryConfiguration, specRetryConfiguration);
|
|
902
976
|
if (this.logger)
|
|
903
977
|
retrier.logger = this.logger;
|
|
@@ -940,11 +1014,11 @@ class LockboxClient {
|
|
|
940
1014
|
}
|
|
941
1015
|
/**
|
|
942
1016
|
* Gets a Lockbox by identifier
|
|
943
|
-
* This operation
|
|
1017
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
944
1018
|
* @param GetLockboxRequest
|
|
945
1019
|
* @return GetLockboxResponse
|
|
946
1020
|
* @throws OciError when an error occurs
|
|
947
|
-
* @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.85.0/lockbox/GetLockbox.ts.html |here} to see how to use GetLockbox API.
|
|
948
1022
|
*/
|
|
949
1023
|
getLockbox(getLockboxRequest) {
|
|
950
1024
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -960,7 +1034,7 @@ class LockboxClient {
|
|
|
960
1034
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
961
1035
|
"opc-request-id": getLockboxRequest.opcRequestId
|
|
962
1036
|
};
|
|
963
|
-
const specRetryConfiguration = common.
|
|
1037
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
964
1038
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLockboxRequest.retryConfiguration, specRetryConfiguration);
|
|
965
1039
|
if (this.logger)
|
|
966
1040
|
retrier.logger = this.logger;
|
|
@@ -1003,11 +1077,11 @@ class LockboxClient {
|
|
|
1003
1077
|
}
|
|
1004
1078
|
/**
|
|
1005
1079
|
* Gets details of the work request with the given ID.
|
|
1006
|
-
* This operation
|
|
1080
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1007
1081
|
* @param GetWorkRequestRequest
|
|
1008
1082
|
* @return GetWorkRequestResponse
|
|
1009
1083
|
* @throws OciError when an error occurs
|
|
1010
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1084
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1011
1085
|
*/
|
|
1012
1086
|
getWorkRequest(getWorkRequestRequest) {
|
|
1013
1087
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1023,7 +1097,7 @@ class LockboxClient {
|
|
|
1023
1097
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1024
1098
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
1025
1099
|
};
|
|
1026
|
-
const specRetryConfiguration = common.
|
|
1100
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1027
1101
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1028
1102
|
if (this.logger)
|
|
1029
1103
|
retrier.logger = this.logger;
|
|
@@ -1071,11 +1145,11 @@ class LockboxClient {
|
|
|
1071
1145
|
}
|
|
1072
1146
|
/**
|
|
1073
1147
|
* Handle the AccessRequest
|
|
1074
|
-
* This operation
|
|
1148
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1075
1149
|
* @param HandleAccessRequestRequest
|
|
1076
1150
|
* @return HandleAccessRequestResponse
|
|
1077
1151
|
* @throws OciError when an error occurs
|
|
1078
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1152
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/HandleAccessRequest.ts.html |here} to see how to use HandleAccessRequest API.
|
|
1079
1153
|
*/
|
|
1080
1154
|
handleAccessRequest(handleAccessRequestRequest) {
|
|
1081
1155
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1093,7 +1167,7 @@ class LockboxClient {
|
|
|
1093
1167
|
"opc-retry-token": handleAccessRequestRequest.opcRetryToken,
|
|
1094
1168
|
"opc-request-id": handleAccessRequestRequest.opcRequestId
|
|
1095
1169
|
};
|
|
1096
|
-
const specRetryConfiguration = common.
|
|
1170
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1097
1171
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, handleAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1098
1172
|
if (this.logger)
|
|
1099
1173
|
retrier.logger = this.logger;
|
|
@@ -1134,11 +1208,11 @@ class LockboxClient {
|
|
|
1134
1208
|
/**
|
|
1135
1209
|
* Retrieves a list of AccessRequestSummary objects in a compartment.
|
|
1136
1210
|
*
|
|
1137
|
-
* This operation
|
|
1211
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1138
1212
|
* @param ListAccessRequestsRequest
|
|
1139
1213
|
* @return ListAccessRequestsResponse
|
|
1140
1214
|
* @throws OciError when an error occurs
|
|
1141
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1215
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/ListAccessRequests.ts.html |here} to see how to use ListAccessRequests API.
|
|
1142
1216
|
*/
|
|
1143
1217
|
listAccessRequests(listAccessRequestsRequest) {
|
|
1144
1218
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1166,7 +1240,7 @@ class LockboxClient {
|
|
|
1166
1240
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1167
1241
|
"opc-request-id": listAccessRequestsRequest.opcRequestId
|
|
1168
1242
|
};
|
|
1169
|
-
const specRetryConfiguration = common.
|
|
1243
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1170
1244
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAccessRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1171
1245
|
if (this.logger)
|
|
1172
1246
|
retrier.logger = this.logger;
|
|
@@ -1210,11 +1284,11 @@ class LockboxClient {
|
|
|
1210
1284
|
/**
|
|
1211
1285
|
* Retrieves a list of ApprovalTemplateSummary objects in a compartment.
|
|
1212
1286
|
*
|
|
1213
|
-
* This operation
|
|
1287
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1214
1288
|
* @param ListApprovalTemplatesRequest
|
|
1215
1289
|
* @return ListApprovalTemplatesResponse
|
|
1216
1290
|
* @throws OciError when an error occurs
|
|
1217
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1291
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/ListApprovalTemplates.ts.html |here} to see how to use ListApprovalTemplates API.
|
|
1218
1292
|
*/
|
|
1219
1293
|
listApprovalTemplates(listApprovalTemplatesRequest) {
|
|
1220
1294
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1237,7 +1311,7 @@ class LockboxClient {
|
|
|
1237
1311
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1238
1312
|
"opc-request-id": listApprovalTemplatesRequest.opcRequestId
|
|
1239
1313
|
};
|
|
1240
|
-
const specRetryConfiguration = common.
|
|
1314
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1241
1315
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listApprovalTemplatesRequest.retryConfiguration, specRetryConfiguration);
|
|
1242
1316
|
if (this.logger)
|
|
1243
1317
|
retrier.logger = this.logger;
|
|
@@ -1281,11 +1355,11 @@ class LockboxClient {
|
|
|
1281
1355
|
/**
|
|
1282
1356
|
* Returns a list of Lockboxes.
|
|
1283
1357
|
*
|
|
1284
|
-
* This operation
|
|
1358
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1285
1359
|
* @param ListLockboxesRequest
|
|
1286
1360
|
* @return ListLockboxesResponse
|
|
1287
1361
|
* @throws OciError when an error occurs
|
|
1288
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1362
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/ListLockboxes.ts.html |here} to see how to use ListLockboxes API.
|
|
1289
1363
|
*/
|
|
1290
1364
|
listLockboxes(listLockboxesRequest) {
|
|
1291
1365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1311,7 +1385,7 @@ class LockboxClient {
|
|
|
1311
1385
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1312
1386
|
"opc-request-id": listLockboxesRequest.opcRequestId
|
|
1313
1387
|
};
|
|
1314
|
-
const specRetryConfiguration = common.
|
|
1388
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1315
1389
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLockboxesRequest.retryConfiguration, specRetryConfiguration);
|
|
1316
1390
|
if (this.logger)
|
|
1317
1391
|
retrier.logger = this.logger;
|
|
@@ -1355,11 +1429,11 @@ class LockboxClient {
|
|
|
1355
1429
|
/**
|
|
1356
1430
|
* Returns a (paginated) list of errors for the work request with the given ID.
|
|
1357
1431
|
*
|
|
1358
|
-
* This operation
|
|
1432
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1359
1433
|
* @param ListWorkRequestErrorsRequest
|
|
1360
1434
|
* @return ListWorkRequestErrorsResponse
|
|
1361
1435
|
* @throws OciError when an error occurs
|
|
1362
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1436
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1363
1437
|
*/
|
|
1364
1438
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1365
1439
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1380,7 +1454,7 @@ class LockboxClient {
|
|
|
1380
1454
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1381
1455
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
1382
1456
|
};
|
|
1383
|
-
const specRetryConfiguration = common.
|
|
1457
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1384
1458
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1385
1459
|
if (this.logger)
|
|
1386
1460
|
retrier.logger = this.logger;
|
|
@@ -1424,11 +1498,11 @@ class LockboxClient {
|
|
|
1424
1498
|
/**
|
|
1425
1499
|
* Returns a (paginated) list of logs for the work request with the given ID.
|
|
1426
1500
|
*
|
|
1427
|
-
* This operation
|
|
1501
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1428
1502
|
* @param ListWorkRequestLogsRequest
|
|
1429
1503
|
* @return ListWorkRequestLogsResponse
|
|
1430
1504
|
* @throws OciError when an error occurs
|
|
1431
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1505
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1432
1506
|
*/
|
|
1433
1507
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1434
1508
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1449,7 +1523,7 @@ class LockboxClient {
|
|
|
1449
1523
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1450
1524
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1451
1525
|
};
|
|
1452
|
-
const specRetryConfiguration = common.
|
|
1526
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1453
1527
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1454
1528
|
if (this.logger)
|
|
1455
1529
|
retrier.logger = this.logger;
|
|
@@ -1493,11 +1567,11 @@ class LockboxClient {
|
|
|
1493
1567
|
/**
|
|
1494
1568
|
* Lists the work requests in a compartment.
|
|
1495
1569
|
*
|
|
1496
|
-
* This operation
|
|
1570
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1497
1571
|
* @param ListWorkRequestsRequest
|
|
1498
1572
|
* @return ListWorkRequestsResponse
|
|
1499
1573
|
* @throws OciError when an error occurs
|
|
1500
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1574
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1501
1575
|
*/
|
|
1502
1576
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1503
1577
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1520,7 +1594,7 @@ class LockboxClient {
|
|
|
1520
1594
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1521
1595
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1522
1596
|
};
|
|
1523
|
-
const specRetryConfiguration = common.
|
|
1597
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1524
1598
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1525
1599
|
if (this.logger)
|
|
1526
1600
|
retrier.logger = this.logger;
|
|
@@ -1563,11 +1637,11 @@ class LockboxClient {
|
|
|
1563
1637
|
}
|
|
1564
1638
|
/**
|
|
1565
1639
|
* Updates the ApprovalTemplate
|
|
1566
|
-
* This operation
|
|
1640
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1567
1641
|
* @param UpdateApprovalTemplateRequest
|
|
1568
1642
|
* @return UpdateApprovalTemplateResponse
|
|
1569
1643
|
* @throws OciError when an error occurs
|
|
1570
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1644
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/UpdateApprovalTemplate.ts.html |here} to see how to use UpdateApprovalTemplate API.
|
|
1571
1645
|
*/
|
|
1572
1646
|
updateApprovalTemplate(updateApprovalTemplateRequest) {
|
|
1573
1647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1584,7 +1658,7 @@ class LockboxClient {
|
|
|
1584
1658
|
"if-match": updateApprovalTemplateRequest.ifMatch,
|
|
1585
1659
|
"opc-request-id": updateApprovalTemplateRequest.opcRequestId
|
|
1586
1660
|
};
|
|
1587
|
-
const specRetryConfiguration = common.
|
|
1661
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1588
1662
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateApprovalTemplateRequest.retryConfiguration, specRetryConfiguration);
|
|
1589
1663
|
if (this.logger)
|
|
1590
1664
|
retrier.logger = this.logger;
|
|
@@ -1628,11 +1702,11 @@ class LockboxClient {
|
|
|
1628
1702
|
}
|
|
1629
1703
|
/**
|
|
1630
1704
|
* Updates the Lockbox
|
|
1631
|
-
* This operation
|
|
1705
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1632
1706
|
* @param UpdateLockboxRequest
|
|
1633
1707
|
* @return UpdateLockboxResponse
|
|
1634
1708
|
* @throws OciError when an error occurs
|
|
1635
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1709
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/lockbox/UpdateLockbox.ts.html |here} to see how to use UpdateLockbox API.
|
|
1636
1710
|
*/
|
|
1637
1711
|
updateLockbox(updateLockboxRequest) {
|
|
1638
1712
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1649,7 +1723,7 @@ class LockboxClient {
|
|
|
1649
1723
|
"if-match": updateLockboxRequest.ifMatch,
|
|
1650
1724
|
"opc-request-id": updateLockboxRequest.opcRequestId
|
|
1651
1725
|
};
|
|
1652
|
-
const specRetryConfiguration = common.
|
|
1726
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1653
1727
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLockboxRequest.retryConfiguration, specRetryConfiguration);
|
|
1654
1728
|
if (this.logger)
|
|
1655
1729
|
retrier.logger = this.logger;
|