oci-goldengate 2.25.0 → 2.28.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 +30 -29
- package/lib/client.js +117 -58
- package/lib/client.js.map +1 -1
- package/lib/model/cancel-deployment-backup-details.js +2 -2
- package/lib/model/cancel-deployment-backup-details.js.map +1 -1
- package/lib/model/restore-deployment-details.js +2 -2
- package/lib/model/restore-deployment-details.js.map +1 -1
- package/lib/model/start-deployment-details.js +2 -2
- package/lib/model/start-deployment-details.js.map +1 -1
- package/lib/model/stop-deployment-details.js +2 -2
- package/lib/model/stop-deployment-details.js.map +1 -1
- package/lib/model/upgrade-deployment-details.js +2 -2
- package/lib/model/upgrade-deployment-details.js.map +1 -1
- package/lib/request/cancel-deployment-backup-request.d.ts +1 -1
- package/lib/request/change-database-registration-compartment-request.d.ts +1 -1
- package/lib/request/change-deployment-backup-compartment-request.d.ts +1 -1
- package/lib/request/change-deployment-compartment-request.d.ts +1 -1
- package/lib/request/create-database-registration-request.d.ts +1 -1
- package/lib/request/create-deployment-backup-request.d.ts +1 -1
- package/lib/request/create-deployment-request.d.ts +1 -1
- package/lib/request/delete-database-registration-request.d.ts +1 -1
- package/lib/request/delete-deployment-backup-request.d.ts +1 -1
- package/lib/request/delete-deployment-request.d.ts +1 -1
- package/lib/request/get-database-registration-request.d.ts +1 -1
- package/lib/request/get-deployment-backup-request.d.ts +1 -1
- package/lib/request/get-deployment-request.d.ts +1 -1
- package/lib/request/get-deployment-upgrade-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-database-registrations-request.d.ts +1 -1
- package/lib/request/list-deployment-backups-request.d.ts +1 -1
- package/lib/request/list-deployment-upgrades-request.d.ts +1 -1
- package/lib/request/list-deployments-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/restore-deployment-request.d.ts +1 -1
- package/lib/request/start-deployment-request.d.ts +1 -1
- package/lib/request/stop-deployment-request.d.ts +1 -1
- package/lib/request/update-database-registration-request.d.ts +1 -1
- package/lib/request/update-deployment-backup-request.d.ts +1 -1
- package/lib/request/update-deployment-request.d.ts +1 -1
- package/lib/request/upgrade-deployment-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -62,6 +62,7 @@ class GoldenGateClient {
|
|
|
62
62
|
this["_defaultHeaders"] = {};
|
|
63
63
|
this._circuitBreaker = null;
|
|
64
64
|
this._httpOptions = undefined;
|
|
65
|
+
this.targetService = "GoldenGate";
|
|
65
66
|
const requestSigner = params.authenticationDetailsProvider
|
|
66
67
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
67
68
|
: null;
|
|
@@ -157,12 +158,14 @@ class GoldenGateClient {
|
|
|
157
158
|
* @param CancelDeploymentBackupRequest
|
|
158
159
|
* @return CancelDeploymentBackupResponse
|
|
159
160
|
* @throws OciError when an error occurs
|
|
160
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
161
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/CancelDeploymentBackup.ts.html |here} to see how to use CancelDeploymentBackup API.
|
|
161
162
|
*/
|
|
162
163
|
cancelDeploymentBackup(cancelDeploymentBackupRequest) {
|
|
163
164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
164
165
|
if (this.logger)
|
|
165
166
|
this.logger.debug("Calling operation GoldenGateClient#cancelDeploymentBackup.");
|
|
167
|
+
const operationName = "cancelDeploymentBackup";
|
|
168
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentBackup/CancelDeploymentBackup";
|
|
166
169
|
const pathParams = {
|
|
167
170
|
"{deploymentBackupId}": cancelDeploymentBackupRequest.deploymentBackupId
|
|
168
171
|
};
|
|
@@ -188,7 +191,7 @@ class GoldenGateClient {
|
|
|
188
191
|
queryParams: queryParams
|
|
189
192
|
});
|
|
190
193
|
try {
|
|
191
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
194
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
192
195
|
const sdkResponse = oci_common_2.composeResponse({
|
|
193
196
|
responseObject: {},
|
|
194
197
|
responseHeaders: [
|
|
@@ -218,12 +221,14 @@ class GoldenGateClient {
|
|
|
218
221
|
* @param ChangeDatabaseRegistrationCompartmentRequest
|
|
219
222
|
* @return ChangeDatabaseRegistrationCompartmentResponse
|
|
220
223
|
* @throws OciError when an error occurs
|
|
221
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
224
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/ChangeDatabaseRegistrationCompartment.ts.html |here} to see how to use ChangeDatabaseRegistrationCompartment API.
|
|
222
225
|
*/
|
|
223
226
|
changeDatabaseRegistrationCompartment(changeDatabaseRegistrationCompartmentRequest) {
|
|
224
227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
225
228
|
if (this.logger)
|
|
226
229
|
this.logger.debug("Calling operation GoldenGateClient#changeDatabaseRegistrationCompartment.");
|
|
230
|
+
const operationName = "changeDatabaseRegistrationCompartment";
|
|
231
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DatabaseRegistration/ChangeDatabaseRegistrationCompartment";
|
|
227
232
|
const pathParams = {
|
|
228
233
|
"{databaseRegistrationId}": changeDatabaseRegistrationCompartmentRequest.databaseRegistrationId
|
|
229
234
|
};
|
|
@@ -249,7 +254,7 @@ class GoldenGateClient {
|
|
|
249
254
|
queryParams: queryParams
|
|
250
255
|
});
|
|
251
256
|
try {
|
|
252
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
257
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
253
258
|
const sdkResponse = oci_common_2.composeResponse({
|
|
254
259
|
responseObject: {},
|
|
255
260
|
responseHeaders: [
|
|
@@ -279,12 +284,14 @@ class GoldenGateClient {
|
|
|
279
284
|
* @param ChangeDeploymentBackupCompartmentRequest
|
|
280
285
|
* @return ChangeDeploymentBackupCompartmentResponse
|
|
281
286
|
* @throws OciError when an error occurs
|
|
282
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
287
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/ChangeDeploymentBackupCompartment.ts.html |here} to see how to use ChangeDeploymentBackupCompartment API.
|
|
283
288
|
*/
|
|
284
289
|
changeDeploymentBackupCompartment(changeDeploymentBackupCompartmentRequest) {
|
|
285
290
|
return __awaiter(this, void 0, void 0, function* () {
|
|
286
291
|
if (this.logger)
|
|
287
292
|
this.logger.debug("Calling operation GoldenGateClient#changeDeploymentBackupCompartment.");
|
|
293
|
+
const operationName = "changeDeploymentBackupCompartment";
|
|
294
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentBackup/ChangeDeploymentBackupCompartment";
|
|
288
295
|
const pathParams = {
|
|
289
296
|
"{deploymentBackupId}": changeDeploymentBackupCompartmentRequest.deploymentBackupId
|
|
290
297
|
};
|
|
@@ -310,7 +317,7 @@ class GoldenGateClient {
|
|
|
310
317
|
queryParams: queryParams
|
|
311
318
|
});
|
|
312
319
|
try {
|
|
313
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
320
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
314
321
|
const sdkResponse = oci_common_2.composeResponse({
|
|
315
322
|
responseObject: {},
|
|
316
323
|
responseHeaders: [
|
|
@@ -335,12 +342,14 @@ class GoldenGateClient {
|
|
|
335
342
|
* @param ChangeDeploymentCompartmentRequest
|
|
336
343
|
* @return ChangeDeploymentCompartmentResponse
|
|
337
344
|
* @throws OciError when an error occurs
|
|
338
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
345
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/ChangeDeploymentCompartment.ts.html |here} to see how to use ChangeDeploymentCompartment API.
|
|
339
346
|
*/
|
|
340
347
|
changeDeploymentCompartment(changeDeploymentCompartmentRequest) {
|
|
341
348
|
return __awaiter(this, void 0, void 0, function* () {
|
|
342
349
|
if (this.logger)
|
|
343
350
|
this.logger.debug("Calling operation GoldenGateClient#changeDeploymentCompartment.");
|
|
351
|
+
const operationName = "changeDeploymentCompartment";
|
|
352
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/ChangeDeploymentCompartment";
|
|
344
353
|
const pathParams = {
|
|
345
354
|
"{deploymentId}": changeDeploymentCompartmentRequest.deploymentId
|
|
346
355
|
};
|
|
@@ -366,7 +375,7 @@ class GoldenGateClient {
|
|
|
366
375
|
queryParams: queryParams
|
|
367
376
|
});
|
|
368
377
|
try {
|
|
369
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
378
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
370
379
|
const sdkResponse = oci_common_2.composeResponse({
|
|
371
380
|
responseObject: {},
|
|
372
381
|
responseHeaders: [
|
|
@@ -396,12 +405,14 @@ class GoldenGateClient {
|
|
|
396
405
|
* @param CreateDatabaseRegistrationRequest
|
|
397
406
|
* @return CreateDatabaseRegistrationResponse
|
|
398
407
|
* @throws OciError when an error occurs
|
|
399
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
408
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/CreateDatabaseRegistration.ts.html |here} to see how to use CreateDatabaseRegistration API.
|
|
400
409
|
*/
|
|
401
410
|
createDatabaseRegistration(createDatabaseRegistrationRequest) {
|
|
402
411
|
return __awaiter(this, void 0, void 0, function* () {
|
|
403
412
|
if (this.logger)
|
|
404
413
|
this.logger.debug("Calling operation GoldenGateClient#createDatabaseRegistration.");
|
|
414
|
+
const operationName = "createDatabaseRegistration";
|
|
415
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DatabaseRegistration/CreateDatabaseRegistration";
|
|
405
416
|
const pathParams = {};
|
|
406
417
|
const queryParams = {};
|
|
407
418
|
let headerParams = {
|
|
@@ -424,7 +435,7 @@ class GoldenGateClient {
|
|
|
424
435
|
queryParams: queryParams
|
|
425
436
|
});
|
|
426
437
|
try {
|
|
427
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
438
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
428
439
|
const sdkResponse = oci_common_2.composeResponse({
|
|
429
440
|
responseObject: {},
|
|
430
441
|
body: yield response.json(),
|
|
@@ -463,12 +474,14 @@ class GoldenGateClient {
|
|
|
463
474
|
* @param CreateDeploymentRequest
|
|
464
475
|
* @return CreateDeploymentResponse
|
|
465
476
|
* @throws OciError when an error occurs
|
|
466
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
477
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/CreateDeployment.ts.html |here} to see how to use CreateDeployment API.
|
|
467
478
|
*/
|
|
468
479
|
createDeployment(createDeploymentRequest) {
|
|
469
480
|
return __awaiter(this, void 0, void 0, function* () {
|
|
470
481
|
if (this.logger)
|
|
471
482
|
this.logger.debug("Calling operation GoldenGateClient#createDeployment.");
|
|
483
|
+
const operationName = "createDeployment";
|
|
484
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/CreateDeployment";
|
|
472
485
|
const pathParams = {};
|
|
473
486
|
const queryParams = {};
|
|
474
487
|
let headerParams = {
|
|
@@ -491,7 +504,7 @@ class GoldenGateClient {
|
|
|
491
504
|
queryParams: queryParams
|
|
492
505
|
});
|
|
493
506
|
try {
|
|
494
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
507
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
495
508
|
const sdkResponse = oci_common_2.composeResponse({
|
|
496
509
|
responseObject: {},
|
|
497
510
|
body: yield response.json(),
|
|
@@ -529,12 +542,14 @@ class GoldenGateClient {
|
|
|
529
542
|
* @param CreateDeploymentBackupRequest
|
|
530
543
|
* @return CreateDeploymentBackupResponse
|
|
531
544
|
* @throws OciError when an error occurs
|
|
532
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
545
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/CreateDeploymentBackup.ts.html |here} to see how to use CreateDeploymentBackup API.
|
|
533
546
|
*/
|
|
534
547
|
createDeploymentBackup(createDeploymentBackupRequest) {
|
|
535
548
|
return __awaiter(this, void 0, void 0, function* () {
|
|
536
549
|
if (this.logger)
|
|
537
550
|
this.logger.debug("Calling operation GoldenGateClient#createDeploymentBackup.");
|
|
551
|
+
const operationName = "createDeploymentBackup";
|
|
552
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentBackup/CreateDeploymentBackup";
|
|
538
553
|
const pathParams = {};
|
|
539
554
|
const queryParams = {};
|
|
540
555
|
let headerParams = {
|
|
@@ -557,7 +572,7 @@ class GoldenGateClient {
|
|
|
557
572
|
queryParams: queryParams
|
|
558
573
|
});
|
|
559
574
|
try {
|
|
560
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
575
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
561
576
|
const sdkResponse = oci_common_2.composeResponse({
|
|
562
577
|
responseObject: {},
|
|
563
578
|
responseHeaders: [
|
|
@@ -587,12 +602,14 @@ class GoldenGateClient {
|
|
|
587
602
|
* @param DeleteDatabaseRegistrationRequest
|
|
588
603
|
* @return DeleteDatabaseRegistrationResponse
|
|
589
604
|
* @throws OciError when an error occurs
|
|
590
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
605
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/DeleteDatabaseRegistration.ts.html |here} to see how to use DeleteDatabaseRegistration API.
|
|
591
606
|
*/
|
|
592
607
|
deleteDatabaseRegistration(deleteDatabaseRegistrationRequest) {
|
|
593
608
|
return __awaiter(this, void 0, void 0, function* () {
|
|
594
609
|
if (this.logger)
|
|
595
610
|
this.logger.debug("Calling operation GoldenGateClient#deleteDatabaseRegistration.");
|
|
611
|
+
const operationName = "deleteDatabaseRegistration";
|
|
612
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DatabaseRegistration/DeleteDatabaseRegistration";
|
|
596
613
|
const pathParams = {
|
|
597
614
|
"{databaseRegistrationId}": deleteDatabaseRegistrationRequest.databaseRegistrationId
|
|
598
615
|
};
|
|
@@ -616,7 +633,7 @@ class GoldenGateClient {
|
|
|
616
633
|
queryParams: queryParams
|
|
617
634
|
});
|
|
618
635
|
try {
|
|
619
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
636
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
620
637
|
const sdkResponse = oci_common_2.composeResponse({
|
|
621
638
|
responseObject: {},
|
|
622
639
|
responseHeaders: [
|
|
@@ -646,12 +663,14 @@ class GoldenGateClient {
|
|
|
646
663
|
* @param DeleteDeploymentRequest
|
|
647
664
|
* @return DeleteDeploymentResponse
|
|
648
665
|
* @throws OciError when an error occurs
|
|
649
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
666
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/DeleteDeployment.ts.html |here} to see how to use DeleteDeployment API.
|
|
650
667
|
*/
|
|
651
668
|
deleteDeployment(deleteDeploymentRequest) {
|
|
652
669
|
return __awaiter(this, void 0, void 0, function* () {
|
|
653
670
|
if (this.logger)
|
|
654
671
|
this.logger.debug("Calling operation GoldenGateClient#deleteDeployment.");
|
|
672
|
+
const operationName = "deleteDeployment";
|
|
673
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/DeleteDeployment";
|
|
655
674
|
const pathParams = {
|
|
656
675
|
"{deploymentId}": deleteDeploymentRequest.deploymentId
|
|
657
676
|
};
|
|
@@ -675,7 +694,7 @@ class GoldenGateClient {
|
|
|
675
694
|
queryParams: queryParams
|
|
676
695
|
});
|
|
677
696
|
try {
|
|
678
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
697
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
679
698
|
const sdkResponse = oci_common_2.composeResponse({
|
|
680
699
|
responseObject: {},
|
|
681
700
|
responseHeaders: [
|
|
@@ -705,12 +724,14 @@ class GoldenGateClient {
|
|
|
705
724
|
* @param DeleteDeploymentBackupRequest
|
|
706
725
|
* @return DeleteDeploymentBackupResponse
|
|
707
726
|
* @throws OciError when an error occurs
|
|
708
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
727
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/DeleteDeploymentBackup.ts.html |here} to see how to use DeleteDeploymentBackup API.
|
|
709
728
|
*/
|
|
710
729
|
deleteDeploymentBackup(deleteDeploymentBackupRequest) {
|
|
711
730
|
return __awaiter(this, void 0, void 0, function* () {
|
|
712
731
|
if (this.logger)
|
|
713
732
|
this.logger.debug("Calling operation GoldenGateClient#deleteDeploymentBackup.");
|
|
733
|
+
const operationName = "deleteDeploymentBackup";
|
|
734
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentBackup/DeleteDeploymentBackup";
|
|
714
735
|
const pathParams = {
|
|
715
736
|
"{deploymentBackupId}": deleteDeploymentBackupRequest.deploymentBackupId
|
|
716
737
|
};
|
|
@@ -734,7 +755,7 @@ class GoldenGateClient {
|
|
|
734
755
|
queryParams: queryParams
|
|
735
756
|
});
|
|
736
757
|
try {
|
|
737
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
758
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
738
759
|
const sdkResponse = oci_common_2.composeResponse({
|
|
739
760
|
responseObject: {},
|
|
740
761
|
responseHeaders: [
|
|
@@ -764,12 +785,14 @@ class GoldenGateClient {
|
|
|
764
785
|
* @param GetDatabaseRegistrationRequest
|
|
765
786
|
* @return GetDatabaseRegistrationResponse
|
|
766
787
|
* @throws OciError when an error occurs
|
|
767
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
788
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/GetDatabaseRegistration.ts.html |here} to see how to use GetDatabaseRegistration API.
|
|
768
789
|
*/
|
|
769
790
|
getDatabaseRegistration(getDatabaseRegistrationRequest) {
|
|
770
791
|
return __awaiter(this, void 0, void 0, function* () {
|
|
771
792
|
if (this.logger)
|
|
772
793
|
this.logger.debug("Calling operation GoldenGateClient#getDatabaseRegistration.");
|
|
794
|
+
const operationName = "getDatabaseRegistration";
|
|
795
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DatabaseRegistration/GetDatabaseRegistration";
|
|
773
796
|
const pathParams = {
|
|
774
797
|
"{databaseRegistrationId}": getDatabaseRegistrationRequest.databaseRegistrationId
|
|
775
798
|
};
|
|
@@ -792,7 +815,7 @@ class GoldenGateClient {
|
|
|
792
815
|
queryParams: queryParams
|
|
793
816
|
});
|
|
794
817
|
try {
|
|
795
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
818
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
796
819
|
const sdkResponse = oci_common_2.composeResponse({
|
|
797
820
|
responseObject: {},
|
|
798
821
|
body: yield response.json(),
|
|
@@ -826,12 +849,14 @@ class GoldenGateClient {
|
|
|
826
849
|
* @param GetDeploymentRequest
|
|
827
850
|
* @return GetDeploymentResponse
|
|
828
851
|
* @throws OciError when an error occurs
|
|
829
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
852
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/GetDeployment.ts.html |here} to see how to use GetDeployment API.
|
|
830
853
|
*/
|
|
831
854
|
getDeployment(getDeploymentRequest) {
|
|
832
855
|
return __awaiter(this, void 0, void 0, function* () {
|
|
833
856
|
if (this.logger)
|
|
834
857
|
this.logger.debug("Calling operation GoldenGateClient#getDeployment.");
|
|
858
|
+
const operationName = "getDeployment";
|
|
859
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/GetDeployment";
|
|
835
860
|
const pathParams = {
|
|
836
861
|
"{deploymentId}": getDeploymentRequest.deploymentId
|
|
837
862
|
};
|
|
@@ -854,7 +879,7 @@ class GoldenGateClient {
|
|
|
854
879
|
queryParams: queryParams
|
|
855
880
|
});
|
|
856
881
|
try {
|
|
857
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
882
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
858
883
|
const sdkResponse = oci_common_2.composeResponse({
|
|
859
884
|
responseObject: {},
|
|
860
885
|
body: yield response.json(),
|
|
@@ -888,12 +913,14 @@ class GoldenGateClient {
|
|
|
888
913
|
* @param GetDeploymentBackupRequest
|
|
889
914
|
* @return GetDeploymentBackupResponse
|
|
890
915
|
* @throws OciError when an error occurs
|
|
891
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
916
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/GetDeploymentBackup.ts.html |here} to see how to use GetDeploymentBackup API.
|
|
892
917
|
*/
|
|
893
918
|
getDeploymentBackup(getDeploymentBackupRequest) {
|
|
894
919
|
return __awaiter(this, void 0, void 0, function* () {
|
|
895
920
|
if (this.logger)
|
|
896
921
|
this.logger.debug("Calling operation GoldenGateClient#getDeploymentBackup.");
|
|
922
|
+
const operationName = "getDeploymentBackup";
|
|
923
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentBackup/GetDeploymentBackup";
|
|
897
924
|
const pathParams = {
|
|
898
925
|
"{deploymentBackupId}": getDeploymentBackupRequest.deploymentBackupId
|
|
899
926
|
};
|
|
@@ -916,7 +943,7 @@ class GoldenGateClient {
|
|
|
916
943
|
queryParams: queryParams
|
|
917
944
|
});
|
|
918
945
|
try {
|
|
919
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
946
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
920
947
|
const sdkResponse = oci_common_2.composeResponse({
|
|
921
948
|
responseObject: {},
|
|
922
949
|
body: yield response.json(),
|
|
@@ -950,12 +977,14 @@ class GoldenGateClient {
|
|
|
950
977
|
* @param GetDeploymentUpgradeRequest
|
|
951
978
|
* @return GetDeploymentUpgradeResponse
|
|
952
979
|
* @throws OciError when an error occurs
|
|
953
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
980
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/GetDeploymentUpgrade.ts.html |here} to see how to use GetDeploymentUpgrade API.
|
|
954
981
|
*/
|
|
955
982
|
getDeploymentUpgrade(getDeploymentUpgradeRequest) {
|
|
956
983
|
return __awaiter(this, void 0, void 0, function* () {
|
|
957
984
|
if (this.logger)
|
|
958
985
|
this.logger.debug("Calling operation GoldenGateClient#getDeploymentUpgrade.");
|
|
986
|
+
const operationName = "getDeploymentUpgrade";
|
|
987
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentUpgrade/GetDeploymentUpgrade";
|
|
959
988
|
const pathParams = {
|
|
960
989
|
"{deploymentUpgradeId}": getDeploymentUpgradeRequest.deploymentUpgradeId
|
|
961
990
|
};
|
|
@@ -978,7 +1007,7 @@ class GoldenGateClient {
|
|
|
978
1007
|
queryParams: queryParams
|
|
979
1008
|
});
|
|
980
1009
|
try {
|
|
981
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1010
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
982
1011
|
const sdkResponse = oci_common_2.composeResponse({
|
|
983
1012
|
responseObject: {},
|
|
984
1013
|
body: yield response.json(),
|
|
@@ -1012,12 +1041,14 @@ class GoldenGateClient {
|
|
|
1012
1041
|
* @param GetWorkRequestRequest
|
|
1013
1042
|
* @return GetWorkRequestResponse
|
|
1014
1043
|
* @throws OciError when an error occurs
|
|
1015
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1044
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1016
1045
|
*/
|
|
1017
1046
|
getWorkRequest(getWorkRequestRequest) {
|
|
1018
1047
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1019
1048
|
if (this.logger)
|
|
1020
1049
|
this.logger.debug("Calling operation GoldenGateClient#getWorkRequest.");
|
|
1050
|
+
const operationName = "getWorkRequest";
|
|
1051
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/WorkRequest/GetWorkRequest";
|
|
1021
1052
|
const pathParams = {
|
|
1022
1053
|
"{workRequestId}": getWorkRequestRequest.workRequestId
|
|
1023
1054
|
};
|
|
@@ -1040,7 +1071,7 @@ class GoldenGateClient {
|
|
|
1040
1071
|
queryParams: queryParams
|
|
1041
1072
|
});
|
|
1042
1073
|
try {
|
|
1043
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1074
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1044
1075
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1045
1076
|
responseObject: {},
|
|
1046
1077
|
body: yield response.json(),
|
|
@@ -1074,12 +1105,14 @@ class GoldenGateClient {
|
|
|
1074
1105
|
* @param ListDatabaseRegistrationsRequest
|
|
1075
1106
|
* @return ListDatabaseRegistrationsResponse
|
|
1076
1107
|
* @throws OciError when an error occurs
|
|
1077
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1108
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/ListDatabaseRegistrations.ts.html |here} to see how to use ListDatabaseRegistrations API.
|
|
1078
1109
|
*/
|
|
1079
1110
|
listDatabaseRegistrations(listDatabaseRegistrationsRequest) {
|
|
1080
1111
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1081
1112
|
if (this.logger)
|
|
1082
1113
|
this.logger.debug("Calling operation GoldenGateClient#listDatabaseRegistrations.");
|
|
1114
|
+
const operationName = "listDatabaseRegistrations";
|
|
1115
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DatabaseRegistration/ListDatabaseRegistrations";
|
|
1083
1116
|
const pathParams = {};
|
|
1084
1117
|
const queryParams = {
|
|
1085
1118
|
"compartmentId": listDatabaseRegistrationsRequest.compartmentId,
|
|
@@ -1108,7 +1141,7 @@ class GoldenGateClient {
|
|
|
1108
1141
|
queryParams: queryParams
|
|
1109
1142
|
});
|
|
1110
1143
|
try {
|
|
1111
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1144
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1112
1145
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1113
1146
|
responseObject: {},
|
|
1114
1147
|
body: yield response.json(),
|
|
@@ -1142,12 +1175,14 @@ class GoldenGateClient {
|
|
|
1142
1175
|
* @param ListDeploymentBackupsRequest
|
|
1143
1176
|
* @return ListDeploymentBackupsResponse
|
|
1144
1177
|
* @throws OciError when an error occurs
|
|
1145
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1178
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/ListDeploymentBackups.ts.html |here} to see how to use ListDeploymentBackups API.
|
|
1146
1179
|
*/
|
|
1147
1180
|
listDeploymentBackups(listDeploymentBackupsRequest) {
|
|
1148
1181
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1149
1182
|
if (this.logger)
|
|
1150
1183
|
this.logger.debug("Calling operation GoldenGateClient#listDeploymentBackups.");
|
|
1184
|
+
const operationName = "listDeploymentBackups";
|
|
1185
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentBackup/ListDeploymentBackups";
|
|
1151
1186
|
const pathParams = {};
|
|
1152
1187
|
const queryParams = {
|
|
1153
1188
|
"compartmentId": listDeploymentBackupsRequest.compartmentId,
|
|
@@ -1177,7 +1212,7 @@ class GoldenGateClient {
|
|
|
1177
1212
|
queryParams: queryParams
|
|
1178
1213
|
});
|
|
1179
1214
|
try {
|
|
1180
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1215
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1181
1216
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1182
1217
|
responseObject: {},
|
|
1183
1218
|
body: yield response.json(),
|
|
@@ -1211,12 +1246,14 @@ class GoldenGateClient {
|
|
|
1211
1246
|
* @param ListDeploymentUpgradesRequest
|
|
1212
1247
|
* @return ListDeploymentUpgradesResponse
|
|
1213
1248
|
* @throws OciError when an error occurs
|
|
1214
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1249
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/ListDeploymentUpgrades.ts.html |here} to see how to use ListDeploymentUpgrades API.
|
|
1215
1250
|
*/
|
|
1216
1251
|
listDeploymentUpgrades(listDeploymentUpgradesRequest) {
|
|
1217
1252
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1218
1253
|
if (this.logger)
|
|
1219
1254
|
this.logger.debug("Calling operation GoldenGateClient#listDeploymentUpgrades.");
|
|
1255
|
+
const operationName = "listDeploymentUpgrades";
|
|
1256
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentUpgrade/ListDeploymentUpgrades";
|
|
1220
1257
|
const pathParams = {};
|
|
1221
1258
|
const queryParams = {
|
|
1222
1259
|
"compartmentId": listDeploymentUpgradesRequest.compartmentId,
|
|
@@ -1246,7 +1283,7 @@ class GoldenGateClient {
|
|
|
1246
1283
|
queryParams: queryParams
|
|
1247
1284
|
});
|
|
1248
1285
|
try {
|
|
1249
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1286
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1250
1287
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1251
1288
|
responseObject: {},
|
|
1252
1289
|
body: yield response.json(),
|
|
@@ -1280,12 +1317,14 @@ class GoldenGateClient {
|
|
|
1280
1317
|
* @param ListDeploymentsRequest
|
|
1281
1318
|
* @return ListDeploymentsResponse
|
|
1282
1319
|
* @throws OciError when an error occurs
|
|
1283
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1320
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/ListDeployments.ts.html |here} to see how to use ListDeployments API.
|
|
1284
1321
|
*/
|
|
1285
1322
|
listDeployments(listDeploymentsRequest) {
|
|
1286
1323
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1287
1324
|
if (this.logger)
|
|
1288
1325
|
this.logger.debug("Calling operation GoldenGateClient#listDeployments.");
|
|
1326
|
+
const operationName = "listDeployments";
|
|
1327
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/ListDeployments";
|
|
1289
1328
|
const pathParams = {};
|
|
1290
1329
|
const queryParams = {
|
|
1291
1330
|
"compartmentId": listDeploymentsRequest.compartmentId,
|
|
@@ -1316,7 +1355,7 @@ class GoldenGateClient {
|
|
|
1316
1355
|
queryParams: queryParams
|
|
1317
1356
|
});
|
|
1318
1357
|
try {
|
|
1319
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1358
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1320
1359
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1321
1360
|
responseObject: {},
|
|
1322
1361
|
body: yield response.json(),
|
|
@@ -1350,12 +1389,14 @@ class GoldenGateClient {
|
|
|
1350
1389
|
* @param ListWorkRequestErrorsRequest
|
|
1351
1390
|
* @return ListWorkRequestErrorsResponse
|
|
1352
1391
|
* @throws OciError when an error occurs
|
|
1353
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1392
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1354
1393
|
*/
|
|
1355
1394
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1356
1395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1357
1396
|
if (this.logger)
|
|
1358
1397
|
this.logger.debug("Calling operation GoldenGateClient#listWorkRequestErrors.");
|
|
1398
|
+
const operationName = "listWorkRequestErrors";
|
|
1399
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/WorkRequestError/ListWorkRequestErrors";
|
|
1359
1400
|
const pathParams = {
|
|
1360
1401
|
"{workRequestId}": listWorkRequestErrorsRequest.workRequestId
|
|
1361
1402
|
};
|
|
@@ -1381,7 +1422,7 @@ class GoldenGateClient {
|
|
|
1381
1422
|
queryParams: queryParams
|
|
1382
1423
|
});
|
|
1383
1424
|
try {
|
|
1384
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1425
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1385
1426
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1386
1427
|
responseObject: {},
|
|
1387
1428
|
body: yield response.json(),
|
|
@@ -1455,12 +1496,14 @@ class GoldenGateClient {
|
|
|
1455
1496
|
* @param ListWorkRequestLogsRequest
|
|
1456
1497
|
* @return ListWorkRequestLogsResponse
|
|
1457
1498
|
* @throws OciError when an error occurs
|
|
1458
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1499
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1459
1500
|
*/
|
|
1460
1501
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1461
1502
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1462
1503
|
if (this.logger)
|
|
1463
1504
|
this.logger.debug("Calling operation GoldenGateClient#listWorkRequestLogs.");
|
|
1505
|
+
const operationName = "listWorkRequestLogs";
|
|
1506
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/WorkRequestLogEntry/ListWorkRequestLogs";
|
|
1464
1507
|
const pathParams = {
|
|
1465
1508
|
"{workRequestId}": listWorkRequestLogsRequest.workRequestId
|
|
1466
1509
|
};
|
|
@@ -1486,7 +1529,7 @@ class GoldenGateClient {
|
|
|
1486
1529
|
queryParams: queryParams
|
|
1487
1530
|
});
|
|
1488
1531
|
try {
|
|
1489
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1532
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1490
1533
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1491
1534
|
responseObject: {},
|
|
1492
1535
|
body: yield response.json(),
|
|
@@ -1560,12 +1603,14 @@ class GoldenGateClient {
|
|
|
1560
1603
|
* @param ListWorkRequestsRequest
|
|
1561
1604
|
* @return ListWorkRequestsResponse
|
|
1562
1605
|
* @throws OciError when an error occurs
|
|
1563
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1606
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1564
1607
|
*/
|
|
1565
1608
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1566
1609
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1567
1610
|
if (this.logger)
|
|
1568
1611
|
this.logger.debug("Calling operation GoldenGateClient#listWorkRequests.");
|
|
1612
|
+
const operationName = "listWorkRequests";
|
|
1613
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/WorkRequest/ListWorkRequests";
|
|
1569
1614
|
const pathParams = {};
|
|
1570
1615
|
const queryParams = {
|
|
1571
1616
|
"compartmentId": listWorkRequestsRequest.compartmentId,
|
|
@@ -1591,7 +1636,7 @@ class GoldenGateClient {
|
|
|
1591
1636
|
queryParams: queryParams
|
|
1592
1637
|
});
|
|
1593
1638
|
try {
|
|
1594
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1639
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1595
1640
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1596
1641
|
responseObject: {},
|
|
1597
1642
|
body: yield response.json(),
|
|
@@ -1664,12 +1709,14 @@ class GoldenGateClient {
|
|
|
1664
1709
|
* @param RestoreDeploymentRequest
|
|
1665
1710
|
* @return RestoreDeploymentResponse
|
|
1666
1711
|
* @throws OciError when an error occurs
|
|
1667
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1712
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/RestoreDeployment.ts.html |here} to see how to use RestoreDeployment API.
|
|
1668
1713
|
*/
|
|
1669
1714
|
restoreDeployment(restoreDeploymentRequest) {
|
|
1670
1715
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1671
1716
|
if (this.logger)
|
|
1672
1717
|
this.logger.debug("Calling operation GoldenGateClient#restoreDeployment.");
|
|
1718
|
+
const operationName = "restoreDeployment";
|
|
1719
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentBackup/RestoreDeployment";
|
|
1673
1720
|
const pathParams = {
|
|
1674
1721
|
"{deploymentBackupId}": restoreDeploymentRequest.deploymentBackupId
|
|
1675
1722
|
};
|
|
@@ -1695,7 +1742,7 @@ class GoldenGateClient {
|
|
|
1695
1742
|
queryParams: queryParams
|
|
1696
1743
|
});
|
|
1697
1744
|
try {
|
|
1698
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1745
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1699
1746
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1700
1747
|
responseObject: {},
|
|
1701
1748
|
responseHeaders: [
|
|
@@ -1725,12 +1772,14 @@ class GoldenGateClient {
|
|
|
1725
1772
|
* @param StartDeploymentRequest
|
|
1726
1773
|
* @return StartDeploymentResponse
|
|
1727
1774
|
* @throws OciError when an error occurs
|
|
1728
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1775
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/StartDeployment.ts.html |here} to see how to use StartDeployment API.
|
|
1729
1776
|
*/
|
|
1730
1777
|
startDeployment(startDeploymentRequest) {
|
|
1731
1778
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1732
1779
|
if (this.logger)
|
|
1733
1780
|
this.logger.debug("Calling operation GoldenGateClient#startDeployment.");
|
|
1781
|
+
const operationName = "startDeployment";
|
|
1782
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/StartDeployment";
|
|
1734
1783
|
const pathParams = {
|
|
1735
1784
|
"{deploymentId}": startDeploymentRequest.deploymentId
|
|
1736
1785
|
};
|
|
@@ -1756,7 +1805,7 @@ class GoldenGateClient {
|
|
|
1756
1805
|
queryParams: queryParams
|
|
1757
1806
|
});
|
|
1758
1807
|
try {
|
|
1759
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1808
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1760
1809
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1761
1810
|
responseObject: {},
|
|
1762
1811
|
responseHeaders: [
|
|
@@ -1786,12 +1835,14 @@ class GoldenGateClient {
|
|
|
1786
1835
|
* @param StopDeploymentRequest
|
|
1787
1836
|
* @return StopDeploymentResponse
|
|
1788
1837
|
* @throws OciError when an error occurs
|
|
1789
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1838
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/StopDeployment.ts.html |here} to see how to use StopDeployment API.
|
|
1790
1839
|
*/
|
|
1791
1840
|
stopDeployment(stopDeploymentRequest) {
|
|
1792
1841
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1793
1842
|
if (this.logger)
|
|
1794
1843
|
this.logger.debug("Calling operation GoldenGateClient#stopDeployment.");
|
|
1844
|
+
const operationName = "stopDeployment";
|
|
1845
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/StopDeployment";
|
|
1795
1846
|
const pathParams = {
|
|
1796
1847
|
"{deploymentId}": stopDeploymentRequest.deploymentId
|
|
1797
1848
|
};
|
|
@@ -1817,7 +1868,7 @@ class GoldenGateClient {
|
|
|
1817
1868
|
queryParams: queryParams
|
|
1818
1869
|
});
|
|
1819
1870
|
try {
|
|
1820
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1871
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1821
1872
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1822
1873
|
responseObject: {},
|
|
1823
1874
|
responseHeaders: [
|
|
@@ -1847,12 +1898,14 @@ class GoldenGateClient {
|
|
|
1847
1898
|
* @param UpdateDatabaseRegistrationRequest
|
|
1848
1899
|
* @return UpdateDatabaseRegistrationResponse
|
|
1849
1900
|
* @throws OciError when an error occurs
|
|
1850
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1901
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/UpdateDatabaseRegistration.ts.html |here} to see how to use UpdateDatabaseRegistration API.
|
|
1851
1902
|
*/
|
|
1852
1903
|
updateDatabaseRegistration(updateDatabaseRegistrationRequest) {
|
|
1853
1904
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1854
1905
|
if (this.logger)
|
|
1855
1906
|
this.logger.debug("Calling operation GoldenGateClient#updateDatabaseRegistration.");
|
|
1907
|
+
const operationName = "updateDatabaseRegistration";
|
|
1908
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DatabaseRegistration/UpdateDatabaseRegistration";
|
|
1856
1909
|
const pathParams = {
|
|
1857
1910
|
"{databaseRegistrationId}": updateDatabaseRegistrationRequest.databaseRegistrationId
|
|
1858
1911
|
};
|
|
@@ -1877,7 +1930,7 @@ class GoldenGateClient {
|
|
|
1877
1930
|
queryParams: queryParams
|
|
1878
1931
|
});
|
|
1879
1932
|
try {
|
|
1880
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1933
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1881
1934
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1882
1935
|
responseObject: {},
|
|
1883
1936
|
responseHeaders: [
|
|
@@ -1907,12 +1960,14 @@ class GoldenGateClient {
|
|
|
1907
1960
|
* @param UpdateDeploymentRequest
|
|
1908
1961
|
* @return UpdateDeploymentResponse
|
|
1909
1962
|
* @throws OciError when an error occurs
|
|
1910
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1963
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/UpdateDeployment.ts.html |here} to see how to use UpdateDeployment API.
|
|
1911
1964
|
*/
|
|
1912
1965
|
updateDeployment(updateDeploymentRequest) {
|
|
1913
1966
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1914
1967
|
if (this.logger)
|
|
1915
1968
|
this.logger.debug("Calling operation GoldenGateClient#updateDeployment.");
|
|
1969
|
+
const operationName = "updateDeployment";
|
|
1970
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/UpdateDeployment";
|
|
1916
1971
|
const pathParams = {
|
|
1917
1972
|
"{deploymentId}": updateDeploymentRequest.deploymentId
|
|
1918
1973
|
};
|
|
@@ -1937,7 +1992,7 @@ class GoldenGateClient {
|
|
|
1937
1992
|
queryParams: queryParams
|
|
1938
1993
|
});
|
|
1939
1994
|
try {
|
|
1940
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1995
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1941
1996
|
const sdkResponse = oci_common_2.composeResponse({
|
|
1942
1997
|
responseObject: {},
|
|
1943
1998
|
responseHeaders: [
|
|
@@ -1967,12 +2022,14 @@ class GoldenGateClient {
|
|
|
1967
2022
|
* @param UpdateDeploymentBackupRequest
|
|
1968
2023
|
* @return UpdateDeploymentBackupResponse
|
|
1969
2024
|
* @throws OciError when an error occurs
|
|
1970
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2025
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/UpdateDeploymentBackup.ts.html |here} to see how to use UpdateDeploymentBackup API.
|
|
1971
2026
|
*/
|
|
1972
2027
|
updateDeploymentBackup(updateDeploymentBackupRequest) {
|
|
1973
2028
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1974
2029
|
if (this.logger)
|
|
1975
2030
|
this.logger.debug("Calling operation GoldenGateClient#updateDeploymentBackup.");
|
|
2031
|
+
const operationName = "updateDeploymentBackup";
|
|
2032
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentBackup/UpdateDeploymentBackup";
|
|
1976
2033
|
const pathParams = {
|
|
1977
2034
|
"{deploymentBackupId}": updateDeploymentBackupRequest.deploymentBackupId
|
|
1978
2035
|
};
|
|
@@ -1997,7 +2054,7 @@ class GoldenGateClient {
|
|
|
1997
2054
|
queryParams: queryParams
|
|
1998
2055
|
});
|
|
1999
2056
|
try {
|
|
2000
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2057
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2001
2058
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2002
2059
|
responseObject: {},
|
|
2003
2060
|
body: yield response.json(),
|
|
@@ -2031,12 +2088,14 @@ class GoldenGateClient {
|
|
|
2031
2088
|
* @param UpgradeDeploymentRequest
|
|
2032
2089
|
* @return UpgradeDeploymentResponse
|
|
2033
2090
|
* @throws OciError when an error occurs
|
|
2034
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2091
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/goldengate/UpgradeDeployment.ts.html |here} to see how to use UpgradeDeployment API.
|
|
2035
2092
|
*/
|
|
2036
2093
|
upgradeDeployment(upgradeDeploymentRequest) {
|
|
2037
2094
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2038
2095
|
if (this.logger)
|
|
2039
2096
|
this.logger.debug("Calling operation GoldenGateClient#upgradeDeployment.");
|
|
2097
|
+
const operationName = "upgradeDeployment";
|
|
2098
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/UpgradeDeployment";
|
|
2040
2099
|
const pathParams = {
|
|
2041
2100
|
"{deploymentId}": upgradeDeploymentRequest.deploymentId
|
|
2042
2101
|
};
|
|
@@ -2062,7 +2121,7 @@ class GoldenGateClient {
|
|
|
2062
2121
|
queryParams: queryParams
|
|
2063
2122
|
});
|
|
2064
2123
|
try {
|
|
2065
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2124
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2066
2125
|
const sdkResponse = oci_common_2.composeResponse({
|
|
2067
2126
|
responseObject: {},
|
|
2068
2127
|
responseHeaders: [
|