oci-lockbox 2.79.1 → 2.81.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 +25 -24
- package/lib/client.js +123 -49
- package/lib/client.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 +1 -1
- package/lib/request/get-access-materials-request.d.ts +1 -1
- 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/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/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -60,7 +60,7 @@ var LockboxApiKeys;
|
|
|
60
60
|
*/
|
|
61
61
|
class LockboxClient {
|
|
62
62
|
constructor(params, clientConfiguration) {
|
|
63
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
63
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
64
64
|
this["_endpoint"] = "";
|
|
65
65
|
this["_defaultHeaders"] = {};
|
|
66
66
|
this._circuitBreaker = null;
|
|
@@ -119,7 +119,11 @@ class LockboxClient {
|
|
|
119
119
|
set endpoint(endpoint) {
|
|
120
120
|
this._endpoint = endpoint;
|
|
121
121
|
this._endpoint = this._endpoint + "/20220126";
|
|
122
|
-
|
|
122
|
+
if (this.logger)
|
|
123
|
+
this.logger.info(`LockboxClient endpoint set to ${this._endpoint}`);
|
|
124
|
+
}
|
|
125
|
+
get logger() {
|
|
126
|
+
return common.LOG.logger;
|
|
123
127
|
}
|
|
124
128
|
/**
|
|
125
129
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -128,7 +132,8 @@ class LockboxClient {
|
|
|
128
132
|
*/
|
|
129
133
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
130
134
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
131
|
-
|
|
135
|
+
if (this.logger)
|
|
136
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
132
137
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
133
138
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(LockboxClient.serviceEndpointTemplate, this._region, LockboxClient.endpointServiceName);
|
|
134
139
|
}
|
|
@@ -194,11 +199,12 @@ class LockboxClient {
|
|
|
194
199
|
* @param CancelWorkRequestRequest
|
|
195
200
|
* @return CancelWorkRequestResponse
|
|
196
201
|
* @throws OciError when an error occurs
|
|
197
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
202
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
198
203
|
*/
|
|
199
204
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
200
205
|
return __awaiter(this, void 0, void 0, function* () {
|
|
201
|
-
|
|
206
|
+
if (this.logger)
|
|
207
|
+
this.logger.debug("Calling operation LockboxClient#cancelWorkRequest.");
|
|
202
208
|
const operationName = "cancelWorkRequest";
|
|
203
209
|
const apiReferenceLink = "";
|
|
204
210
|
const pathParams = {
|
|
@@ -212,6 +218,8 @@ class LockboxClient {
|
|
|
212
218
|
};
|
|
213
219
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
214
220
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
221
|
+
if (this.logger)
|
|
222
|
+
retrier.logger = this.logger;
|
|
215
223
|
const request = yield oci_common_1.composeRequest({
|
|
216
224
|
baseEndpoint: this._endpoint,
|
|
217
225
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -246,11 +254,12 @@ class LockboxClient {
|
|
|
246
254
|
* @param ChangeApprovalTemplateCompartmentRequest
|
|
247
255
|
* @return ChangeApprovalTemplateCompartmentResponse
|
|
248
256
|
* @throws OciError when an error occurs
|
|
249
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
257
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/ChangeApprovalTemplateCompartment.ts.html |here} to see how to use ChangeApprovalTemplateCompartment API.
|
|
250
258
|
*/
|
|
251
259
|
changeApprovalTemplateCompartment(changeApprovalTemplateCompartmentRequest) {
|
|
252
260
|
return __awaiter(this, void 0, void 0, function* () {
|
|
253
|
-
|
|
261
|
+
if (this.logger)
|
|
262
|
+
this.logger.debug("Calling operation LockboxClient#changeApprovalTemplateCompartment.");
|
|
254
263
|
const operationName = "changeApprovalTemplateCompartment";
|
|
255
264
|
const apiReferenceLink = "";
|
|
256
265
|
const pathParams = {
|
|
@@ -265,6 +274,8 @@ class LockboxClient {
|
|
|
265
274
|
};
|
|
266
275
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
267
276
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeApprovalTemplateCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
277
|
+
if (this.logger)
|
|
278
|
+
retrier.logger = this.logger;
|
|
268
279
|
const request = yield oci_common_1.composeRequest({
|
|
269
280
|
baseEndpoint: this._endpoint,
|
|
270
281
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -300,11 +311,12 @@ class LockboxClient {
|
|
|
300
311
|
* @param ChangeLockboxCompartmentRequest
|
|
301
312
|
* @return ChangeLockboxCompartmentResponse
|
|
302
313
|
* @throws OciError when an error occurs
|
|
303
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
314
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/ChangeLockboxCompartment.ts.html |here} to see how to use ChangeLockboxCompartment API.
|
|
304
315
|
*/
|
|
305
316
|
changeLockboxCompartment(changeLockboxCompartmentRequest) {
|
|
306
317
|
return __awaiter(this, void 0, void 0, function* () {
|
|
307
|
-
|
|
318
|
+
if (this.logger)
|
|
319
|
+
this.logger.debug("Calling operation LockboxClient#changeLockboxCompartment.");
|
|
308
320
|
const operationName = "changeLockboxCompartment";
|
|
309
321
|
const apiReferenceLink = "";
|
|
310
322
|
const pathParams = {
|
|
@@ -319,6 +331,8 @@ class LockboxClient {
|
|
|
319
331
|
};
|
|
320
332
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
321
333
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLockboxCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
334
|
+
if (this.logger)
|
|
335
|
+
retrier.logger = this.logger;
|
|
322
336
|
const request = yield oci_common_1.composeRequest({
|
|
323
337
|
baseEndpoint: this._endpoint,
|
|
324
338
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -355,11 +369,12 @@ class LockboxClient {
|
|
|
355
369
|
* @param CreateAccessRequestRequest
|
|
356
370
|
* @return CreateAccessRequestResponse
|
|
357
371
|
* @throws OciError when an error occurs
|
|
358
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
372
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/CreateAccessRequest.ts.html |here} to see how to use CreateAccessRequest API.
|
|
359
373
|
*/
|
|
360
374
|
createAccessRequest(createAccessRequestRequest) {
|
|
361
375
|
return __awaiter(this, void 0, void 0, function* () {
|
|
362
|
-
|
|
376
|
+
if (this.logger)
|
|
377
|
+
this.logger.debug("Calling operation LockboxClient#createAccessRequest.");
|
|
363
378
|
const operationName = "createAccessRequest";
|
|
364
379
|
const apiReferenceLink = "";
|
|
365
380
|
const pathParams = {};
|
|
@@ -371,6 +386,8 @@ class LockboxClient {
|
|
|
371
386
|
};
|
|
372
387
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
373
388
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
389
|
+
if (this.logger)
|
|
390
|
+
retrier.logger = this.logger;
|
|
374
391
|
const request = yield oci_common_1.composeRequest({
|
|
375
392
|
baseEndpoint: this._endpoint,
|
|
376
393
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -426,11 +443,12 @@ class LockboxClient {
|
|
|
426
443
|
* @param CreateApprovalTemplateRequest
|
|
427
444
|
* @return CreateApprovalTemplateResponse
|
|
428
445
|
* @throws OciError when an error occurs
|
|
429
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
446
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/CreateApprovalTemplate.ts.html |here} to see how to use CreateApprovalTemplate API.
|
|
430
447
|
*/
|
|
431
448
|
createApprovalTemplate(createApprovalTemplateRequest) {
|
|
432
449
|
return __awaiter(this, void 0, void 0, function* () {
|
|
433
|
-
|
|
450
|
+
if (this.logger)
|
|
451
|
+
this.logger.debug("Calling operation LockboxClient#createApprovalTemplate.");
|
|
434
452
|
const operationName = "createApprovalTemplate";
|
|
435
453
|
const apiReferenceLink = "";
|
|
436
454
|
const pathParams = {};
|
|
@@ -442,6 +460,8 @@ class LockboxClient {
|
|
|
442
460
|
};
|
|
443
461
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
444
462
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createApprovalTemplateRequest.retryConfiguration, specRetryConfiguration);
|
|
463
|
+
if (this.logger)
|
|
464
|
+
retrier.logger = this.logger;
|
|
445
465
|
const request = yield oci_common_1.composeRequest({
|
|
446
466
|
baseEndpoint: this._endpoint,
|
|
447
467
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -492,11 +512,12 @@ class LockboxClient {
|
|
|
492
512
|
* @param CreateLockboxRequest
|
|
493
513
|
* @return CreateLockboxResponse
|
|
494
514
|
* @throws OciError when an error occurs
|
|
495
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
515
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/CreateLockbox.ts.html |here} to see how to use CreateLockbox API.
|
|
496
516
|
*/
|
|
497
517
|
createLockbox(createLockboxRequest) {
|
|
498
518
|
return __awaiter(this, void 0, void 0, function* () {
|
|
499
|
-
|
|
519
|
+
if (this.logger)
|
|
520
|
+
this.logger.debug("Calling operation LockboxClient#createLockbox.");
|
|
500
521
|
const operationName = "createLockbox";
|
|
501
522
|
const apiReferenceLink = "";
|
|
502
523
|
const pathParams = {};
|
|
@@ -508,6 +529,8 @@ class LockboxClient {
|
|
|
508
529
|
};
|
|
509
530
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
510
531
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLockboxRequest.retryConfiguration, specRetryConfiguration);
|
|
532
|
+
if (this.logger)
|
|
533
|
+
retrier.logger = this.logger;
|
|
511
534
|
const request = yield oci_common_1.composeRequest({
|
|
512
535
|
baseEndpoint: this._endpoint,
|
|
513
536
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -557,11 +580,12 @@ class LockboxClient {
|
|
|
557
580
|
* @param DeleteApprovalTemplateRequest
|
|
558
581
|
* @return DeleteApprovalTemplateResponse
|
|
559
582
|
* @throws OciError when an error occurs
|
|
560
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
583
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/DeleteApprovalTemplate.ts.html |here} to see how to use DeleteApprovalTemplate API.
|
|
561
584
|
*/
|
|
562
585
|
deleteApprovalTemplate(deleteApprovalTemplateRequest) {
|
|
563
586
|
return __awaiter(this, void 0, void 0, function* () {
|
|
564
|
-
|
|
587
|
+
if (this.logger)
|
|
588
|
+
this.logger.debug("Calling operation LockboxClient#deleteApprovalTemplate.");
|
|
565
589
|
const operationName = "deleteApprovalTemplate";
|
|
566
590
|
const apiReferenceLink = "";
|
|
567
591
|
const pathParams = {
|
|
@@ -575,6 +599,8 @@ class LockboxClient {
|
|
|
575
599
|
};
|
|
576
600
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
577
601
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteApprovalTemplateRequest.retryConfiguration, specRetryConfiguration);
|
|
602
|
+
if (this.logger)
|
|
603
|
+
retrier.logger = this.logger;
|
|
578
604
|
const request = yield oci_common_1.composeRequest({
|
|
579
605
|
baseEndpoint: this._endpoint,
|
|
580
606
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -609,11 +635,12 @@ class LockboxClient {
|
|
|
609
635
|
* @param DeleteLockboxRequest
|
|
610
636
|
* @return DeleteLockboxResponse
|
|
611
637
|
* @throws OciError when an error occurs
|
|
612
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
638
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/DeleteLockbox.ts.html |here} to see how to use DeleteLockbox API.
|
|
613
639
|
*/
|
|
614
640
|
deleteLockbox(deleteLockboxRequest) {
|
|
615
641
|
return __awaiter(this, void 0, void 0, function* () {
|
|
616
|
-
|
|
642
|
+
if (this.logger)
|
|
643
|
+
this.logger.debug("Calling operation LockboxClient#deleteLockbox.");
|
|
617
644
|
const operationName = "deleteLockbox";
|
|
618
645
|
const apiReferenceLink = "";
|
|
619
646
|
const pathParams = {
|
|
@@ -628,6 +655,8 @@ class LockboxClient {
|
|
|
628
655
|
};
|
|
629
656
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
630
657
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLockboxRequest.retryConfiguration, specRetryConfiguration);
|
|
658
|
+
if (this.logger)
|
|
659
|
+
retrier.logger = this.logger;
|
|
631
660
|
const request = yield oci_common_1.composeRequest({
|
|
632
661
|
baseEndpoint: this._endpoint,
|
|
633
662
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -663,11 +692,12 @@ class LockboxClient {
|
|
|
663
692
|
* @param ExportAccessRequestsRequest
|
|
664
693
|
* @return ExportAccessRequestsResponse
|
|
665
694
|
* @throws OciError when an error occurs
|
|
666
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
695
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/ExportAccessRequests.ts.html |here} to see how to use ExportAccessRequests API.
|
|
667
696
|
*/
|
|
668
697
|
exportAccessRequests(exportAccessRequestsRequest) {
|
|
669
698
|
return __awaiter(this, void 0, void 0, function* () {
|
|
670
|
-
|
|
699
|
+
if (this.logger)
|
|
700
|
+
this.logger.debug("Calling operation LockboxClient#exportAccessRequests.");
|
|
671
701
|
const operationName = "exportAccessRequests";
|
|
672
702
|
const apiReferenceLink = "";
|
|
673
703
|
const pathParams = {};
|
|
@@ -689,6 +719,8 @@ class LockboxClient {
|
|
|
689
719
|
};
|
|
690
720
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
691
721
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportAccessRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
722
|
+
if (this.logger)
|
|
723
|
+
retrier.logger = this.logger;
|
|
692
724
|
const request = yield oci_common_1.composeRequest({
|
|
693
725
|
baseEndpoint: this._endpoint,
|
|
694
726
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -728,11 +760,12 @@ class LockboxClient {
|
|
|
728
760
|
* @param GetAccessMaterialsRequest
|
|
729
761
|
* @return GetAccessMaterialsResponse
|
|
730
762
|
* @throws OciError when an error occurs
|
|
731
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
763
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/GetAccessMaterials.ts.html |here} to see how to use GetAccessMaterials API.
|
|
732
764
|
*/
|
|
733
765
|
getAccessMaterials(getAccessMaterialsRequest) {
|
|
734
766
|
return __awaiter(this, void 0, void 0, function* () {
|
|
735
|
-
|
|
767
|
+
if (this.logger)
|
|
768
|
+
this.logger.debug("Calling operation LockboxClient#getAccessMaterials.");
|
|
736
769
|
const operationName = "getAccessMaterials";
|
|
737
770
|
const apiReferenceLink = "";
|
|
738
771
|
const pathParams = {
|
|
@@ -745,6 +778,8 @@ class LockboxClient {
|
|
|
745
778
|
};
|
|
746
779
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
747
780
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAccessMaterialsRequest.retryConfiguration, specRetryConfiguration);
|
|
781
|
+
if (this.logger)
|
|
782
|
+
retrier.logger = this.logger;
|
|
748
783
|
const request = yield oci_common_1.composeRequest({
|
|
749
784
|
baseEndpoint: this._endpoint,
|
|
750
785
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -783,11 +818,12 @@ class LockboxClient {
|
|
|
783
818
|
* @param GetAccessRequestRequest
|
|
784
819
|
* @return GetAccessRequestResponse
|
|
785
820
|
* @throws OciError when an error occurs
|
|
786
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
821
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/GetAccessRequest.ts.html |here} to see how to use GetAccessRequest API.
|
|
787
822
|
*/
|
|
788
823
|
getAccessRequest(getAccessRequestRequest) {
|
|
789
824
|
return __awaiter(this, void 0, void 0, function* () {
|
|
790
|
-
|
|
825
|
+
if (this.logger)
|
|
826
|
+
this.logger.debug("Calling operation LockboxClient#getAccessRequest.");
|
|
791
827
|
const operationName = "getAccessRequest";
|
|
792
828
|
const apiReferenceLink = "";
|
|
793
829
|
const pathParams = {
|
|
@@ -800,6 +836,8 @@ class LockboxClient {
|
|
|
800
836
|
};
|
|
801
837
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
802
838
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
839
|
+
if (this.logger)
|
|
840
|
+
retrier.logger = this.logger;
|
|
803
841
|
const request = yield oci_common_1.composeRequest({
|
|
804
842
|
baseEndpoint: this._endpoint,
|
|
805
843
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -843,11 +881,12 @@ class LockboxClient {
|
|
|
843
881
|
* @param GetApprovalTemplateRequest
|
|
844
882
|
* @return GetApprovalTemplateResponse
|
|
845
883
|
* @throws OciError when an error occurs
|
|
846
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
884
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/GetApprovalTemplate.ts.html |here} to see how to use GetApprovalTemplate API.
|
|
847
885
|
*/
|
|
848
886
|
getApprovalTemplate(getApprovalTemplateRequest) {
|
|
849
887
|
return __awaiter(this, void 0, void 0, function* () {
|
|
850
|
-
|
|
888
|
+
if (this.logger)
|
|
889
|
+
this.logger.debug("Calling operation LockboxClient#getApprovalTemplate.");
|
|
851
890
|
const operationName = "getApprovalTemplate";
|
|
852
891
|
const apiReferenceLink = "";
|
|
853
892
|
const pathParams = {
|
|
@@ -860,6 +899,8 @@ class LockboxClient {
|
|
|
860
899
|
};
|
|
861
900
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
862
901
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getApprovalTemplateRequest.retryConfiguration, specRetryConfiguration);
|
|
902
|
+
if (this.logger)
|
|
903
|
+
retrier.logger = this.logger;
|
|
863
904
|
const request = yield oci_common_1.composeRequest({
|
|
864
905
|
baseEndpoint: this._endpoint,
|
|
865
906
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -903,11 +944,12 @@ class LockboxClient {
|
|
|
903
944
|
* @param GetLockboxRequest
|
|
904
945
|
* @return GetLockboxResponse
|
|
905
946
|
* @throws OciError when an error occurs
|
|
906
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
947
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/GetLockbox.ts.html |here} to see how to use GetLockbox API.
|
|
907
948
|
*/
|
|
908
949
|
getLockbox(getLockboxRequest) {
|
|
909
950
|
return __awaiter(this, void 0, void 0, function* () {
|
|
910
|
-
|
|
951
|
+
if (this.logger)
|
|
952
|
+
this.logger.debug("Calling operation LockboxClient#getLockbox.");
|
|
911
953
|
const operationName = "getLockbox";
|
|
912
954
|
const apiReferenceLink = "";
|
|
913
955
|
const pathParams = {
|
|
@@ -920,6 +962,8 @@ class LockboxClient {
|
|
|
920
962
|
};
|
|
921
963
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
922
964
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLockboxRequest.retryConfiguration, specRetryConfiguration);
|
|
965
|
+
if (this.logger)
|
|
966
|
+
retrier.logger = this.logger;
|
|
923
967
|
const request = yield oci_common_1.composeRequest({
|
|
924
968
|
baseEndpoint: this._endpoint,
|
|
925
969
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -963,11 +1007,12 @@ class LockboxClient {
|
|
|
963
1007
|
* @param GetWorkRequestRequest
|
|
964
1008
|
* @return GetWorkRequestResponse
|
|
965
1009
|
* @throws OciError when an error occurs
|
|
966
|
-
* @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.81.0/lockbox/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
967
1011
|
*/
|
|
968
1012
|
getWorkRequest(getWorkRequestRequest) {
|
|
969
1013
|
return __awaiter(this, void 0, void 0, function* () {
|
|
970
|
-
|
|
1014
|
+
if (this.logger)
|
|
1015
|
+
this.logger.debug("Calling operation LockboxClient#getWorkRequest.");
|
|
971
1016
|
const operationName = "getWorkRequest";
|
|
972
1017
|
const apiReferenceLink = "";
|
|
973
1018
|
const pathParams = {
|
|
@@ -980,6 +1025,8 @@ class LockboxClient {
|
|
|
980
1025
|
};
|
|
981
1026
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
982
1027
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1028
|
+
if (this.logger)
|
|
1029
|
+
retrier.logger = this.logger;
|
|
983
1030
|
const request = yield oci_common_1.composeRequest({
|
|
984
1031
|
baseEndpoint: this._endpoint,
|
|
985
1032
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1028,11 +1075,12 @@ class LockboxClient {
|
|
|
1028
1075
|
* @param HandleAccessRequestRequest
|
|
1029
1076
|
* @return HandleAccessRequestResponse
|
|
1030
1077
|
* @throws OciError when an error occurs
|
|
1031
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1078
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/HandleAccessRequest.ts.html |here} to see how to use HandleAccessRequest API.
|
|
1032
1079
|
*/
|
|
1033
1080
|
handleAccessRequest(handleAccessRequestRequest) {
|
|
1034
1081
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1035
|
-
|
|
1082
|
+
if (this.logger)
|
|
1083
|
+
this.logger.debug("Calling operation LockboxClient#handleAccessRequest.");
|
|
1036
1084
|
const operationName = "handleAccessRequest";
|
|
1037
1085
|
const apiReferenceLink = "";
|
|
1038
1086
|
const pathParams = {
|
|
@@ -1047,6 +1095,8 @@ class LockboxClient {
|
|
|
1047
1095
|
};
|
|
1048
1096
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1049
1097
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, handleAccessRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1098
|
+
if (this.logger)
|
|
1099
|
+
retrier.logger = this.logger;
|
|
1050
1100
|
const request = yield oci_common_1.composeRequest({
|
|
1051
1101
|
baseEndpoint: this._endpoint,
|
|
1052
1102
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1088,11 +1138,12 @@ class LockboxClient {
|
|
|
1088
1138
|
* @param ListAccessRequestsRequest
|
|
1089
1139
|
* @return ListAccessRequestsResponse
|
|
1090
1140
|
* @throws OciError when an error occurs
|
|
1091
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1141
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/ListAccessRequests.ts.html |here} to see how to use ListAccessRequests API.
|
|
1092
1142
|
*/
|
|
1093
1143
|
listAccessRequests(listAccessRequestsRequest) {
|
|
1094
1144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1095
|
-
|
|
1145
|
+
if (this.logger)
|
|
1146
|
+
this.logger.debug("Calling operation LockboxClient#listAccessRequests.");
|
|
1096
1147
|
const operationName = "listAccessRequests";
|
|
1097
1148
|
const apiReferenceLink = "";
|
|
1098
1149
|
const pathParams = {};
|
|
@@ -1117,6 +1168,8 @@ class LockboxClient {
|
|
|
1117
1168
|
};
|
|
1118
1169
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1119
1170
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAccessRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1171
|
+
if (this.logger)
|
|
1172
|
+
retrier.logger = this.logger;
|
|
1120
1173
|
const request = yield oci_common_1.composeRequest({
|
|
1121
1174
|
baseEndpoint: this._endpoint,
|
|
1122
1175
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1161,11 +1214,12 @@ class LockboxClient {
|
|
|
1161
1214
|
* @param ListApprovalTemplatesRequest
|
|
1162
1215
|
* @return ListApprovalTemplatesResponse
|
|
1163
1216
|
* @throws OciError when an error occurs
|
|
1164
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1217
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/ListApprovalTemplates.ts.html |here} to see how to use ListApprovalTemplates API.
|
|
1165
1218
|
*/
|
|
1166
1219
|
listApprovalTemplates(listApprovalTemplatesRequest) {
|
|
1167
1220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1168
|
-
|
|
1221
|
+
if (this.logger)
|
|
1222
|
+
this.logger.debug("Calling operation LockboxClient#listApprovalTemplates.");
|
|
1169
1223
|
const operationName = "listApprovalTemplates";
|
|
1170
1224
|
const apiReferenceLink = "";
|
|
1171
1225
|
const pathParams = {};
|
|
@@ -1185,6 +1239,8 @@ class LockboxClient {
|
|
|
1185
1239
|
};
|
|
1186
1240
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1187
1241
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listApprovalTemplatesRequest.retryConfiguration, specRetryConfiguration);
|
|
1242
|
+
if (this.logger)
|
|
1243
|
+
retrier.logger = this.logger;
|
|
1188
1244
|
const request = yield oci_common_1.composeRequest({
|
|
1189
1245
|
baseEndpoint: this._endpoint,
|
|
1190
1246
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1229,11 +1285,12 @@ class LockboxClient {
|
|
|
1229
1285
|
* @param ListLockboxesRequest
|
|
1230
1286
|
* @return ListLockboxesResponse
|
|
1231
1287
|
* @throws OciError when an error occurs
|
|
1232
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1288
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/ListLockboxes.ts.html |here} to see how to use ListLockboxes API.
|
|
1233
1289
|
*/
|
|
1234
1290
|
listLockboxes(listLockboxesRequest) {
|
|
1235
1291
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1236
|
-
|
|
1292
|
+
if (this.logger)
|
|
1293
|
+
this.logger.debug("Calling operation LockboxClient#listLockboxes.");
|
|
1237
1294
|
const operationName = "listLockboxes";
|
|
1238
1295
|
const apiReferenceLink = "";
|
|
1239
1296
|
const pathParams = {};
|
|
@@ -1256,6 +1313,8 @@ class LockboxClient {
|
|
|
1256
1313
|
};
|
|
1257
1314
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1258
1315
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLockboxesRequest.retryConfiguration, specRetryConfiguration);
|
|
1316
|
+
if (this.logger)
|
|
1317
|
+
retrier.logger = this.logger;
|
|
1259
1318
|
const request = yield oci_common_1.composeRequest({
|
|
1260
1319
|
baseEndpoint: this._endpoint,
|
|
1261
1320
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1300,11 +1359,12 @@ class LockboxClient {
|
|
|
1300
1359
|
* @param ListWorkRequestErrorsRequest
|
|
1301
1360
|
* @return ListWorkRequestErrorsResponse
|
|
1302
1361
|
* @throws OciError when an error occurs
|
|
1303
|
-
* @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.81.0/lockbox/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1304
1363
|
*/
|
|
1305
1364
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1306
1365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1307
|
-
|
|
1366
|
+
if (this.logger)
|
|
1367
|
+
this.logger.debug("Calling operation LockboxClient#listWorkRequestErrors.");
|
|
1308
1368
|
const operationName = "listWorkRequestErrors";
|
|
1309
1369
|
const apiReferenceLink = "";
|
|
1310
1370
|
const pathParams = {
|
|
@@ -1322,6 +1382,8 @@ class LockboxClient {
|
|
|
1322
1382
|
};
|
|
1323
1383
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1324
1384
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1385
|
+
if (this.logger)
|
|
1386
|
+
retrier.logger = this.logger;
|
|
1325
1387
|
const request = yield oci_common_1.composeRequest({
|
|
1326
1388
|
baseEndpoint: this._endpoint,
|
|
1327
1389
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1366,11 +1428,12 @@ class LockboxClient {
|
|
|
1366
1428
|
* @param ListWorkRequestLogsRequest
|
|
1367
1429
|
* @return ListWorkRequestLogsResponse
|
|
1368
1430
|
* @throws OciError when an error occurs
|
|
1369
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1431
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1370
1432
|
*/
|
|
1371
1433
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1372
1434
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1373
|
-
|
|
1435
|
+
if (this.logger)
|
|
1436
|
+
this.logger.debug("Calling operation LockboxClient#listWorkRequestLogs.");
|
|
1374
1437
|
const operationName = "listWorkRequestLogs";
|
|
1375
1438
|
const apiReferenceLink = "";
|
|
1376
1439
|
const pathParams = {
|
|
@@ -1388,6 +1451,8 @@ class LockboxClient {
|
|
|
1388
1451
|
};
|
|
1389
1452
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1390
1453
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1454
|
+
if (this.logger)
|
|
1455
|
+
retrier.logger = this.logger;
|
|
1391
1456
|
const request = yield oci_common_1.composeRequest({
|
|
1392
1457
|
baseEndpoint: this._endpoint,
|
|
1393
1458
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1432,11 +1497,12 @@ class LockboxClient {
|
|
|
1432
1497
|
* @param ListWorkRequestsRequest
|
|
1433
1498
|
* @return ListWorkRequestsResponse
|
|
1434
1499
|
* @throws OciError when an error occurs
|
|
1435
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1500
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1436
1501
|
*/
|
|
1437
1502
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1438
1503
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1439
|
-
|
|
1504
|
+
if (this.logger)
|
|
1505
|
+
this.logger.debug("Calling operation LockboxClient#listWorkRequests.");
|
|
1440
1506
|
const operationName = "listWorkRequests";
|
|
1441
1507
|
const apiReferenceLink = "";
|
|
1442
1508
|
const pathParams = {};
|
|
@@ -1456,6 +1522,8 @@ class LockboxClient {
|
|
|
1456
1522
|
};
|
|
1457
1523
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1458
1524
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1525
|
+
if (this.logger)
|
|
1526
|
+
retrier.logger = this.logger;
|
|
1459
1527
|
const request = yield oci_common_1.composeRequest({
|
|
1460
1528
|
baseEndpoint: this._endpoint,
|
|
1461
1529
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1499,11 +1567,12 @@ class LockboxClient {
|
|
|
1499
1567
|
* @param UpdateApprovalTemplateRequest
|
|
1500
1568
|
* @return UpdateApprovalTemplateResponse
|
|
1501
1569
|
* @throws OciError when an error occurs
|
|
1502
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1570
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/UpdateApprovalTemplate.ts.html |here} to see how to use UpdateApprovalTemplate API.
|
|
1503
1571
|
*/
|
|
1504
1572
|
updateApprovalTemplate(updateApprovalTemplateRequest) {
|
|
1505
1573
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1506
|
-
|
|
1574
|
+
if (this.logger)
|
|
1575
|
+
this.logger.debug("Calling operation LockboxClient#updateApprovalTemplate.");
|
|
1507
1576
|
const operationName = "updateApprovalTemplate";
|
|
1508
1577
|
const apiReferenceLink = "";
|
|
1509
1578
|
const pathParams = {
|
|
@@ -1517,6 +1586,8 @@ class LockboxClient {
|
|
|
1517
1586
|
};
|
|
1518
1587
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1519
1588
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateApprovalTemplateRequest.retryConfiguration, specRetryConfiguration);
|
|
1589
|
+
if (this.logger)
|
|
1590
|
+
retrier.logger = this.logger;
|
|
1520
1591
|
const request = yield oci_common_1.composeRequest({
|
|
1521
1592
|
baseEndpoint: this._endpoint,
|
|
1522
1593
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1561,11 +1632,12 @@ class LockboxClient {
|
|
|
1561
1632
|
* @param UpdateLockboxRequest
|
|
1562
1633
|
* @return UpdateLockboxResponse
|
|
1563
1634
|
* @throws OciError when an error occurs
|
|
1564
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1635
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/lockbox/UpdateLockbox.ts.html |here} to see how to use UpdateLockbox API.
|
|
1565
1636
|
*/
|
|
1566
1637
|
updateLockbox(updateLockboxRequest) {
|
|
1567
1638
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1568
|
-
|
|
1639
|
+
if (this.logger)
|
|
1640
|
+
this.logger.debug("Calling operation LockboxClient#updateLockbox.");
|
|
1569
1641
|
const operationName = "updateLockbox";
|
|
1570
1642
|
const apiReferenceLink = "";
|
|
1571
1643
|
const pathParams = {
|
|
@@ -1579,6 +1651,8 @@ class LockboxClient {
|
|
|
1579
1651
|
};
|
|
1580
1652
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1581
1653
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLockboxRequest.retryConfiguration, specRetryConfiguration);
|
|
1654
|
+
if (this.logger)
|
|
1655
|
+
retrier.logger = this.logger;
|
|
1582
1656
|
const request = yield oci_common_1.composeRequest({
|
|
1583
1657
|
baseEndpoint: this._endpoint,
|
|
1584
1658
|
defaultHeaders: this._defaultHeaders,
|