oci-goldengate 2.41.0 → 2.43.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 +88 -58
- package/lib/client.js +289 -87
- package/lib/client.js.map +1 -1
- package/lib/model/create-deployment-details.d.ts +2 -1
- package/lib/model/create-deployment-details.js.map +1 -1
- package/lib/model/deployment-message-collection.d.ts +29 -0
- package/lib/model/deployment-message-collection.js +62 -0
- package/lib/model/deployment-message-collection.js.map +1 -0
- package/lib/model/deployment-summary.d.ts +2 -1
- package/lib/model/deployment-summary.js.map +1 -1
- package/lib/model/deployment.d.ts +2 -1
- package/lib/model/deployment.js.map +1 -1
- package/lib/model/index.d.ts +12 -0
- package/lib/model/index.js +14 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/message-summary.d.ts +48 -0
- package/lib/model/message-summary.js +41 -0
- package/lib/model/message-summary.js.map +1 -0
- package/lib/model/trail-file-collection.d.ts +35 -0
- package/lib/model/trail-file-collection.js +62 -0
- package/lib/model/trail-file-collection.js.map +1 -0
- package/lib/model/trail-file-summary.d.ts +68 -0
- package/lib/model/trail-file-summary.js +30 -0
- package/lib/model/trail-file-summary.js.map +1 -0
- package/lib/model/trail-sequence-collection.d.ts +35 -0
- package/lib/model/trail-sequence-collection.js +62 -0
- package/lib/model/trail-sequence-collection.js.map +1 -0
- package/lib/model/trail-sequence-summary.d.ts +43 -0
- package/lib/model/trail-sequence-summary.js +30 -0
- package/lib/model/trail-sequence-summary.js.map +1 -0
- 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/index.d.ts +6 -0
- package/lib/request/index.js +5 -1
- package/lib/request/index.js.map +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-messages-request.d.ts +38 -0
- package/lib/request/list-messages-request.js +15 -0
- package/lib/request/list-messages-request.js.map +1 -0
- package/lib/request/list-trail-files-request.d.ts +67 -0
- package/lib/request/list-trail-files-request.js +24 -0
- package/lib/request/list-trail-files-request.js.map +1 -0
- package/lib/request/list-trail-sequences-request.d.ts +72 -0
- package/lib/request/list-trail-sequences-request.js +24 -0
- package/lib/request/list-trail-sequences-request.js.map +1 -0
- 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/lib/response/index.d.ts +6 -0
- package/lib/response/list-messages-response.d.ts +24 -0
- package/lib/response/list-messages-response.js +15 -0
- package/lib/response/list-messages-response.js.map +1 -0
- package/lib/response/list-trail-files-response.d.ts +29 -0
- package/lib/response/list-trail-files-response.js +15 -0
- package/lib/response/list-trail-files-response.js.map +1 -0
- package/lib/response/list-trail-sequences-response.d.ts +29 -0
- package/lib/response/list-trail-sequences-response.js +15 -0
- package/lib/response/list-trail-sequences-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -154,11 +154,11 @@ class GoldenGateClient {
|
|
|
154
154
|
}
|
|
155
155
|
/**
|
|
156
156
|
* Cancels a Deployment Backup creation process.
|
|
157
|
-
* This operation
|
|
157
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
158
158
|
* @param CancelDeploymentBackupRequest
|
|
159
159
|
* @return CancelDeploymentBackupResponse
|
|
160
160
|
* @throws OciError when an error occurs
|
|
161
|
-
* @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.43.0/goldengate/CancelDeploymentBackup.ts.html |here} to see how to use CancelDeploymentBackup API.
|
|
162
162
|
*/
|
|
163
163
|
cancelDeploymentBackup(cancelDeploymentBackupRequest) {
|
|
164
164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -176,7 +176,7 @@ class GoldenGateClient {
|
|
|
176
176
|
"opc-request-id": cancelDeploymentBackupRequest.opcRequestId,
|
|
177
177
|
"opc-retry-token": cancelDeploymentBackupRequest.opcRetryToken
|
|
178
178
|
};
|
|
179
|
-
const specRetryConfiguration = common.
|
|
179
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
180
180
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelDeploymentBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
181
181
|
if (this.logger)
|
|
182
182
|
retrier.logger = this.logger;
|
|
@@ -217,11 +217,11 @@ class GoldenGateClient {
|
|
|
217
217
|
/**
|
|
218
218
|
* Moves the DatabaseRegistration into a different compartment within the same tenancy. When provided, If-Match is checked against ETag values of the resource. For information about moving resources between compartments, see [Moving Resources Between Compartments](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
219
219
|
*
|
|
220
|
-
* This operation
|
|
220
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
221
221
|
* @param ChangeDatabaseRegistrationCompartmentRequest
|
|
222
222
|
* @return ChangeDatabaseRegistrationCompartmentResponse
|
|
223
223
|
* @throws OciError when an error occurs
|
|
224
|
-
* @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.43.0/goldengate/ChangeDatabaseRegistrationCompartment.ts.html |here} to see how to use ChangeDatabaseRegistrationCompartment API.
|
|
225
225
|
*/
|
|
226
226
|
changeDatabaseRegistrationCompartment(changeDatabaseRegistrationCompartmentRequest) {
|
|
227
227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -239,7 +239,7 @@ class GoldenGateClient {
|
|
|
239
239
|
"opc-request-id": changeDatabaseRegistrationCompartmentRequest.opcRequestId,
|
|
240
240
|
"opc-retry-token": changeDatabaseRegistrationCompartmentRequest.opcRetryToken
|
|
241
241
|
};
|
|
242
|
-
const specRetryConfiguration = common.
|
|
242
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
243
243
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDatabaseRegistrationCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
244
244
|
if (this.logger)
|
|
245
245
|
retrier.logger = this.logger;
|
|
@@ -280,11 +280,11 @@ class GoldenGateClient {
|
|
|
280
280
|
/**
|
|
281
281
|
* Moves a DeploymentBackup into a different compartment within the same tenancy. When provided, If-Match is checked against ETag values of the resource. For information about moving resources between compartments, see [Moving Resources Between Compartments](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
282
282
|
*
|
|
283
|
-
* This operation
|
|
283
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
284
284
|
* @param ChangeDeploymentBackupCompartmentRequest
|
|
285
285
|
* @return ChangeDeploymentBackupCompartmentResponse
|
|
286
286
|
* @throws OciError when an error occurs
|
|
287
|
-
* @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.43.0/goldengate/ChangeDeploymentBackupCompartment.ts.html |here} to see how to use ChangeDeploymentBackupCompartment API.
|
|
288
288
|
*/
|
|
289
289
|
changeDeploymentBackupCompartment(changeDeploymentBackupCompartmentRequest) {
|
|
290
290
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -302,7 +302,7 @@ class GoldenGateClient {
|
|
|
302
302
|
"opc-request-id": changeDeploymentBackupCompartmentRequest.opcRequestId,
|
|
303
303
|
"opc-retry-token": changeDeploymentBackupCompartmentRequest.opcRetryToken
|
|
304
304
|
};
|
|
305
|
-
const specRetryConfiguration = common.
|
|
305
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
306
306
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDeploymentBackupCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
307
307
|
if (this.logger)
|
|
308
308
|
retrier.logger = this.logger;
|
|
@@ -338,11 +338,11 @@ class GoldenGateClient {
|
|
|
338
338
|
/**
|
|
339
339
|
* Moves the Deployment into a different compartment within the same tenancy. When provided, If-Match is checked against ETag values of the resource. For information about moving resources between compartments, see [Moving Resources Between Compartments](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
340
340
|
*
|
|
341
|
-
* This operation
|
|
341
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
342
342
|
* @param ChangeDeploymentCompartmentRequest
|
|
343
343
|
* @return ChangeDeploymentCompartmentResponse
|
|
344
344
|
* @throws OciError when an error occurs
|
|
345
|
-
* @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.43.0/goldengate/ChangeDeploymentCompartment.ts.html |here} to see how to use ChangeDeploymentCompartment API.
|
|
346
346
|
*/
|
|
347
347
|
changeDeploymentCompartment(changeDeploymentCompartmentRequest) {
|
|
348
348
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -360,7 +360,7 @@ class GoldenGateClient {
|
|
|
360
360
|
"opc-request-id": changeDeploymentCompartmentRequest.opcRequestId,
|
|
361
361
|
"opc-retry-token": changeDeploymentCompartmentRequest.opcRetryToken
|
|
362
362
|
};
|
|
363
|
-
const specRetryConfiguration = common.
|
|
363
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
364
364
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDeploymentCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
365
365
|
if (this.logger)
|
|
366
366
|
retrier.logger = this.logger;
|
|
@@ -401,11 +401,11 @@ class GoldenGateClient {
|
|
|
401
401
|
/**
|
|
402
402
|
* Creates a new DatabaseRegistration.
|
|
403
403
|
*
|
|
404
|
-
* This operation
|
|
404
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
405
405
|
* @param CreateDatabaseRegistrationRequest
|
|
406
406
|
* @return CreateDatabaseRegistrationResponse
|
|
407
407
|
* @throws OciError when an error occurs
|
|
408
|
-
* @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.43.0/goldengate/CreateDatabaseRegistration.ts.html |here} to see how to use CreateDatabaseRegistration API.
|
|
409
409
|
*/
|
|
410
410
|
createDatabaseRegistration(createDatabaseRegistrationRequest) {
|
|
411
411
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -420,7 +420,7 @@ class GoldenGateClient {
|
|
|
420
420
|
"opc-retry-token": createDatabaseRegistrationRequest.opcRetryToken,
|
|
421
421
|
"opc-request-id": createDatabaseRegistrationRequest.opcRequestId
|
|
422
422
|
};
|
|
423
|
-
const specRetryConfiguration = common.
|
|
423
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
424
424
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDatabaseRegistrationRequest.retryConfiguration, specRetryConfiguration);
|
|
425
425
|
if (this.logger)
|
|
426
426
|
retrier.logger = this.logger;
|
|
@@ -470,11 +470,11 @@ class GoldenGateClient {
|
|
|
470
470
|
/**
|
|
471
471
|
* Creates a new Deployment.
|
|
472
472
|
*
|
|
473
|
-
* This operation
|
|
473
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
474
474
|
* @param CreateDeploymentRequest
|
|
475
475
|
* @return CreateDeploymentResponse
|
|
476
476
|
* @throws OciError when an error occurs
|
|
477
|
-
* @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.43.0/goldengate/CreateDeployment.ts.html |here} to see how to use CreateDeployment API.
|
|
478
478
|
*/
|
|
479
479
|
createDeployment(createDeploymentRequest) {
|
|
480
480
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -489,7 +489,7 @@ class GoldenGateClient {
|
|
|
489
489
|
"opc-retry-token": createDeploymentRequest.opcRetryToken,
|
|
490
490
|
"opc-request-id": createDeploymentRequest.opcRequestId
|
|
491
491
|
};
|
|
492
|
-
const specRetryConfiguration = common.
|
|
492
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
493
493
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
494
494
|
if (this.logger)
|
|
495
495
|
retrier.logger = this.logger;
|
|
@@ -538,11 +538,11 @@ class GoldenGateClient {
|
|
|
538
538
|
}
|
|
539
539
|
/**
|
|
540
540
|
* Creates a new DeploymentBackup.
|
|
541
|
-
* This operation
|
|
541
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
542
542
|
* @param CreateDeploymentBackupRequest
|
|
543
543
|
* @return CreateDeploymentBackupResponse
|
|
544
544
|
* @throws OciError when an error occurs
|
|
545
|
-
* @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.43.0/goldengate/CreateDeploymentBackup.ts.html |here} to see how to use CreateDeploymentBackup API.
|
|
546
546
|
*/
|
|
547
547
|
createDeploymentBackup(createDeploymentBackupRequest) {
|
|
548
548
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -557,7 +557,7 @@ class GoldenGateClient {
|
|
|
557
557
|
"opc-retry-token": createDeploymentBackupRequest.opcRetryToken,
|
|
558
558
|
"opc-request-id": createDeploymentBackupRequest.opcRequestId
|
|
559
559
|
};
|
|
560
|
-
const specRetryConfiguration = common.
|
|
560
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
561
561
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDeploymentBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
562
562
|
if (this.logger)
|
|
563
563
|
retrier.logger = this.logger;
|
|
@@ -598,11 +598,11 @@ class GoldenGateClient {
|
|
|
598
598
|
/**
|
|
599
599
|
* Deletes a DatabaseRegistration.
|
|
600
600
|
*
|
|
601
|
-
* This operation
|
|
601
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
602
602
|
* @param DeleteDatabaseRegistrationRequest
|
|
603
603
|
* @return DeleteDatabaseRegistrationResponse
|
|
604
604
|
* @throws OciError when an error occurs
|
|
605
|
-
* @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.43.0/goldengate/DeleteDatabaseRegistration.ts.html |here} to see how to use DeleteDatabaseRegistration API.
|
|
606
606
|
*/
|
|
607
607
|
deleteDatabaseRegistration(deleteDatabaseRegistrationRequest) {
|
|
608
608
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -619,7 +619,7 @@ class GoldenGateClient {
|
|
|
619
619
|
"if-match": deleteDatabaseRegistrationRequest.ifMatch,
|
|
620
620
|
"opc-request-id": deleteDatabaseRegistrationRequest.opcRequestId
|
|
621
621
|
};
|
|
622
|
-
const specRetryConfiguration = common.
|
|
622
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
623
623
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDatabaseRegistrationRequest.retryConfiguration, specRetryConfiguration);
|
|
624
624
|
if (this.logger)
|
|
625
625
|
retrier.logger = this.logger;
|
|
@@ -659,11 +659,11 @@ class GoldenGateClient {
|
|
|
659
659
|
/**
|
|
660
660
|
* Deletes the Deployment.
|
|
661
661
|
*
|
|
662
|
-
* This operation
|
|
662
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
663
663
|
* @param DeleteDeploymentRequest
|
|
664
664
|
* @return DeleteDeploymentResponse
|
|
665
665
|
* @throws OciError when an error occurs
|
|
666
|
-
* @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.43.0/goldengate/DeleteDeployment.ts.html |here} to see how to use DeleteDeployment API.
|
|
667
667
|
*/
|
|
668
668
|
deleteDeployment(deleteDeploymentRequest) {
|
|
669
669
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -680,7 +680,7 @@ class GoldenGateClient {
|
|
|
680
680
|
"if-match": deleteDeploymentRequest.ifMatch,
|
|
681
681
|
"opc-request-id": deleteDeploymentRequest.opcRequestId
|
|
682
682
|
};
|
|
683
|
-
const specRetryConfiguration = common.
|
|
683
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
684
684
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
685
685
|
if (this.logger)
|
|
686
686
|
retrier.logger = this.logger;
|
|
@@ -720,11 +720,11 @@ class GoldenGateClient {
|
|
|
720
720
|
/**
|
|
721
721
|
* Deletes a DeploymentBackup.
|
|
722
722
|
*
|
|
723
|
-
* This operation
|
|
723
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
724
724
|
* @param DeleteDeploymentBackupRequest
|
|
725
725
|
* @return DeleteDeploymentBackupResponse
|
|
726
726
|
* @throws OciError when an error occurs
|
|
727
|
-
* @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.43.0/goldengate/DeleteDeploymentBackup.ts.html |here} to see how to use DeleteDeploymentBackup API.
|
|
728
728
|
*/
|
|
729
729
|
deleteDeploymentBackup(deleteDeploymentBackupRequest) {
|
|
730
730
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -741,7 +741,7 @@ class GoldenGateClient {
|
|
|
741
741
|
"if-match": deleteDeploymentBackupRequest.ifMatch,
|
|
742
742
|
"opc-request-id": deleteDeploymentBackupRequest.opcRequestId
|
|
743
743
|
};
|
|
744
|
-
const specRetryConfiguration = common.
|
|
744
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
745
745
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDeploymentBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
746
746
|
if (this.logger)
|
|
747
747
|
retrier.logger = this.logger;
|
|
@@ -781,11 +781,11 @@ class GoldenGateClient {
|
|
|
781
781
|
/**
|
|
782
782
|
* Retrieves a DatabaseRegistration.
|
|
783
783
|
*
|
|
784
|
-
* This operation
|
|
784
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
785
785
|
* @param GetDatabaseRegistrationRequest
|
|
786
786
|
* @return GetDatabaseRegistrationResponse
|
|
787
787
|
* @throws OciError when an error occurs
|
|
788
|
-
* @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.43.0/goldengate/GetDatabaseRegistration.ts.html |here} to see how to use GetDatabaseRegistration API.
|
|
789
789
|
*/
|
|
790
790
|
getDatabaseRegistration(getDatabaseRegistrationRequest) {
|
|
791
791
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -801,7 +801,7 @@ class GoldenGateClient {
|
|
|
801
801
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
802
802
|
"opc-request-id": getDatabaseRegistrationRequest.opcRequestId
|
|
803
803
|
};
|
|
804
|
-
const specRetryConfiguration = common.
|
|
804
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
805
805
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDatabaseRegistrationRequest.retryConfiguration, specRetryConfiguration);
|
|
806
806
|
if (this.logger)
|
|
807
807
|
retrier.logger = this.logger;
|
|
@@ -845,11 +845,11 @@ class GoldenGateClient {
|
|
|
845
845
|
/**
|
|
846
846
|
* Retrieves a deployment.
|
|
847
847
|
*
|
|
848
|
-
* This operation
|
|
848
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
849
849
|
* @param GetDeploymentRequest
|
|
850
850
|
* @return GetDeploymentResponse
|
|
851
851
|
* @throws OciError when an error occurs
|
|
852
|
-
* @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.43.0/goldengate/GetDeployment.ts.html |here} to see how to use GetDeployment API.
|
|
853
853
|
*/
|
|
854
854
|
getDeployment(getDeploymentRequest) {
|
|
855
855
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -865,7 +865,7 @@ class GoldenGateClient {
|
|
|
865
865
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
866
866
|
"opc-request-id": getDeploymentRequest.opcRequestId
|
|
867
867
|
};
|
|
868
|
-
const specRetryConfiguration = common.
|
|
868
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
869
869
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
870
870
|
if (this.logger)
|
|
871
871
|
retrier.logger = this.logger;
|
|
@@ -909,11 +909,11 @@ class GoldenGateClient {
|
|
|
909
909
|
/**
|
|
910
910
|
* Retrieves a DeploymentBackup.
|
|
911
911
|
*
|
|
912
|
-
* This operation
|
|
912
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
913
913
|
* @param GetDeploymentBackupRequest
|
|
914
914
|
* @return GetDeploymentBackupResponse
|
|
915
915
|
* @throws OciError when an error occurs
|
|
916
|
-
* @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.43.0/goldengate/GetDeploymentBackup.ts.html |here} to see how to use GetDeploymentBackup API.
|
|
917
917
|
*/
|
|
918
918
|
getDeploymentBackup(getDeploymentBackupRequest) {
|
|
919
919
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -929,7 +929,7 @@ class GoldenGateClient {
|
|
|
929
929
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
930
930
|
"opc-request-id": getDeploymentBackupRequest.opcRequestId
|
|
931
931
|
};
|
|
932
|
-
const specRetryConfiguration = common.
|
|
932
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
933
933
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDeploymentBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
934
934
|
if (this.logger)
|
|
935
935
|
retrier.logger = this.logger;
|
|
@@ -973,11 +973,11 @@ class GoldenGateClient {
|
|
|
973
973
|
/**
|
|
974
974
|
* Retrieves a deployment upgrade.
|
|
975
975
|
*
|
|
976
|
-
* This operation
|
|
976
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
977
977
|
* @param GetDeploymentUpgradeRequest
|
|
978
978
|
* @return GetDeploymentUpgradeResponse
|
|
979
979
|
* @throws OciError when an error occurs
|
|
980
|
-
* @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.43.0/goldengate/GetDeploymentUpgrade.ts.html |here} to see how to use GetDeploymentUpgrade API.
|
|
981
981
|
*/
|
|
982
982
|
getDeploymentUpgrade(getDeploymentUpgradeRequest) {
|
|
983
983
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -993,7 +993,7 @@ class GoldenGateClient {
|
|
|
993
993
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
994
994
|
"opc-request-id": getDeploymentUpgradeRequest.opcRequestId
|
|
995
995
|
};
|
|
996
|
-
const specRetryConfiguration = common.
|
|
996
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
997
997
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDeploymentUpgradeRequest.retryConfiguration, specRetryConfiguration);
|
|
998
998
|
if (this.logger)
|
|
999
999
|
retrier.logger = this.logger;
|
|
@@ -1037,11 +1037,11 @@ class GoldenGateClient {
|
|
|
1037
1037
|
/**
|
|
1038
1038
|
* Retrieve the WorkRequest identified by the given OCID.
|
|
1039
1039
|
*
|
|
1040
|
-
* This operation
|
|
1040
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1041
1041
|
* @param GetWorkRequestRequest
|
|
1042
1042
|
* @return GetWorkRequestResponse
|
|
1043
1043
|
* @throws OciError when an error occurs
|
|
1044
|
-
* @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.43.0/goldengate/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1045
1045
|
*/
|
|
1046
1046
|
getWorkRequest(getWorkRequestRequest) {
|
|
1047
1047
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1057,7 +1057,7 @@ class GoldenGateClient {
|
|
|
1057
1057
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1058
1058
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
1059
1059
|
};
|
|
1060
|
-
const specRetryConfiguration = common.
|
|
1060
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1061
1061
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1062
1062
|
if (this.logger)
|
|
1063
1063
|
retrier.logger = this.logger;
|
|
@@ -1101,11 +1101,11 @@ class GoldenGateClient {
|
|
|
1101
1101
|
/**
|
|
1102
1102
|
* Lists the DatabaseRegistrations in the compartment.
|
|
1103
1103
|
*
|
|
1104
|
-
* This operation
|
|
1104
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1105
1105
|
* @param ListDatabaseRegistrationsRequest
|
|
1106
1106
|
* @return ListDatabaseRegistrationsResponse
|
|
1107
1107
|
* @throws OciError when an error occurs
|
|
1108
|
-
* @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.43.0/goldengate/ListDatabaseRegistrations.ts.html |here} to see how to use ListDatabaseRegistrations API.
|
|
1109
1109
|
*/
|
|
1110
1110
|
listDatabaseRegistrations(listDatabaseRegistrationsRequest) {
|
|
1111
1111
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1127,7 +1127,7 @@ class GoldenGateClient {
|
|
|
1127
1127
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1128
1128
|
"opc-request-id": listDatabaseRegistrationsRequest.opcRequestId
|
|
1129
1129
|
};
|
|
1130
|
-
const specRetryConfiguration = common.
|
|
1130
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1131
1131
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDatabaseRegistrationsRequest.retryConfiguration, specRetryConfiguration);
|
|
1132
1132
|
if (this.logger)
|
|
1133
1133
|
retrier.logger = this.logger;
|
|
@@ -1171,11 +1171,11 @@ class GoldenGateClient {
|
|
|
1171
1171
|
/**
|
|
1172
1172
|
* Lists the Backups in a compartment.
|
|
1173
1173
|
*
|
|
1174
|
-
* This operation
|
|
1174
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1175
1175
|
* @param ListDeploymentBackupsRequest
|
|
1176
1176
|
* @return ListDeploymentBackupsResponse
|
|
1177
1177
|
* @throws OciError when an error occurs
|
|
1178
|
-
* @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.43.0/goldengate/ListDeploymentBackups.ts.html |here} to see how to use ListDeploymentBackups API.
|
|
1179
1179
|
*/
|
|
1180
1180
|
listDeploymentBackups(listDeploymentBackupsRequest) {
|
|
1181
1181
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1198,7 +1198,7 @@ class GoldenGateClient {
|
|
|
1198
1198
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1199
1199
|
"opc-request-id": listDeploymentBackupsRequest.opcRequestId
|
|
1200
1200
|
};
|
|
1201
|
-
const specRetryConfiguration = common.
|
|
1201
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1202
1202
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDeploymentBackupsRequest.retryConfiguration, specRetryConfiguration);
|
|
1203
1203
|
if (this.logger)
|
|
1204
1204
|
retrier.logger = this.logger;
|
|
@@ -1242,11 +1242,11 @@ class GoldenGateClient {
|
|
|
1242
1242
|
/**
|
|
1243
1243
|
* Lists the Deployment Upgrades in a compartment.
|
|
1244
1244
|
*
|
|
1245
|
-
* This operation
|
|
1245
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1246
1246
|
* @param ListDeploymentUpgradesRequest
|
|
1247
1247
|
* @return ListDeploymentUpgradesResponse
|
|
1248
1248
|
* @throws OciError when an error occurs
|
|
1249
|
-
* @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.43.0/goldengate/ListDeploymentUpgrades.ts.html |here} to see how to use ListDeploymentUpgrades API.
|
|
1250
1250
|
*/
|
|
1251
1251
|
listDeploymentUpgrades(listDeploymentUpgradesRequest) {
|
|
1252
1252
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1269,7 +1269,7 @@ class GoldenGateClient {
|
|
|
1269
1269
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1270
1270
|
"opc-request-id": listDeploymentUpgradesRequest.opcRequestId
|
|
1271
1271
|
};
|
|
1272
|
-
const specRetryConfiguration = common.
|
|
1272
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1273
1273
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDeploymentUpgradesRequest.retryConfiguration, specRetryConfiguration);
|
|
1274
1274
|
if (this.logger)
|
|
1275
1275
|
retrier.logger = this.logger;
|
|
@@ -1313,11 +1313,11 @@ class GoldenGateClient {
|
|
|
1313
1313
|
/**
|
|
1314
1314
|
* Lists the Deployments in a compartment.
|
|
1315
1315
|
*
|
|
1316
|
-
* This operation
|
|
1316
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1317
1317
|
* @param ListDeploymentsRequest
|
|
1318
1318
|
* @return ListDeploymentsResponse
|
|
1319
1319
|
* @throws OciError when an error occurs
|
|
1320
|
-
* @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.43.0/goldengate/ListDeployments.ts.html |here} to see how to use ListDeployments API.
|
|
1321
1321
|
*/
|
|
1322
1322
|
listDeployments(listDeploymentsRequest) {
|
|
1323
1323
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1341,7 +1341,7 @@ class GoldenGateClient {
|
|
|
1341
1341
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1342
1342
|
"opc-request-id": listDeploymentsRequest.opcRequestId
|
|
1343
1343
|
};
|
|
1344
|
-
const specRetryConfiguration = common.
|
|
1344
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1345
1345
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDeploymentsRequest.retryConfiguration, specRetryConfiguration);
|
|
1346
1346
|
if (this.logger)
|
|
1347
1347
|
retrier.logger = this.logger;
|
|
@@ -1382,14 +1382,216 @@ class GoldenGateClient {
|
|
|
1382
1382
|
}
|
|
1383
1383
|
});
|
|
1384
1384
|
}
|
|
1385
|
+
/**
|
|
1386
|
+
* Lists the DeploymentMessages for a deployment. The sorting order is not important. By default first will be Upgrade message, next Exception message and then Storage Utilization message.
|
|
1387
|
+
*
|
|
1388
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1389
|
+
* @param ListMessagesRequest
|
|
1390
|
+
* @return ListMessagesResponse
|
|
1391
|
+
* @throws OciError when an error occurs
|
|
1392
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.43.0/goldengate/ListMessages.ts.html |here} to see how to use ListMessages API.
|
|
1393
|
+
*/
|
|
1394
|
+
listMessages(listMessagesRequest) {
|
|
1395
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1396
|
+
if (this.logger)
|
|
1397
|
+
this.logger.debug("Calling operation GoldenGateClient#listMessages.");
|
|
1398
|
+
const operationName = "listMessages";
|
|
1399
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/MessageSummary/ListMessages";
|
|
1400
|
+
const pathParams = {};
|
|
1401
|
+
const queryParams = {
|
|
1402
|
+
"deploymentId": listMessagesRequest.deploymentId,
|
|
1403
|
+
"limit": listMessagesRequest.limit,
|
|
1404
|
+
"page": listMessagesRequest.page
|
|
1405
|
+
};
|
|
1406
|
+
let headerParams = {
|
|
1407
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1408
|
+
"opc-request-id": listMessagesRequest.opcRequestId
|
|
1409
|
+
};
|
|
1410
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1411
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMessagesRequest.retryConfiguration, specRetryConfiguration);
|
|
1412
|
+
if (this.logger)
|
|
1413
|
+
retrier.logger = this.logger;
|
|
1414
|
+
const request = yield oci_common_2.composeRequest({
|
|
1415
|
+
baseEndpoint: this._endpoint,
|
|
1416
|
+
defaultHeaders: this._defaultHeaders,
|
|
1417
|
+
path: "/messages",
|
|
1418
|
+
method: "GET",
|
|
1419
|
+
pathParams: pathParams,
|
|
1420
|
+
headerParams: headerParams,
|
|
1421
|
+
queryParams: queryParams
|
|
1422
|
+
});
|
|
1423
|
+
try {
|
|
1424
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1425
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1426
|
+
responseObject: {},
|
|
1427
|
+
body: yield response.json(),
|
|
1428
|
+
bodyKey: "deploymentMessageCollection",
|
|
1429
|
+
bodyModel: model.DeploymentMessageCollection,
|
|
1430
|
+
type: "model.DeploymentMessageCollection",
|
|
1431
|
+
responseHeaders: [
|
|
1432
|
+
{
|
|
1433
|
+
value: response.headers.get("opc-request-id"),
|
|
1434
|
+
key: "opcRequestId",
|
|
1435
|
+
dataType: "string"
|
|
1436
|
+
}
|
|
1437
|
+
]
|
|
1438
|
+
});
|
|
1439
|
+
return sdkResponse;
|
|
1440
|
+
}
|
|
1441
|
+
catch (err) {
|
|
1442
|
+
throw err;
|
|
1443
|
+
}
|
|
1444
|
+
});
|
|
1445
|
+
}
|
|
1446
|
+
/**
|
|
1447
|
+
* Lists the TrailFiles for a deployment.
|
|
1448
|
+
*
|
|
1449
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1450
|
+
* @param ListTrailFilesRequest
|
|
1451
|
+
* @return ListTrailFilesResponse
|
|
1452
|
+
* @throws OciError when an error occurs
|
|
1453
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.43.0/goldengate/ListTrailFiles.ts.html |here} to see how to use ListTrailFiles API.
|
|
1454
|
+
*/
|
|
1455
|
+
listTrailFiles(listTrailFilesRequest) {
|
|
1456
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1457
|
+
if (this.logger)
|
|
1458
|
+
this.logger.debug("Calling operation GoldenGateClient#listTrailFiles.");
|
|
1459
|
+
const operationName = "listTrailFiles";
|
|
1460
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/TrailFileSummary/ListTrailFiles";
|
|
1461
|
+
const pathParams = {};
|
|
1462
|
+
const queryParams = {
|
|
1463
|
+
"deploymentId": listTrailFilesRequest.deploymentId,
|
|
1464
|
+
"displayName": listTrailFilesRequest.displayName,
|
|
1465
|
+
"trailFileId": listTrailFilesRequest.trailFileId,
|
|
1466
|
+
"limit": listTrailFilesRequest.limit,
|
|
1467
|
+
"page": listTrailFilesRequest.page,
|
|
1468
|
+
"sortBy": listTrailFilesRequest.sortBy,
|
|
1469
|
+
"sortOrder": listTrailFilesRequest.sortOrder
|
|
1470
|
+
};
|
|
1471
|
+
let headerParams = {
|
|
1472
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1473
|
+
"opc-request-id": listTrailFilesRequest.opcRequestId
|
|
1474
|
+
};
|
|
1475
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1476
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTrailFilesRequest.retryConfiguration, specRetryConfiguration);
|
|
1477
|
+
if (this.logger)
|
|
1478
|
+
retrier.logger = this.logger;
|
|
1479
|
+
const request = yield oci_common_2.composeRequest({
|
|
1480
|
+
baseEndpoint: this._endpoint,
|
|
1481
|
+
defaultHeaders: this._defaultHeaders,
|
|
1482
|
+
path: "/trailFiles",
|
|
1483
|
+
method: "GET",
|
|
1484
|
+
pathParams: pathParams,
|
|
1485
|
+
headerParams: headerParams,
|
|
1486
|
+
queryParams: queryParams
|
|
1487
|
+
});
|
|
1488
|
+
try {
|
|
1489
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1490
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1491
|
+
responseObject: {},
|
|
1492
|
+
body: yield response.json(),
|
|
1493
|
+
bodyKey: "trailFileCollection",
|
|
1494
|
+
bodyModel: model.TrailFileCollection,
|
|
1495
|
+
type: "model.TrailFileCollection",
|
|
1496
|
+
responseHeaders: [
|
|
1497
|
+
{
|
|
1498
|
+
value: response.headers.get("opc-request-id"),
|
|
1499
|
+
key: "opcRequestId",
|
|
1500
|
+
dataType: "string"
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
value: response.headers.get("opc-next-page"),
|
|
1504
|
+
key: "opcNextPage",
|
|
1505
|
+
dataType: "string"
|
|
1506
|
+
}
|
|
1507
|
+
]
|
|
1508
|
+
});
|
|
1509
|
+
return sdkResponse;
|
|
1510
|
+
}
|
|
1511
|
+
catch (err) {
|
|
1512
|
+
throw err;
|
|
1513
|
+
}
|
|
1514
|
+
});
|
|
1515
|
+
}
|
|
1516
|
+
/**
|
|
1517
|
+
* Lists the Trail Sequences for a TrailFile in a given deployment.
|
|
1518
|
+
*
|
|
1519
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1520
|
+
* @param ListTrailSequencesRequest
|
|
1521
|
+
* @return ListTrailSequencesResponse
|
|
1522
|
+
* @throws OciError when an error occurs
|
|
1523
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.43.0/goldengate/ListTrailSequences.ts.html |here} to see how to use ListTrailSequences API.
|
|
1524
|
+
*/
|
|
1525
|
+
listTrailSequences(listTrailSequencesRequest) {
|
|
1526
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1527
|
+
if (this.logger)
|
|
1528
|
+
this.logger.debug("Calling operation GoldenGateClient#listTrailSequences.");
|
|
1529
|
+
const operationName = "listTrailSequences";
|
|
1530
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/TrailSequenceSummary/ListTrailSequences";
|
|
1531
|
+
const pathParams = {};
|
|
1532
|
+
const queryParams = {
|
|
1533
|
+
"deploymentId": listTrailSequencesRequest.deploymentId,
|
|
1534
|
+
"trailFileId": listTrailSequencesRequest.trailFileId,
|
|
1535
|
+
"trailSequenceId": listTrailSequencesRequest.trailSequenceId,
|
|
1536
|
+
"displayName": listTrailSequencesRequest.displayName,
|
|
1537
|
+
"limit": listTrailSequencesRequest.limit,
|
|
1538
|
+
"page": listTrailSequencesRequest.page,
|
|
1539
|
+
"sortBy": listTrailSequencesRequest.sortBy,
|
|
1540
|
+
"sortOrder": listTrailSequencesRequest.sortOrder
|
|
1541
|
+
};
|
|
1542
|
+
let headerParams = {
|
|
1543
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1544
|
+
"opc-request-id": listTrailSequencesRequest.opcRequestId
|
|
1545
|
+
};
|
|
1546
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1547
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTrailSequencesRequest.retryConfiguration, specRetryConfiguration);
|
|
1548
|
+
if (this.logger)
|
|
1549
|
+
retrier.logger = this.logger;
|
|
1550
|
+
const request = yield oci_common_2.composeRequest({
|
|
1551
|
+
baseEndpoint: this._endpoint,
|
|
1552
|
+
defaultHeaders: this._defaultHeaders,
|
|
1553
|
+
path: "/trailSequences",
|
|
1554
|
+
method: "GET",
|
|
1555
|
+
pathParams: pathParams,
|
|
1556
|
+
headerParams: headerParams,
|
|
1557
|
+
queryParams: queryParams
|
|
1558
|
+
});
|
|
1559
|
+
try {
|
|
1560
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1561
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1562
|
+
responseObject: {},
|
|
1563
|
+
body: yield response.json(),
|
|
1564
|
+
bodyKey: "trailSequenceCollection",
|
|
1565
|
+
bodyModel: model.TrailSequenceCollection,
|
|
1566
|
+
type: "model.TrailSequenceCollection",
|
|
1567
|
+
responseHeaders: [
|
|
1568
|
+
{
|
|
1569
|
+
value: response.headers.get("opc-request-id"),
|
|
1570
|
+
key: "opcRequestId",
|
|
1571
|
+
dataType: "string"
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
value: response.headers.get("opc-next-page"),
|
|
1575
|
+
key: "opcNextPage",
|
|
1576
|
+
dataType: "string"
|
|
1577
|
+
}
|
|
1578
|
+
]
|
|
1579
|
+
});
|
|
1580
|
+
return sdkResponse;
|
|
1581
|
+
}
|
|
1582
|
+
catch (err) {
|
|
1583
|
+
throw err;
|
|
1584
|
+
}
|
|
1585
|
+
});
|
|
1586
|
+
}
|
|
1385
1587
|
/**
|
|
1386
1588
|
* Lists work request errors.
|
|
1387
1589
|
*
|
|
1388
|
-
* This operation
|
|
1590
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1389
1591
|
* @param ListWorkRequestErrorsRequest
|
|
1390
1592
|
* @return ListWorkRequestErrorsResponse
|
|
1391
1593
|
* @throws OciError when an error occurs
|
|
1392
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1594
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.43.0/goldengate/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1393
1595
|
*/
|
|
1394
1596
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1395
1597
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1408,7 +1610,7 @@ class GoldenGateClient {
|
|
|
1408
1610
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1409
1611
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
1410
1612
|
};
|
|
1411
|
-
const specRetryConfiguration = common.
|
|
1613
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1412
1614
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1413
1615
|
if (this.logger)
|
|
1414
1616
|
retrier.logger = this.logger;
|
|
@@ -1492,11 +1694,11 @@ class GoldenGateClient {
|
|
|
1492
1694
|
/**
|
|
1493
1695
|
* Lists work request logs.
|
|
1494
1696
|
*
|
|
1495
|
-
* This operation
|
|
1697
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1496
1698
|
* @param ListWorkRequestLogsRequest
|
|
1497
1699
|
* @return ListWorkRequestLogsResponse
|
|
1498
1700
|
* @throws OciError when an error occurs
|
|
1499
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1701
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.43.0/goldengate/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1500
1702
|
*/
|
|
1501
1703
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1502
1704
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1515,7 +1717,7 @@ class GoldenGateClient {
|
|
|
1515
1717
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1516
1718
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1517
1719
|
};
|
|
1518
|
-
const specRetryConfiguration = common.
|
|
1720
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1519
1721
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1520
1722
|
if (this.logger)
|
|
1521
1723
|
retrier.logger = this.logger;
|
|
@@ -1599,11 +1801,11 @@ class GoldenGateClient {
|
|
|
1599
1801
|
/**
|
|
1600
1802
|
* Lists the work requests in the compartment.
|
|
1601
1803
|
*
|
|
1602
|
-
* This operation
|
|
1804
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1603
1805
|
* @param ListWorkRequestsRequest
|
|
1604
1806
|
* @return ListWorkRequestsResponse
|
|
1605
1807
|
* @throws OciError when an error occurs
|
|
1606
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1808
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.43.0/goldengate/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1607
1809
|
*/
|
|
1608
1810
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1609
1811
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1622,7 +1824,7 @@ class GoldenGateClient {
|
|
|
1622
1824
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1623
1825
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1624
1826
|
};
|
|
1625
|
-
const specRetryConfiguration = common.
|
|
1827
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1626
1828
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1627
1829
|
if (this.logger)
|
|
1628
1830
|
retrier.logger = this.logger;
|
|
@@ -1705,11 +1907,11 @@ class GoldenGateClient {
|
|
|
1705
1907
|
}
|
|
1706
1908
|
/**
|
|
1707
1909
|
* Restores a Deployment from a Deployment Backup created from the same Deployment.
|
|
1708
|
-
* This operation
|
|
1910
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1709
1911
|
* @param RestoreDeploymentRequest
|
|
1710
1912
|
* @return RestoreDeploymentResponse
|
|
1711
1913
|
* @throws OciError when an error occurs
|
|
1712
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1914
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.43.0/goldengate/RestoreDeployment.ts.html |here} to see how to use RestoreDeployment API.
|
|
1713
1915
|
*/
|
|
1714
1916
|
restoreDeployment(restoreDeploymentRequest) {
|
|
1715
1917
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1727,7 +1929,7 @@ class GoldenGateClient {
|
|
|
1727
1929
|
"opc-request-id": restoreDeploymentRequest.opcRequestId,
|
|
1728
1930
|
"opc-retry-token": restoreDeploymentRequest.opcRetryToken
|
|
1729
1931
|
};
|
|
1730
|
-
const specRetryConfiguration = common.
|
|
1932
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1731
1933
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restoreDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
1732
1934
|
if (this.logger)
|
|
1733
1935
|
retrier.logger = this.logger;
|
|
@@ -1768,11 +1970,11 @@ class GoldenGateClient {
|
|
|
1768
1970
|
/**
|
|
1769
1971
|
* Starts a Deployment. When provided, If-Match is checked against ETag values of the resource.
|
|
1770
1972
|
*
|
|
1771
|
-
* This operation
|
|
1973
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1772
1974
|
* @param StartDeploymentRequest
|
|
1773
1975
|
* @return StartDeploymentResponse
|
|
1774
1976
|
* @throws OciError when an error occurs
|
|
1775
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1977
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.43.0/goldengate/StartDeployment.ts.html |here} to see how to use StartDeployment API.
|
|
1776
1978
|
*/
|
|
1777
1979
|
startDeployment(startDeploymentRequest) {
|
|
1778
1980
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1790,7 +1992,7 @@ class GoldenGateClient {
|
|
|
1790
1992
|
"opc-request-id": startDeploymentRequest.opcRequestId,
|
|
1791
1993
|
"opc-retry-token": startDeploymentRequest.opcRetryToken
|
|
1792
1994
|
};
|
|
1793
|
-
const specRetryConfiguration = common.
|
|
1995
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1794
1996
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, startDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
1795
1997
|
if (this.logger)
|
|
1796
1998
|
retrier.logger = this.logger;
|
|
@@ -1831,11 +2033,11 @@ class GoldenGateClient {
|
|
|
1831
2033
|
/**
|
|
1832
2034
|
* Stops a Deployment. When provided, If-Match is checked against ETag values of the resource.
|
|
1833
2035
|
*
|
|
1834
|
-
* This operation
|
|
2036
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1835
2037
|
* @param StopDeploymentRequest
|
|
1836
2038
|
* @return StopDeploymentResponse
|
|
1837
2039
|
* @throws OciError when an error occurs
|
|
1838
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2040
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.43.0/goldengate/StopDeployment.ts.html |here} to see how to use StopDeployment API.
|
|
1839
2041
|
*/
|
|
1840
2042
|
stopDeployment(stopDeploymentRequest) {
|
|
1841
2043
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1853,7 +2055,7 @@ class GoldenGateClient {
|
|
|
1853
2055
|
"opc-request-id": stopDeploymentRequest.opcRequestId,
|
|
1854
2056
|
"opc-retry-token": stopDeploymentRequest.opcRetryToken
|
|
1855
2057
|
};
|
|
1856
|
-
const specRetryConfiguration = common.
|
|
2058
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1857
2059
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, stopDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
1858
2060
|
if (this.logger)
|
|
1859
2061
|
retrier.logger = this.logger;
|
|
@@ -1894,11 +2096,11 @@ class GoldenGateClient {
|
|
|
1894
2096
|
/**
|
|
1895
2097
|
* Updates the DatabaseRegistration.
|
|
1896
2098
|
*
|
|
1897
|
-
* This operation
|
|
2099
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1898
2100
|
* @param UpdateDatabaseRegistrationRequest
|
|
1899
2101
|
* @return UpdateDatabaseRegistrationResponse
|
|
1900
2102
|
* @throws OciError when an error occurs
|
|
1901
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2103
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.43.0/goldengate/UpdateDatabaseRegistration.ts.html |here} to see how to use UpdateDatabaseRegistration API.
|
|
1902
2104
|
*/
|
|
1903
2105
|
updateDatabaseRegistration(updateDatabaseRegistrationRequest) {
|
|
1904
2106
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1915,7 +2117,7 @@ class GoldenGateClient {
|
|
|
1915
2117
|
"if-match": updateDatabaseRegistrationRequest.ifMatch,
|
|
1916
2118
|
"opc-request-id": updateDatabaseRegistrationRequest.opcRequestId
|
|
1917
2119
|
};
|
|
1918
|
-
const specRetryConfiguration = common.
|
|
2120
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1919
2121
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDatabaseRegistrationRequest.retryConfiguration, specRetryConfiguration);
|
|
1920
2122
|
if (this.logger)
|
|
1921
2123
|
retrier.logger = this.logger;
|
|
@@ -1956,11 +2158,11 @@ class GoldenGateClient {
|
|
|
1956
2158
|
/**
|
|
1957
2159
|
* Modifies a Deployment.
|
|
1958
2160
|
*
|
|
1959
|
-
* This operation
|
|
2161
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1960
2162
|
* @param UpdateDeploymentRequest
|
|
1961
2163
|
* @return UpdateDeploymentResponse
|
|
1962
2164
|
* @throws OciError when an error occurs
|
|
1963
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2165
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.43.0/goldengate/UpdateDeployment.ts.html |here} to see how to use UpdateDeployment API.
|
|
1964
2166
|
*/
|
|
1965
2167
|
updateDeployment(updateDeploymentRequest) {
|
|
1966
2168
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1977,7 +2179,7 @@ class GoldenGateClient {
|
|
|
1977
2179
|
"if-match": updateDeploymentRequest.ifMatch,
|
|
1978
2180
|
"opc-request-id": updateDeploymentRequest.opcRequestId
|
|
1979
2181
|
};
|
|
1980
|
-
const specRetryConfiguration = common.
|
|
2182
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1981
2183
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
1982
2184
|
if (this.logger)
|
|
1983
2185
|
retrier.logger = this.logger;
|
|
@@ -2018,11 +2220,11 @@ class GoldenGateClient {
|
|
|
2018
2220
|
/**
|
|
2019
2221
|
* Modifies a Deployment Backup.
|
|
2020
2222
|
*
|
|
2021
|
-
* This operation
|
|
2223
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2022
2224
|
* @param UpdateDeploymentBackupRequest
|
|
2023
2225
|
* @return UpdateDeploymentBackupResponse
|
|
2024
2226
|
* @throws OciError when an error occurs
|
|
2025
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2227
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.43.0/goldengate/UpdateDeploymentBackup.ts.html |here} to see how to use UpdateDeploymentBackup API.
|
|
2026
2228
|
*/
|
|
2027
2229
|
updateDeploymentBackup(updateDeploymentBackupRequest) {
|
|
2028
2230
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2039,7 +2241,7 @@ class GoldenGateClient {
|
|
|
2039
2241
|
"if-match": updateDeploymentBackupRequest.ifMatch,
|
|
2040
2242
|
"opc-request-id": updateDeploymentBackupRequest.opcRequestId
|
|
2041
2243
|
};
|
|
2042
|
-
const specRetryConfiguration = common.
|
|
2244
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2043
2245
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDeploymentBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
2044
2246
|
if (this.logger)
|
|
2045
2247
|
retrier.logger = this.logger;
|
|
@@ -2084,11 +2286,11 @@ class GoldenGateClient {
|
|
|
2084
2286
|
/**
|
|
2085
2287
|
* Upgrade a Deployment. When provided, If-Match is checked against ETag values of the resource.
|
|
2086
2288
|
*
|
|
2087
|
-
* This operation
|
|
2289
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2088
2290
|
* @param UpgradeDeploymentRequest
|
|
2089
2291
|
* @return UpgradeDeploymentResponse
|
|
2090
2292
|
* @throws OciError when an error occurs
|
|
2091
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2293
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.43.0/goldengate/UpgradeDeployment.ts.html |here} to see how to use UpgradeDeployment API.
|
|
2092
2294
|
*/
|
|
2093
2295
|
upgradeDeployment(upgradeDeploymentRequest) {
|
|
2094
2296
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2106,7 +2308,7 @@ class GoldenGateClient {
|
|
|
2106
2308
|
"opc-request-id": upgradeDeploymentRequest.opcRequestId,
|
|
2107
2309
|
"opc-retry-token": upgradeDeploymentRequest.opcRetryToken
|
|
2108
2310
|
};
|
|
2109
|
-
const specRetryConfiguration = common.
|
|
2311
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2110
2312
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, upgradeDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
2111
2313
|
if (this.logger)
|
|
2112
2314
|
retrier.logger = this.logger;
|