oci-objectstorage 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 (57) hide show
  1. package/lib/client.d.ts +50 -51
  2. package/lib/client.js +102 -257
  3. package/lib/client.js.map +1 -1
  4. package/lib/request/abort-multipart-upload-request.d.ts +1 -1
  5. package/lib/request/cancel-work-request-request.d.ts +1 -1
  6. package/lib/request/commit-multipart-upload-request.d.ts +1 -1
  7. package/lib/request/copy-object-request.d.ts +1 -1
  8. package/lib/request/create-bucket-request.d.ts +1 -1
  9. package/lib/request/create-multipart-upload-request.d.ts +1 -1
  10. package/lib/request/create-preauthenticated-request-request.d.ts +1 -1
  11. package/lib/request/create-replication-policy-request.d.ts +1 -1
  12. package/lib/request/create-retention-rule-request.d.ts +1 -1
  13. package/lib/request/delete-bucket-request.d.ts +1 -1
  14. package/lib/request/delete-object-lifecycle-policy-request.d.ts +1 -1
  15. package/lib/request/delete-object-request.d.ts +1 -1
  16. package/lib/request/delete-preauthenticated-request-request.d.ts +1 -1
  17. package/lib/request/delete-replication-policy-request.d.ts +1 -1
  18. package/lib/request/delete-retention-rule-request.d.ts +1 -1
  19. package/lib/request/get-bucket-request.d.ts +1 -1
  20. package/lib/request/get-namespace-metadata-request.d.ts +1 -1
  21. package/lib/request/get-namespace-request.d.ts +1 -1
  22. package/lib/request/get-object-lifecycle-policy-request.d.ts +1 -1
  23. package/lib/request/get-object-request.d.ts +1 -1
  24. package/lib/request/get-preauthenticated-request-request.d.ts +1 -1
  25. package/lib/request/get-replication-policy-request.d.ts +1 -1
  26. package/lib/request/get-retention-rule-request.d.ts +1 -1
  27. package/lib/request/get-work-request-request.d.ts +1 -1
  28. package/lib/request/head-bucket-request.d.ts +1 -1
  29. package/lib/request/head-object-request.d.ts +1 -1
  30. package/lib/request/list-buckets-request.d.ts +1 -1
  31. package/lib/request/list-multipart-upload-parts-request.d.ts +1 -1
  32. package/lib/request/list-multipart-uploads-request.d.ts +1 -1
  33. package/lib/request/list-object-versions-request.d.ts +1 -1
  34. package/lib/request/list-objects-request.d.ts +1 -1
  35. package/lib/request/list-preauthenticated-requests-request.d.ts +1 -1
  36. package/lib/request/list-replication-policies-request.d.ts +1 -1
  37. package/lib/request/list-replication-sources-request.d.ts +1 -1
  38. package/lib/request/list-retention-rules-request.d.ts +1 -1
  39. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  40. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  41. package/lib/request/list-work-requests-request.d.ts +1 -1
  42. package/lib/request/make-bucket-writable-request.d.ts +1 -1
  43. package/lib/request/put-object-lifecycle-policy-request.d.ts +1 -1
  44. package/lib/request/put-object-request.d.ts +1 -1
  45. package/lib/request/reencrypt-bucket-request.d.ts +1 -1
  46. package/lib/request/reencrypt-object-request.d.ts +1 -1
  47. package/lib/request/rename-object-request.d.ts +1 -1
  48. package/lib/request/restore-objects-request.d.ts +1 -1
  49. package/lib/request/update-bucket-request.d.ts +1 -1
  50. package/lib/request/update-namespace-metadata-request.d.ts +1 -1
  51. package/lib/request/update-object-storage-tier-request.d.ts +1 -1
  52. package/lib/request/update-retention-rule-request.d.ts +1 -1
  53. package/lib/request/upload-part-request.d.ts +1 -1
  54. package/lib/upload-manager/upload-manager.d.ts +0 -1
  55. package/lib/upload-manager/upload-manager.js +4 -11
  56. package/lib/upload-manager/upload-manager.js.map +1 -1
  57. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -119,11 +119,7 @@ class ObjectStorageClient {
119
119
  */
120
120
  set endpoint(endpoint) {
121
121
  this._endpoint = endpoint;
122
- if (this.logger)
123
- this.logger.info(`ObjectStorageClient endpoint set to ${this._endpoint}`);
124
- }
125
- get logger() {
126
- return common.LOG.logger;
122
+ oci_common_2.logger.info(`ObjectStorageClient endpoint set to ${this._endpoint}`);
127
123
  }
128
124
  /**
129
125
  * Determines whether realm specific endpoint should be used or not.
@@ -132,8 +128,7 @@ class ObjectStorageClient {
132
128
  */
133
129
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
134
130
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
135
- if (this.logger)
136
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
131
+ oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
137
132
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
138
133
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ObjectStorageClient.serviceEndpointTemplate, this._region, ObjectStorageClient.endpointServiceName, ObjectStorageClient.serviceEndpointTemplatePerRealm, this._realmSpecificEndpointTemplateEnabled);
139
134
  }
@@ -200,12 +195,11 @@ class ObjectStorageClient {
200
195
  * @param AbortMultipartUploadRequest
201
196
  * @return AbortMultipartUploadResponse
202
197
  * @throws OciError when an error occurs
203
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/AbortMultipartUpload.ts.html |here} to see how to use AbortMultipartUpload API.
198
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/AbortMultipartUpload.ts.html |here} to see how to use AbortMultipartUpload API.
204
199
  */
205
200
  abortMultipartUpload(abortMultipartUploadRequest) {
206
201
  return __awaiter(this, void 0, void 0, function* () {
207
- if (this.logger)
208
- this.logger.debug("Calling operation ObjectStorageClient#abortMultipartUpload.");
202
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#abortMultipartUpload.");
209
203
  const operationName = "abortMultipartUpload";
210
204
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/MultipartUpload/AbortMultipartUpload";
211
205
  const pathParams = {
@@ -229,8 +223,6 @@ class ObjectStorageClient {
229
223
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
230
224
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
231
225
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, abortMultipartUploadRequest.retryConfiguration, specRetryConfiguration);
232
- if (this.logger)
233
- retrier.logger = this.logger;
234
226
  const request = yield oci_common_2.composeRequest({
235
227
  baseEndpoint: endpoint,
236
228
  defaultHeaders: this._defaultHeaders,
@@ -271,12 +263,11 @@ class ObjectStorageClient {
271
263
  * @param CancelWorkRequestRequest
272
264
  * @return CancelWorkRequestResponse
273
265
  * @throws OciError when an error occurs
274
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
266
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
275
267
  */
276
268
  cancelWorkRequest(cancelWorkRequestRequest) {
277
269
  return __awaiter(this, void 0, void 0, function* () {
278
- if (this.logger)
279
- this.logger.debug("Calling operation ObjectStorageClient#cancelWorkRequest.");
270
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#cancelWorkRequest.");
280
271
  const operationName = "cancelWorkRequest";
281
272
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/WorkRequest/CancelWorkRequest";
282
273
  const pathParams = {
@@ -291,8 +282,6 @@ class ObjectStorageClient {
291
282
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
292
283
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
293
284
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
294
- if (this.logger)
295
- retrier.logger = this.logger;
296
285
  const request = yield oci_common_2.composeRequest({
297
286
  baseEndpoint: endpoint,
298
287
  defaultHeaders: this._defaultHeaders,
@@ -333,12 +322,11 @@ class ObjectStorageClient {
333
322
  * @param CommitMultipartUploadRequest
334
323
  * @return CommitMultipartUploadResponse
335
324
  * @throws OciError when an error occurs
336
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/CommitMultipartUpload.ts.html |here} to see how to use CommitMultipartUpload API.
325
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/CommitMultipartUpload.ts.html |here} to see how to use CommitMultipartUpload API.
337
326
  */
338
327
  commitMultipartUpload(commitMultipartUploadRequest) {
339
328
  return __awaiter(this, void 0, void 0, function* () {
340
- if (this.logger)
341
- this.logger.debug("Calling operation ObjectStorageClient#commitMultipartUpload.");
329
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#commitMultipartUpload.");
342
330
  const operationName = "commitMultipartUpload";
343
331
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/MultipartUpload/CommitMultipartUpload";
344
332
  const pathParams = {
@@ -364,8 +352,6 @@ class ObjectStorageClient {
364
352
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
365
353
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
366
354
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, commitMultipartUploadRequest.retryConfiguration, specRetryConfiguration);
367
- if (this.logger)
368
- retrier.logger = this.logger;
369
355
  const request = yield oci_common_2.composeRequest({
370
356
  baseEndpoint: endpoint,
371
357
  defaultHeaders: this._defaultHeaders,
@@ -430,12 +416,11 @@ class ObjectStorageClient {
430
416
  * @param CopyObjectRequest
431
417
  * @return CopyObjectResponse
432
418
  * @throws OciError when an error occurs
433
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/CopyObject.ts.html |here} to see how to use CopyObject API.
419
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/CopyObject.ts.html |here} to see how to use CopyObject API.
434
420
  */
435
421
  copyObject(copyObjectRequest) {
436
422
  return __awaiter(this, void 0, void 0, function* () {
437
- if (this.logger)
438
- this.logger.debug("Calling operation ObjectStorageClient#copyObject.");
423
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#copyObject.");
439
424
  const operationName = "copyObject";
440
425
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Object/CopyObject";
441
426
  const pathParams = {
@@ -458,8 +443,6 @@ class ObjectStorageClient {
458
443
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
459
444
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
460
445
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, copyObjectRequest.retryConfiguration, specRetryConfiguration);
461
- if (this.logger)
462
- retrier.logger = this.logger;
463
446
  const request = yield oci_common_2.composeRequest({
464
447
  baseEndpoint: endpoint,
465
448
  defaultHeaders: this._defaultHeaders,
@@ -507,12 +490,11 @@ class ObjectStorageClient {
507
490
  * @param CreateBucketRequest
508
491
  * @return CreateBucketResponse
509
492
  * @throws OciError when an error occurs
510
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/CreateBucket.ts.html |here} to see how to use CreateBucket API.
493
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/CreateBucket.ts.html |here} to see how to use CreateBucket API.
511
494
  */
512
495
  createBucket(createBucketRequest) {
513
496
  return __awaiter(this, void 0, void 0, function* () {
514
- if (this.logger)
515
- this.logger.debug("Calling operation ObjectStorageClient#createBucket.");
497
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#createBucket.");
516
498
  const operationName = "createBucket";
517
499
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Bucket/CreateBucket";
518
500
  const pathParams = {
@@ -527,8 +509,6 @@ class ObjectStorageClient {
527
509
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
528
510
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
529
511
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBucketRequest.retryConfiguration, specRetryConfiguration);
530
- if (this.logger)
531
- retrier.logger = this.logger;
532
512
  const request = yield oci_common_2.composeRequest({
533
513
  baseEndpoint: endpoint,
534
514
  defaultHeaders: this._defaultHeaders,
@@ -587,12 +567,11 @@ class ObjectStorageClient {
587
567
  * @param CreateMultipartUploadRequest
588
568
  * @return CreateMultipartUploadResponse
589
569
  * @throws OciError when an error occurs
590
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/CreateMultipartUpload.ts.html |here} to see how to use CreateMultipartUpload API.
570
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/CreateMultipartUpload.ts.html |here} to see how to use CreateMultipartUpload API.
591
571
  */
592
572
  createMultipartUpload(createMultipartUploadRequest) {
593
573
  return __awaiter(this, void 0, void 0, function* () {
594
- if (this.logger)
595
- this.logger.debug("Calling operation ObjectStorageClient#createMultipartUpload.");
574
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#createMultipartUpload.");
596
575
  const operationName = "createMultipartUpload";
597
576
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/MultipartUpload/CreateMultipartUpload";
598
577
  const pathParams = {
@@ -614,8 +593,6 @@ class ObjectStorageClient {
614
593
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
615
594
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
616
595
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMultipartUploadRequest.retryConfiguration, specRetryConfiguration);
617
- if (this.logger)
618
- retrier.logger = this.logger;
619
596
  const request = yield oci_common_2.composeRequest({
620
597
  baseEndpoint: endpoint,
621
598
  defaultHeaders: this._defaultHeaders,
@@ -666,12 +643,11 @@ class ObjectStorageClient {
666
643
  * @param CreatePreauthenticatedRequestRequest
667
644
  * @return CreatePreauthenticatedRequestResponse
668
645
  * @throws OciError when an error occurs
669
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/CreatePreauthenticatedRequest.ts.html |here} to see how to use CreatePreauthenticatedRequest API.
646
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/CreatePreauthenticatedRequest.ts.html |here} to see how to use CreatePreauthenticatedRequest API.
670
647
  */
671
648
  createPreauthenticatedRequest(createPreauthenticatedRequestRequest) {
672
649
  return __awaiter(this, void 0, void 0, function* () {
673
- if (this.logger)
674
- this.logger.debug("Calling operation ObjectStorageClient#createPreauthenticatedRequest.");
650
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#createPreauthenticatedRequest.");
675
651
  const operationName = "createPreauthenticatedRequest";
676
652
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/PreauthenticatedRequest/CreatePreauthenticatedRequest";
677
653
  const pathParams = {
@@ -687,8 +663,6 @@ class ObjectStorageClient {
687
663
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
688
664
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
689
665
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPreauthenticatedRequestRequest.retryConfiguration, specRetryConfiguration);
690
- if (this.logger)
691
- retrier.logger = this.logger;
692
666
  const request = yield oci_common_2.composeRequest({
693
667
  baseEndpoint: endpoint,
694
668
  defaultHeaders: this._defaultHeaders,
@@ -734,12 +708,11 @@ class ObjectStorageClient {
734
708
  * @param CreateReplicationPolicyRequest
735
709
  * @return CreateReplicationPolicyResponse
736
710
  * @throws OciError when an error occurs
737
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/CreateReplicationPolicy.ts.html |here} to see how to use CreateReplicationPolicy API.
711
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/CreateReplicationPolicy.ts.html |here} to see how to use CreateReplicationPolicy API.
738
712
  */
739
713
  createReplicationPolicy(createReplicationPolicyRequest) {
740
714
  return __awaiter(this, void 0, void 0, function* () {
741
- if (this.logger)
742
- this.logger.debug("Calling operation ObjectStorageClient#createReplicationPolicy.");
715
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#createReplicationPolicy.");
743
716
  const operationName = "createReplicationPolicy";
744
717
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Replication/CreateReplicationPolicy";
745
718
  const pathParams = {
@@ -755,8 +728,6 @@ class ObjectStorageClient {
755
728
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
756
729
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
757
730
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createReplicationPolicyRequest.retryConfiguration, specRetryConfiguration);
758
- if (this.logger)
759
- retrier.logger = this.logger;
760
731
  const request = yield oci_common_2.composeRequest({
761
732
  baseEndpoint: endpoint,
762
733
  defaultHeaders: this._defaultHeaders,
@@ -803,12 +774,11 @@ class ObjectStorageClient {
803
774
  * @param CreateRetentionRuleRequest
804
775
  * @return CreateRetentionRuleResponse
805
776
  * @throws OciError when an error occurs
806
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/CreateRetentionRule.ts.html |here} to see how to use CreateRetentionRule API.
777
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/CreateRetentionRule.ts.html |here} to see how to use CreateRetentionRule API.
807
778
  */
808
779
  createRetentionRule(createRetentionRuleRequest) {
809
780
  return __awaiter(this, void 0, void 0, function* () {
810
- if (this.logger)
811
- this.logger.debug("Calling operation ObjectStorageClient#createRetentionRule.");
781
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#createRetentionRule.");
812
782
  const operationName = "createRetentionRule";
813
783
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/RetentionRule/CreateRetentionRule";
814
784
  const pathParams = {
@@ -824,8 +794,6 @@ class ObjectStorageClient {
824
794
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
825
795
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
826
796
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRetentionRuleRequest.retryConfiguration, specRetryConfiguration);
827
- if (this.logger)
828
- retrier.logger = this.logger;
829
797
  const request = yield oci_common_2.composeRequest({
830
798
  baseEndpoint: endpoint,
831
799
  defaultHeaders: this._defaultHeaders,
@@ -879,12 +847,11 @@ class ObjectStorageClient {
879
847
  * @param DeleteBucketRequest
880
848
  * @return DeleteBucketResponse
881
849
  * @throws OciError when an error occurs
882
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/DeleteBucket.ts.html |here} to see how to use DeleteBucket API.
850
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/DeleteBucket.ts.html |here} to see how to use DeleteBucket API.
883
851
  */
884
852
  deleteBucket(deleteBucketRequest) {
885
853
  return __awaiter(this, void 0, void 0, function* () {
886
- if (this.logger)
887
- this.logger.debug("Calling operation ObjectStorageClient#deleteBucket.");
854
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#deleteBucket.");
888
855
  const operationName = "deleteBucket";
889
856
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Bucket/DeleteBucket";
890
857
  const pathParams = {
@@ -901,8 +868,6 @@ class ObjectStorageClient {
901
868
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
902
869
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
903
870
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBucketRequest.retryConfiguration, specRetryConfiguration);
904
- if (this.logger)
905
- retrier.logger = this.logger;
906
871
  const request = yield oci_common_2.composeRequest({
907
872
  baseEndpoint: endpoint,
908
873
  defaultHeaders: this._defaultHeaders,
@@ -943,12 +908,11 @@ class ObjectStorageClient {
943
908
  * @param DeleteObjectRequest
944
909
  * @return DeleteObjectResponse
945
910
  * @throws OciError when an error occurs
946
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/DeleteObject.ts.html |here} to see how to use DeleteObject API.
911
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/DeleteObject.ts.html |here} to see how to use DeleteObject API.
947
912
  */
948
913
  deleteObject(deleteObjectRequest) {
949
914
  return __awaiter(this, void 0, void 0, function* () {
950
- if (this.logger)
951
- this.logger.debug("Calling operation ObjectStorageClient#deleteObject.");
915
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#deleteObject.");
952
916
  const operationName = "deleteObject";
953
917
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Object/DeleteObject";
954
918
  const pathParams = {
@@ -968,8 +932,6 @@ class ObjectStorageClient {
968
932
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
969
933
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
970
934
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteObjectRequest.retryConfiguration, specRetryConfiguration);
971
- if (this.logger)
972
- retrier.logger = this.logger;
973
935
  const request = yield oci_common_2.composeRequest({
974
936
  baseEndpoint: endpoint,
975
937
  defaultHeaders: this._defaultHeaders,
@@ -1025,12 +987,11 @@ class ObjectStorageClient {
1025
987
  * @param DeleteObjectLifecyclePolicyRequest
1026
988
  * @return DeleteObjectLifecyclePolicyResponse
1027
989
  * @throws OciError when an error occurs
1028
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/DeleteObjectLifecyclePolicy.ts.html |here} to see how to use DeleteObjectLifecyclePolicy API.
990
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/DeleteObjectLifecyclePolicy.ts.html |here} to see how to use DeleteObjectLifecyclePolicy API.
1029
991
  */
1030
992
  deleteObjectLifecyclePolicy(deleteObjectLifecyclePolicyRequest) {
1031
993
  return __awaiter(this, void 0, void 0, function* () {
1032
- if (this.logger)
1033
- this.logger.debug("Calling operation ObjectStorageClient#deleteObjectLifecyclePolicy.");
994
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#deleteObjectLifecyclePolicy.");
1034
995
  const operationName = "deleteObjectLifecyclePolicy";
1035
996
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/ObjectLifecyclePolicy/DeleteObjectLifecyclePolicy";
1036
997
  const pathParams = {
@@ -1047,8 +1008,6 @@ class ObjectStorageClient {
1047
1008
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1048
1009
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1049
1010
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteObjectLifecyclePolicyRequest.retryConfiguration, specRetryConfiguration);
1050
- if (this.logger)
1051
- retrier.logger = this.logger;
1052
1011
  const request = yield oci_common_2.composeRequest({
1053
1012
  baseEndpoint: endpoint,
1054
1013
  defaultHeaders: this._defaultHeaders,
@@ -1088,12 +1047,11 @@ class ObjectStorageClient {
1088
1047
  * @param DeletePreauthenticatedRequestRequest
1089
1048
  * @return DeletePreauthenticatedRequestResponse
1090
1049
  * @throws OciError when an error occurs
1091
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/DeletePreauthenticatedRequest.ts.html |here} to see how to use DeletePreauthenticatedRequest API.
1050
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/DeletePreauthenticatedRequest.ts.html |here} to see how to use DeletePreauthenticatedRequest API.
1092
1051
  */
1093
1052
  deletePreauthenticatedRequest(deletePreauthenticatedRequestRequest) {
1094
1053
  return __awaiter(this, void 0, void 0, function* () {
1095
- if (this.logger)
1096
- this.logger.debug("Calling operation ObjectStorageClient#deletePreauthenticatedRequest.");
1054
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#deletePreauthenticatedRequest.");
1097
1055
  const operationName = "deletePreauthenticatedRequest";
1098
1056
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/PreauthenticatedRequest/DeletePreauthenticatedRequest";
1099
1057
  const pathParams = {
@@ -1110,8 +1068,6 @@ class ObjectStorageClient {
1110
1068
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1111
1069
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1112
1070
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePreauthenticatedRequestRequest.retryConfiguration, specRetryConfiguration);
1113
- if (this.logger)
1114
- retrier.logger = this.logger;
1115
1071
  const request = yield oci_common_2.composeRequest({
1116
1072
  baseEndpoint: endpoint,
1117
1073
  defaultHeaders: this._defaultHeaders,
@@ -1152,12 +1108,11 @@ class ObjectStorageClient {
1152
1108
  * @param DeleteReplicationPolicyRequest
1153
1109
  * @return DeleteReplicationPolicyResponse
1154
1110
  * @throws OciError when an error occurs
1155
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/DeleteReplicationPolicy.ts.html |here} to see how to use DeleteReplicationPolicy API.
1111
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/DeleteReplicationPolicy.ts.html |here} to see how to use DeleteReplicationPolicy API.
1156
1112
  */
1157
1113
  deleteReplicationPolicy(deleteReplicationPolicyRequest) {
1158
1114
  return __awaiter(this, void 0, void 0, function* () {
1159
- if (this.logger)
1160
- this.logger.debug("Calling operation ObjectStorageClient#deleteReplicationPolicy.");
1115
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#deleteReplicationPolicy.");
1161
1116
  const operationName = "deleteReplicationPolicy";
1162
1117
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Replication/DeleteReplicationPolicy";
1163
1118
  const pathParams = {
@@ -1174,8 +1129,6 @@ class ObjectStorageClient {
1174
1129
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1175
1130
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1176
1131
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteReplicationPolicyRequest.retryConfiguration, specRetryConfiguration);
1177
- if (this.logger)
1178
- retrier.logger = this.logger;
1179
1132
  const request = yield oci_common_2.composeRequest({
1180
1133
  baseEndpoint: endpoint,
1181
1134
  defaultHeaders: this._defaultHeaders,
@@ -1215,12 +1168,11 @@ class ObjectStorageClient {
1215
1168
  * @param DeleteRetentionRuleRequest
1216
1169
  * @return DeleteRetentionRuleResponse
1217
1170
  * @throws OciError when an error occurs
1218
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/DeleteRetentionRule.ts.html |here} to see how to use DeleteRetentionRule API.
1171
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/DeleteRetentionRule.ts.html |here} to see how to use DeleteRetentionRule API.
1219
1172
  */
1220
1173
  deleteRetentionRule(deleteRetentionRuleRequest) {
1221
1174
  return __awaiter(this, void 0, void 0, function* () {
1222
- if (this.logger)
1223
- this.logger.debug("Calling operation ObjectStorageClient#deleteRetentionRule.");
1175
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#deleteRetentionRule.");
1224
1176
  const operationName = "deleteRetentionRule";
1225
1177
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/RetentionRule/DeleteRetentionRule";
1226
1178
  const pathParams = {
@@ -1238,8 +1190,6 @@ class ObjectStorageClient {
1238
1190
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1239
1191
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1240
1192
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRetentionRuleRequest.retryConfiguration, specRetryConfiguration);
1241
- if (this.logger)
1242
- retrier.logger = this.logger;
1243
1193
  const request = yield oci_common_2.composeRequest({
1244
1194
  baseEndpoint: endpoint,
1245
1195
  defaultHeaders: this._defaultHeaders,
@@ -1280,12 +1230,11 @@ class ObjectStorageClient {
1280
1230
  * @param GetBucketRequest
1281
1231
  * @return GetBucketResponse
1282
1232
  * @throws OciError when an error occurs
1283
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/GetBucket.ts.html |here} to see how to use GetBucket API.
1233
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/GetBucket.ts.html |here} to see how to use GetBucket API.
1284
1234
  */
1285
1235
  getBucket(getBucketRequest) {
1286
1236
  return __awaiter(this, void 0, void 0, function* () {
1287
- if (this.logger)
1288
- this.logger.debug("Calling operation ObjectStorageClient#getBucket.");
1237
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#getBucket.");
1289
1238
  const operationName = "getBucket";
1290
1239
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Bucket/GetBucket";
1291
1240
  const pathParams = {
@@ -1305,8 +1254,6 @@ class ObjectStorageClient {
1305
1254
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1306
1255
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1307
1256
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBucketRequest.retryConfiguration, specRetryConfiguration);
1308
- if (this.logger)
1309
- retrier.logger = this.logger;
1310
1257
  const request = yield oci_common_2.composeRequest({
1311
1258
  baseEndpoint: endpoint,
1312
1259
  defaultHeaders: this._defaultHeaders,
@@ -1362,12 +1309,11 @@ class ObjectStorageClient {
1362
1309
  * @param GetNamespaceRequest
1363
1310
  * @return GetNamespaceResponse
1364
1311
  * @throws OciError when an error occurs
1365
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/GetNamespace.ts.html |here} to see how to use GetNamespace API.
1312
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/GetNamespace.ts.html |here} to see how to use GetNamespace API.
1366
1313
  */
1367
1314
  getNamespace(getNamespaceRequest) {
1368
1315
  return __awaiter(this, void 0, void 0, function* () {
1369
- if (this.logger)
1370
- this.logger.debug("Calling operation ObjectStorageClient#getNamespace.");
1316
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#getNamespace.");
1371
1317
  const operationName = "getNamespace";
1372
1318
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Namespace/GetNamespace";
1373
1319
  const pathParams = {};
@@ -1382,8 +1328,6 @@ class ObjectStorageClient {
1382
1328
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1383
1329
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1384
1330
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNamespaceRequest.retryConfiguration, specRetryConfiguration);
1385
- if (this.logger)
1386
- retrier.logger = this.logger;
1387
1331
  const request = yield oci_common_2.composeRequest({
1388
1332
  baseEndpoint: endpoint,
1389
1333
  defaultHeaders: this._defaultHeaders,
@@ -1423,12 +1367,11 @@ class ObjectStorageClient {
1423
1367
  * @param GetNamespaceMetadataRequest
1424
1368
  * @return GetNamespaceMetadataResponse
1425
1369
  * @throws OciError when an error occurs
1426
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/GetNamespaceMetadata.ts.html |here} to see how to use GetNamespaceMetadata API.
1370
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/GetNamespaceMetadata.ts.html |here} to see how to use GetNamespaceMetadata API.
1427
1371
  */
1428
1372
  getNamespaceMetadata(getNamespaceMetadataRequest) {
1429
1373
  return __awaiter(this, void 0, void 0, function* () {
1430
- if (this.logger)
1431
- this.logger.debug("Calling operation ObjectStorageClient#getNamespaceMetadata.");
1374
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#getNamespaceMetadata.");
1432
1375
  const operationName = "getNamespaceMetadata";
1433
1376
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Namespace/GetNamespaceMetadata";
1434
1377
  const pathParams = {
@@ -1443,8 +1386,6 @@ class ObjectStorageClient {
1443
1386
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1444
1387
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1445
1388
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNamespaceMetadataRequest.retryConfiguration, specRetryConfiguration);
1446
- if (this.logger)
1447
- retrier.logger = this.logger;
1448
1389
  const request = yield oci_common_2.composeRequest({
1449
1390
  baseEndpoint: endpoint,
1450
1391
  defaultHeaders: this._defaultHeaders,
@@ -1489,12 +1430,11 @@ class ObjectStorageClient {
1489
1430
  * @param GetObjectRequest
1490
1431
  * @return GetObjectResponse
1491
1432
  * @throws OciError when an error occurs
1492
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/GetObject.ts.html |here} to see how to use GetObject API.
1433
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/GetObject.ts.html |here} to see how to use GetObject API.
1493
1434
  */
1494
1435
  getObject(getObjectRequest) {
1495
1436
  return __awaiter(this, void 0, void 0, function* () {
1496
- if (this.logger)
1497
- this.logger.debug("Calling operation ObjectStorageClient#getObject.");
1437
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#getObject.");
1498
1438
  const operationName = "getObject";
1499
1439
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Object/GetObject";
1500
1440
  const pathParams = {
@@ -1525,8 +1465,6 @@ class ObjectStorageClient {
1525
1465
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1526
1466
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1527
1467
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getObjectRequest.retryConfiguration, specRetryConfiguration);
1528
- if (this.logger)
1529
- retrier.logger = this.logger;
1530
1468
  const request = yield oci_common_2.composeRequest({
1531
1469
  baseEndpoint: endpoint,
1532
1470
  defaultHeaders: this._defaultHeaders,
@@ -1658,12 +1596,11 @@ class ObjectStorageClient {
1658
1596
  * @param GetObjectLifecyclePolicyRequest
1659
1597
  * @return GetObjectLifecyclePolicyResponse
1660
1598
  * @throws OciError when an error occurs
1661
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/GetObjectLifecyclePolicy.ts.html |here} to see how to use GetObjectLifecyclePolicy API.
1599
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/GetObjectLifecyclePolicy.ts.html |here} to see how to use GetObjectLifecyclePolicy API.
1662
1600
  */
1663
1601
  getObjectLifecyclePolicy(getObjectLifecyclePolicyRequest) {
1664
1602
  return __awaiter(this, void 0, void 0, function* () {
1665
- if (this.logger)
1666
- this.logger.debug("Calling operation ObjectStorageClient#getObjectLifecyclePolicy.");
1603
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#getObjectLifecyclePolicy.");
1667
1604
  const operationName = "getObjectLifecyclePolicy";
1668
1605
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/ObjectLifecyclePolicy/GetObjectLifecyclePolicy";
1669
1606
  const pathParams = {
@@ -1679,8 +1616,6 @@ class ObjectStorageClient {
1679
1616
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1680
1617
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1681
1618
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getObjectLifecyclePolicyRequest.retryConfiguration, specRetryConfiguration);
1682
- if (this.logger)
1683
- retrier.logger = this.logger;
1684
1619
  const request = yield oci_common_2.composeRequest({
1685
1620
  baseEndpoint: endpoint,
1686
1621
  defaultHeaders: this._defaultHeaders,
@@ -1729,12 +1664,11 @@ class ObjectStorageClient {
1729
1664
  * @param GetPreauthenticatedRequestRequest
1730
1665
  * @return GetPreauthenticatedRequestResponse
1731
1666
  * @throws OciError when an error occurs
1732
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/GetPreauthenticatedRequest.ts.html |here} to see how to use GetPreauthenticatedRequest API.
1667
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/GetPreauthenticatedRequest.ts.html |here} to see how to use GetPreauthenticatedRequest API.
1733
1668
  */
1734
1669
  getPreauthenticatedRequest(getPreauthenticatedRequestRequest) {
1735
1670
  return __awaiter(this, void 0, void 0, function* () {
1736
- if (this.logger)
1737
- this.logger.debug("Calling operation ObjectStorageClient#getPreauthenticatedRequest.");
1671
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#getPreauthenticatedRequest.");
1738
1672
  const operationName = "getPreauthenticatedRequest";
1739
1673
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/PreauthenticatedRequest/GetPreauthenticatedRequest";
1740
1674
  const pathParams = {
@@ -1751,8 +1685,6 @@ class ObjectStorageClient {
1751
1685
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1752
1686
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1753
1687
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPreauthenticatedRequestRequest.retryConfiguration, specRetryConfiguration);
1754
- if (this.logger)
1755
- retrier.logger = this.logger;
1756
1688
  const request = yield oci_common_2.composeRequest({
1757
1689
  baseEndpoint: endpoint,
1758
1690
  defaultHeaders: this._defaultHeaders,
@@ -1797,12 +1729,11 @@ class ObjectStorageClient {
1797
1729
  * @param GetReplicationPolicyRequest
1798
1730
  * @return GetReplicationPolicyResponse
1799
1731
  * @throws OciError when an error occurs
1800
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/GetReplicationPolicy.ts.html |here} to see how to use GetReplicationPolicy API.
1732
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/GetReplicationPolicy.ts.html |here} to see how to use GetReplicationPolicy API.
1801
1733
  */
1802
1734
  getReplicationPolicy(getReplicationPolicyRequest) {
1803
1735
  return __awaiter(this, void 0, void 0, function* () {
1804
- if (this.logger)
1805
- this.logger.debug("Calling operation ObjectStorageClient#getReplicationPolicy.");
1736
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#getReplicationPolicy.");
1806
1737
  const operationName = "getReplicationPolicy";
1807
1738
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Replication/GetReplicationPolicy";
1808
1739
  const pathParams = {
@@ -1819,8 +1750,6 @@ class ObjectStorageClient {
1819
1750
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1820
1751
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1821
1752
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getReplicationPolicyRequest.retryConfiguration, specRetryConfiguration);
1822
- if (this.logger)
1823
- retrier.logger = this.logger;
1824
1753
  const request = yield oci_common_2.composeRequest({
1825
1754
  baseEndpoint: endpoint,
1826
1755
  defaultHeaders: this._defaultHeaders,
@@ -1864,12 +1793,11 @@ class ObjectStorageClient {
1864
1793
  * @param GetRetentionRuleRequest
1865
1794
  * @return GetRetentionRuleResponse
1866
1795
  * @throws OciError when an error occurs
1867
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/GetRetentionRule.ts.html |here} to see how to use GetRetentionRule API.
1796
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/GetRetentionRule.ts.html |here} to see how to use GetRetentionRule API.
1868
1797
  */
1869
1798
  getRetentionRule(getRetentionRuleRequest) {
1870
1799
  return __awaiter(this, void 0, void 0, function* () {
1871
- if (this.logger)
1872
- this.logger.debug("Calling operation ObjectStorageClient#getRetentionRule.");
1800
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#getRetentionRule.");
1873
1801
  const operationName = "getRetentionRule";
1874
1802
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/RetentionRule/GetRetentionRule";
1875
1803
  const pathParams = {
@@ -1886,8 +1814,6 @@ class ObjectStorageClient {
1886
1814
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1887
1815
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1888
1816
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRetentionRuleRequest.retryConfiguration, specRetryConfiguration);
1889
- if (this.logger)
1890
- retrier.logger = this.logger;
1891
1817
  const request = yield oci_common_2.composeRequest({
1892
1818
  baseEndpoint: endpoint,
1893
1819
  defaultHeaders: this._defaultHeaders,
@@ -1941,12 +1867,11 @@ class ObjectStorageClient {
1941
1867
  * @param GetWorkRequestRequest
1942
1868
  * @return GetWorkRequestResponse
1943
1869
  * @throws OciError when an error occurs
1944
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1870
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1945
1871
  */
1946
1872
  getWorkRequest(getWorkRequestRequest) {
1947
1873
  return __awaiter(this, void 0, void 0, function* () {
1948
- if (this.logger)
1949
- this.logger.debug("Calling operation ObjectStorageClient#getWorkRequest.");
1874
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#getWorkRequest.");
1950
1875
  const operationName = "getWorkRequest";
1951
1876
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/WorkRequest/GetWorkRequest";
1952
1877
  const pathParams = {
@@ -1961,8 +1886,6 @@ class ObjectStorageClient {
1961
1886
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
1962
1887
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1963
1888
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
1964
- if (this.logger)
1965
- retrier.logger = this.logger;
1966
1889
  const request = yield oci_common_2.composeRequest({
1967
1890
  baseEndpoint: endpoint,
1968
1891
  defaultHeaders: this._defaultHeaders,
@@ -2012,12 +1935,11 @@ class ObjectStorageClient {
2012
1935
  * @param HeadBucketRequest
2013
1936
  * @return HeadBucketResponse
2014
1937
  * @throws OciError when an error occurs
2015
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/HeadBucket.ts.html |here} to see how to use HeadBucket API.
1938
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/HeadBucket.ts.html |here} to see how to use HeadBucket API.
2016
1939
  */
2017
1940
  headBucket(headBucketRequest) {
2018
1941
  return __awaiter(this, void 0, void 0, function* () {
2019
- if (this.logger)
2020
- this.logger.debug("Calling operation ObjectStorageClient#headBucket.");
1942
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#headBucket.");
2021
1943
  const operationName = "headBucket";
2022
1944
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Bucket/HeadBucket";
2023
1945
  const pathParams = {
@@ -2035,8 +1957,6 @@ class ObjectStorageClient {
2035
1957
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2036
1958
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2037
1959
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, headBucketRequest.retryConfiguration, specRetryConfiguration);
2038
- if (this.logger)
2039
- retrier.logger = this.logger;
2040
1960
  const request = yield oci_common_2.composeRequest({
2041
1961
  baseEndpoint: endpoint,
2042
1962
  defaultHeaders: this._defaultHeaders,
@@ -2082,12 +2002,11 @@ class ObjectStorageClient {
2082
2002
  * @param HeadObjectRequest
2083
2003
  * @return HeadObjectResponse
2084
2004
  * @throws OciError when an error occurs
2085
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/HeadObject.ts.html |here} to see how to use HeadObject API.
2005
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/HeadObject.ts.html |here} to see how to use HeadObject API.
2086
2006
  */
2087
2007
  headObject(headObjectRequest) {
2088
2008
  return __awaiter(this, void 0, void 0, function* () {
2089
- if (this.logger)
2090
- this.logger.debug("Calling operation ObjectStorageClient#headObject.");
2009
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#headObject.");
2091
2010
  const operationName = "headObject";
2092
2011
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Object/HeadObject";
2093
2012
  const pathParams = {
@@ -2111,8 +2030,6 @@ class ObjectStorageClient {
2111
2030
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2112
2031
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2113
2032
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, headObjectRequest.retryConfiguration, specRetryConfiguration);
2114
- if (this.logger)
2115
- retrier.logger = this.logger;
2116
2033
  const request = yield oci_common_2.composeRequest({
2117
2034
  baseEndpoint: endpoint,
2118
2035
  defaultHeaders: this._defaultHeaders,
@@ -2239,12 +2156,11 @@ class ObjectStorageClient {
2239
2156
  * @param ListBucketsRequest
2240
2157
  * @return ListBucketsResponse
2241
2158
  * @throws OciError when an error occurs
2242
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/ListBuckets.ts.html |here} to see how to use ListBuckets API.
2159
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/ListBuckets.ts.html |here} to see how to use ListBuckets API.
2243
2160
  */
2244
2161
  listBuckets(listBucketsRequest) {
2245
2162
  return __awaiter(this, void 0, void 0, function* () {
2246
- if (this.logger)
2247
- this.logger.debug("Calling operation ObjectStorageClient#listBuckets.");
2163
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#listBuckets.");
2248
2164
  const operationName = "listBuckets";
2249
2165
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Bucket/ListBuckets";
2250
2166
  const pathParams = {
@@ -2264,8 +2180,6 @@ class ObjectStorageClient {
2264
2180
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2265
2181
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2266
2182
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBucketsRequest.retryConfiguration, specRetryConfiguration);
2267
- if (this.logger)
2268
- retrier.logger = this.logger;
2269
2183
  const request = yield oci_common_2.composeRequest({
2270
2184
  baseEndpoint: endpoint,
2271
2185
  defaultHeaders: this._defaultHeaders,
@@ -2355,12 +2269,11 @@ class ObjectStorageClient {
2355
2269
  * @param ListMultipartUploadPartsRequest
2356
2270
  * @return ListMultipartUploadPartsResponse
2357
2271
  * @throws OciError when an error occurs
2358
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/ListMultipartUploadParts.ts.html |here} to see how to use ListMultipartUploadParts API.
2272
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/ListMultipartUploadParts.ts.html |here} to see how to use ListMultipartUploadParts API.
2359
2273
  */
2360
2274
  listMultipartUploadParts(listMultipartUploadPartsRequest) {
2361
2275
  return __awaiter(this, void 0, void 0, function* () {
2362
- if (this.logger)
2363
- this.logger.debug("Calling operation ObjectStorageClient#listMultipartUploadParts.");
2276
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#listMultipartUploadParts.");
2364
2277
  const operationName = "listMultipartUploadParts";
2365
2278
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/MultipartUpload/ListMultipartUploadParts";
2366
2279
  const pathParams = {
@@ -2386,8 +2299,6 @@ class ObjectStorageClient {
2386
2299
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2387
2300
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2388
2301
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMultipartUploadPartsRequest.retryConfiguration, specRetryConfiguration);
2389
- if (this.logger)
2390
- retrier.logger = this.logger;
2391
2302
  const request = yield oci_common_2.composeRequest({
2392
2303
  baseEndpoint: endpoint,
2393
2304
  defaultHeaders: this._defaultHeaders,
@@ -2477,12 +2388,11 @@ class ObjectStorageClient {
2477
2388
  * @param ListMultipartUploadsRequest
2478
2389
  * @return ListMultipartUploadsResponse
2479
2390
  * @throws OciError when an error occurs
2480
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/ListMultipartUploads.ts.html |here} to see how to use ListMultipartUploads API.
2391
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/ListMultipartUploads.ts.html |here} to see how to use ListMultipartUploads API.
2481
2392
  */
2482
2393
  listMultipartUploads(listMultipartUploadsRequest) {
2483
2394
  return __awaiter(this, void 0, void 0, function* () {
2484
- if (this.logger)
2485
- this.logger.debug("Calling operation ObjectStorageClient#listMultipartUploads.");
2395
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#listMultipartUploads.");
2486
2396
  const operationName = "listMultipartUploads";
2487
2397
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/MultipartUpload/ListMultipartUploads";
2488
2398
  const pathParams = {
@@ -2501,8 +2411,6 @@ class ObjectStorageClient {
2501
2411
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2502
2412
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2503
2413
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMultipartUploadsRequest.retryConfiguration, specRetryConfiguration);
2504
- if (this.logger)
2505
- retrier.logger = this.logger;
2506
2414
  const request = yield oci_common_2.composeRequest({
2507
2415
  baseEndpoint: endpoint,
2508
2416
  defaultHeaders: this._defaultHeaders,
@@ -2599,12 +2507,11 @@ class ObjectStorageClient {
2599
2507
  * @param ListObjectVersionsRequest
2600
2508
  * @return ListObjectVersionsResponse
2601
2509
  * @throws OciError when an error occurs
2602
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/ListObjectVersions.ts.html |here} to see how to use ListObjectVersions API.
2510
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/ListObjectVersions.ts.html |here} to see how to use ListObjectVersions API.
2603
2511
  */
2604
2512
  listObjectVersions(listObjectVersionsRequest) {
2605
2513
  return __awaiter(this, void 0, void 0, function* () {
2606
- if (this.logger)
2607
- this.logger.debug("Calling operation ObjectStorageClient#listObjectVersions.");
2514
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#listObjectVersions.");
2608
2515
  const operationName = "listObjectVersions";
2609
2516
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Object/ListObjectVersions";
2610
2517
  const pathParams = {
@@ -2629,8 +2536,6 @@ class ObjectStorageClient {
2629
2536
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2630
2537
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2631
2538
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listObjectVersionsRequest.retryConfiguration, specRetryConfiguration);
2632
- if (this.logger)
2633
- retrier.logger = this.logger;
2634
2539
  const request = yield oci_common_2.composeRequest({
2635
2540
  baseEndpoint: endpoint,
2636
2541
  defaultHeaders: this._defaultHeaders,
@@ -2689,12 +2594,11 @@ class ObjectStorageClient {
2689
2594
  * @param ListObjectsRequest
2690
2595
  * @return ListObjectsResponse
2691
2596
  * @throws OciError when an error occurs
2692
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/ListObjects.ts.html |here} to see how to use ListObjects API.
2597
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/ListObjects.ts.html |here} to see how to use ListObjects API.
2693
2598
  */
2694
2599
  listObjects(listObjectsRequest) {
2695
2600
  return __awaiter(this, void 0, void 0, function* () {
2696
- if (this.logger)
2697
- this.logger.debug("Calling operation ObjectStorageClient#listObjects.");
2601
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#listObjects.");
2698
2602
  const operationName = "listObjects";
2699
2603
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Object/ListObjects";
2700
2604
  const pathParams = {
@@ -2718,8 +2622,6 @@ class ObjectStorageClient {
2718
2622
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2719
2623
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2720
2624
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listObjectsRequest.retryConfiguration, specRetryConfiguration);
2721
- if (this.logger)
2722
- retrier.logger = this.logger;
2723
2625
  const request = yield oci_common_2.composeRequest({
2724
2626
  baseEndpoint: endpoint,
2725
2627
  defaultHeaders: this._defaultHeaders,
@@ -2804,12 +2706,11 @@ class ObjectStorageClient {
2804
2706
  * @param ListPreauthenticatedRequestsRequest
2805
2707
  * @return ListPreauthenticatedRequestsResponse
2806
2708
  * @throws OciError when an error occurs
2807
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/ListPreauthenticatedRequests.ts.html |here} to see how to use ListPreauthenticatedRequests API.
2709
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/ListPreauthenticatedRequests.ts.html |here} to see how to use ListPreauthenticatedRequests API.
2808
2710
  */
2809
2711
  listPreauthenticatedRequests(listPreauthenticatedRequestsRequest) {
2810
2712
  return __awaiter(this, void 0, void 0, function* () {
2811
- if (this.logger)
2812
- this.logger.debug("Calling operation ObjectStorageClient#listPreauthenticatedRequests.");
2713
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#listPreauthenticatedRequests.");
2813
2714
  const operationName = "listPreauthenticatedRequests";
2814
2715
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/PreauthenticatedRequest/ListPreauthenticatedRequests";
2815
2716
  const pathParams = {
@@ -2829,8 +2730,6 @@ class ObjectStorageClient {
2829
2730
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2830
2731
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2831
2732
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPreauthenticatedRequestsRequest.retryConfiguration, specRetryConfiguration);
2832
- if (this.logger)
2833
- retrier.logger = this.logger;
2834
2733
  const request = yield oci_common_2.composeRequest({
2835
2734
  baseEndpoint: endpoint,
2836
2735
  defaultHeaders: this._defaultHeaders,
@@ -2920,12 +2819,11 @@ class ObjectStorageClient {
2920
2819
  * @param ListReplicationPoliciesRequest
2921
2820
  * @return ListReplicationPoliciesResponse
2922
2821
  * @throws OciError when an error occurs
2923
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/ListReplicationPolicies.ts.html |here} to see how to use ListReplicationPolicies API.
2822
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/ListReplicationPolicies.ts.html |here} to see how to use ListReplicationPolicies API.
2924
2823
  */
2925
2824
  listReplicationPolicies(listReplicationPoliciesRequest) {
2926
2825
  return __awaiter(this, void 0, void 0, function* () {
2927
- if (this.logger)
2928
- this.logger.debug("Calling operation ObjectStorageClient#listReplicationPolicies.");
2826
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#listReplicationPolicies.");
2929
2827
  const operationName = "listReplicationPolicies";
2930
2828
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Replication/ListReplicationPolicies";
2931
2829
  const pathParams = {
@@ -2944,8 +2842,6 @@ class ObjectStorageClient {
2944
2842
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
2945
2843
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2946
2844
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listReplicationPoliciesRequest.retryConfiguration, specRetryConfiguration);
2947
- if (this.logger)
2948
- retrier.logger = this.logger;
2949
2845
  const request = yield oci_common_2.composeRequest({
2950
2846
  baseEndpoint: endpoint,
2951
2847
  defaultHeaders: this._defaultHeaders,
@@ -3035,12 +2931,11 @@ class ObjectStorageClient {
3035
2931
  * @param ListReplicationSourcesRequest
3036
2932
  * @return ListReplicationSourcesResponse
3037
2933
  * @throws OciError when an error occurs
3038
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/ListReplicationSources.ts.html |here} to see how to use ListReplicationSources API.
2934
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/ListReplicationSources.ts.html |here} to see how to use ListReplicationSources API.
3039
2935
  */
3040
2936
  listReplicationSources(listReplicationSourcesRequest) {
3041
2937
  return __awaiter(this, void 0, void 0, function* () {
3042
- if (this.logger)
3043
- this.logger.debug("Calling operation ObjectStorageClient#listReplicationSources.");
2938
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#listReplicationSources.");
3044
2939
  const operationName = "listReplicationSources";
3045
2940
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Replication/ListReplicationSources";
3046
2941
  const pathParams = {
@@ -3059,8 +2954,6 @@ class ObjectStorageClient {
3059
2954
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3060
2955
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3061
2956
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listReplicationSourcesRequest.retryConfiguration, specRetryConfiguration);
3062
- if (this.logger)
3063
- retrier.logger = this.logger;
3064
2957
  const request = yield oci_common_2.composeRequest({
3065
2958
  baseEndpoint: endpoint,
3066
2959
  defaultHeaders: this._defaultHeaders,
@@ -3151,12 +3044,11 @@ class ObjectStorageClient {
3151
3044
  * @param ListRetentionRulesRequest
3152
3045
  * @return ListRetentionRulesResponse
3153
3046
  * @throws OciError when an error occurs
3154
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/ListRetentionRules.ts.html |here} to see how to use ListRetentionRules API.
3047
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/ListRetentionRules.ts.html |here} to see how to use ListRetentionRules API.
3155
3048
  */
3156
3049
  listRetentionRules(listRetentionRulesRequest) {
3157
3050
  return __awaiter(this, void 0, void 0, function* () {
3158
- if (this.logger)
3159
- this.logger.debug("Calling operation ObjectStorageClient#listRetentionRules.");
3051
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#listRetentionRules.");
3160
3052
  const operationName = "listRetentionRules";
3161
3053
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/RetentionRule/ListRetentionRules";
3162
3054
  const pathParams = {
@@ -3173,8 +3065,6 @@ class ObjectStorageClient {
3173
3065
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3174
3066
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3175
3067
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRetentionRulesRequest.retryConfiguration, specRetryConfiguration);
3176
- if (this.logger)
3177
- retrier.logger = this.logger;
3178
3068
  const request = yield oci_common_2.composeRequest({
3179
3069
  baseEndpoint: endpoint,
3180
3070
  defaultHeaders: this._defaultHeaders,
@@ -3223,12 +3113,11 @@ class ObjectStorageClient {
3223
3113
  * @param ListWorkRequestErrorsRequest
3224
3114
  * @return ListWorkRequestErrorsResponse
3225
3115
  * @throws OciError when an error occurs
3226
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
3116
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
3227
3117
  */
3228
3118
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
3229
3119
  return __awaiter(this, void 0, void 0, function* () {
3230
- if (this.logger)
3231
- this.logger.debug("Calling operation ObjectStorageClient#listWorkRequestErrors.");
3120
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#listWorkRequestErrors.");
3232
3121
  const operationName = "listWorkRequestErrors";
3233
3122
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/WorkRequestError/ListWorkRequestErrors";
3234
3123
  const pathParams = {
@@ -3246,8 +3135,6 @@ class ObjectStorageClient {
3246
3135
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3247
3136
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3248
3137
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
3249
- if (this.logger)
3250
- retrier.logger = this.logger;
3251
3138
  const request = yield oci_common_2.composeRequest({
3252
3139
  baseEndpoint: endpoint,
3253
3140
  defaultHeaders: this._defaultHeaders,
@@ -3336,12 +3223,11 @@ class ObjectStorageClient {
3336
3223
  * @param ListWorkRequestLogsRequest
3337
3224
  * @return ListWorkRequestLogsResponse
3338
3225
  * @throws OciError when an error occurs
3339
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
3226
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
3340
3227
  */
3341
3228
  listWorkRequestLogs(listWorkRequestLogsRequest) {
3342
3229
  return __awaiter(this, void 0, void 0, function* () {
3343
- if (this.logger)
3344
- this.logger.debug("Calling operation ObjectStorageClient#listWorkRequestLogs.");
3230
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#listWorkRequestLogs.");
3345
3231
  const operationName = "listWorkRequestLogs";
3346
3232
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/WorkRequestLogEntry/ListWorkRequestLogs";
3347
3233
  const pathParams = {
@@ -3359,8 +3245,6 @@ class ObjectStorageClient {
3359
3245
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3360
3246
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3361
3247
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
3362
- if (this.logger)
3363
- retrier.logger = this.logger;
3364
3248
  const request = yield oci_common_2.composeRequest({
3365
3249
  baseEndpoint: endpoint,
3366
3250
  defaultHeaders: this._defaultHeaders,
@@ -3450,12 +3334,11 @@ class ObjectStorageClient {
3450
3334
  * @param ListWorkRequestsRequest
3451
3335
  * @return ListWorkRequestsResponse
3452
3336
  * @throws OciError when an error occurs
3453
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
3337
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
3454
3338
  */
3455
3339
  listWorkRequests(listWorkRequestsRequest) {
3456
3340
  return __awaiter(this, void 0, void 0, function* () {
3457
- if (this.logger)
3458
- this.logger.debug("Calling operation ObjectStorageClient#listWorkRequests.");
3341
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#listWorkRequests.");
3459
3342
  const operationName = "listWorkRequests";
3460
3343
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/WorkRequest/ListWorkRequests";
3461
3344
  const pathParams = {};
@@ -3472,8 +3355,6 @@ class ObjectStorageClient {
3472
3355
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3473
3356
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3474
3357
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
3475
- if (this.logger)
3476
- retrier.logger = this.logger;
3477
3358
  const request = yield oci_common_2.composeRequest({
3478
3359
  baseEndpoint: endpoint,
3479
3360
  defaultHeaders: this._defaultHeaders,
@@ -3566,12 +3447,11 @@ class ObjectStorageClient {
3566
3447
  * @param MakeBucketWritableRequest
3567
3448
  * @return MakeBucketWritableResponse
3568
3449
  * @throws OciError when an error occurs
3569
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/MakeBucketWritable.ts.html |here} to see how to use MakeBucketWritable API.
3450
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/MakeBucketWritable.ts.html |here} to see how to use MakeBucketWritable API.
3570
3451
  */
3571
3452
  makeBucketWritable(makeBucketWritableRequest) {
3572
3453
  return __awaiter(this, void 0, void 0, function* () {
3573
- if (this.logger)
3574
- this.logger.debug("Calling operation ObjectStorageClient#makeBucketWritable.");
3454
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#makeBucketWritable.");
3575
3455
  const operationName = "makeBucketWritable";
3576
3456
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Replication/MakeBucketWritable";
3577
3457
  const pathParams = {
@@ -3587,8 +3467,6 @@ class ObjectStorageClient {
3587
3467
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3588
3468
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3589
3469
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, makeBucketWritableRequest.retryConfiguration, specRetryConfiguration);
3590
- if (this.logger)
3591
- retrier.logger = this.logger;
3592
3470
  const request = yield oci_common_2.composeRequest({
3593
3471
  baseEndpoint: endpoint,
3594
3472
  defaultHeaders: this._defaultHeaders,
@@ -3636,12 +3514,11 @@ class ObjectStorageClient {
3636
3514
  * @param PutObjectRequest
3637
3515
  * @return PutObjectResponse
3638
3516
  * @throws OciError when an error occurs
3639
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/PutObject.ts.html |here} to see how to use PutObject API.
3517
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/PutObject.ts.html |here} to see how to use PutObject API.
3640
3518
  */
3641
3519
  putObject(putObjectRequest) {
3642
3520
  return __awaiter(this, void 0, void 0, function* () {
3643
- if (this.logger)
3644
- this.logger.debug("Calling operation ObjectStorageClient#putObject.");
3521
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#putObject.");
3645
3522
  const operationName = "putObject";
3646
3523
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Object/PutObject";
3647
3524
  const pathParams = {
@@ -3677,8 +3554,6 @@ class ObjectStorageClient {
3677
3554
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3678
3555
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3679
3556
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, putObjectRequest.retryConfiguration, specRetryConfiguration);
3680
- if (this.logger)
3681
- retrier.logger = this.logger;
3682
3557
  const request = yield oci_common_2.composeRequest({
3683
3558
  baseEndpoint: endpoint,
3684
3559
  defaultHeaders: this._defaultHeaders,
@@ -3741,12 +3616,11 @@ class ObjectStorageClient {
3741
3616
  * @param PutObjectLifecyclePolicyRequest
3742
3617
  * @return PutObjectLifecyclePolicyResponse
3743
3618
  * @throws OciError when an error occurs
3744
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/PutObjectLifecyclePolicy.ts.html |here} to see how to use PutObjectLifecyclePolicy API.
3619
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/PutObjectLifecyclePolicy.ts.html |here} to see how to use PutObjectLifecyclePolicy API.
3745
3620
  */
3746
3621
  putObjectLifecyclePolicy(putObjectLifecyclePolicyRequest) {
3747
3622
  return __awaiter(this, void 0, void 0, function* () {
3748
- if (this.logger)
3749
- this.logger.debug("Calling operation ObjectStorageClient#putObjectLifecyclePolicy.");
3623
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#putObjectLifecyclePolicy.");
3750
3624
  const operationName = "putObjectLifecyclePolicy";
3751
3625
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/ObjectLifecyclePolicy/PutObjectLifecyclePolicy";
3752
3626
  const pathParams = {
@@ -3764,8 +3638,6 @@ class ObjectStorageClient {
3764
3638
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3765
3639
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3766
3640
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, putObjectLifecyclePolicyRequest.retryConfiguration, specRetryConfiguration);
3767
- if (this.logger)
3768
- retrier.logger = this.logger;
3769
3641
  const request = yield oci_common_2.composeRequest({
3770
3642
  baseEndpoint: endpoint,
3771
3643
  defaultHeaders: this._defaultHeaders,
@@ -3830,12 +3702,11 @@ class ObjectStorageClient {
3830
3702
  * @param ReencryptBucketRequest
3831
3703
  * @return ReencryptBucketResponse
3832
3704
  * @throws OciError when an error occurs
3833
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/ReencryptBucket.ts.html |here} to see how to use ReencryptBucket API.
3705
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/ReencryptBucket.ts.html |here} to see how to use ReencryptBucket API.
3834
3706
  */
3835
3707
  reencryptBucket(reencryptBucketRequest) {
3836
3708
  return __awaiter(this, void 0, void 0, function* () {
3837
- if (this.logger)
3838
- this.logger.debug("Calling operation ObjectStorageClient#reencryptBucket.");
3709
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#reencryptBucket.");
3839
3710
  const operationName = "reencryptBucket";
3840
3711
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Bucket/ReencryptBucket";
3841
3712
  const pathParams = {
@@ -3851,8 +3722,6 @@ class ObjectStorageClient {
3851
3722
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3852
3723
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3853
3724
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, reencryptBucketRequest.retryConfiguration, specRetryConfiguration);
3854
- if (this.logger)
3855
- retrier.logger = this.logger;
3856
3725
  const request = yield oci_common_2.composeRequest({
3857
3726
  baseEndpoint: endpoint,
3858
3727
  defaultHeaders: this._defaultHeaders,
@@ -3906,12 +3775,11 @@ class ObjectStorageClient {
3906
3775
  * @param ReencryptObjectRequest
3907
3776
  * @return ReencryptObjectResponse
3908
3777
  * @throws OciError when an error occurs
3909
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/ReencryptObject.ts.html |here} to see how to use ReencryptObject API.
3778
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/ReencryptObject.ts.html |here} to see how to use ReencryptObject API.
3910
3779
  */
3911
3780
  reencryptObject(reencryptObjectRequest) {
3912
3781
  return __awaiter(this, void 0, void 0, function* () {
3913
- if (this.logger)
3914
- this.logger.debug("Calling operation ObjectStorageClient#reencryptObject.");
3782
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#reencryptObject.");
3915
3783
  const operationName = "reencryptObject";
3916
3784
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Object/ReencryptObject";
3917
3785
  const pathParams = {
@@ -3930,8 +3798,6 @@ class ObjectStorageClient {
3930
3798
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3931
3799
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3932
3800
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, reencryptObjectRequest.retryConfiguration, specRetryConfiguration);
3933
- if (this.logger)
3934
- retrier.logger = this.logger;
3935
3801
  const request = yield oci_common_2.composeRequest({
3936
3802
  baseEndpoint: endpoint,
3937
3803
  defaultHeaders: this._defaultHeaders,
@@ -3976,12 +3842,11 @@ class ObjectStorageClient {
3976
3842
  * @param RenameObjectRequest
3977
3843
  * @return RenameObjectResponse
3978
3844
  * @throws OciError when an error occurs
3979
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/RenameObject.ts.html |here} to see how to use RenameObject API.
3845
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/RenameObject.ts.html |here} to see how to use RenameObject API.
3980
3846
  */
3981
3847
  renameObject(renameObjectRequest) {
3982
3848
  return __awaiter(this, void 0, void 0, function* () {
3983
- if (this.logger)
3984
- this.logger.debug("Calling operation ObjectStorageClient#renameObject.");
3849
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#renameObject.");
3985
3850
  const operationName = "renameObject";
3986
3851
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Object/RenameObject";
3987
3852
  const pathParams = {
@@ -3997,8 +3862,6 @@ class ObjectStorageClient {
3997
3862
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
3998
3863
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3999
3864
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, renameObjectRequest.retryConfiguration, specRetryConfiguration);
4000
- if (this.logger)
4001
- retrier.logger = this.logger;
4002
3865
  const request = yield oci_common_2.composeRequest({
4003
3866
  baseEndpoint: endpoint,
4004
3867
  defaultHeaders: this._defaultHeaders,
@@ -4056,12 +3919,11 @@ class ObjectStorageClient {
4056
3919
  * @param RestoreObjectsRequest
4057
3920
  * @return RestoreObjectsResponse
4058
3921
  * @throws OciError when an error occurs
4059
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/RestoreObjects.ts.html |here} to see how to use RestoreObjects API.
3922
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/RestoreObjects.ts.html |here} to see how to use RestoreObjects API.
4060
3923
  */
4061
3924
  restoreObjects(restoreObjectsRequest) {
4062
3925
  return __awaiter(this, void 0, void 0, function* () {
4063
- if (this.logger)
4064
- this.logger.debug("Calling operation ObjectStorageClient#restoreObjects.");
3926
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#restoreObjects.");
4065
3927
  const operationName = "restoreObjects";
4066
3928
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Object/RestoreObjects";
4067
3929
  const pathParams = {
@@ -4077,8 +3939,6 @@ class ObjectStorageClient {
4077
3939
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4078
3940
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4079
3941
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restoreObjectsRequest.retryConfiguration, specRetryConfiguration);
4080
- if (this.logger)
4081
- retrier.logger = this.logger;
4082
3942
  const request = yield oci_common_2.composeRequest({
4083
3943
  baseEndpoint: endpoint,
4084
3944
  defaultHeaders: this._defaultHeaders,
@@ -4124,12 +3984,11 @@ class ObjectStorageClient {
4124
3984
  * @param UpdateBucketRequest
4125
3985
  * @return UpdateBucketResponse
4126
3986
  * @throws OciError when an error occurs
4127
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/UpdateBucket.ts.html |here} to see how to use UpdateBucket API.
3987
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/UpdateBucket.ts.html |here} to see how to use UpdateBucket API.
4128
3988
  */
4129
3989
  updateBucket(updateBucketRequest) {
4130
3990
  return __awaiter(this, void 0, void 0, function* () {
4131
- if (this.logger)
4132
- this.logger.debug("Calling operation ObjectStorageClient#updateBucket.");
3991
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#updateBucket.");
4133
3992
  const operationName = "updateBucket";
4134
3993
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Bucket/UpdateBucket";
4135
3994
  const pathParams = {
@@ -4146,8 +4005,6 @@ class ObjectStorageClient {
4146
4005
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4147
4006
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4148
4007
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBucketRequest.retryConfiguration, specRetryConfiguration);
4149
- if (this.logger)
4150
- retrier.logger = this.logger;
4151
4008
  const request = yield oci_common_2.composeRequest({
4152
4009
  baseEndpoint: endpoint,
4153
4010
  defaultHeaders: this._defaultHeaders,
@@ -4204,12 +4061,11 @@ class ObjectStorageClient {
4204
4061
  * @param UpdateNamespaceMetadataRequest
4205
4062
  * @return UpdateNamespaceMetadataResponse
4206
4063
  * @throws OciError when an error occurs
4207
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/UpdateNamespaceMetadata.ts.html |here} to see how to use UpdateNamespaceMetadata API.
4064
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/UpdateNamespaceMetadata.ts.html |here} to see how to use UpdateNamespaceMetadata API.
4208
4065
  */
4209
4066
  updateNamespaceMetadata(updateNamespaceMetadataRequest) {
4210
4067
  return __awaiter(this, void 0, void 0, function* () {
4211
- if (this.logger)
4212
- this.logger.debug("Calling operation ObjectStorageClient#updateNamespaceMetadata.");
4068
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#updateNamespaceMetadata.");
4213
4069
  const operationName = "updateNamespaceMetadata";
4214
4070
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Namespace/UpdateNamespaceMetadata";
4215
4071
  const pathParams = {
@@ -4224,8 +4080,6 @@ class ObjectStorageClient {
4224
4080
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4225
4081
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4226
4082
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateNamespaceMetadataRequest.retryConfiguration, specRetryConfiguration);
4227
- if (this.logger)
4228
- retrier.logger = this.logger;
4229
4083
  const request = yield oci_common_2.composeRequest({
4230
4084
  baseEndpoint: endpoint,
4231
4085
  defaultHeaders: this._defaultHeaders,
@@ -4271,12 +4125,11 @@ class ObjectStorageClient {
4271
4125
  * @param UpdateObjectStorageTierRequest
4272
4126
  * @return UpdateObjectStorageTierResponse
4273
4127
  * @throws OciError when an error occurs
4274
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/UpdateObjectStorageTier.ts.html |here} to see how to use UpdateObjectStorageTier API.
4128
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/UpdateObjectStorageTier.ts.html |here} to see how to use UpdateObjectStorageTier API.
4275
4129
  */
4276
4130
  updateObjectStorageTier(updateObjectStorageTierRequest) {
4277
4131
  return __awaiter(this, void 0, void 0, function* () {
4278
- if (this.logger)
4279
- this.logger.debug("Calling operation ObjectStorageClient#updateObjectStorageTier.");
4132
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#updateObjectStorageTier.");
4280
4133
  const operationName = "updateObjectStorageTier";
4281
4134
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Object/UpdateObjectStorageTier";
4282
4135
  const pathParams = {
@@ -4292,8 +4145,6 @@ class ObjectStorageClient {
4292
4145
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4293
4146
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4294
4147
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateObjectStorageTierRequest.retryConfiguration, specRetryConfiguration);
4295
- if (this.logger)
4296
- retrier.logger = this.logger;
4297
4148
  const request = yield oci_common_2.composeRequest({
4298
4149
  baseEndpoint: endpoint,
4299
4150
  defaultHeaders: this._defaultHeaders,
@@ -4335,12 +4186,11 @@ class ObjectStorageClient {
4335
4186
  * @param UpdateRetentionRuleRequest
4336
4187
  * @return UpdateRetentionRuleResponse
4337
4188
  * @throws OciError when an error occurs
4338
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/UpdateRetentionRule.ts.html |here} to see how to use UpdateRetentionRule API.
4189
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/UpdateRetentionRule.ts.html |here} to see how to use UpdateRetentionRule API.
4339
4190
  */
4340
4191
  updateRetentionRule(updateRetentionRuleRequest) {
4341
4192
  return __awaiter(this, void 0, void 0, function* () {
4342
- if (this.logger)
4343
- this.logger.debug("Calling operation ObjectStorageClient#updateRetentionRule.");
4193
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#updateRetentionRule.");
4344
4194
  const operationName = "updateRetentionRule";
4345
4195
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/RetentionRule/UpdateRetentionRule";
4346
4196
  const pathParams = {
@@ -4358,8 +4208,6 @@ class ObjectStorageClient {
4358
4208
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4359
4209
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4360
4210
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRetentionRuleRequest.retryConfiguration, specRetryConfiguration);
4361
- if (this.logger)
4362
- retrier.logger = this.logger;
4363
4211
  const request = yield oci_common_2.composeRequest({
4364
4212
  baseEndpoint: endpoint,
4365
4213
  defaultHeaders: this._defaultHeaders,
@@ -4410,12 +4258,11 @@ class ObjectStorageClient {
4410
4258
  * @param UploadPartRequest
4411
4259
  * @return UploadPartResponse
4412
4260
  * @throws OciError when an error occurs
4413
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.78.0/objectstorage/UploadPart.ts.html |here} to see how to use UploadPart API.
4261
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/objectstorage/UploadPart.ts.html |here} to see how to use UploadPart API.
4414
4262
  */
4415
4263
  uploadPart(uploadPartRequest) {
4416
4264
  return __awaiter(this, void 0, void 0, function* () {
4417
- if (this.logger)
4418
- this.logger.debug("Calling operation ObjectStorageClient#uploadPart.");
4265
+ oci_common_2.logger.debug("Calling operation ObjectStorageClient#uploadPart.");
4419
4266
  const operationName = "uploadPart";
4420
4267
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/MultipartUpload/UploadPart";
4421
4268
  const pathParams = {
@@ -4449,8 +4296,6 @@ class ObjectStorageClient {
4449
4296
  let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint(this.endpoint, pathParams, queryParams, requiredParams);
4450
4297
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4451
4298
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, uploadPartRequest.retryConfiguration, specRetryConfiguration);
4452
- if (this.logger)
4453
- retrier.logger = this.logger;
4454
4299
  const request = yield oci_common_2.composeRequest({
4455
4300
  baseEndpoint: endpoint,
4456
4301
  defaultHeaders: this._defaultHeaders,