oci-psql 2.79.1 → 2.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +35 -34
- package/lib/client.js +173 -69
- package/lib/client.js.map +1 -1
- package/lib/model/backup-policy.js +4 -2
- package/lib/model/backup-policy.js.map +1 -1
- package/lib/model/password-details.js +4 -2
- package/lib/model/password-details.js.map +1 -1
- package/lib/model/patch-instruction.js +4 -2
- package/lib/model/patch-instruction.js.map +1 -1
- package/lib/model/source-details.js +4 -2
- package/lib/model/source-details.js.map +1 -1
- package/lib/model/storage-details.js +4 -2
- package/lib/model/storage-details.js.map +1 -1
- package/lib/request/change-backup-compartment-request.d.ts +1 -1
- package/lib/request/change-configuration-compartment-request.d.ts +1 -1
- package/lib/request/change-db-system-compartment-request.d.ts +1 -1
- package/lib/request/create-backup-request.d.ts +1 -1
- package/lib/request/create-configuration-request.d.ts +1 -1
- package/lib/request/create-db-system-request.d.ts +1 -1
- package/lib/request/delete-backup-request.d.ts +1 -1
- package/lib/request/delete-configuration-request.d.ts +1 -1
- package/lib/request/delete-db-system-request.d.ts +1 -1
- package/lib/request/failover-db-system-request.d.ts +1 -1
- package/lib/request/get-backup-request.d.ts +1 -1
- package/lib/request/get-configuration-request.d.ts +1 -1
- package/lib/request/get-connection-details-request.d.ts +1 -1
- package/lib/request/get-db-system-request.d.ts +1 -1
- package/lib/request/get-default-configuration-request.d.ts +1 -1
- package/lib/request/get-primary-db-instance-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-backups-request.d.ts +1 -1
- package/lib/request/list-configurations-request.d.ts +1 -1
- package/lib/request/list-db-systems-request.d.ts +1 -1
- package/lib/request/list-default-configurations-request.d.ts +1 -1
- package/lib/request/list-shapes-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/patch-db-system-request.d.ts +1 -1
- package/lib/request/reset-master-user-password-request.d.ts +1 -1
- package/lib/request/restart-db-instance-in-db-system-request.d.ts +1 -1
- package/lib/request/restore-db-system-request.d.ts +1 -1
- package/lib/request/update-backup-request.d.ts +1 -1
- package/lib/request/update-configuration-request.d.ts +1 -1
- package/lib/request/update-db-system-db-instance-request.d.ts +1 -1
- package/lib/request/update-db-system-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -59,7 +59,7 @@ var PostgresqlApiKeys;
|
|
|
59
59
|
*/
|
|
60
60
|
class PostgresqlClient {
|
|
61
61
|
constructor(params, clientConfiguration) {
|
|
62
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
62
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
63
63
|
this["_endpoint"] = "";
|
|
64
64
|
this["_defaultHeaders"] = {};
|
|
65
65
|
this._circuitBreaker = null;
|
|
@@ -118,7 +118,11 @@ class PostgresqlClient {
|
|
|
118
118
|
set endpoint(endpoint) {
|
|
119
119
|
this._endpoint = endpoint;
|
|
120
120
|
this._endpoint = this._endpoint + "/20220915";
|
|
121
|
-
|
|
121
|
+
if (this.logger)
|
|
122
|
+
this.logger.info(`PostgresqlClient endpoint set to ${this._endpoint}`);
|
|
123
|
+
}
|
|
124
|
+
get logger() {
|
|
125
|
+
return common.LOG.logger;
|
|
122
126
|
}
|
|
123
127
|
/**
|
|
124
128
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -127,7 +131,8 @@ class PostgresqlClient {
|
|
|
127
131
|
*/
|
|
128
132
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
129
133
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
130
|
-
|
|
134
|
+
if (this.logger)
|
|
135
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
131
136
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
132
137
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(PostgresqlClient.serviceEndpointTemplate, this._region, PostgresqlClient.endpointServiceName);
|
|
133
138
|
}
|
|
@@ -193,11 +198,12 @@ class PostgresqlClient {
|
|
|
193
198
|
* @param ChangeBackupCompartmentRequest
|
|
194
199
|
* @return ChangeBackupCompartmentResponse
|
|
195
200
|
* @throws OciError when an error occurs
|
|
196
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
201
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/ChangeBackupCompartment.ts.html |here} to see how to use ChangeBackupCompartment API.
|
|
197
202
|
*/
|
|
198
203
|
changeBackupCompartment(changeBackupCompartmentRequest) {
|
|
199
204
|
return __awaiter(this, void 0, void 0, function* () {
|
|
200
|
-
|
|
205
|
+
if (this.logger)
|
|
206
|
+
this.logger.debug("Calling operation PostgresqlClient#changeBackupCompartment.");
|
|
201
207
|
const operationName = "changeBackupCompartment";
|
|
202
208
|
const apiReferenceLink = "";
|
|
203
209
|
const pathParams = {
|
|
@@ -212,6 +218,8 @@ class PostgresqlClient {
|
|
|
212
218
|
};
|
|
213
219
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
214
220
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeBackupCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
221
|
+
if (this.logger)
|
|
222
|
+
retrier.logger = this.logger;
|
|
215
223
|
const request = yield oci_common_1.composeRequest({
|
|
216
224
|
baseEndpoint: this._endpoint,
|
|
217
225
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -252,11 +260,12 @@ class PostgresqlClient {
|
|
|
252
260
|
* @param ChangeConfigurationCompartmentRequest
|
|
253
261
|
* @return ChangeConfigurationCompartmentResponse
|
|
254
262
|
* @throws OciError when an error occurs
|
|
255
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
263
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/ChangeConfigurationCompartment.ts.html |here} to see how to use ChangeConfigurationCompartment API.
|
|
256
264
|
*/
|
|
257
265
|
changeConfigurationCompartment(changeConfigurationCompartmentRequest) {
|
|
258
266
|
return __awaiter(this, void 0, void 0, function* () {
|
|
259
|
-
|
|
267
|
+
if (this.logger)
|
|
268
|
+
this.logger.debug("Calling operation PostgresqlClient#changeConfigurationCompartment.");
|
|
260
269
|
const operationName = "changeConfigurationCompartment";
|
|
261
270
|
const apiReferenceLink = "";
|
|
262
271
|
const pathParams = {
|
|
@@ -271,6 +280,8 @@ class PostgresqlClient {
|
|
|
271
280
|
};
|
|
272
281
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
273
282
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeConfigurationCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
283
|
+
if (this.logger)
|
|
284
|
+
retrier.logger = this.logger;
|
|
274
285
|
const request = yield oci_common_1.composeRequest({
|
|
275
286
|
baseEndpoint: this._endpoint,
|
|
276
287
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -306,11 +317,12 @@ class PostgresqlClient {
|
|
|
306
317
|
* @param ChangeDbSystemCompartmentRequest
|
|
307
318
|
* @return ChangeDbSystemCompartmentResponse
|
|
308
319
|
* @throws OciError when an error occurs
|
|
309
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
320
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/ChangeDbSystemCompartment.ts.html |here} to see how to use ChangeDbSystemCompartment API.
|
|
310
321
|
*/
|
|
311
322
|
changeDbSystemCompartment(changeDbSystemCompartmentRequest) {
|
|
312
323
|
return __awaiter(this, void 0, void 0, function* () {
|
|
313
|
-
|
|
324
|
+
if (this.logger)
|
|
325
|
+
this.logger.debug("Calling operation PostgresqlClient#changeDbSystemCompartment.");
|
|
314
326
|
const operationName = "changeDbSystemCompartment";
|
|
315
327
|
const apiReferenceLink = "";
|
|
316
328
|
const pathParams = {
|
|
@@ -325,6 +337,8 @@ class PostgresqlClient {
|
|
|
325
337
|
};
|
|
326
338
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
327
339
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDbSystemCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
340
|
+
if (this.logger)
|
|
341
|
+
retrier.logger = this.logger;
|
|
328
342
|
const request = yield oci_common_1.composeRequest({
|
|
329
343
|
baseEndpoint: this._endpoint,
|
|
330
344
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -366,11 +380,12 @@ class PostgresqlClient {
|
|
|
366
380
|
* @param CreateBackupRequest
|
|
367
381
|
* @return CreateBackupResponse
|
|
368
382
|
* @throws OciError when an error occurs
|
|
369
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
383
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/CreateBackup.ts.html |here} to see how to use CreateBackup API.
|
|
370
384
|
*/
|
|
371
385
|
createBackup(createBackupRequest) {
|
|
372
386
|
return __awaiter(this, void 0, void 0, function* () {
|
|
373
|
-
|
|
387
|
+
if (this.logger)
|
|
388
|
+
this.logger.debug("Calling operation PostgresqlClient#createBackup.");
|
|
374
389
|
const operationName = "createBackup";
|
|
375
390
|
const apiReferenceLink = "";
|
|
376
391
|
const pathParams = {};
|
|
@@ -382,6 +397,8 @@ class PostgresqlClient {
|
|
|
382
397
|
};
|
|
383
398
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
384
399
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
400
|
+
if (this.logger)
|
|
401
|
+
retrier.logger = this.logger;
|
|
385
402
|
const request = yield oci_common_1.composeRequest({
|
|
386
403
|
baseEndpoint: this._endpoint,
|
|
387
404
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -423,11 +440,12 @@ class PostgresqlClient {
|
|
|
423
440
|
* @param CreateConfigurationRequest
|
|
424
441
|
* @return CreateConfigurationResponse
|
|
425
442
|
* @throws OciError when an error occurs
|
|
426
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
443
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/CreateConfiguration.ts.html |here} to see how to use CreateConfiguration API.
|
|
427
444
|
*/
|
|
428
445
|
createConfiguration(createConfigurationRequest) {
|
|
429
446
|
return __awaiter(this, void 0, void 0, function* () {
|
|
430
|
-
|
|
447
|
+
if (this.logger)
|
|
448
|
+
this.logger.debug("Calling operation PostgresqlClient#createConfiguration.");
|
|
431
449
|
const operationName = "createConfiguration";
|
|
432
450
|
const apiReferenceLink = "";
|
|
433
451
|
const pathParams = {};
|
|
@@ -439,6 +457,8 @@ class PostgresqlClient {
|
|
|
439
457
|
};
|
|
440
458
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
441
459
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
460
|
+
if (this.logger)
|
|
461
|
+
retrier.logger = this.logger;
|
|
442
462
|
const request = yield oci_common_1.composeRequest({
|
|
443
463
|
baseEndpoint: this._endpoint,
|
|
444
464
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -484,11 +504,12 @@ class PostgresqlClient {
|
|
|
484
504
|
* @param CreateDbSystemRequest
|
|
485
505
|
* @return CreateDbSystemResponse
|
|
486
506
|
* @throws OciError when an error occurs
|
|
487
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
507
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/CreateDbSystem.ts.html |here} to see how to use CreateDbSystem API.
|
|
488
508
|
*/
|
|
489
509
|
createDbSystem(createDbSystemRequest) {
|
|
490
510
|
return __awaiter(this, void 0, void 0, function* () {
|
|
491
|
-
|
|
511
|
+
if (this.logger)
|
|
512
|
+
this.logger.debug("Calling operation PostgresqlClient#createDbSystem.");
|
|
492
513
|
const operationName = "createDbSystem";
|
|
493
514
|
const apiReferenceLink = "";
|
|
494
515
|
const pathParams = {};
|
|
@@ -500,6 +521,8 @@ class PostgresqlClient {
|
|
|
500
521
|
};
|
|
501
522
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
502
523
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
524
|
+
if (this.logger)
|
|
525
|
+
retrier.logger = this.logger;
|
|
503
526
|
const request = yield oci_common_1.composeRequest({
|
|
504
527
|
baseEndpoint: this._endpoint,
|
|
505
528
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -549,11 +572,12 @@ class PostgresqlClient {
|
|
|
549
572
|
* @param DeleteBackupRequest
|
|
550
573
|
* @return DeleteBackupResponse
|
|
551
574
|
* @throws OciError when an error occurs
|
|
552
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
575
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/DeleteBackup.ts.html |here} to see how to use DeleteBackup API.
|
|
553
576
|
*/
|
|
554
577
|
deleteBackup(deleteBackupRequest) {
|
|
555
578
|
return __awaiter(this, void 0, void 0, function* () {
|
|
556
|
-
|
|
579
|
+
if (this.logger)
|
|
580
|
+
this.logger.debug("Calling operation PostgresqlClient#deleteBackup.");
|
|
557
581
|
const operationName = "deleteBackup";
|
|
558
582
|
const apiReferenceLink = "";
|
|
559
583
|
const pathParams = {
|
|
@@ -567,6 +591,8 @@ class PostgresqlClient {
|
|
|
567
591
|
};
|
|
568
592
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
569
593
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
594
|
+
if (this.logger)
|
|
595
|
+
retrier.logger = this.logger;
|
|
570
596
|
const request = yield oci_common_1.composeRequest({
|
|
571
597
|
baseEndpoint: this._endpoint,
|
|
572
598
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -606,11 +632,12 @@ class PostgresqlClient {
|
|
|
606
632
|
* @param DeleteConfigurationRequest
|
|
607
633
|
* @return DeleteConfigurationResponse
|
|
608
634
|
* @throws OciError when an error occurs
|
|
609
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
635
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/DeleteConfiguration.ts.html |here} to see how to use DeleteConfiguration API.
|
|
610
636
|
*/
|
|
611
637
|
deleteConfiguration(deleteConfigurationRequest) {
|
|
612
638
|
return __awaiter(this, void 0, void 0, function* () {
|
|
613
|
-
|
|
639
|
+
if (this.logger)
|
|
640
|
+
this.logger.debug("Calling operation PostgresqlClient#deleteConfiguration.");
|
|
614
641
|
const operationName = "deleteConfiguration";
|
|
615
642
|
const apiReferenceLink = "";
|
|
616
643
|
const pathParams = {
|
|
@@ -624,6 +651,8 @@ class PostgresqlClient {
|
|
|
624
651
|
};
|
|
625
652
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
626
653
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
654
|
+
if (this.logger)
|
|
655
|
+
retrier.logger = this.logger;
|
|
627
656
|
const request = yield oci_common_1.composeRequest({
|
|
628
657
|
baseEndpoint: this._endpoint,
|
|
629
658
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -658,11 +687,12 @@ class PostgresqlClient {
|
|
|
658
687
|
* @param DeleteDbSystemRequest
|
|
659
688
|
* @return DeleteDbSystemResponse
|
|
660
689
|
* @throws OciError when an error occurs
|
|
661
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
690
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/DeleteDbSystem.ts.html |here} to see how to use DeleteDbSystem API.
|
|
662
691
|
*/
|
|
663
692
|
deleteDbSystem(deleteDbSystemRequest) {
|
|
664
693
|
return __awaiter(this, void 0, void 0, function* () {
|
|
665
|
-
|
|
694
|
+
if (this.logger)
|
|
695
|
+
this.logger.debug("Calling operation PostgresqlClient#deleteDbSystem.");
|
|
666
696
|
const operationName = "deleteDbSystem";
|
|
667
697
|
const apiReferenceLink = "";
|
|
668
698
|
const pathParams = {
|
|
@@ -676,6 +706,8 @@ class PostgresqlClient {
|
|
|
676
706
|
};
|
|
677
707
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
678
708
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
709
|
+
if (this.logger)
|
|
710
|
+
retrier.logger = this.logger;
|
|
679
711
|
const request = yield oci_common_1.composeRequest({
|
|
680
712
|
baseEndpoint: this._endpoint,
|
|
681
713
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -715,11 +747,12 @@ class PostgresqlClient {
|
|
|
715
747
|
* @param FailoverDbSystemRequest
|
|
716
748
|
* @return FailoverDbSystemResponse
|
|
717
749
|
* @throws OciError when an error occurs
|
|
718
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
750
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/FailoverDbSystem.ts.html |here} to see how to use FailoverDbSystem API.
|
|
719
751
|
*/
|
|
720
752
|
failoverDbSystem(failoverDbSystemRequest) {
|
|
721
753
|
return __awaiter(this, void 0, void 0, function* () {
|
|
722
|
-
|
|
754
|
+
if (this.logger)
|
|
755
|
+
this.logger.debug("Calling operation PostgresqlClient#failoverDbSystem.");
|
|
723
756
|
const operationName = "failoverDbSystem";
|
|
724
757
|
const apiReferenceLink = "";
|
|
725
758
|
const pathParams = {
|
|
@@ -734,6 +767,8 @@ class PostgresqlClient {
|
|
|
734
767
|
};
|
|
735
768
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
736
769
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, failoverDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
770
|
+
if (this.logger)
|
|
771
|
+
retrier.logger = this.logger;
|
|
737
772
|
const request = yield oci_common_1.composeRequest({
|
|
738
773
|
baseEndpoint: this._endpoint,
|
|
739
774
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -774,11 +809,12 @@ class PostgresqlClient {
|
|
|
774
809
|
* @param GetBackupRequest
|
|
775
810
|
* @return GetBackupResponse
|
|
776
811
|
* @throws OciError when an error occurs
|
|
777
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
812
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/GetBackup.ts.html |here} to see how to use GetBackup API.
|
|
778
813
|
*/
|
|
779
814
|
getBackup(getBackupRequest) {
|
|
780
815
|
return __awaiter(this, void 0, void 0, function* () {
|
|
781
|
-
|
|
816
|
+
if (this.logger)
|
|
817
|
+
this.logger.debug("Calling operation PostgresqlClient#getBackup.");
|
|
782
818
|
const operationName = "getBackup";
|
|
783
819
|
const apiReferenceLink = "";
|
|
784
820
|
const pathParams = {
|
|
@@ -791,6 +827,8 @@ class PostgresqlClient {
|
|
|
791
827
|
};
|
|
792
828
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
793
829
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
830
|
+
if (this.logger)
|
|
831
|
+
retrier.logger = this.logger;
|
|
794
832
|
const request = yield oci_common_1.composeRequest({
|
|
795
833
|
baseEndpoint: this._endpoint,
|
|
796
834
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -834,11 +872,12 @@ class PostgresqlClient {
|
|
|
834
872
|
* @param GetConfigurationRequest
|
|
835
873
|
* @return GetConfigurationResponse
|
|
836
874
|
* @throws OciError when an error occurs
|
|
837
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
875
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
838
876
|
*/
|
|
839
877
|
getConfiguration(getConfigurationRequest) {
|
|
840
878
|
return __awaiter(this, void 0, void 0, function* () {
|
|
841
|
-
|
|
879
|
+
if (this.logger)
|
|
880
|
+
this.logger.debug("Calling operation PostgresqlClient#getConfiguration.");
|
|
842
881
|
const operationName = "getConfiguration";
|
|
843
882
|
const apiReferenceLink = "";
|
|
844
883
|
const pathParams = {
|
|
@@ -851,6 +890,8 @@ class PostgresqlClient {
|
|
|
851
890
|
};
|
|
852
891
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
853
892
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
893
|
+
if (this.logger)
|
|
894
|
+
retrier.logger = this.logger;
|
|
854
895
|
const request = yield oci_common_1.composeRequest({
|
|
855
896
|
baseEndpoint: this._endpoint,
|
|
856
897
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -894,11 +935,12 @@ class PostgresqlClient {
|
|
|
894
935
|
* @param GetConnectionDetailsRequest
|
|
895
936
|
* @return GetConnectionDetailsResponse
|
|
896
937
|
* @throws OciError when an error occurs
|
|
897
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
938
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/GetConnectionDetails.ts.html |here} to see how to use GetConnectionDetails API.
|
|
898
939
|
*/
|
|
899
940
|
getConnectionDetails(getConnectionDetailsRequest) {
|
|
900
941
|
return __awaiter(this, void 0, void 0, function* () {
|
|
901
|
-
|
|
942
|
+
if (this.logger)
|
|
943
|
+
this.logger.debug("Calling operation PostgresqlClient#getConnectionDetails.");
|
|
902
944
|
const operationName = "getConnectionDetails";
|
|
903
945
|
const apiReferenceLink = "";
|
|
904
946
|
const pathParams = {
|
|
@@ -911,6 +953,8 @@ class PostgresqlClient {
|
|
|
911
953
|
};
|
|
912
954
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
913
955
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConnectionDetailsRequest.retryConfiguration, specRetryConfiguration);
|
|
956
|
+
if (this.logger)
|
|
957
|
+
retrier.logger = this.logger;
|
|
914
958
|
const request = yield oci_common_1.composeRequest({
|
|
915
959
|
baseEndpoint: this._endpoint,
|
|
916
960
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -954,11 +998,12 @@ class PostgresqlClient {
|
|
|
954
998
|
* @param GetDbSystemRequest
|
|
955
999
|
* @return GetDbSystemResponse
|
|
956
1000
|
* @throws OciError when an error occurs
|
|
957
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1001
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/GetDbSystem.ts.html |here} to see how to use GetDbSystem API.
|
|
958
1002
|
*/
|
|
959
1003
|
getDbSystem(getDbSystemRequest) {
|
|
960
1004
|
return __awaiter(this, void 0, void 0, function* () {
|
|
961
|
-
|
|
1005
|
+
if (this.logger)
|
|
1006
|
+
this.logger.debug("Calling operation PostgresqlClient#getDbSystem.");
|
|
962
1007
|
const operationName = "getDbSystem";
|
|
963
1008
|
const apiReferenceLink = "";
|
|
964
1009
|
const pathParams = {
|
|
@@ -973,6 +1018,8 @@ class PostgresqlClient {
|
|
|
973
1018
|
};
|
|
974
1019
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
975
1020
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1021
|
+
if (this.logger)
|
|
1022
|
+
retrier.logger = this.logger;
|
|
976
1023
|
const request = yield oci_common_1.composeRequest({
|
|
977
1024
|
baseEndpoint: this._endpoint,
|
|
978
1025
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1016,11 +1063,12 @@ class PostgresqlClient {
|
|
|
1016
1063
|
* @param GetDefaultConfigurationRequest
|
|
1017
1064
|
* @return GetDefaultConfigurationResponse
|
|
1018
1065
|
* @throws OciError when an error occurs
|
|
1019
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1066
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/GetDefaultConfiguration.ts.html |here} to see how to use GetDefaultConfiguration API.
|
|
1020
1067
|
*/
|
|
1021
1068
|
getDefaultConfiguration(getDefaultConfigurationRequest) {
|
|
1022
1069
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1023
|
-
|
|
1070
|
+
if (this.logger)
|
|
1071
|
+
this.logger.debug("Calling operation PostgresqlClient#getDefaultConfiguration.");
|
|
1024
1072
|
const operationName = "getDefaultConfiguration";
|
|
1025
1073
|
const apiReferenceLink = "";
|
|
1026
1074
|
const pathParams = {
|
|
@@ -1033,6 +1081,8 @@ class PostgresqlClient {
|
|
|
1033
1081
|
};
|
|
1034
1082
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1035
1083
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDefaultConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1084
|
+
if (this.logger)
|
|
1085
|
+
retrier.logger = this.logger;
|
|
1036
1086
|
const request = yield oci_common_1.composeRequest({
|
|
1037
1087
|
baseEndpoint: this._endpoint,
|
|
1038
1088
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1076,11 +1126,12 @@ class PostgresqlClient {
|
|
|
1076
1126
|
* @param GetPrimaryDbInstanceRequest
|
|
1077
1127
|
* @return GetPrimaryDbInstanceResponse
|
|
1078
1128
|
* @throws OciError when an error occurs
|
|
1079
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1129
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/GetPrimaryDbInstance.ts.html |here} to see how to use GetPrimaryDbInstance API.
|
|
1080
1130
|
*/
|
|
1081
1131
|
getPrimaryDbInstance(getPrimaryDbInstanceRequest) {
|
|
1082
1132
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1083
|
-
|
|
1133
|
+
if (this.logger)
|
|
1134
|
+
this.logger.debug("Calling operation PostgresqlClient#getPrimaryDbInstance.");
|
|
1084
1135
|
const operationName = "getPrimaryDbInstance";
|
|
1085
1136
|
const apiReferenceLink = "";
|
|
1086
1137
|
const pathParams = {
|
|
@@ -1093,6 +1144,8 @@ class PostgresqlClient {
|
|
|
1093
1144
|
};
|
|
1094
1145
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1095
1146
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPrimaryDbInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
1147
|
+
if (this.logger)
|
|
1148
|
+
retrier.logger = this.logger;
|
|
1096
1149
|
const request = yield oci_common_1.composeRequest({
|
|
1097
1150
|
baseEndpoint: this._endpoint,
|
|
1098
1151
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1136,11 +1189,12 @@ class PostgresqlClient {
|
|
|
1136
1189
|
* @param GetWorkRequestRequest
|
|
1137
1190
|
* @return GetWorkRequestResponse
|
|
1138
1191
|
* @throws OciError when an error occurs
|
|
1139
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1192
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1140
1193
|
*/
|
|
1141
1194
|
getWorkRequest(getWorkRequestRequest) {
|
|
1142
1195
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1143
|
-
|
|
1196
|
+
if (this.logger)
|
|
1197
|
+
this.logger.debug("Calling operation PostgresqlClient#getWorkRequest.");
|
|
1144
1198
|
const operationName = "getWorkRequest";
|
|
1145
1199
|
const apiReferenceLink = "";
|
|
1146
1200
|
const pathParams = {
|
|
@@ -1153,6 +1207,8 @@ class PostgresqlClient {
|
|
|
1153
1207
|
};
|
|
1154
1208
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1155
1209
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1210
|
+
if (this.logger)
|
|
1211
|
+
retrier.logger = this.logger;
|
|
1156
1212
|
const request = yield oci_common_1.composeRequest({
|
|
1157
1213
|
baseEndpoint: this._endpoint,
|
|
1158
1214
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1202,11 +1258,12 @@ class PostgresqlClient {
|
|
|
1202
1258
|
* @param ListBackupsRequest
|
|
1203
1259
|
* @return ListBackupsResponse
|
|
1204
1260
|
* @throws OciError when an error occurs
|
|
1205
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1261
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/ListBackups.ts.html |here} to see how to use ListBackups API.
|
|
1206
1262
|
*/
|
|
1207
1263
|
listBackups(listBackupsRequest) {
|
|
1208
1264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1209
|
-
|
|
1265
|
+
if (this.logger)
|
|
1266
|
+
this.logger.debug("Calling operation PostgresqlClient#listBackups.");
|
|
1210
1267
|
const operationName = "listBackups";
|
|
1211
1268
|
const apiReferenceLink = "";
|
|
1212
1269
|
const pathParams = {};
|
|
@@ -1229,6 +1286,8 @@ class PostgresqlClient {
|
|
|
1229
1286
|
};
|
|
1230
1287
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1231
1288
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBackupsRequest.retryConfiguration, specRetryConfiguration);
|
|
1289
|
+
if (this.logger)
|
|
1290
|
+
retrier.logger = this.logger;
|
|
1232
1291
|
const request = yield oci_common_1.composeRequest({
|
|
1233
1292
|
baseEndpoint: this._endpoint,
|
|
1234
1293
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1273,11 +1332,12 @@ class PostgresqlClient {
|
|
|
1273
1332
|
* @param ListConfigurationsRequest
|
|
1274
1333
|
* @return ListConfigurationsResponse
|
|
1275
1334
|
* @throws OciError when an error occurs
|
|
1276
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1335
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/ListConfigurations.ts.html |here} to see how to use ListConfigurations API.
|
|
1277
1336
|
*/
|
|
1278
1337
|
listConfigurations(listConfigurationsRequest) {
|
|
1279
1338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1280
|
-
|
|
1339
|
+
if (this.logger)
|
|
1340
|
+
this.logger.debug("Calling operation PostgresqlClient#listConfigurations.");
|
|
1281
1341
|
const operationName = "listConfigurations";
|
|
1282
1342
|
const apiReferenceLink = "";
|
|
1283
1343
|
const pathParams = {};
|
|
@@ -1299,6 +1359,8 @@ class PostgresqlClient {
|
|
|
1299
1359
|
};
|
|
1300
1360
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1301
1361
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
1362
|
+
if (this.logger)
|
|
1363
|
+
retrier.logger = this.logger;
|
|
1302
1364
|
const request = yield oci_common_1.composeRequest({
|
|
1303
1365
|
baseEndpoint: this._endpoint,
|
|
1304
1366
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1343,11 +1405,12 @@ class PostgresqlClient {
|
|
|
1343
1405
|
* @param ListDbSystemsRequest
|
|
1344
1406
|
* @return ListDbSystemsResponse
|
|
1345
1407
|
* @throws OciError when an error occurs
|
|
1346
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1408
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/ListDbSystems.ts.html |here} to see how to use ListDbSystems API.
|
|
1347
1409
|
*/
|
|
1348
1410
|
listDbSystems(listDbSystemsRequest) {
|
|
1349
1411
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1350
|
-
|
|
1412
|
+
if (this.logger)
|
|
1413
|
+
this.logger.debug("Calling operation PostgresqlClient#listDbSystems.");
|
|
1351
1414
|
const operationName = "listDbSystems";
|
|
1352
1415
|
const apiReferenceLink = "";
|
|
1353
1416
|
const pathParams = {};
|
|
@@ -1367,6 +1430,8 @@ class PostgresqlClient {
|
|
|
1367
1430
|
};
|
|
1368
1431
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1369
1432
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDbSystemsRequest.retryConfiguration, specRetryConfiguration);
|
|
1433
|
+
if (this.logger)
|
|
1434
|
+
retrier.logger = this.logger;
|
|
1370
1435
|
const request = yield oci_common_1.composeRequest({
|
|
1371
1436
|
baseEndpoint: this._endpoint,
|
|
1372
1437
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1411,11 +1476,12 @@ class PostgresqlClient {
|
|
|
1411
1476
|
* @param ListDefaultConfigurationsRequest
|
|
1412
1477
|
* @return ListDefaultConfigurationsResponse
|
|
1413
1478
|
* @throws OciError when an error occurs
|
|
1414
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1479
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/ListDefaultConfigurations.ts.html |here} to see how to use ListDefaultConfigurations API.
|
|
1415
1480
|
*/
|
|
1416
1481
|
listDefaultConfigurations(listDefaultConfigurationsRequest) {
|
|
1417
1482
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1418
|
-
|
|
1483
|
+
if (this.logger)
|
|
1484
|
+
this.logger.debug("Calling operation PostgresqlClient#listDefaultConfigurations.");
|
|
1419
1485
|
const operationName = "listDefaultConfigurations";
|
|
1420
1486
|
const apiReferenceLink = "";
|
|
1421
1487
|
const pathParams = {};
|
|
@@ -1436,6 +1502,8 @@ class PostgresqlClient {
|
|
|
1436
1502
|
};
|
|
1437
1503
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1438
1504
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDefaultConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
1505
|
+
if (this.logger)
|
|
1506
|
+
retrier.logger = this.logger;
|
|
1439
1507
|
const request = yield oci_common_1.composeRequest({
|
|
1440
1508
|
baseEndpoint: this._endpoint,
|
|
1441
1509
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1479,11 +1547,12 @@ class PostgresqlClient {
|
|
|
1479
1547
|
* @param ListShapesRequest
|
|
1480
1548
|
* @return ListShapesResponse
|
|
1481
1549
|
* @throws OciError when an error occurs
|
|
1482
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1550
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/ListShapes.ts.html |here} to see how to use ListShapes API.
|
|
1483
1551
|
*/
|
|
1484
1552
|
listShapes(listShapesRequest) {
|
|
1485
1553
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1486
|
-
|
|
1554
|
+
if (this.logger)
|
|
1555
|
+
this.logger.debug("Calling operation PostgresqlClient#listShapes.");
|
|
1487
1556
|
const operationName = "listShapes";
|
|
1488
1557
|
const apiReferenceLink = "";
|
|
1489
1558
|
const pathParams = {};
|
|
@@ -1501,6 +1570,8 @@ class PostgresqlClient {
|
|
|
1501
1570
|
};
|
|
1502
1571
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1503
1572
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listShapesRequest.retryConfiguration, specRetryConfiguration);
|
|
1573
|
+
if (this.logger)
|
|
1574
|
+
retrier.logger = this.logger;
|
|
1504
1575
|
const request = yield oci_common_1.composeRequest({
|
|
1505
1576
|
baseEndpoint: this._endpoint,
|
|
1506
1577
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1545,11 +1616,12 @@ class PostgresqlClient {
|
|
|
1545
1616
|
* @param ListWorkRequestErrorsRequest
|
|
1546
1617
|
* @return ListWorkRequestErrorsResponse
|
|
1547
1618
|
* @throws OciError when an error occurs
|
|
1548
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1619
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1549
1620
|
*/
|
|
1550
1621
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1551
1622
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1552
|
-
|
|
1623
|
+
if (this.logger)
|
|
1624
|
+
this.logger.debug("Calling operation PostgresqlClient#listWorkRequestErrors.");
|
|
1553
1625
|
const operationName = "listWorkRequestErrors";
|
|
1554
1626
|
const apiReferenceLink = "";
|
|
1555
1627
|
const pathParams = {
|
|
@@ -1567,6 +1639,8 @@ class PostgresqlClient {
|
|
|
1567
1639
|
};
|
|
1568
1640
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1569
1641
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1642
|
+
if (this.logger)
|
|
1643
|
+
retrier.logger = this.logger;
|
|
1570
1644
|
const request = yield oci_common_1.composeRequest({
|
|
1571
1645
|
baseEndpoint: this._endpoint,
|
|
1572
1646
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1611,11 +1685,12 @@ class PostgresqlClient {
|
|
|
1611
1685
|
* @param ListWorkRequestLogsRequest
|
|
1612
1686
|
* @return ListWorkRequestLogsResponse
|
|
1613
1687
|
* @throws OciError when an error occurs
|
|
1614
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1688
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1615
1689
|
*/
|
|
1616
1690
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1617
1691
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1618
|
-
|
|
1692
|
+
if (this.logger)
|
|
1693
|
+
this.logger.debug("Calling operation PostgresqlClient#listWorkRequestLogs.");
|
|
1619
1694
|
const operationName = "listWorkRequestLogs";
|
|
1620
1695
|
const apiReferenceLink = "";
|
|
1621
1696
|
const pathParams = {
|
|
@@ -1633,6 +1708,8 @@ class PostgresqlClient {
|
|
|
1633
1708
|
};
|
|
1634
1709
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1635
1710
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1711
|
+
if (this.logger)
|
|
1712
|
+
retrier.logger = this.logger;
|
|
1636
1713
|
const request = yield oci_common_1.composeRequest({
|
|
1637
1714
|
baseEndpoint: this._endpoint,
|
|
1638
1715
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1677,11 +1754,12 @@ class PostgresqlClient {
|
|
|
1677
1754
|
* @param ListWorkRequestsRequest
|
|
1678
1755
|
* @return ListWorkRequestsResponse
|
|
1679
1756
|
* @throws OciError when an error occurs
|
|
1680
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1757
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1681
1758
|
*/
|
|
1682
1759
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1683
1760
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1684
|
-
|
|
1761
|
+
if (this.logger)
|
|
1762
|
+
this.logger.debug("Calling operation PostgresqlClient#listWorkRequests.");
|
|
1685
1763
|
const operationName = "listWorkRequests";
|
|
1686
1764
|
const apiReferenceLink = "";
|
|
1687
1765
|
const pathParams = {};
|
|
@@ -1701,6 +1779,8 @@ class PostgresqlClient {
|
|
|
1701
1779
|
};
|
|
1702
1780
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1703
1781
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1782
|
+
if (this.logger)
|
|
1783
|
+
retrier.logger = this.logger;
|
|
1704
1784
|
const request = yield oci_common_1.composeRequest({
|
|
1705
1785
|
baseEndpoint: this._endpoint,
|
|
1706
1786
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1744,11 +1824,12 @@ class PostgresqlClient {
|
|
|
1744
1824
|
* @param PatchDbSystemRequest
|
|
1745
1825
|
* @return PatchDbSystemResponse
|
|
1746
1826
|
* @throws OciError when an error occurs
|
|
1747
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1827
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/PatchDbSystem.ts.html |here} to see how to use PatchDbSystem API.
|
|
1748
1828
|
*/
|
|
1749
1829
|
patchDbSystem(patchDbSystemRequest) {
|
|
1750
1830
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1751
|
-
|
|
1831
|
+
if (this.logger)
|
|
1832
|
+
this.logger.debug("Calling operation PostgresqlClient#patchDbSystem.");
|
|
1752
1833
|
const operationName = "patchDbSystem";
|
|
1753
1834
|
const apiReferenceLink = "";
|
|
1754
1835
|
const pathParams = {
|
|
@@ -1762,6 +1843,8 @@ class PostgresqlClient {
|
|
|
1762
1843
|
};
|
|
1763
1844
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1764
1845
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1846
|
+
if (this.logger)
|
|
1847
|
+
retrier.logger = this.logger;
|
|
1765
1848
|
const request = yield oci_common_1.composeRequest({
|
|
1766
1849
|
baseEndpoint: this._endpoint,
|
|
1767
1850
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1802,11 +1885,12 @@ class PostgresqlClient {
|
|
|
1802
1885
|
* @param ResetMasterUserPasswordRequest
|
|
1803
1886
|
* @return ResetMasterUserPasswordResponse
|
|
1804
1887
|
* @throws OciError when an error occurs
|
|
1805
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1888
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/ResetMasterUserPassword.ts.html |here} to see how to use ResetMasterUserPassword API.
|
|
1806
1889
|
*/
|
|
1807
1890
|
resetMasterUserPassword(resetMasterUserPasswordRequest) {
|
|
1808
1891
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1809
|
-
|
|
1892
|
+
if (this.logger)
|
|
1893
|
+
this.logger.debug("Calling operation PostgresqlClient#resetMasterUserPassword.");
|
|
1810
1894
|
const operationName = "resetMasterUserPassword";
|
|
1811
1895
|
const apiReferenceLink = "";
|
|
1812
1896
|
const pathParams = {
|
|
@@ -1821,6 +1905,8 @@ class PostgresqlClient {
|
|
|
1821
1905
|
};
|
|
1822
1906
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1823
1907
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resetMasterUserPasswordRequest.retryConfiguration, specRetryConfiguration);
|
|
1908
|
+
if (this.logger)
|
|
1909
|
+
retrier.logger = this.logger;
|
|
1824
1910
|
const request = yield oci_common_1.composeRequest({
|
|
1825
1911
|
baseEndpoint: this._endpoint,
|
|
1826
1912
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1861,11 +1947,12 @@ class PostgresqlClient {
|
|
|
1861
1947
|
* @param RestartDbInstanceInDbSystemRequest
|
|
1862
1948
|
* @return RestartDbInstanceInDbSystemResponse
|
|
1863
1949
|
* @throws OciError when an error occurs
|
|
1864
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1950
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/RestartDbInstanceInDbSystem.ts.html |here} to see how to use RestartDbInstanceInDbSystem API.
|
|
1865
1951
|
*/
|
|
1866
1952
|
restartDbInstanceInDbSystem(restartDbInstanceInDbSystemRequest) {
|
|
1867
1953
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1868
|
-
|
|
1954
|
+
if (this.logger)
|
|
1955
|
+
this.logger.debug("Calling operation PostgresqlClient#restartDbInstanceInDbSystem.");
|
|
1869
1956
|
const operationName = "restartDbInstanceInDbSystem";
|
|
1870
1957
|
const apiReferenceLink = "";
|
|
1871
1958
|
const pathParams = {
|
|
@@ -1880,6 +1967,8 @@ class PostgresqlClient {
|
|
|
1880
1967
|
};
|
|
1881
1968
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1882
1969
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restartDbInstanceInDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
1970
|
+
if (this.logger)
|
|
1971
|
+
retrier.logger = this.logger;
|
|
1883
1972
|
const request = yield oci_common_1.composeRequest({
|
|
1884
1973
|
baseEndpoint: this._endpoint,
|
|
1885
1974
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1920,11 +2009,12 @@ class PostgresqlClient {
|
|
|
1920
2009
|
* @param RestoreDbSystemRequest
|
|
1921
2010
|
* @return RestoreDbSystemResponse
|
|
1922
2011
|
* @throws OciError when an error occurs
|
|
1923
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2012
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/RestoreDbSystem.ts.html |here} to see how to use RestoreDbSystem API.
|
|
1924
2013
|
*/
|
|
1925
2014
|
restoreDbSystem(restoreDbSystemRequest) {
|
|
1926
2015
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1927
|
-
|
|
2016
|
+
if (this.logger)
|
|
2017
|
+
this.logger.debug("Calling operation PostgresqlClient#restoreDbSystem.");
|
|
1928
2018
|
const operationName = "restoreDbSystem";
|
|
1929
2019
|
const apiReferenceLink = "";
|
|
1930
2020
|
const pathParams = {
|
|
@@ -1939,6 +2029,8 @@ class PostgresqlClient {
|
|
|
1939
2029
|
};
|
|
1940
2030
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1941
2031
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restoreDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2032
|
+
if (this.logger)
|
|
2033
|
+
retrier.logger = this.logger;
|
|
1942
2034
|
const request = yield oci_common_1.composeRequest({
|
|
1943
2035
|
baseEndpoint: this._endpoint,
|
|
1944
2036
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1979,11 +2071,12 @@ class PostgresqlClient {
|
|
|
1979
2071
|
* @param UpdateBackupRequest
|
|
1980
2072
|
* @return UpdateBackupResponse
|
|
1981
2073
|
* @throws OciError when an error occurs
|
|
1982
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2074
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/UpdateBackup.ts.html |here} to see how to use UpdateBackup API.
|
|
1983
2075
|
*/
|
|
1984
2076
|
updateBackup(updateBackupRequest) {
|
|
1985
2077
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1986
|
-
|
|
2078
|
+
if (this.logger)
|
|
2079
|
+
this.logger.debug("Calling operation PostgresqlClient#updateBackup.");
|
|
1987
2080
|
const operationName = "updateBackup";
|
|
1988
2081
|
const apiReferenceLink = "";
|
|
1989
2082
|
const pathParams = {
|
|
@@ -1997,6 +2090,8 @@ class PostgresqlClient {
|
|
|
1997
2090
|
};
|
|
1998
2091
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1999
2092
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
2093
|
+
if (this.logger)
|
|
2094
|
+
retrier.logger = this.logger;
|
|
2000
2095
|
const request = yield oci_common_1.composeRequest({
|
|
2001
2096
|
baseEndpoint: this._endpoint,
|
|
2002
2097
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2042,11 +2137,12 @@ class PostgresqlClient {
|
|
|
2042
2137
|
* @param UpdateConfigurationRequest
|
|
2043
2138
|
* @return UpdateConfigurationResponse
|
|
2044
2139
|
* @throws OciError when an error occurs
|
|
2045
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2140
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
2046
2141
|
*/
|
|
2047
2142
|
updateConfiguration(updateConfigurationRequest) {
|
|
2048
2143
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2049
|
-
|
|
2144
|
+
if (this.logger)
|
|
2145
|
+
this.logger.debug("Calling operation PostgresqlClient#updateConfiguration.");
|
|
2050
2146
|
const operationName = "updateConfiguration";
|
|
2051
2147
|
const apiReferenceLink = "";
|
|
2052
2148
|
const pathParams = {
|
|
@@ -2061,6 +2157,8 @@ class PostgresqlClient {
|
|
|
2061
2157
|
};
|
|
2062
2158
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2063
2159
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
2160
|
+
if (this.logger)
|
|
2161
|
+
retrier.logger = this.logger;
|
|
2064
2162
|
const request = yield oci_common_1.composeRequest({
|
|
2065
2163
|
baseEndpoint: this._endpoint,
|
|
2066
2164
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2105,11 +2203,12 @@ class PostgresqlClient {
|
|
|
2105
2203
|
* @param UpdateDbSystemRequest
|
|
2106
2204
|
* @return UpdateDbSystemResponse
|
|
2107
2205
|
* @throws OciError when an error occurs
|
|
2108
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2206
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/UpdateDbSystem.ts.html |here} to see how to use UpdateDbSystem API.
|
|
2109
2207
|
*/
|
|
2110
2208
|
updateDbSystem(updateDbSystemRequest) {
|
|
2111
2209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2112
|
-
|
|
2210
|
+
if (this.logger)
|
|
2211
|
+
this.logger.debug("Calling operation PostgresqlClient#updateDbSystem.");
|
|
2113
2212
|
const operationName = "updateDbSystem";
|
|
2114
2213
|
const apiReferenceLink = "";
|
|
2115
2214
|
const pathParams = {
|
|
@@ -2124,6 +2223,8 @@ class PostgresqlClient {
|
|
|
2124
2223
|
};
|
|
2125
2224
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2126
2225
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDbSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
2226
|
+
if (this.logger)
|
|
2227
|
+
retrier.logger = this.logger;
|
|
2127
2228
|
const request = yield oci_common_1.composeRequest({
|
|
2128
2229
|
baseEndpoint: this._endpoint,
|
|
2129
2230
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2164,11 +2265,12 @@ class PostgresqlClient {
|
|
|
2164
2265
|
* @param UpdateDbSystemDbInstanceRequest
|
|
2165
2266
|
* @return UpdateDbSystemDbInstanceResponse
|
|
2166
2267
|
* @throws OciError when an error occurs
|
|
2167
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2268
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/psql/UpdateDbSystemDbInstance.ts.html |here} to see how to use UpdateDbSystemDbInstance API.
|
|
2168
2269
|
*/
|
|
2169
2270
|
updateDbSystemDbInstance(updateDbSystemDbInstanceRequest) {
|
|
2170
2271
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2171
|
-
|
|
2272
|
+
if (this.logger)
|
|
2273
|
+
this.logger.debug("Calling operation PostgresqlClient#updateDbSystemDbInstance.");
|
|
2172
2274
|
const operationName = "updateDbSystemDbInstance";
|
|
2173
2275
|
const apiReferenceLink = "";
|
|
2174
2276
|
const pathParams = {
|
|
@@ -2184,6 +2286,8 @@ class PostgresqlClient {
|
|
|
2184
2286
|
};
|
|
2185
2287
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2186
2288
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDbSystemDbInstanceRequest.retryConfiguration, specRetryConfiguration);
|
|
2289
|
+
if (this.logger)
|
|
2290
|
+
retrier.logger = this.logger;
|
|
2187
2291
|
const request = yield oci_common_1.composeRequest({
|
|
2188
2292
|
baseEndpoint: this._endpoint,
|
|
2189
2293
|
defaultHeaders: this._defaultHeaders,
|