oci-operatoraccesscontrol 2.78.0 → 2.79.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.
Files changed (27) hide show
  1. package/lib/client.d.ts +23 -27
  2. package/lib/client.js +54 -143
  3. package/lib/client.js.map +1 -1
  4. package/lib/request/approve-access-request-request.d.ts +1 -1
  5. package/lib/request/change-operator-control-assignment-compartment-request.d.ts +1 -1
  6. package/lib/request/change-operator-control-compartment-request.d.ts +1 -1
  7. package/lib/request/create-operator-control-assignment-request.d.ts +1 -1
  8. package/lib/request/create-operator-control-request.d.ts +1 -1
  9. package/lib/request/delete-operator-control-assignment-request.d.ts +1 -1
  10. package/lib/request/delete-operator-control-request.d.ts +1 -1
  11. package/lib/request/get-access-request-request.d.ts +1 -1
  12. package/lib/request/get-operator-action-request.d.ts +1 -1
  13. package/lib/request/get-operator-control-assignment-request.d.ts +1 -1
  14. package/lib/request/get-operator-control-request.d.ts +1 -1
  15. package/lib/request/interaction-request-request.d.ts +1 -1
  16. package/lib/request/list-access-request-histories-request.d.ts +1 -1
  17. package/lib/request/list-access-requests-request.d.ts +1 -1
  18. package/lib/request/list-interactions-request.d.ts +1 -1
  19. package/lib/request/list-operator-actions-request.d.ts +1 -1
  20. package/lib/request/list-operator-control-assignments-request.d.ts +1 -1
  21. package/lib/request/list-operator-controls-request.d.ts +1 -1
  22. package/lib/request/reject-access-request-request.d.ts +1 -1
  23. package/lib/request/review-access-request-request.d.ts +1 -1
  24. package/lib/request/revoke-access-request-request.d.ts +1 -1
  25. package/lib/request/update-operator-control-assignment-request.d.ts +1 -1
  26. package/lib/request/update-operator-control-request.d.ts +1 -1
  27. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -122,11 +122,7 @@ class AccessRequestsClient {
122
122
  set endpoint(endpoint) {
123
123
  this._endpoint = endpoint;
124
124
  this._endpoint = this._endpoint + "/20200630";
125
- if (this.logger)
126
- this.logger.info(`AccessRequestsClient endpoint set to ${this._endpoint}`);
127
- }
128
- get logger() {
129
- return common.LOG.logger;
125
+ oci_common_1.logger.info(`AccessRequestsClient endpoint set to ${this._endpoint}`);
130
126
  }
131
127
  /**
132
128
  * Determines whether realm specific endpoint should be used or not.
@@ -135,8 +131,7 @@ class AccessRequestsClient {
135
131
  */
136
132
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
137
133
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
138
- if (this.logger)
139
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
134
+ oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
140
135
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
141
136
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AccessRequestsClient.serviceEndpointTemplate, this._region, AccessRequestsClient.endpointServiceName);
142
137
  }
@@ -203,12 +198,11 @@ class AccessRequestsClient {
203
198
  * @param ApproveAccessRequestRequest
204
199
  * @return ApproveAccessRequestResponse
205
200
  * @throws OciError when an error occurs
206
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/ApproveAccessRequest.ts.html |here} to see how to use ApproveAccessRequest API.
201
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/ApproveAccessRequest.ts.html |here} to see how to use ApproveAccessRequest API.
207
202
  */
208
203
  approveAccessRequest(approveAccessRequestRequest) {
209
204
  return __awaiter(this, void 0, void 0, function* () {
210
- if (this.logger)
211
- this.logger.debug("Calling operation AccessRequestsClient#approveAccessRequest.");
205
+ oci_common_1.logger.debug("Calling operation AccessRequestsClient#approveAccessRequest.");
212
206
  const operationName = "approveAccessRequest";
213
207
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/ApproveAccessRequest";
214
208
  const pathParams = {
@@ -223,8 +217,6 @@ class AccessRequestsClient {
223
217
  };
224
218
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
225
219
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, approveAccessRequestRequest.retryConfiguration, specRetryConfiguration);
226
- if (this.logger)
227
- retrier.logger = this.logger;
228
220
  const request = yield oci_common_1.composeRequest({
229
221
  baseEndpoint: this._endpoint,
230
222
  defaultHeaders: this._defaultHeaders,
@@ -265,12 +257,11 @@ class AccessRequestsClient {
265
257
  * @param GetAccessRequestRequest
266
258
  * @return GetAccessRequestResponse
267
259
  * @throws OciError when an error occurs
268
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/GetAccessRequest.ts.html |here} to see how to use GetAccessRequest API.
260
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/GetAccessRequest.ts.html |here} to see how to use GetAccessRequest API.
269
261
  */
270
262
  getAccessRequest(getAccessRequestRequest) {
271
263
  return __awaiter(this, void 0, void 0, function* () {
272
- if (this.logger)
273
- this.logger.debug("Calling operation AccessRequestsClient#getAccessRequest.");
264
+ oci_common_1.logger.debug("Calling operation AccessRequestsClient#getAccessRequest.");
274
265
  const operationName = "getAccessRequest";
275
266
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/GetAccessRequest";
276
267
  const pathParams = {
@@ -283,8 +274,6 @@ class AccessRequestsClient {
283
274
  };
284
275
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
285
276
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAccessRequestRequest.retryConfiguration, specRetryConfiguration);
286
- if (this.logger)
287
- retrier.logger = this.logger;
288
277
  const request = yield oci_common_1.composeRequest({
289
278
  baseEndpoint: this._endpoint,
290
279
  defaultHeaders: this._defaultHeaders,
@@ -324,12 +313,11 @@ class AccessRequestsClient {
324
313
  * @param InteractionRequestRequest
325
314
  * @return InteractionRequestResponse
326
315
  * @throws OciError when an error occurs
327
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/InteractionRequest.ts.html |here} to see how to use InteractionRequest API.
316
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/InteractionRequest.ts.html |here} to see how to use InteractionRequest API.
328
317
  */
329
318
  interactionRequest(interactionRequestRequest) {
330
319
  return __awaiter(this, void 0, void 0, function* () {
331
- if (this.logger)
332
- this.logger.debug("Calling operation AccessRequestsClient#interactionRequest.");
320
+ oci_common_1.logger.debug("Calling operation AccessRequestsClient#interactionRequest.");
333
321
  const operationName = "interactionRequest";
334
322
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/InteractionRequest";
335
323
  const pathParams = {
@@ -344,8 +332,6 @@ class AccessRequestsClient {
344
332
  };
345
333
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
346
334
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, interactionRequestRequest.retryConfiguration, specRetryConfiguration);
347
- if (this.logger)
348
- retrier.logger = this.logger;
349
335
  const request = yield oci_common_1.composeRequest({
350
336
  baseEndpoint: this._endpoint,
351
337
  defaultHeaders: this._defaultHeaders,
@@ -391,12 +377,11 @@ class AccessRequestsClient {
391
377
  * @param ListAccessRequestHistoriesRequest
392
378
  * @return ListAccessRequestHistoriesResponse
393
379
  * @throws OciError when an error occurs
394
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/ListAccessRequestHistories.ts.html |here} to see how to use ListAccessRequestHistories API.
380
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/ListAccessRequestHistories.ts.html |here} to see how to use ListAccessRequestHistories API.
395
381
  */
396
382
  listAccessRequestHistories(listAccessRequestHistoriesRequest) {
397
383
  return __awaiter(this, void 0, void 0, function* () {
398
- if (this.logger)
399
- this.logger.debug("Calling operation AccessRequestsClient#listAccessRequestHistories.");
384
+ oci_common_1.logger.debug("Calling operation AccessRequestsClient#listAccessRequestHistories.");
400
385
  const operationName = "listAccessRequestHistories";
401
386
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/ListAccessRequestHistories";
402
387
  const pathParams = {
@@ -412,8 +397,6 @@ class AccessRequestsClient {
412
397
  };
413
398
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
414
399
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAccessRequestHistoriesRequest.retryConfiguration, specRetryConfiguration);
415
- if (this.logger)
416
- retrier.logger = this.logger;
417
400
  const request = yield oci_common_1.composeRequest({
418
401
  baseEndpoint: this._endpoint,
419
402
  defaultHeaders: this._defaultHeaders,
@@ -458,12 +441,11 @@ class AccessRequestsClient {
458
441
  * @param ListAccessRequestsRequest
459
442
  * @return ListAccessRequestsResponse
460
443
  * @throws OciError when an error occurs
461
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/ListAccessRequests.ts.html |here} to see how to use ListAccessRequests API.
444
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/ListAccessRequests.ts.html |here} to see how to use ListAccessRequests API.
462
445
  */
463
446
  listAccessRequests(listAccessRequestsRequest) {
464
447
  return __awaiter(this, void 0, void 0, function* () {
465
- if (this.logger)
466
- this.logger.debug("Calling operation AccessRequestsClient#listAccessRequests.");
448
+ oci_common_1.logger.debug("Calling operation AccessRequestsClient#listAccessRequests.");
467
449
  const operationName = "listAccessRequests";
468
450
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/ListAccessRequests";
469
451
  const pathParams = {};
@@ -485,8 +467,6 @@ class AccessRequestsClient {
485
467
  };
486
468
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
487
469
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAccessRequestsRequest.retryConfiguration, specRetryConfiguration);
488
- if (this.logger)
489
- retrier.logger = this.logger;
490
470
  const request = yield oci_common_1.composeRequest({
491
471
  baseEndpoint: this._endpoint,
492
472
  defaultHeaders: this._defaultHeaders,
@@ -531,12 +511,11 @@ class AccessRequestsClient {
531
511
  * @param ListInteractionsRequest
532
512
  * @return ListInteractionsResponse
533
513
  * @throws OciError when an error occurs
534
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/ListInteractions.ts.html |here} to see how to use ListInteractions API.
514
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/ListInteractions.ts.html |here} to see how to use ListInteractions API.
535
515
  */
536
516
  listInteractions(listInteractionsRequest) {
537
517
  return __awaiter(this, void 0, void 0, function* () {
538
- if (this.logger)
539
- this.logger.debug("Calling operation AccessRequestsClient#listInteractions.");
518
+ oci_common_1.logger.debug("Calling operation AccessRequestsClient#listInteractions.");
540
519
  const operationName = "listInteractions";
541
520
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/ListInteractions";
542
521
  const pathParams = {
@@ -552,8 +531,6 @@ class AccessRequestsClient {
552
531
  };
553
532
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
554
533
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listInteractionsRequest.retryConfiguration, specRetryConfiguration);
555
- if (this.logger)
556
- retrier.logger = this.logger;
557
534
  const request = yield oci_common_1.composeRequest({
558
535
  baseEndpoint: this._endpoint,
559
536
  defaultHeaders: this._defaultHeaders,
@@ -598,12 +575,11 @@ class AccessRequestsClient {
598
575
  * @param RejectAccessRequestRequest
599
576
  * @return RejectAccessRequestResponse
600
577
  * @throws OciError when an error occurs
601
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/RejectAccessRequest.ts.html |here} to see how to use RejectAccessRequest API.
578
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/RejectAccessRequest.ts.html |here} to see how to use RejectAccessRequest API.
602
579
  */
603
580
  rejectAccessRequest(rejectAccessRequestRequest) {
604
581
  return __awaiter(this, void 0, void 0, function* () {
605
- if (this.logger)
606
- this.logger.debug("Calling operation AccessRequestsClient#rejectAccessRequest.");
582
+ oci_common_1.logger.debug("Calling operation AccessRequestsClient#rejectAccessRequest.");
607
583
  const operationName = "rejectAccessRequest";
608
584
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/RejectAccessRequest";
609
585
  const pathParams = {
@@ -618,8 +594,6 @@ class AccessRequestsClient {
618
594
  };
619
595
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
620
596
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, rejectAccessRequestRequest.retryConfiguration, specRetryConfiguration);
621
- if (this.logger)
622
- retrier.logger = this.logger;
623
597
  const request = yield oci_common_1.composeRequest({
624
598
  baseEndpoint: this._endpoint,
625
599
  defaultHeaders: this._defaultHeaders,
@@ -661,12 +635,11 @@ class AccessRequestsClient {
661
635
  * @param ReviewAccessRequestRequest
662
636
  * @return ReviewAccessRequestResponse
663
637
  * @throws OciError when an error occurs
664
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/ReviewAccessRequest.ts.html |here} to see how to use ReviewAccessRequest API.
638
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/ReviewAccessRequest.ts.html |here} to see how to use ReviewAccessRequest API.
665
639
  */
666
640
  reviewAccessRequest(reviewAccessRequestRequest) {
667
641
  return __awaiter(this, void 0, void 0, function* () {
668
- if (this.logger)
669
- this.logger.debug("Calling operation AccessRequestsClient#reviewAccessRequest.");
642
+ oci_common_1.logger.debug("Calling operation AccessRequestsClient#reviewAccessRequest.");
670
643
  const operationName = "reviewAccessRequest";
671
644
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/ReviewAccessRequest";
672
645
  const pathParams = {
@@ -681,8 +654,6 @@ class AccessRequestsClient {
681
654
  };
682
655
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
683
656
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, reviewAccessRequestRequest.retryConfiguration, specRetryConfiguration);
684
- if (this.logger)
685
- retrier.logger = this.logger;
686
657
  const request = yield oci_common_1.composeRequest({
687
658
  baseEndpoint: this._endpoint,
688
659
  defaultHeaders: this._defaultHeaders,
@@ -728,12 +699,11 @@ class AccessRequestsClient {
728
699
  * @param RevokeAccessRequestRequest
729
700
  * @return RevokeAccessRequestResponse
730
701
  * @throws OciError when an error occurs
731
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/RevokeAccessRequest.ts.html |here} to see how to use RevokeAccessRequest API.
702
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/RevokeAccessRequest.ts.html |here} to see how to use RevokeAccessRequest API.
732
703
  */
733
704
  revokeAccessRequest(revokeAccessRequestRequest) {
734
705
  return __awaiter(this, void 0, void 0, function* () {
735
- if (this.logger)
736
- this.logger.debug("Calling operation AccessRequestsClient#revokeAccessRequest.");
706
+ oci_common_1.logger.debug("Calling operation AccessRequestsClient#revokeAccessRequest.");
737
707
  const operationName = "revokeAccessRequest";
738
708
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/AccessRequest/RevokeAccessRequest";
739
709
  const pathParams = {
@@ -748,8 +718,6 @@ class AccessRequestsClient {
748
718
  };
749
719
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
750
720
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, revokeAccessRequestRequest.retryConfiguration, specRetryConfiguration);
751
- if (this.logger)
752
- retrier.logger = this.logger;
753
721
  const request = yield oci_common_1.composeRequest({
754
722
  baseEndpoint: this._endpoint,
755
723
  defaultHeaders: this._defaultHeaders,
@@ -855,11 +823,7 @@ class OperatorActionsClient {
855
823
  set endpoint(endpoint) {
856
824
  this._endpoint = endpoint;
857
825
  this._endpoint = this._endpoint + "/20200630";
858
- if (this.logger)
859
- this.logger.info(`OperatorActionsClient endpoint set to ${this._endpoint}`);
860
- }
861
- get logger() {
862
- return common.LOG.logger;
826
+ oci_common_1.logger.info(`OperatorActionsClient endpoint set to ${this._endpoint}`);
863
827
  }
864
828
  /**
865
829
  * Determines whether realm specific endpoint should be used or not.
@@ -868,8 +832,7 @@ class OperatorActionsClient {
868
832
  */
869
833
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
870
834
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
871
- if (this.logger)
872
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
835
+ oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
873
836
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
874
837
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OperatorActionsClient.serviceEndpointTemplate, this._region, OperatorActionsClient.endpointServiceName);
875
838
  }
@@ -914,12 +877,11 @@ class OperatorActionsClient {
914
877
  * @param GetOperatorActionRequest
915
878
  * @return GetOperatorActionResponse
916
879
  * @throws OciError when an error occurs
917
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/GetOperatorAction.ts.html |here} to see how to use GetOperatorAction API.
880
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/GetOperatorAction.ts.html |here} to see how to use GetOperatorAction API.
918
881
  */
919
882
  getOperatorAction(getOperatorActionRequest) {
920
883
  return __awaiter(this, void 0, void 0, function* () {
921
- if (this.logger)
922
- this.logger.debug("Calling operation OperatorActionsClient#getOperatorAction.");
884
+ oci_common_1.logger.debug("Calling operation OperatorActionsClient#getOperatorAction.");
923
885
  const operationName = "getOperatorAction";
924
886
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorAction/GetOperatorAction";
925
887
  const pathParams = {
@@ -932,8 +894,6 @@ class OperatorActionsClient {
932
894
  };
933
895
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
934
896
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOperatorActionRequest.retryConfiguration, specRetryConfiguration);
935
- if (this.logger)
936
- retrier.logger = this.logger;
937
897
  const request = yield oci_common_1.composeRequest({
938
898
  baseEndpoint: this._endpoint,
939
899
  defaultHeaders: this._defaultHeaders,
@@ -973,12 +933,11 @@ class OperatorActionsClient {
973
933
  * @param ListOperatorActionsRequest
974
934
  * @return ListOperatorActionsResponse
975
935
  * @throws OciError when an error occurs
976
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/ListOperatorActions.ts.html |here} to see how to use ListOperatorActions API.
936
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/ListOperatorActions.ts.html |here} to see how to use ListOperatorActions API.
977
937
  */
978
938
  listOperatorActions(listOperatorActionsRequest) {
979
939
  return __awaiter(this, void 0, void 0, function* () {
980
- if (this.logger)
981
- this.logger.debug("Calling operation OperatorActionsClient#listOperatorActions.");
940
+ oci_common_1.logger.debug("Calling operation OperatorActionsClient#listOperatorActions.");
982
941
  const operationName = "listOperatorActions";
983
942
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorAction/ListOperatorActions";
984
943
  const pathParams = {};
@@ -998,8 +957,6 @@ class OperatorActionsClient {
998
957
  };
999
958
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1000
959
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOperatorActionsRequest.retryConfiguration, specRetryConfiguration);
1001
- if (this.logger)
1002
- retrier.logger = this.logger;
1003
960
  const request = yield oci_common_1.composeRequest({
1004
961
  baseEndpoint: this._endpoint,
1005
962
  defaultHeaders: this._defaultHeaders,
@@ -1108,11 +1065,7 @@ class OperatorControlClient {
1108
1065
  set endpoint(endpoint) {
1109
1066
  this._endpoint = endpoint;
1110
1067
  this._endpoint = this._endpoint + "/20200630";
1111
- if (this.logger)
1112
- this.logger.info(`OperatorControlClient endpoint set to ${this._endpoint}`);
1113
- }
1114
- get logger() {
1115
- return common.LOG.logger;
1068
+ oci_common_1.logger.info(`OperatorControlClient endpoint set to ${this._endpoint}`);
1116
1069
  }
1117
1070
  /**
1118
1071
  * Determines whether realm specific endpoint should be used or not.
@@ -1121,8 +1074,7 @@ class OperatorControlClient {
1121
1074
  */
1122
1075
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
1123
1076
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
1124
- if (this.logger)
1125
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1077
+ oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1126
1078
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
1127
1079
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OperatorControlClient.serviceEndpointTemplate, this._region, OperatorControlClient.endpointServiceName);
1128
1080
  }
@@ -1189,12 +1141,11 @@ class OperatorControlClient {
1189
1141
  * @param ChangeOperatorControlCompartmentRequest
1190
1142
  * @return ChangeOperatorControlCompartmentResponse
1191
1143
  * @throws OciError when an error occurs
1192
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/ChangeOperatorControlCompartment.ts.html |here} to see how to use ChangeOperatorControlCompartment API.
1144
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/ChangeOperatorControlCompartment.ts.html |here} to see how to use ChangeOperatorControlCompartment API.
1193
1145
  */
1194
1146
  changeOperatorControlCompartment(changeOperatorControlCompartmentRequest) {
1195
1147
  return __awaiter(this, void 0, void 0, function* () {
1196
- if (this.logger)
1197
- this.logger.debug("Calling operation OperatorControlClient#changeOperatorControlCompartment.");
1148
+ oci_common_1.logger.debug("Calling operation OperatorControlClient#changeOperatorControlCompartment.");
1198
1149
  const operationName = "changeOperatorControlCompartment";
1199
1150
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControl/ChangeOperatorControlCompartment";
1200
1151
  const pathParams = {
@@ -1209,8 +1160,6 @@ class OperatorControlClient {
1209
1160
  };
1210
1161
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1211
1162
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOperatorControlCompartmentRequest.retryConfiguration, specRetryConfiguration);
1212
- if (this.logger)
1213
- retrier.logger = this.logger;
1214
1163
  const request = yield oci_common_1.composeRequest({
1215
1164
  baseEndpoint: this._endpoint,
1216
1165
  defaultHeaders: this._defaultHeaders,
@@ -1247,12 +1196,11 @@ class OperatorControlClient {
1247
1196
  * @param CreateOperatorControlRequest
1248
1197
  * @return CreateOperatorControlResponse
1249
1198
  * @throws OciError when an error occurs
1250
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/CreateOperatorControl.ts.html |here} to see how to use CreateOperatorControl API.
1199
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/CreateOperatorControl.ts.html |here} to see how to use CreateOperatorControl API.
1251
1200
  */
1252
1201
  createOperatorControl(createOperatorControlRequest) {
1253
1202
  return __awaiter(this, void 0, void 0, function* () {
1254
- if (this.logger)
1255
- this.logger.debug("Calling operation OperatorControlClient#createOperatorControl.");
1203
+ oci_common_1.logger.debug("Calling operation OperatorControlClient#createOperatorControl.");
1256
1204
  const operationName = "createOperatorControl";
1257
1205
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControl/CreateOperatorControl";
1258
1206
  const pathParams = {};
@@ -1264,8 +1212,6 @@ class OperatorControlClient {
1264
1212
  };
1265
1213
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1266
1214
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOperatorControlRequest.retryConfiguration, specRetryConfiguration);
1267
- if (this.logger)
1268
- retrier.logger = this.logger;
1269
1215
  const request = yield oci_common_1.composeRequest({
1270
1216
  baseEndpoint: this._endpoint,
1271
1217
  defaultHeaders: this._defaultHeaders,
@@ -1315,12 +1261,11 @@ class OperatorControlClient {
1315
1261
  * @param DeleteOperatorControlRequest
1316
1262
  * @return DeleteOperatorControlResponse
1317
1263
  * @throws OciError when an error occurs
1318
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/DeleteOperatorControl.ts.html |here} to see how to use DeleteOperatorControl API.
1264
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/DeleteOperatorControl.ts.html |here} to see how to use DeleteOperatorControl API.
1319
1265
  */
1320
1266
  deleteOperatorControl(deleteOperatorControlRequest) {
1321
1267
  return __awaiter(this, void 0, void 0, function* () {
1322
- if (this.logger)
1323
- this.logger.debug("Calling operation OperatorControlClient#deleteOperatorControl.");
1268
+ oci_common_1.logger.debug("Calling operation OperatorControlClient#deleteOperatorControl.");
1324
1269
  const operationName = "deleteOperatorControl";
1325
1270
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControl/DeleteOperatorControl";
1326
1271
  const pathParams = {
@@ -1336,8 +1281,6 @@ class OperatorControlClient {
1336
1281
  };
1337
1282
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1338
1283
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOperatorControlRequest.retryConfiguration, specRetryConfiguration);
1339
- if (this.logger)
1340
- retrier.logger = this.logger;
1341
1284
  const request = yield oci_common_1.composeRequest({
1342
1285
  baseEndpoint: this._endpoint,
1343
1286
  defaultHeaders: this._defaultHeaders,
@@ -1372,12 +1315,11 @@ class OperatorControlClient {
1372
1315
  * @param GetOperatorControlRequest
1373
1316
  * @return GetOperatorControlResponse
1374
1317
  * @throws OciError when an error occurs
1375
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/GetOperatorControl.ts.html |here} to see how to use GetOperatorControl API.
1318
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/GetOperatorControl.ts.html |here} to see how to use GetOperatorControl API.
1376
1319
  */
1377
1320
  getOperatorControl(getOperatorControlRequest) {
1378
1321
  return __awaiter(this, void 0, void 0, function* () {
1379
- if (this.logger)
1380
- this.logger.debug("Calling operation OperatorControlClient#getOperatorControl.");
1322
+ oci_common_1.logger.debug("Calling operation OperatorControlClient#getOperatorControl.");
1381
1323
  const operationName = "getOperatorControl";
1382
1324
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControl/GetOperatorControl";
1383
1325
  const pathParams = {
@@ -1390,8 +1332,6 @@ class OperatorControlClient {
1390
1332
  };
1391
1333
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1392
1334
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOperatorControlRequest.retryConfiguration, specRetryConfiguration);
1393
- if (this.logger)
1394
- retrier.logger = this.logger;
1395
1335
  const request = yield oci_common_1.composeRequest({
1396
1336
  baseEndpoint: this._endpoint,
1397
1337
  defaultHeaders: this._defaultHeaders,
@@ -1436,12 +1376,11 @@ class OperatorControlClient {
1436
1376
  * @param ListOperatorControlsRequest
1437
1377
  * @return ListOperatorControlsResponse
1438
1378
  * @throws OciError when an error occurs
1439
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/ListOperatorControls.ts.html |here} to see how to use ListOperatorControls API.
1379
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/ListOperatorControls.ts.html |here} to see how to use ListOperatorControls API.
1440
1380
  */
1441
1381
  listOperatorControls(listOperatorControlsRequest) {
1442
1382
  return __awaiter(this, void 0, void 0, function* () {
1443
- if (this.logger)
1444
- this.logger.debug("Calling operation OperatorControlClient#listOperatorControls.");
1383
+ oci_common_1.logger.debug("Calling operation OperatorControlClient#listOperatorControls.");
1445
1384
  const operationName = "listOperatorControls";
1446
1385
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControl/ListOperatorControls";
1447
1386
  const pathParams = {};
@@ -1461,8 +1400,6 @@ class OperatorControlClient {
1461
1400
  };
1462
1401
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1463
1402
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOperatorControlsRequest.retryConfiguration, specRetryConfiguration);
1464
- if (this.logger)
1465
- retrier.logger = this.logger;
1466
1403
  const request = yield oci_common_1.composeRequest({
1467
1404
  baseEndpoint: this._endpoint,
1468
1405
  defaultHeaders: this._defaultHeaders,
@@ -1507,12 +1444,11 @@ class OperatorControlClient {
1507
1444
  * @param UpdateOperatorControlRequest
1508
1445
  * @return UpdateOperatorControlResponse
1509
1446
  * @throws OciError when an error occurs
1510
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/UpdateOperatorControl.ts.html |here} to see how to use UpdateOperatorControl API.
1447
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/UpdateOperatorControl.ts.html |here} to see how to use UpdateOperatorControl API.
1511
1448
  */
1512
1449
  updateOperatorControl(updateOperatorControlRequest) {
1513
1450
  return __awaiter(this, void 0, void 0, function* () {
1514
- if (this.logger)
1515
- this.logger.debug("Calling operation OperatorControlClient#updateOperatorControl.");
1451
+ oci_common_1.logger.debug("Calling operation OperatorControlClient#updateOperatorControl.");
1516
1452
  const operationName = "updateOperatorControl";
1517
1453
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControl/UpdateOperatorControl";
1518
1454
  const pathParams = {
@@ -1526,8 +1462,6 @@ class OperatorControlClient {
1526
1462
  };
1527
1463
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1528
1464
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOperatorControlRequest.retryConfiguration, specRetryConfiguration);
1529
- if (this.logger)
1530
- retrier.logger = this.logger;
1531
1465
  const request = yield oci_common_1.composeRequest({
1532
1466
  baseEndpoint: this._endpoint,
1533
1467
  defaultHeaders: this._defaultHeaders,
@@ -1637,11 +1571,7 @@ class OperatorControlAssignmentClient {
1637
1571
  set endpoint(endpoint) {
1638
1572
  this._endpoint = endpoint;
1639
1573
  this._endpoint = this._endpoint + "/20200630";
1640
- if (this.logger)
1641
- this.logger.info(`OperatorControlAssignmentClient endpoint set to ${this._endpoint}`);
1642
- }
1643
- get logger() {
1644
- return common.LOG.logger;
1574
+ oci_common_1.logger.info(`OperatorControlAssignmentClient endpoint set to ${this._endpoint}`);
1645
1575
  }
1646
1576
  /**
1647
1577
  * Determines whether realm specific endpoint should be used or not.
@@ -1650,8 +1580,7 @@ class OperatorControlAssignmentClient {
1650
1580
  */
1651
1581
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
1652
1582
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
1653
- if (this.logger)
1654
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1583
+ oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1655
1584
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
1656
1585
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OperatorControlAssignmentClient.serviceEndpointTemplate, this._region, OperatorControlAssignmentClient.endpointServiceName);
1657
1586
  }
@@ -1718,12 +1647,11 @@ class OperatorControlAssignmentClient {
1718
1647
  * @param ChangeOperatorControlAssignmentCompartmentRequest
1719
1648
  * @return ChangeOperatorControlAssignmentCompartmentResponse
1720
1649
  * @throws OciError when an error occurs
1721
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/ChangeOperatorControlAssignmentCompartment.ts.html |here} to see how to use ChangeOperatorControlAssignmentCompartment API.
1650
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/ChangeOperatorControlAssignmentCompartment.ts.html |here} to see how to use ChangeOperatorControlAssignmentCompartment API.
1722
1651
  */
1723
1652
  changeOperatorControlAssignmentCompartment(changeOperatorControlAssignmentCompartmentRequest) {
1724
1653
  return __awaiter(this, void 0, void 0, function* () {
1725
- if (this.logger)
1726
- this.logger.debug("Calling operation OperatorControlAssignmentClient#changeOperatorControlAssignmentCompartment.");
1654
+ oci_common_1.logger.debug("Calling operation OperatorControlAssignmentClient#changeOperatorControlAssignmentCompartment.");
1727
1655
  const operationName = "changeOperatorControlAssignmentCompartment";
1728
1656
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControlAssignment/ChangeOperatorControlAssignmentCompartment";
1729
1657
  const pathParams = {
@@ -1738,8 +1666,6 @@ class OperatorControlAssignmentClient {
1738
1666
  };
1739
1667
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1740
1668
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOperatorControlAssignmentCompartmentRequest.retryConfiguration, specRetryConfiguration);
1741
- if (this.logger)
1742
- retrier.logger = this.logger;
1743
1669
  const request = yield oci_common_1.composeRequest({
1744
1670
  baseEndpoint: this._endpoint,
1745
1671
  defaultHeaders: this._defaultHeaders,
@@ -1775,12 +1701,11 @@ class OperatorControlAssignmentClient {
1775
1701
  * @param CreateOperatorControlAssignmentRequest
1776
1702
  * @return CreateOperatorControlAssignmentResponse
1777
1703
  * @throws OciError when an error occurs
1778
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/CreateOperatorControlAssignment.ts.html |here} to see how to use CreateOperatorControlAssignment API.
1704
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/CreateOperatorControlAssignment.ts.html |here} to see how to use CreateOperatorControlAssignment API.
1779
1705
  */
1780
1706
  createOperatorControlAssignment(createOperatorControlAssignmentRequest) {
1781
1707
  return __awaiter(this, void 0, void 0, function* () {
1782
- if (this.logger)
1783
- this.logger.debug("Calling operation OperatorControlAssignmentClient#createOperatorControlAssignment.");
1708
+ oci_common_1.logger.debug("Calling operation OperatorControlAssignmentClient#createOperatorControlAssignment.");
1784
1709
  const operationName = "createOperatorControlAssignment";
1785
1710
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControlAssignment/CreateOperatorControlAssignment";
1786
1711
  const pathParams = {};
@@ -1792,8 +1717,6 @@ class OperatorControlAssignmentClient {
1792
1717
  };
1793
1718
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1794
1719
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOperatorControlAssignmentRequest.retryConfiguration, specRetryConfiguration);
1795
- if (this.logger)
1796
- retrier.logger = this.logger;
1797
1720
  const request = yield oci_common_1.composeRequest({
1798
1721
  baseEndpoint: this._endpoint,
1799
1722
  defaultHeaders: this._defaultHeaders,
@@ -1843,12 +1766,11 @@ class OperatorControlAssignmentClient {
1843
1766
  * @param DeleteOperatorControlAssignmentRequest
1844
1767
  * @return DeleteOperatorControlAssignmentResponse
1845
1768
  * @throws OciError when an error occurs
1846
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/DeleteOperatorControlAssignment.ts.html |here} to see how to use DeleteOperatorControlAssignment API.
1769
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/DeleteOperatorControlAssignment.ts.html |here} to see how to use DeleteOperatorControlAssignment API.
1847
1770
  */
1848
1771
  deleteOperatorControlAssignment(deleteOperatorControlAssignmentRequest) {
1849
1772
  return __awaiter(this, void 0, void 0, function* () {
1850
- if (this.logger)
1851
- this.logger.debug("Calling operation OperatorControlAssignmentClient#deleteOperatorControlAssignment.");
1773
+ oci_common_1.logger.debug("Calling operation OperatorControlAssignmentClient#deleteOperatorControlAssignment.");
1852
1774
  const operationName = "deleteOperatorControlAssignment";
1853
1775
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControlAssignment/DeleteOperatorControlAssignment";
1854
1776
  const pathParams = {
@@ -1864,8 +1786,6 @@ class OperatorControlAssignmentClient {
1864
1786
  };
1865
1787
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1866
1788
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOperatorControlAssignmentRequest.retryConfiguration, specRetryConfiguration);
1867
- if (this.logger)
1868
- retrier.logger = this.logger;
1869
1789
  const request = yield oci_common_1.composeRequest({
1870
1790
  baseEndpoint: this._endpoint,
1871
1791
  defaultHeaders: this._defaultHeaders,
@@ -1900,12 +1820,11 @@ class OperatorControlAssignmentClient {
1900
1820
  * @param GetOperatorControlAssignmentRequest
1901
1821
  * @return GetOperatorControlAssignmentResponse
1902
1822
  * @throws OciError when an error occurs
1903
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/GetOperatorControlAssignment.ts.html |here} to see how to use GetOperatorControlAssignment API.
1823
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/GetOperatorControlAssignment.ts.html |here} to see how to use GetOperatorControlAssignment API.
1904
1824
  */
1905
1825
  getOperatorControlAssignment(getOperatorControlAssignmentRequest) {
1906
1826
  return __awaiter(this, void 0, void 0, function* () {
1907
- if (this.logger)
1908
- this.logger.debug("Calling operation OperatorControlAssignmentClient#getOperatorControlAssignment.");
1827
+ oci_common_1.logger.debug("Calling operation OperatorControlAssignmentClient#getOperatorControlAssignment.");
1909
1828
  const operationName = "getOperatorControlAssignment";
1910
1829
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControlAssignment/GetOperatorControlAssignment";
1911
1830
  const pathParams = {
@@ -1918,8 +1837,6 @@ class OperatorControlAssignmentClient {
1918
1837
  };
1919
1838
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1920
1839
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOperatorControlAssignmentRequest.retryConfiguration, specRetryConfiguration);
1921
- if (this.logger)
1922
- retrier.logger = this.logger;
1923
1840
  const request = yield oci_common_1.composeRequest({
1924
1841
  baseEndpoint: this._endpoint,
1925
1842
  defaultHeaders: this._defaultHeaders,
@@ -1963,12 +1880,11 @@ class OperatorControlAssignmentClient {
1963
1880
  * @param ListOperatorControlAssignmentsRequest
1964
1881
  * @return ListOperatorControlAssignmentsResponse
1965
1882
  * @throws OciError when an error occurs
1966
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/ListOperatorControlAssignments.ts.html |here} to see how to use ListOperatorControlAssignments API.
1883
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/ListOperatorControlAssignments.ts.html |here} to see how to use ListOperatorControlAssignments API.
1967
1884
  */
1968
1885
  listOperatorControlAssignments(listOperatorControlAssignmentsRequest) {
1969
1886
  return __awaiter(this, void 0, void 0, function* () {
1970
- if (this.logger)
1971
- this.logger.debug("Calling operation OperatorControlAssignmentClient#listOperatorControlAssignments.");
1887
+ oci_common_1.logger.debug("Calling operation OperatorControlAssignmentClient#listOperatorControlAssignments.");
1972
1888
  const operationName = "listOperatorControlAssignments";
1973
1889
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControlAssignment/ListOperatorControlAssignments";
1974
1890
  const pathParams = {};
@@ -1989,8 +1905,6 @@ class OperatorControlAssignmentClient {
1989
1905
  };
1990
1906
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1991
1907
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOperatorControlAssignmentsRequest.retryConfiguration, specRetryConfiguration);
1992
- if (this.logger)
1993
- retrier.logger = this.logger;
1994
1908
  const request = yield oci_common_1.composeRequest({
1995
1909
  baseEndpoint: this._endpoint,
1996
1910
  defaultHeaders: this._defaultHeaders,
@@ -2035,12 +1949,11 @@ class OperatorControlAssignmentClient {
2035
1949
  * @param UpdateOperatorControlAssignmentRequest
2036
1950
  * @return UpdateOperatorControlAssignmentResponse
2037
1951
  * @throws OciError when an error occurs
2038
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/operatoraccesscontrol/UpdateOperatorControlAssignment.ts.html |here} to see how to use UpdateOperatorControlAssignment API.
1952
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/operatoraccesscontrol/UpdateOperatorControlAssignment.ts.html |here} to see how to use UpdateOperatorControlAssignment API.
2039
1953
  */
2040
1954
  updateOperatorControlAssignment(updateOperatorControlAssignmentRequest) {
2041
1955
  return __awaiter(this, void 0, void 0, function* () {
2042
- if (this.logger)
2043
- this.logger.debug("Calling operation OperatorControlAssignmentClient#updateOperatorControlAssignment.");
1956
+ oci_common_1.logger.debug("Calling operation OperatorControlAssignmentClient#updateOperatorControlAssignment.");
2044
1957
  const operationName = "updateOperatorControlAssignment";
2045
1958
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operatoraccesscontrol/20200630/OperatorControlAssignment/UpdateOperatorControlAssignment";
2046
1959
  const pathParams = {
@@ -2054,8 +1967,6 @@ class OperatorControlAssignmentClient {
2054
1967
  };
2055
1968
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2056
1969
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOperatorControlAssignmentRequest.retryConfiguration, specRetryConfiguration);
2057
- if (this.logger)
2058
- retrier.logger = this.logger;
2059
1970
  const request = yield oci_common_1.composeRequest({
2060
1971
  baseEndpoint: this._endpoint,
2061
1972
  defaultHeaders: this._defaultHeaders,