oci-lockbox 2.84.2 → 2.86.1
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 +55 -46
- package/lib/client.js +137 -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
|
@@ -201,11 +201,11 @@ class LockboxClient {
|
|
|
201
201
|
}
|
|
202
202
|
/**
|
|
203
203
|
* Cancels the work request with the given ID.
|
|
204
|
-
* This operation
|
|
204
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
205
205
|
* @param CancelWorkRequestRequest
|
|
206
206
|
* @return CancelWorkRequestResponse
|
|
207
207
|
* @throws OciError when an error occurs
|
|
208
|
-
* @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.86.1/lockbox/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
209
209
|
*/
|
|
210
210
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
211
211
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -222,7 +222,7 @@ class LockboxClient {
|
|
|
222
222
|
"if-match": cancelWorkRequestRequest.ifMatch,
|
|
223
223
|
"opc-request-id": cancelWorkRequestRequest.opcRequestId
|
|
224
224
|
};
|
|
225
|
-
const specRetryConfiguration = common.
|
|
225
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
226
226
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
227
227
|
if (this.logger)
|
|
228
228
|
retrier.logger = this.logger;
|
|
@@ -256,11 +256,11 @@ class LockboxClient {
|
|
|
256
256
|
}
|
|
257
257
|
/**
|
|
258
258
|
* Moves an ApprovalTemplate resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
|
|
259
|
-
* This operation
|
|
259
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
260
260
|
* @param ChangeApprovalTemplateCompartmentRequest
|
|
261
261
|
* @return ChangeApprovalTemplateCompartmentResponse
|
|
262
262
|
* @throws OciError when an error occurs
|
|
263
|
-
* @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.86.1/lockbox/ChangeApprovalTemplateCompartment.ts.html |here} to see how to use ChangeApprovalTemplateCompartment API.
|
|
264
264
|
*/
|
|
265
265
|
changeApprovalTemplateCompartment(changeApprovalTemplateCompartmentRequest) {
|
|
266
266
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -278,7 +278,7 @@ class LockboxClient {
|
|
|
278
278
|
"opc-request-id": changeApprovalTemplateCompartmentRequest.opcRequestId,
|
|
279
279
|
"opc-retry-token": changeApprovalTemplateCompartmentRequest.opcRetryToken
|
|
280
280
|
};
|
|
281
|
-
const specRetryConfiguration = common.
|
|
281
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
282
282
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeApprovalTemplateCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
283
283
|
if (this.logger)
|
|
284
284
|
retrier.logger = this.logger;
|
|
@@ -313,11 +313,11 @@ class LockboxClient {
|
|
|
313
313
|
}
|
|
314
314
|
/**
|
|
315
315
|
* Moves a Lockbox resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
|
|
316
|
-
* This operation
|
|
316
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
317
317
|
* @param ChangeLockboxCompartmentRequest
|
|
318
318
|
* @return ChangeLockboxCompartmentResponse
|
|
319
319
|
* @throws OciError when an error occurs
|
|
320
|
-
* @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.86.1/lockbox/ChangeLockboxCompartment.ts.html |here} to see how to use ChangeLockboxCompartment API.
|
|
321
321
|
*/
|
|
322
322
|
changeLockboxCompartment(changeLockboxCompartmentRequest) {
|
|
323
323
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -335,7 +335,7 @@ class LockboxClient {
|
|
|
335
335
|
"opc-request-id": changeLockboxCompartmentRequest.opcRequestId,
|
|
336
336
|
"opc-retry-token": changeLockboxCompartmentRequest.opcRetryToken
|
|
337
337
|
};
|
|
338
|
-
const specRetryConfiguration = common.
|
|
338
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
339
339
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLockboxCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
340
340
|
if (this.logger)
|
|
341
341
|
retrier.logger = this.logger;
|
|
@@ -371,11 +371,11 @@ class LockboxClient {
|
|
|
371
371
|
/**
|
|
372
372
|
* Creates a new access request.
|
|
373
373
|
*
|
|
374
|
-
* This operation
|
|
374
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
375
375
|
* @param CreateAccessRequestRequest
|
|
376
376
|
* @return CreateAccessRequestResponse
|
|
377
377
|
* @throws OciError when an error occurs
|
|
378
|
-
* @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.86.1/lockbox/CreateAccessRequest.ts.html |here} to see how to use CreateAccessRequest API.
|
|
379
379
|
*/
|
|
380
380
|
createAccessRequest(createAccessRequestRequest) {
|
|
381
381
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -390,7 +390,7 @@ class LockboxClient {
|
|
|
390
390
|
"opc-retry-token": createAccessRequestRequest.opcRetryToken,
|
|
391
391
|
"opc-request-id": createAccessRequestRequest.opcRequestId
|
|
392
392
|
};
|
|
393
|
-
const specRetryConfiguration = common.
|
|
393
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
394
394
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
395
395
|
if (this.logger)
|
|
396
396
|
retrier.logger = this.logger;
|
|
@@ -445,11 +445,11 @@ class LockboxClient {
|
|
|
445
445
|
/**
|
|
446
446
|
* Creates a new approval template.
|
|
447
447
|
*
|
|
448
|
-
* This operation
|
|
448
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
449
449
|
* @param CreateApprovalTemplateRequest
|
|
450
450
|
* @return CreateApprovalTemplateResponse
|
|
451
451
|
* @throws OciError when an error occurs
|
|
452
|
-
* @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.86.1/lockbox/CreateApprovalTemplate.ts.html |here} to see how to use CreateApprovalTemplate API.
|
|
453
453
|
*/
|
|
454
454
|
createApprovalTemplate(createApprovalTemplateRequest) {
|
|
455
455
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -464,7 +464,7 @@ class LockboxClient {
|
|
|
464
464
|
"opc-retry-token": createApprovalTemplateRequest.opcRetryToken,
|
|
465
465
|
"opc-request-id": createApprovalTemplateRequest.opcRequestId
|
|
466
466
|
};
|
|
467
|
-
const specRetryConfiguration = common.
|
|
467
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
468
468
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createApprovalTemplateRequest.retryConfiguration, specRetryConfiguration);
|
|
469
469
|
if (this.logger)
|
|
470
470
|
retrier.logger = this.logger;
|
|
@@ -514,11 +514,11 @@ class LockboxClient {
|
|
|
514
514
|
/**
|
|
515
515
|
* Creates a new Lockbox.
|
|
516
516
|
*
|
|
517
|
-
* This operation
|
|
517
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
518
518
|
* @param CreateLockboxRequest
|
|
519
519
|
* @return CreateLockboxResponse
|
|
520
520
|
* @throws OciError when an error occurs
|
|
521
|
-
* @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.86.1/lockbox/CreateLockbox.ts.html |here} to see how to use CreateLockbox API.
|
|
522
522
|
*/
|
|
523
523
|
createLockbox(createLockboxRequest) {
|
|
524
524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -533,7 +533,7 @@ class LockboxClient {
|
|
|
533
533
|
"opc-retry-token": createLockboxRequest.opcRetryToken,
|
|
534
534
|
"opc-request-id": createLockboxRequest.opcRequestId
|
|
535
535
|
};
|
|
536
|
-
const specRetryConfiguration = common.
|
|
536
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
537
537
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLockboxRequest.retryConfiguration, specRetryConfiguration);
|
|
538
538
|
if (this.logger)
|
|
539
539
|
retrier.logger = this.logger;
|
|
@@ -582,11 +582,11 @@ class LockboxClient {
|
|
|
582
582
|
}
|
|
583
583
|
/**
|
|
584
584
|
* Deletes an ApprovalTemplate resource by identifier
|
|
585
|
-
* This operation
|
|
585
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
586
586
|
* @param DeleteApprovalTemplateRequest
|
|
587
587
|
* @return DeleteApprovalTemplateResponse
|
|
588
588
|
* @throws OciError when an error occurs
|
|
589
|
-
* @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.86.1/lockbox/DeleteApprovalTemplate.ts.html |here} to see how to use DeleteApprovalTemplate API.
|
|
590
590
|
*/
|
|
591
591
|
deleteApprovalTemplate(deleteApprovalTemplateRequest) {
|
|
592
592
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -603,7 +603,7 @@ class LockboxClient {
|
|
|
603
603
|
"if-match": deleteApprovalTemplateRequest.ifMatch,
|
|
604
604
|
"opc-request-id": deleteApprovalTemplateRequest.opcRequestId
|
|
605
605
|
};
|
|
606
|
-
const specRetryConfiguration = common.
|
|
606
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
607
607
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteApprovalTemplateRequest.retryConfiguration, specRetryConfiguration);
|
|
608
608
|
if (this.logger)
|
|
609
609
|
retrier.logger = this.logger;
|
|
@@ -637,11 +637,11 @@ class LockboxClient {
|
|
|
637
637
|
}
|
|
638
638
|
/**
|
|
639
639
|
* Deletes a Lockbox resource by identifier
|
|
640
|
-
* This operation
|
|
640
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
641
641
|
* @param DeleteLockboxRequest
|
|
642
642
|
* @return DeleteLockboxResponse
|
|
643
643
|
* @throws OciError when an error occurs
|
|
644
|
-
* @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.86.1/lockbox/DeleteLockbox.ts.html |here} to see how to use DeleteLockbox API.
|
|
645
645
|
*/
|
|
646
646
|
deleteLockbox(deleteLockboxRequest) {
|
|
647
647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -659,7 +659,7 @@ class LockboxClient {
|
|
|
659
659
|
"opc-request-id": deleteLockboxRequest.opcRequestId,
|
|
660
660
|
"opc-retry-token": deleteLockboxRequest.opcRetryToken
|
|
661
661
|
};
|
|
662
|
-
const specRetryConfiguration = common.
|
|
662
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
663
663
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLockboxRequest.retryConfiguration, specRetryConfiguration);
|
|
664
664
|
if (this.logger)
|
|
665
665
|
retrier.logger = this.logger;
|
|
@@ -694,11 +694,11 @@ class LockboxClient {
|
|
|
694
694
|
/**
|
|
695
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.
|
|
696
696
|
*
|
|
697
|
-
* This operation
|
|
697
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
698
698
|
* @param ExportAccessRequestsRequest
|
|
699
699
|
* @return ExportAccessRequestsResponse
|
|
700
700
|
* @throws OciError when an error occurs
|
|
701
|
-
* @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.86.1/lockbox/ExportAccessRequests.ts.html |here} to see how to use ExportAccessRequests API.
|
|
702
702
|
*/
|
|
703
703
|
exportAccessRequests(exportAccessRequestsRequest) {
|
|
704
704
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -723,7 +723,7 @@ class LockboxClient {
|
|
|
723
723
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
724
724
|
"opc-request-id": exportAccessRequestsRequest.opcRequestId
|
|
725
725
|
};
|
|
726
|
-
const specRetryConfiguration = common.
|
|
726
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
727
727
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportAccessRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
728
728
|
if (this.logger)
|
|
729
729
|
retrier.logger = this.logger;
|
|
@@ -749,6 +749,11 @@ class LockboxClient {
|
|
|
749
749
|
value: response.headers.get("opc-request-id"),
|
|
750
750
|
key: "opcRequestId",
|
|
751
751
|
dataType: "string"
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
value: response.headers.get("etag"),
|
|
755
|
+
key: "etag",
|
|
756
|
+
dataType: "string"
|
|
752
757
|
}
|
|
753
758
|
]
|
|
754
759
|
});
|
|
@@ -762,11 +767,11 @@ class LockboxClient {
|
|
|
762
767
|
/**
|
|
763
768
|
* Retrieves the access credential/material associated with the access request.
|
|
764
769
|
*
|
|
765
|
-
* This operation
|
|
770
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
766
771
|
* @param GetAccessMaterialsRequest
|
|
767
772
|
* @return GetAccessMaterialsResponse
|
|
768
773
|
* @throws OciError when an error occurs
|
|
769
|
-
* @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.86.1/lockbox/GetAccessMaterials.ts.html |here} to see how to use GetAccessMaterials API.
|
|
770
775
|
*/
|
|
771
776
|
getAccessMaterials(getAccessMaterialsRequest) {
|
|
772
777
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -782,7 +787,7 @@ class LockboxClient {
|
|
|
782
787
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
783
788
|
"opc-request-id": getAccessMaterialsRequest.opcRequestId
|
|
784
789
|
};
|
|
785
|
-
const specRetryConfiguration = common.
|
|
790
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
786
791
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAccessMaterialsRequest.retryConfiguration, specRetryConfiguration);
|
|
787
792
|
if (this.logger)
|
|
788
793
|
retrier.logger = this.logger;
|
|
@@ -820,11 +825,11 @@ class LockboxClient {
|
|
|
820
825
|
}
|
|
821
826
|
/**
|
|
822
827
|
* Retrieves an access request identified by the access request ID.
|
|
823
|
-
* This operation
|
|
828
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
824
829
|
* @param GetAccessRequestRequest
|
|
825
830
|
* @return GetAccessRequestResponse
|
|
826
831
|
* @throws OciError when an error occurs
|
|
827
|
-
* @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.86.1/lockbox/GetAccessRequest.ts.html |here} to see how to use GetAccessRequest API.
|
|
828
833
|
*/
|
|
829
834
|
getAccessRequest(getAccessRequestRequest) {
|
|
830
835
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -840,7 +845,7 @@ class LockboxClient {
|
|
|
840
845
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
841
846
|
"opc-request-id": getAccessRequestRequest.opcRequestId
|
|
842
847
|
};
|
|
843
|
-
const specRetryConfiguration = common.
|
|
848
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
844
849
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
845
850
|
if (this.logger)
|
|
846
851
|
retrier.logger = this.logger;
|
|
@@ -881,13 +886,76 @@ class LockboxClient {
|
|
|
881
886
|
}
|
|
882
887
|
});
|
|
883
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.86.1/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
|
+
}
|
|
884
952
|
/**
|
|
885
953
|
* Retrieves an approval template identified by the approval template ID.
|
|
886
|
-
* This operation
|
|
954
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
887
955
|
* @param GetApprovalTemplateRequest
|
|
888
956
|
* @return GetApprovalTemplateResponse
|
|
889
957
|
* @throws OciError when an error occurs
|
|
890
|
-
* @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.86.1/lockbox/GetApprovalTemplate.ts.html |here} to see how to use GetApprovalTemplate API.
|
|
891
959
|
*/
|
|
892
960
|
getApprovalTemplate(getApprovalTemplateRequest) {
|
|
893
961
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -903,7 +971,7 @@ class LockboxClient {
|
|
|
903
971
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
904
972
|
"opc-request-id": getApprovalTemplateRequest.opcRequestId
|
|
905
973
|
};
|
|
906
|
-
const specRetryConfiguration = common.
|
|
974
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
907
975
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getApprovalTemplateRequest.retryConfiguration, specRetryConfiguration);
|
|
908
976
|
if (this.logger)
|
|
909
977
|
retrier.logger = this.logger;
|
|
@@ -946,11 +1014,11 @@ class LockboxClient {
|
|
|
946
1014
|
}
|
|
947
1015
|
/**
|
|
948
1016
|
* Gets a Lockbox by identifier
|
|
949
|
-
* This operation
|
|
1017
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
950
1018
|
* @param GetLockboxRequest
|
|
951
1019
|
* @return GetLockboxResponse
|
|
952
1020
|
* @throws OciError when an error occurs
|
|
953
|
-
* @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.86.1/lockbox/GetLockbox.ts.html |here} to see how to use GetLockbox API.
|
|
954
1022
|
*/
|
|
955
1023
|
getLockbox(getLockboxRequest) {
|
|
956
1024
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -966,7 +1034,7 @@ class LockboxClient {
|
|
|
966
1034
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
967
1035
|
"opc-request-id": getLockboxRequest.opcRequestId
|
|
968
1036
|
};
|
|
969
|
-
const specRetryConfiguration = common.
|
|
1037
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
970
1038
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLockboxRequest.retryConfiguration, specRetryConfiguration);
|
|
971
1039
|
if (this.logger)
|
|
972
1040
|
retrier.logger = this.logger;
|
|
@@ -1009,11 +1077,11 @@ class LockboxClient {
|
|
|
1009
1077
|
}
|
|
1010
1078
|
/**
|
|
1011
1079
|
* Gets details of the work request with the given ID.
|
|
1012
|
-
* This operation
|
|
1080
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1013
1081
|
* @param GetWorkRequestRequest
|
|
1014
1082
|
* @return GetWorkRequestResponse
|
|
1015
1083
|
* @throws OciError when an error occurs
|
|
1016
|
-
* @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.86.1/lockbox/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1017
1085
|
*/
|
|
1018
1086
|
getWorkRequest(getWorkRequestRequest) {
|
|
1019
1087
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1029,7 +1097,7 @@ class LockboxClient {
|
|
|
1029
1097
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1030
1098
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
1031
1099
|
};
|
|
1032
|
-
const specRetryConfiguration = common.
|
|
1100
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1033
1101
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1034
1102
|
if (this.logger)
|
|
1035
1103
|
retrier.logger = this.logger;
|
|
@@ -1077,11 +1145,11 @@ class LockboxClient {
|
|
|
1077
1145
|
}
|
|
1078
1146
|
/**
|
|
1079
1147
|
* Handle the AccessRequest
|
|
1080
|
-
* This operation
|
|
1148
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1081
1149
|
* @param HandleAccessRequestRequest
|
|
1082
1150
|
* @return HandleAccessRequestResponse
|
|
1083
1151
|
* @throws OciError when an error occurs
|
|
1084
|
-
* @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.86.1/lockbox/HandleAccessRequest.ts.html |here} to see how to use HandleAccessRequest API.
|
|
1085
1153
|
*/
|
|
1086
1154
|
handleAccessRequest(handleAccessRequestRequest) {
|
|
1087
1155
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1099,7 +1167,7 @@ class LockboxClient {
|
|
|
1099
1167
|
"opc-retry-token": handleAccessRequestRequest.opcRetryToken,
|
|
1100
1168
|
"opc-request-id": handleAccessRequestRequest.opcRequestId
|
|
1101
1169
|
};
|
|
1102
|
-
const specRetryConfiguration = common.
|
|
1170
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1103
1171
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, handleAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1104
1172
|
if (this.logger)
|
|
1105
1173
|
retrier.logger = this.logger;
|
|
@@ -1140,11 +1208,11 @@ class LockboxClient {
|
|
|
1140
1208
|
/**
|
|
1141
1209
|
* Retrieves a list of AccessRequestSummary objects in a compartment.
|
|
1142
1210
|
*
|
|
1143
|
-
* This operation
|
|
1211
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1144
1212
|
* @param ListAccessRequestsRequest
|
|
1145
1213
|
* @return ListAccessRequestsResponse
|
|
1146
1214
|
* @throws OciError when an error occurs
|
|
1147
|
-
* @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.86.1/lockbox/ListAccessRequests.ts.html |here} to see how to use ListAccessRequests API.
|
|
1148
1216
|
*/
|
|
1149
1217
|
listAccessRequests(listAccessRequestsRequest) {
|
|
1150
1218
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1172,7 +1240,7 @@ class LockboxClient {
|
|
|
1172
1240
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1173
1241
|
"opc-request-id": listAccessRequestsRequest.opcRequestId
|
|
1174
1242
|
};
|
|
1175
|
-
const specRetryConfiguration = common.
|
|
1243
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1176
1244
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAccessRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1177
1245
|
if (this.logger)
|
|
1178
1246
|
retrier.logger = this.logger;
|
|
@@ -1216,11 +1284,11 @@ class LockboxClient {
|
|
|
1216
1284
|
/**
|
|
1217
1285
|
* Retrieves a list of ApprovalTemplateSummary objects in a compartment.
|
|
1218
1286
|
*
|
|
1219
|
-
* This operation
|
|
1287
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1220
1288
|
* @param ListApprovalTemplatesRequest
|
|
1221
1289
|
* @return ListApprovalTemplatesResponse
|
|
1222
1290
|
* @throws OciError when an error occurs
|
|
1223
|
-
* @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.86.1/lockbox/ListApprovalTemplates.ts.html |here} to see how to use ListApprovalTemplates API.
|
|
1224
1292
|
*/
|
|
1225
1293
|
listApprovalTemplates(listApprovalTemplatesRequest) {
|
|
1226
1294
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1243,7 +1311,7 @@ class LockboxClient {
|
|
|
1243
1311
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1244
1312
|
"opc-request-id": listApprovalTemplatesRequest.opcRequestId
|
|
1245
1313
|
};
|
|
1246
|
-
const specRetryConfiguration = common.
|
|
1314
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1247
1315
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listApprovalTemplatesRequest.retryConfiguration, specRetryConfiguration);
|
|
1248
1316
|
if (this.logger)
|
|
1249
1317
|
retrier.logger = this.logger;
|
|
@@ -1287,11 +1355,11 @@ class LockboxClient {
|
|
|
1287
1355
|
/**
|
|
1288
1356
|
* Returns a list of Lockboxes.
|
|
1289
1357
|
*
|
|
1290
|
-
* This operation
|
|
1358
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1291
1359
|
* @param ListLockboxesRequest
|
|
1292
1360
|
* @return ListLockboxesResponse
|
|
1293
1361
|
* @throws OciError when an error occurs
|
|
1294
|
-
* @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.86.1/lockbox/ListLockboxes.ts.html |here} to see how to use ListLockboxes API.
|
|
1295
1363
|
*/
|
|
1296
1364
|
listLockboxes(listLockboxesRequest) {
|
|
1297
1365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1317,7 +1385,7 @@ class LockboxClient {
|
|
|
1317
1385
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1318
1386
|
"opc-request-id": listLockboxesRequest.opcRequestId
|
|
1319
1387
|
};
|
|
1320
|
-
const specRetryConfiguration = common.
|
|
1388
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1321
1389
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLockboxesRequest.retryConfiguration, specRetryConfiguration);
|
|
1322
1390
|
if (this.logger)
|
|
1323
1391
|
retrier.logger = this.logger;
|
|
@@ -1361,11 +1429,11 @@ class LockboxClient {
|
|
|
1361
1429
|
/**
|
|
1362
1430
|
* Returns a (paginated) list of errors for the work request with the given ID.
|
|
1363
1431
|
*
|
|
1364
|
-
* This operation
|
|
1432
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1365
1433
|
* @param ListWorkRequestErrorsRequest
|
|
1366
1434
|
* @return ListWorkRequestErrorsResponse
|
|
1367
1435
|
* @throws OciError when an error occurs
|
|
1368
|
-
* @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.86.1/lockbox/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1369
1437
|
*/
|
|
1370
1438
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1371
1439
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1386,7 +1454,7 @@ class LockboxClient {
|
|
|
1386
1454
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1387
1455
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
1388
1456
|
};
|
|
1389
|
-
const specRetryConfiguration = common.
|
|
1457
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1390
1458
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1391
1459
|
if (this.logger)
|
|
1392
1460
|
retrier.logger = this.logger;
|
|
@@ -1430,11 +1498,11 @@ class LockboxClient {
|
|
|
1430
1498
|
/**
|
|
1431
1499
|
* Returns a (paginated) list of logs for the work request with the given ID.
|
|
1432
1500
|
*
|
|
1433
|
-
* This operation
|
|
1501
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1434
1502
|
* @param ListWorkRequestLogsRequest
|
|
1435
1503
|
* @return ListWorkRequestLogsResponse
|
|
1436
1504
|
* @throws OciError when an error occurs
|
|
1437
|
-
* @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.86.1/lockbox/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1438
1506
|
*/
|
|
1439
1507
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1440
1508
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1455,7 +1523,7 @@ class LockboxClient {
|
|
|
1455
1523
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1456
1524
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1457
1525
|
};
|
|
1458
|
-
const specRetryConfiguration = common.
|
|
1526
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1459
1527
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1460
1528
|
if (this.logger)
|
|
1461
1529
|
retrier.logger = this.logger;
|
|
@@ -1499,11 +1567,11 @@ class LockboxClient {
|
|
|
1499
1567
|
/**
|
|
1500
1568
|
* Lists the work requests in a compartment.
|
|
1501
1569
|
*
|
|
1502
|
-
* This operation
|
|
1570
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1503
1571
|
* @param ListWorkRequestsRequest
|
|
1504
1572
|
* @return ListWorkRequestsResponse
|
|
1505
1573
|
* @throws OciError when an error occurs
|
|
1506
|
-
* @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.86.1/lockbox/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1507
1575
|
*/
|
|
1508
1576
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1509
1577
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1526,7 +1594,7 @@ class LockboxClient {
|
|
|
1526
1594
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1527
1595
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1528
1596
|
};
|
|
1529
|
-
const specRetryConfiguration = common.
|
|
1597
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1530
1598
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1531
1599
|
if (this.logger)
|
|
1532
1600
|
retrier.logger = this.logger;
|
|
@@ -1569,11 +1637,11 @@ class LockboxClient {
|
|
|
1569
1637
|
}
|
|
1570
1638
|
/**
|
|
1571
1639
|
* Updates the ApprovalTemplate
|
|
1572
|
-
* This operation
|
|
1640
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1573
1641
|
* @param UpdateApprovalTemplateRequest
|
|
1574
1642
|
* @return UpdateApprovalTemplateResponse
|
|
1575
1643
|
* @throws OciError when an error occurs
|
|
1576
|
-
* @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.86.1/lockbox/UpdateApprovalTemplate.ts.html |here} to see how to use UpdateApprovalTemplate API.
|
|
1577
1645
|
*/
|
|
1578
1646
|
updateApprovalTemplate(updateApprovalTemplateRequest) {
|
|
1579
1647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1590,7 +1658,7 @@ class LockboxClient {
|
|
|
1590
1658
|
"if-match": updateApprovalTemplateRequest.ifMatch,
|
|
1591
1659
|
"opc-request-id": updateApprovalTemplateRequest.opcRequestId
|
|
1592
1660
|
};
|
|
1593
|
-
const specRetryConfiguration = common.
|
|
1661
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1594
1662
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateApprovalTemplateRequest.retryConfiguration, specRetryConfiguration);
|
|
1595
1663
|
if (this.logger)
|
|
1596
1664
|
retrier.logger = this.logger;
|
|
@@ -1634,11 +1702,11 @@ class LockboxClient {
|
|
|
1634
1702
|
}
|
|
1635
1703
|
/**
|
|
1636
1704
|
* Updates the Lockbox
|
|
1637
|
-
* This operation
|
|
1705
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1638
1706
|
* @param UpdateLockboxRequest
|
|
1639
1707
|
* @return UpdateLockboxResponse
|
|
1640
1708
|
* @throws OciError when an error occurs
|
|
1641
|
-
* @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.86.1/lockbox/UpdateLockbox.ts.html |here} to see how to use UpdateLockbox API.
|
|
1642
1710
|
*/
|
|
1643
1711
|
updateLockbox(updateLockboxRequest) {
|
|
1644
1712
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1655,7 +1723,7 @@ class LockboxClient {
|
|
|
1655
1723
|
"if-match": updateLockboxRequest.ifMatch,
|
|
1656
1724
|
"opc-request-id": updateLockboxRequest.opcRequestId
|
|
1657
1725
|
};
|
|
1658
|
-
const specRetryConfiguration = common.
|
|
1726
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1659
1727
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLockboxRequest.retryConfiguration, specRetryConfiguration);
|
|
1660
1728
|
if (this.logger)
|
|
1661
1729
|
retrier.logger = this.logger;
|