oci-goldengate 2.45.0 → 2.47.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 +160 -35
- package/lib/client.js +846 -70
- package/lib/client.js.map +1 -1
- package/lib/goldengate-waiter.d.ts +16 -0
- package/lib/goldengate-waiter.js +24 -0
- package/lib/goldengate-waiter.js.map +1 -1
- package/lib/model/change-connection-compartment-details.d.ts +28 -0
- package/lib/model/change-connection-compartment-details.js +30 -0
- package/lib/model/change-connection-compartment-details.js.map +1 -0
- package/lib/model/connection-assignment-collection.d.ts +29 -0
- package/lib/model/connection-assignment-collection.js +62 -0
- package/lib/model/connection-assignment-collection.js.map +1 -0
- package/lib/model/connection-assignment-summary.d.ts +65 -0
- package/lib/model/connection-assignment-summary.js +30 -0
- package/lib/model/connection-assignment-summary.js.map +1 -0
- package/lib/model/connection-assignment.d.ts +79 -0
- package/lib/model/connection-assignment.js +43 -0
- package/lib/model/connection-assignment.js.map +1 -0
- package/lib/model/connection-collection.d.ts +29 -0
- package/lib/model/connection-collection.js +62 -0
- package/lib/model/connection-collection.js.map +1 -0
- package/lib/model/connection-summary.d.ts +136 -0
- package/lib/model/connection-summary.js +97 -0
- package/lib/model/connection-summary.js.map +1 -0
- package/lib/model/connection-type.d.ts +33 -0
- package/lib/model/connection-type.js +44 -0
- package/lib/model/connection-type.js.map +1 -0
- package/lib/model/connection.d.ts +149 -0
- package/lib/model/connection.js +111 -0
- package/lib/model/connection.js.map +1 -0
- package/lib/model/create-connection-assignment-details.d.ts +34 -0
- package/lib/model/create-connection-assignment-details.js +30 -0
- package/lib/model/create-connection-assignment-details.js.map +1 -0
- package/lib/model/create-connection-details.d.ts +88 -0
- package/lib/model/create-connection-details.js +85 -0
- package/lib/model/create-connection-details.js.map +1 -0
- package/lib/model/create-database-registration-details.d.ts +42 -17
- package/lib/model/create-database-registration-details.js.map +1 -1
- package/lib/model/create-deployment-backup-details.d.ts +11 -8
- package/lib/model/create-deployment-backup-details.js.map +1 -1
- package/lib/model/create-deployment-details.d.ts +15 -11
- package/lib/model/create-deployment-details.js.map +1 -1
- package/lib/model/create-golden-gate-connection-details.d.ts +54 -0
- package/lib/model/create-golden-gate-connection-details.js +55 -0
- package/lib/model/create-golden-gate-connection-details.js.map +1 -0
- package/lib/model/create-kafka-connection-details.d.ts +99 -0
- package/lib/model/create-kafka-connection-details.js +67 -0
- package/lib/model/create-kafka-connection-details.js.map +1 -0
- package/lib/model/create-mysql-connection-details.d.ts +111 -0
- package/lib/model/create-mysql-connection-details.js +67 -0
- package/lib/model/create-mysql-connection-details.js.map +1 -0
- package/lib/model/create-oci-object-storage-connection-details.d.ts +58 -0
- package/lib/model/create-oci-object-storage-connection-details.js +55 -0
- package/lib/model/create-oci-object-storage-connection-details.js.map +1 -0
- package/lib/model/create-ogg-deployment-details.d.ts +5 -2
- package/lib/model/create-ogg-deployment-details.js.map +1 -1
- package/lib/model/create-oracle-connection-details.d.ts +78 -0
- package/lib/model/create-oracle-connection-details.js +55 -0
- package/lib/model/create-oracle-connection-details.js.map +1 -0
- package/lib/model/database-registration-summary.d.ts +39 -20
- package/lib/model/database-registration-summary.js.map +1 -1
- package/lib/model/database-registration.d.ts +60 -25
- package/lib/model/database-registration.js.map +1 -1
- package/lib/model/default-cancel-deployment-backup-details.d.ts +1 -1
- package/lib/model/default-restore-deployment-details.d.ts +1 -1
- package/lib/model/default-start-deployment-details.d.ts +1 -1
- package/lib/model/default-stop-deployment-details.d.ts +1 -1
- package/lib/model/deployment-backup-summary.d.ts +28 -17
- package/lib/model/deployment-backup-summary.js.map +1 -1
- package/lib/model/deployment-backup.d.ts +28 -17
- package/lib/model/deployment-backup.js.map +1 -1
- package/lib/model/deployment-summary.d.ts +33 -19
- package/lib/model/deployment-summary.js.map +1 -1
- package/lib/model/deployment-type-collection.d.ts +29 -0
- package/lib/model/deployment-type-collection.js +62 -0
- package/lib/model/deployment-type-collection.js.map +1 -0
- package/lib/model/deployment-type-summary.d.ts +82 -0
- package/lib/model/deployment-type-summary.js +53 -0
- package/lib/model/deployment-type-summary.js.map +1 -0
- package/lib/model/deployment-type.d.ts +3 -0
- package/lib/model/deployment-type.js +3 -0
- package/lib/model/deployment-type.js.map +1 -1
- package/lib/model/deployment-upgrade-summary.d.ts +28 -17
- package/lib/model/deployment-upgrade-summary.js.map +1 -1
- package/lib/model/deployment-upgrade.d.ts +28 -17
- package/lib/model/deployment-upgrade.js.map +1 -1
- package/lib/model/deployment.d.ts +34 -20
- package/lib/model/deployment.js.map +1 -1
- package/lib/model/golden-gate-connection-summary.d.ts +54 -0
- package/lib/model/golden-gate-connection-summary.js +55 -0
- package/lib/model/golden-gate-connection-summary.js.map +1 -0
- package/lib/model/golden-gate-connection.d.ts +62 -0
- package/lib/model/golden-gate-connection.js +62 -0
- package/lib/model/golden-gate-connection.js.map +1 -0
- package/lib/model/index.d.ts +74 -0
- package/lib/model/index.js +76 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/ingress-ip-details.d.ts +30 -0
- package/lib/model/ingress-ip-details.js +30 -0
- package/lib/model/ingress-ip-details.js.map +1 -0
- package/lib/model/kafka-bootstrap-server.d.ts +42 -0
- package/lib/model/kafka-bootstrap-server.js +30 -0
- package/lib/model/kafka-bootstrap-server.js.map +1 -0
- package/lib/model/kafka-connection-summary.d.ts +56 -0
- package/lib/model/kafka-connection-summary.js +67 -0
- package/lib/model/kafka-connection-summary.js.map +1 -0
- package/lib/model/kafka-connection.d.ts +76 -0
- package/lib/model/kafka-connection.js +87 -0
- package/lib/model/kafka-connection.js.map +1 -0
- package/lib/model/mysql-connection-summary.d.ts +80 -0
- package/lib/model/mysql-connection-summary.js +67 -0
- package/lib/model/mysql-connection-summary.js.map +1 -0
- package/lib/model/mysql-connection.d.ts +117 -0
- package/lib/model/mysql-connection.js +105 -0
- package/lib/model/mysql-connection.js.map +1 -0
- package/lib/model/name-value-pair.d.ts +33 -0
- package/lib/model/name-value-pair.js +30 -0
- package/lib/model/name-value-pair.js.map +1 -0
- package/lib/model/oci-object-storage-connection-summary.d.ts +46 -0
- package/lib/model/oci-object-storage-connection-summary.js +55 -0
- package/lib/model/oci-object-storage-connection-summary.js.map +1 -0
- package/lib/model/oci-object-storage-connection.d.ts +54 -0
- package/lib/model/oci-object-storage-connection.js +62 -0
- package/lib/model/oci-object-storage-connection.js.map +1 -0
- package/lib/model/ogg-deployment.d.ts +2 -1
- package/lib/model/ogg-deployment.js.map +1 -1
- package/lib/model/operation-type.d.ts +8 -1
- package/lib/model/operation-type.js +8 -1
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/oracle-connection-summary.d.ts +65 -0
- package/lib/model/oracle-connection-summary.js +55 -0
- package/lib/model/oracle-connection-summary.js.map +1 -0
- package/lib/model/oracle-connection.d.ts +85 -0
- package/lib/model/oracle-connection.js +75 -0
- package/lib/model/oracle-connection.js.map +1 -0
- package/lib/model/technology-type.d.ts +39 -0
- package/lib/model/technology-type.js +50 -0
- package/lib/model/technology-type.js.map +1 -0
- package/lib/model/trail-file-summary.d.ts +2 -1
- package/lib/model/trail-file-summary.js.map +1 -1
- package/lib/model/trail-sequence-summary.d.ts +2 -1
- package/lib/model/trail-sequence-summary.js.map +1 -1
- package/lib/model/update-connection-details.d.ts +78 -0
- package/lib/model/update-connection-details.js +85 -0
- package/lib/model/update-connection-details.js.map +1 -0
- package/lib/model/update-database-registration-details.d.ts +26 -14
- package/lib/model/update-database-registration-details.js.map +1 -1
- package/lib/model/update-deployment-backup-details.d.ts +11 -8
- package/lib/model/update-deployment-backup-details.js.map +1 -1
- package/lib/model/update-deployment-details.d.ts +12 -9
- package/lib/model/update-deployment-details.js.map +1 -1
- package/lib/model/update-golden-gate-connection-details.d.ts +50 -0
- package/lib/model/update-golden-gate-connection-details.js +55 -0
- package/lib/model/update-golden-gate-connection-details.js.map +1 -0
- package/lib/model/update-kafka-connection-details.d.ts +94 -0
- package/lib/model/update-kafka-connection-details.js +67 -0
- package/lib/model/update-kafka-connection-details.js.map +1 -0
- package/lib/model/update-mysql-connection-details.d.ts +107 -0
- package/lib/model/update-mysql-connection-details.js +67 -0
- package/lib/model/update-mysql-connection-details.js.map +1 -0
- package/lib/model/update-oci-object-storage-connection-details.d.ts +54 -0
- package/lib/model/update-oci-object-storage-connection-details.js +55 -0
- package/lib/model/update-oci-object-storage-connection-details.js.map +1 -0
- package/lib/model/update-ogg-deployment-details.d.ts +3 -1
- package/lib/model/update-ogg-deployment-details.js.map +1 -1
- package/lib/model/update-oracle-connection-details.d.ts +74 -0
- package/lib/model/update-oracle-connection-details.js +55 -0
- package/lib/model/update-oracle-connection-details.js.map +1 -0
- package/lib/model/upgrade-deployment-current-release-details.d.ts +1 -1
- package/lib/model/work-request-error.d.ts +4 -2
- package/lib/model/work-request-error.js.map +1 -1
- package/lib/model/work-request-log-entry.d.ts +2 -1
- package/lib/model/work-request-log-entry.js.map +1 -1
- package/lib/model/work-request-resource.d.ts +4 -1
- package/lib/model/work-request-resource.js.map +1 -1
- package/lib/model/work-request.d.ts +14 -5
- package/lib/model/work-request.js.map +1 -1
- package/lib/request/cancel-deployment-backup-request.d.ts +10 -3
- package/lib/request/change-connection-compartment-request.d.ts +42 -0
- package/lib/request/change-connection-compartment-request.js +15 -0
- package/lib/request/change-connection-compartment-request.js.map +1 -0
- package/lib/request/change-database-registration-compartment-request.d.ts +10 -3
- package/lib/request/change-deployment-backup-compartment-request.d.ts +10 -3
- package/lib/request/change-deployment-compartment-request.d.ts +10 -3
- package/lib/request/create-connection-assignment-request.d.ts +37 -0
- package/lib/request/create-connection-assignment-request.js +15 -0
- package/lib/request/create-connection-assignment-request.js.map +1 -0
- package/lib/request/create-connection-request.d.ts +38 -0
- package/lib/request/create-connection-request.js +15 -0
- package/lib/request/create-connection-request.js.map +1 -0
- package/lib/request/create-database-registration-request.d.ts +6 -2
- package/lib/request/create-deployment-backup-request.d.ts +6 -2
- package/lib/request/create-deployment-request.d.ts +6 -2
- package/lib/request/delete-connection-assignment-request.d.ts +36 -0
- package/lib/request/delete-connection-assignment-request.js +15 -0
- package/lib/request/delete-connection-assignment-request.js.map +1 -0
- package/lib/request/delete-connection-request.d.ts +36 -0
- package/lib/request/delete-connection-request.js +15 -0
- package/lib/request/delete-connection-request.js.map +1 -0
- package/lib/request/delete-database-registration-request.d.ts +5 -2
- package/lib/request/delete-deployment-backup-request.d.ts +5 -2
- package/lib/request/delete-deployment-request.d.ts +5 -2
- package/lib/request/get-connection-assignment-request.d.ts +28 -0
- package/lib/request/get-connection-assignment-request.js +15 -0
- package/lib/request/get-connection-assignment-request.js.map +1 -0
- package/lib/request/get-connection-request.d.ts +28 -0
- package/lib/request/get-connection-request.js +15 -0
- package/lib/request/get-connection-request.js.map +1 -0
- 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 +2 -2
- package/lib/request/index.d.ts +22 -0
- package/lib/request/index.js +7 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-connection-assignments-request.d.ts +76 -0
- package/lib/request/list-connection-assignments-request.js +24 -0
- package/lib/request/list-connection-assignments-request.js.map +1 -0
- package/lib/request/list-connections-request.d.ts +93 -0
- package/lib/request/list-connections-request.js +24 -0
- package/lib/request/list-connections-request.js.map +1 -0
- package/lib/request/list-database-registrations-request.d.ts +7 -4
- package/lib/request/list-database-registrations-request.js.map +1 -1
- package/lib/request/list-deployment-backups-request.d.ts +8 -5
- package/lib/request/list-deployment-backups-request.js.map +1 -1
- package/lib/request/list-deployment-types-request.d.ts +63 -0
- package/lib/request/list-deployment-types-request.js +24 -0
- package/lib/request/list-deployment-types-request.js.map +1 -0
- package/lib/request/list-deployment-upgrades-request.d.ts +8 -5
- package/lib/request/list-deployment-upgrades-request.js.map +1 -1
- package/lib/request/list-deployments-request.d.ts +22 -4
- package/lib/request/list-deployments-request.js.map +1 -1
- package/lib/request/list-messages-request.d.ts +3 -2
- package/lib/request/list-trail-files-request.d.ts +3 -2
- package/lib/request/list-trail-files-request.js.map +1 -1
- package/lib/request/list-trail-sequences-request.d.ts +3 -2
- package/lib/request/list-trail-sequences-request.js.map +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +4 -3
- package/lib/request/list-work-request-logs-request.d.ts +4 -3
- package/lib/request/list-work-requests-request.d.ts +5 -4
- package/lib/request/restore-deployment-request.d.ts +10 -3
- package/lib/request/start-deployment-request.d.ts +10 -3
- package/lib/request/stop-deployment-request.d.ts +10 -3
- package/lib/request/update-connection-request.d.ts +42 -0
- package/lib/request/update-connection-request.js +15 -0
- package/lib/request/update-connection-request.js.map +1 -0
- package/lib/request/update-database-registration-request.d.ts +5 -2
- package/lib/request/update-deployment-backup-request.d.ts +5 -2
- package/lib/request/update-deployment-request.d.ts +5 -2
- package/lib/request/upgrade-deployment-request.d.ts +10 -3
- package/lib/response/cancel-deployment-backup-response.d.ts +4 -2
- package/lib/response/change-connection-compartment-response.d.ts +26 -0
- package/lib/response/change-connection-compartment-response.js +15 -0
- package/lib/response/change-connection-compartment-response.js.map +1 -0
- package/lib/response/change-database-registration-compartment-response.d.ts +9 -2
- package/lib/response/change-deployment-backup-compartment-response.d.ts +2 -1
- package/lib/response/change-deployment-compartment-response.d.ts +4 -2
- package/lib/response/create-connection-assignment-response.d.ts +36 -0
- package/lib/response/create-connection-assignment-response.js +15 -0
- package/lib/response/create-connection-assignment-response.js.map +1 -0
- package/lib/response/create-connection-response.d.ts +36 -0
- package/lib/response/create-connection-response.js +15 -0
- package/lib/response/create-connection-response.js.map +1 -0
- package/lib/response/create-database-registration-response.d.ts +9 -2
- package/lib/response/create-deployment-backup-response.d.ts +4 -2
- package/lib/response/create-deployment-response.d.ts +4 -2
- package/lib/response/delete-connection-assignment-response.d.ts +26 -0
- package/lib/response/delete-connection-assignment-response.js +15 -0
- package/lib/response/delete-connection-assignment-response.js.map +1 -0
- package/lib/response/delete-connection-response.d.ts +26 -0
- package/lib/response/delete-connection-response.js +15 -0
- package/lib/response/delete-connection-response.js.map +1 -0
- package/lib/response/delete-database-registration-response.d.ts +9 -2
- package/lib/response/delete-deployment-backup-response.d.ts +4 -2
- package/lib/response/delete-deployment-response.d.ts +4 -2
- package/lib/response/get-connection-assignment-response.d.ts +30 -0
- package/lib/response/get-connection-assignment-response.js +15 -0
- package/lib/response/get-connection-assignment-response.js.map +1 -0
- package/lib/response/get-connection-response.d.ts +30 -0
- package/lib/response/get-connection-response.js +15 -0
- package/lib/response/get-connection-response.js.map +1 -0
- package/lib/response/get-database-registration-response.d.ts +7 -1
- package/lib/response/get-deployment-backup-response.d.ts +2 -1
- package/lib/response/get-deployment-response.d.ts +2 -1
- package/lib/response/get-deployment-upgrade-response.d.ts +2 -1
- package/lib/response/get-work-request-response.d.ts +2 -1
- package/lib/response/index.d.ts +22 -0
- package/lib/response/list-connection-assignments-response.d.ts +32 -0
- package/lib/response/list-connection-assignments-response.js +15 -0
- package/lib/response/list-connection-assignments-response.js.map +1 -0
- package/lib/response/list-connections-response.d.ts +32 -0
- package/lib/response/list-connections-response.js +15 -0
- package/lib/response/list-connections-response.js.map +1 -0
- package/lib/response/list-database-registrations-response.d.ts +10 -2
- package/lib/response/list-deployment-backups-response.d.ts +5 -2
- package/lib/response/list-deployment-types-response.d.ts +32 -0
- package/lib/response/list-deployment-types-response.js +15 -0
- package/lib/response/list-deployment-types-response.js.map +1 -0
- package/lib/response/list-deployment-upgrades-response.d.ts +5 -2
- package/lib/response/list-deployments-response.d.ts +5 -2
- package/lib/response/list-messages-response.d.ts +2 -1
- package/lib/response/list-trail-files-response.d.ts +5 -2
- package/lib/response/list-trail-sequences-response.d.ts +5 -2
- package/lib/response/list-work-request-errors-response.d.ts +5 -2
- package/lib/response/list-work-request-logs-response.d.ts +5 -2
- package/lib/response/list-work-requests-response.d.ts +5 -2
- package/lib/response/restore-deployment-response.d.ts +4 -2
- package/lib/response/start-deployment-response.d.ts +4 -2
- package/lib/response/stop-deployment-response.d.ts +4 -2
- package/lib/response/update-connection-response.d.ts +26 -0
- package/lib/response/update-connection-response.js +15 -0
- package/lib/response/update-connection-response.js.map +1 -0
- package/lib/response/update-database-registration-response.d.ts +9 -2
- package/lib/response/update-deployment-backup-response.d.ts +2 -1
- package/lib/response/update-deployment-response.d.ts +4 -2
- package/lib/response/upgrade-deployment-response.d.ts +4 -2
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -158,7 +158,7 @@ class GoldenGateClient {
|
|
|
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.47.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* () {
|
|
@@ -215,13 +215,82 @@ class GoldenGateClient {
|
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
217
|
/**
|
|
218
|
-
* Moves the
|
|
218
|
+
* Moves the Connection into a different compartment within the same tenancy. When
|
|
219
|
+
* provided, If-Match is checked against ETag values of the resource. For information about
|
|
220
|
+
* moving resources between compartments, see [Moving Resources Between
|
|
221
|
+
* Compartments](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
222
|
+
*
|
|
223
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
224
|
+
* @param ChangeConnectionCompartmentRequest
|
|
225
|
+
* @return ChangeConnectionCompartmentResponse
|
|
226
|
+
* @throws OciError when an error occurs
|
|
227
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/ChangeConnectionCompartment.ts.html |here} to see how to use ChangeConnectionCompartment API.
|
|
228
|
+
*/
|
|
229
|
+
changeConnectionCompartment(changeConnectionCompartmentRequest) {
|
|
230
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
231
|
+
if (this.logger)
|
|
232
|
+
this.logger.debug("Calling operation GoldenGateClient#changeConnectionCompartment.");
|
|
233
|
+
const operationName = "changeConnectionCompartment";
|
|
234
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Connection/ChangeConnectionCompartment";
|
|
235
|
+
const pathParams = {
|
|
236
|
+
"{connectionId}": changeConnectionCompartmentRequest.connectionId
|
|
237
|
+
};
|
|
238
|
+
const queryParams = {};
|
|
239
|
+
let headerParams = {
|
|
240
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
241
|
+
"if-match": changeConnectionCompartmentRequest.ifMatch,
|
|
242
|
+
"opc-request-id": changeConnectionCompartmentRequest.opcRequestId
|
|
243
|
+
};
|
|
244
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
245
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeConnectionCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
246
|
+
if (this.logger)
|
|
247
|
+
retrier.logger = this.logger;
|
|
248
|
+
const request = yield oci_common_2.composeRequest({
|
|
249
|
+
baseEndpoint: this._endpoint,
|
|
250
|
+
defaultHeaders: this._defaultHeaders,
|
|
251
|
+
path: "/connections/{connectionId}/actions/changeCompartment",
|
|
252
|
+
method: "POST",
|
|
253
|
+
bodyContent: common.ObjectSerializer.serialize(changeConnectionCompartmentRequest.changeConnectionCompartmentDetails, "ChangeConnectionCompartmentDetails", model.ChangeConnectionCompartmentDetails.getJsonObj),
|
|
254
|
+
pathParams: pathParams,
|
|
255
|
+
headerParams: headerParams,
|
|
256
|
+
queryParams: queryParams
|
|
257
|
+
});
|
|
258
|
+
try {
|
|
259
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
260
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
261
|
+
responseObject: {},
|
|
262
|
+
responseHeaders: [
|
|
263
|
+
{
|
|
264
|
+
value: response.headers.get("opc-work-request-id"),
|
|
265
|
+
key: "opcWorkRequestId",
|
|
266
|
+
dataType: "string"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
value: response.headers.get("opc-request-id"),
|
|
270
|
+
key: "opcRequestId",
|
|
271
|
+
dataType: "string"
|
|
272
|
+
}
|
|
273
|
+
]
|
|
274
|
+
});
|
|
275
|
+
return sdkResponse;
|
|
276
|
+
}
|
|
277
|
+
catch (err) {
|
|
278
|
+
throw err;
|
|
279
|
+
}
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* Note: Deprecated. Use the new resource model APIs instead.
|
|
284
|
+
* Moves the DatabaseRegistration into a different compartment within the same tenancy. When
|
|
285
|
+
* provided, If-Match is checked against ETag values of the resource. For information about
|
|
286
|
+
* moving resources between compartments, see [Moving Resources Between
|
|
287
|
+
* Compartments](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
219
288
|
*
|
|
220
289
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
221
290
|
* @param ChangeDatabaseRegistrationCompartmentRequest
|
|
222
291
|
* @return ChangeDatabaseRegistrationCompartmentResponse
|
|
223
292
|
* @throws OciError when an error occurs
|
|
224
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
293
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/ChangeDatabaseRegistrationCompartment.ts.html |here} to see how to use ChangeDatabaseRegistrationCompartment API.
|
|
225
294
|
*/
|
|
226
295
|
changeDatabaseRegistrationCompartment(changeDatabaseRegistrationCompartmentRequest) {
|
|
227
296
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -267,6 +336,11 @@ class GoldenGateClient {
|
|
|
267
336
|
value: response.headers.get("opc-request-id"),
|
|
268
337
|
key: "opcRequestId",
|
|
269
338
|
dataType: "string"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
value: response.headers.get("sunset"),
|
|
342
|
+
key: "sunset",
|
|
343
|
+
dataType: "string"
|
|
270
344
|
}
|
|
271
345
|
]
|
|
272
346
|
});
|
|
@@ -278,13 +352,16 @@ class GoldenGateClient {
|
|
|
278
352
|
});
|
|
279
353
|
}
|
|
280
354
|
/**
|
|
281
|
-
* Moves a DeploymentBackup into a different compartment within the same tenancy. When provided,
|
|
355
|
+
* Moves a DeploymentBackup into a different compartment within the same tenancy. When provided,
|
|
356
|
+
* If-Match is checked against ETag values of the resource. For information about moving
|
|
357
|
+
* resources between compartments, see [Moving Resources Between
|
|
358
|
+
* Compartments](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
282
359
|
*
|
|
283
360
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
284
361
|
* @param ChangeDeploymentBackupCompartmentRequest
|
|
285
362
|
* @return ChangeDeploymentBackupCompartmentResponse
|
|
286
363
|
* @throws OciError when an error occurs
|
|
287
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
364
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/ChangeDeploymentBackupCompartment.ts.html |here} to see how to use ChangeDeploymentBackupCompartment API.
|
|
288
365
|
*/
|
|
289
366
|
changeDeploymentBackupCompartment(changeDeploymentBackupCompartmentRequest) {
|
|
290
367
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -336,13 +413,16 @@ class GoldenGateClient {
|
|
|
336
413
|
});
|
|
337
414
|
}
|
|
338
415
|
/**
|
|
339
|
-
* Moves the Deployment into a different compartment within the same tenancy. When provided,
|
|
416
|
+
* Moves the Deployment into a different compartment within the same tenancy. When provided,
|
|
417
|
+
* If-Match is checked against ETag values of the resource. For information about moving
|
|
418
|
+
* resources between compartments, see [Moving Resources Between
|
|
419
|
+
* Compartments](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
340
420
|
*
|
|
341
421
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
342
422
|
* @param ChangeDeploymentCompartmentRequest
|
|
343
423
|
* @return ChangeDeploymentCompartmentResponse
|
|
344
424
|
* @throws OciError when an error occurs
|
|
345
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
425
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/ChangeDeploymentCompartment.ts.html |here} to see how to use ChangeDeploymentCompartment API.
|
|
346
426
|
*/
|
|
347
427
|
changeDeploymentCompartment(changeDeploymentCompartmentRequest) {
|
|
348
428
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -399,13 +479,151 @@ class GoldenGateClient {
|
|
|
399
479
|
});
|
|
400
480
|
}
|
|
401
481
|
/**
|
|
482
|
+
* Creates a new Connection.
|
|
483
|
+
*
|
|
484
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
485
|
+
* @param CreateConnectionRequest
|
|
486
|
+
* @return CreateConnectionResponse
|
|
487
|
+
* @throws OciError when an error occurs
|
|
488
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/CreateConnection.ts.html |here} to see how to use CreateConnection API.
|
|
489
|
+
*/
|
|
490
|
+
createConnection(createConnectionRequest) {
|
|
491
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
492
|
+
if (this.logger)
|
|
493
|
+
this.logger.debug("Calling operation GoldenGateClient#createConnection.");
|
|
494
|
+
const operationName = "createConnection";
|
|
495
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Connection/CreateConnection";
|
|
496
|
+
const pathParams = {};
|
|
497
|
+
const queryParams = {};
|
|
498
|
+
let headerParams = {
|
|
499
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
500
|
+
"opc-retry-token": createConnectionRequest.opcRetryToken,
|
|
501
|
+
"opc-request-id": createConnectionRequest.opcRequestId
|
|
502
|
+
};
|
|
503
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
504
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createConnectionRequest.retryConfiguration, specRetryConfiguration);
|
|
505
|
+
if (this.logger)
|
|
506
|
+
retrier.logger = this.logger;
|
|
507
|
+
const request = yield oci_common_2.composeRequest({
|
|
508
|
+
baseEndpoint: this._endpoint,
|
|
509
|
+
defaultHeaders: this._defaultHeaders,
|
|
510
|
+
path: "/connections",
|
|
511
|
+
method: "POST",
|
|
512
|
+
bodyContent: common.ObjectSerializer.serialize(createConnectionRequest.createConnectionDetails, "CreateConnectionDetails", model.CreateConnectionDetails.getJsonObj),
|
|
513
|
+
pathParams: pathParams,
|
|
514
|
+
headerParams: headerParams,
|
|
515
|
+
queryParams: queryParams
|
|
516
|
+
});
|
|
517
|
+
try {
|
|
518
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
519
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
520
|
+
responseObject: {},
|
|
521
|
+
body: yield response.json(),
|
|
522
|
+
bodyKey: "connection",
|
|
523
|
+
bodyModel: model.Connection,
|
|
524
|
+
type: "model.Connection",
|
|
525
|
+
responseHeaders: [
|
|
526
|
+
{
|
|
527
|
+
value: response.headers.get("opc-work-request-id"),
|
|
528
|
+
key: "opcWorkRequestId",
|
|
529
|
+
dataType: "string"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
value: response.headers.get("opc-request-id"),
|
|
533
|
+
key: "opcRequestId",
|
|
534
|
+
dataType: "string"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
value: response.headers.get("etag"),
|
|
538
|
+
key: "etag",
|
|
539
|
+
dataType: "string"
|
|
540
|
+
}
|
|
541
|
+
]
|
|
542
|
+
});
|
|
543
|
+
return sdkResponse;
|
|
544
|
+
}
|
|
545
|
+
catch (err) {
|
|
546
|
+
throw err;
|
|
547
|
+
}
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
* Creates a new Connection Assignment.
|
|
552
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
553
|
+
* @param CreateConnectionAssignmentRequest
|
|
554
|
+
* @return CreateConnectionAssignmentResponse
|
|
555
|
+
* @throws OciError when an error occurs
|
|
556
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/CreateConnectionAssignment.ts.html |here} to see how to use CreateConnectionAssignment API.
|
|
557
|
+
*/
|
|
558
|
+
createConnectionAssignment(createConnectionAssignmentRequest) {
|
|
559
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
560
|
+
if (this.logger)
|
|
561
|
+
this.logger.debug("Calling operation GoldenGateClient#createConnectionAssignment.");
|
|
562
|
+
const operationName = "createConnectionAssignment";
|
|
563
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/ConnectionAssignment/CreateConnectionAssignment";
|
|
564
|
+
const pathParams = {};
|
|
565
|
+
const queryParams = {};
|
|
566
|
+
let headerParams = {
|
|
567
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
568
|
+
"opc-retry-token": createConnectionAssignmentRequest.opcRetryToken,
|
|
569
|
+
"opc-request-id": createConnectionAssignmentRequest.opcRequestId
|
|
570
|
+
};
|
|
571
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
572
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createConnectionAssignmentRequest.retryConfiguration, specRetryConfiguration);
|
|
573
|
+
if (this.logger)
|
|
574
|
+
retrier.logger = this.logger;
|
|
575
|
+
const request = yield oci_common_2.composeRequest({
|
|
576
|
+
baseEndpoint: this._endpoint,
|
|
577
|
+
defaultHeaders: this._defaultHeaders,
|
|
578
|
+
path: "/connectionAssignments",
|
|
579
|
+
method: "POST",
|
|
580
|
+
bodyContent: common.ObjectSerializer.serialize(createConnectionAssignmentRequest.createConnectionAssignmentDetails, "CreateConnectionAssignmentDetails", model.CreateConnectionAssignmentDetails.getJsonObj),
|
|
581
|
+
pathParams: pathParams,
|
|
582
|
+
headerParams: headerParams,
|
|
583
|
+
queryParams: queryParams
|
|
584
|
+
});
|
|
585
|
+
try {
|
|
586
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
587
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
588
|
+
responseObject: {},
|
|
589
|
+
body: yield response.json(),
|
|
590
|
+
bodyKey: "connectionAssignment",
|
|
591
|
+
bodyModel: model.ConnectionAssignment,
|
|
592
|
+
type: "model.ConnectionAssignment",
|
|
593
|
+
responseHeaders: [
|
|
594
|
+
{
|
|
595
|
+
value: response.headers.get("opc-work-request-id"),
|
|
596
|
+
key: "opcWorkRequestId",
|
|
597
|
+
dataType: "string"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
value: response.headers.get("opc-request-id"),
|
|
601
|
+
key: "opcRequestId",
|
|
602
|
+
dataType: "string"
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
value: response.headers.get("etag"),
|
|
606
|
+
key: "etag",
|
|
607
|
+
dataType: "string"
|
|
608
|
+
}
|
|
609
|
+
]
|
|
610
|
+
});
|
|
611
|
+
return sdkResponse;
|
|
612
|
+
}
|
|
613
|
+
catch (err) {
|
|
614
|
+
throw err;
|
|
615
|
+
}
|
|
616
|
+
});
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
* Note: Deprecated. Use the new resource model APIs instead.
|
|
402
620
|
* Creates a new DatabaseRegistration.
|
|
403
621
|
*
|
|
404
622
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
405
623
|
* @param CreateDatabaseRegistrationRequest
|
|
406
624
|
* @return CreateDatabaseRegistrationResponse
|
|
407
625
|
* @throws OciError when an error occurs
|
|
408
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
626
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/CreateDatabaseRegistration.ts.html |here} to see how to use CreateDatabaseRegistration API.
|
|
409
627
|
*/
|
|
410
628
|
createDatabaseRegistration(createDatabaseRegistrationRequest) {
|
|
411
629
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -457,6 +675,11 @@ class GoldenGateClient {
|
|
|
457
675
|
value: response.headers.get("etag"),
|
|
458
676
|
key: "etag",
|
|
459
677
|
dataType: "string"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
value: response.headers.get("sunset"),
|
|
681
|
+
key: "sunset",
|
|
682
|
+
dataType: "string"
|
|
460
683
|
}
|
|
461
684
|
]
|
|
462
685
|
});
|
|
@@ -474,7 +697,7 @@ class GoldenGateClient {
|
|
|
474
697
|
* @param CreateDeploymentRequest
|
|
475
698
|
* @return CreateDeploymentResponse
|
|
476
699
|
* @throws OciError when an error occurs
|
|
477
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
700
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/CreateDeployment.ts.html |here} to see how to use CreateDeployment API.
|
|
478
701
|
*/
|
|
479
702
|
createDeployment(createDeploymentRequest) {
|
|
480
703
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -542,7 +765,7 @@ class GoldenGateClient {
|
|
|
542
765
|
* @param CreateDeploymentBackupRequest
|
|
543
766
|
* @return CreateDeploymentBackupResponse
|
|
544
767
|
* @throws OciError when an error occurs
|
|
545
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
768
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/CreateDeploymentBackup.ts.html |here} to see how to use CreateDeploymentBackup API.
|
|
546
769
|
*/
|
|
547
770
|
createDeploymentBackup(createDeploymentBackupRequest) {
|
|
548
771
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -596,13 +819,135 @@ class GoldenGateClient {
|
|
|
596
819
|
});
|
|
597
820
|
}
|
|
598
821
|
/**
|
|
822
|
+
* Deletes a Connection.
|
|
823
|
+
*
|
|
824
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
825
|
+
* @param DeleteConnectionRequest
|
|
826
|
+
* @return DeleteConnectionResponse
|
|
827
|
+
* @throws OciError when an error occurs
|
|
828
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/DeleteConnection.ts.html |here} to see how to use DeleteConnection API.
|
|
829
|
+
*/
|
|
830
|
+
deleteConnection(deleteConnectionRequest) {
|
|
831
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
832
|
+
if (this.logger)
|
|
833
|
+
this.logger.debug("Calling operation GoldenGateClient#deleteConnection.");
|
|
834
|
+
const operationName = "deleteConnection";
|
|
835
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Connection/DeleteConnection";
|
|
836
|
+
const pathParams = {
|
|
837
|
+
"{connectionId}": deleteConnectionRequest.connectionId
|
|
838
|
+
};
|
|
839
|
+
const queryParams = {};
|
|
840
|
+
let headerParams = {
|
|
841
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
842
|
+
"if-match": deleteConnectionRequest.ifMatch,
|
|
843
|
+
"opc-request-id": deleteConnectionRequest.opcRequestId
|
|
844
|
+
};
|
|
845
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
846
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteConnectionRequest.retryConfiguration, specRetryConfiguration);
|
|
847
|
+
if (this.logger)
|
|
848
|
+
retrier.logger = this.logger;
|
|
849
|
+
const request = yield oci_common_2.composeRequest({
|
|
850
|
+
baseEndpoint: this._endpoint,
|
|
851
|
+
defaultHeaders: this._defaultHeaders,
|
|
852
|
+
path: "/connections/{connectionId}",
|
|
853
|
+
method: "DELETE",
|
|
854
|
+
pathParams: pathParams,
|
|
855
|
+
headerParams: headerParams,
|
|
856
|
+
queryParams: queryParams
|
|
857
|
+
});
|
|
858
|
+
try {
|
|
859
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
860
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
861
|
+
responseObject: {},
|
|
862
|
+
responseHeaders: [
|
|
863
|
+
{
|
|
864
|
+
value: response.headers.get("opc-work-request-id"),
|
|
865
|
+
key: "opcWorkRequestId",
|
|
866
|
+
dataType: "string"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
value: response.headers.get("opc-request-id"),
|
|
870
|
+
key: "opcRequestId",
|
|
871
|
+
dataType: "string"
|
|
872
|
+
}
|
|
873
|
+
]
|
|
874
|
+
});
|
|
875
|
+
return sdkResponse;
|
|
876
|
+
}
|
|
877
|
+
catch (err) {
|
|
878
|
+
throw err;
|
|
879
|
+
}
|
|
880
|
+
});
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* Deletes a Connection Assignment.
|
|
884
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
885
|
+
* @param DeleteConnectionAssignmentRequest
|
|
886
|
+
* @return DeleteConnectionAssignmentResponse
|
|
887
|
+
* @throws OciError when an error occurs
|
|
888
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/DeleteConnectionAssignment.ts.html |here} to see how to use DeleteConnectionAssignment API.
|
|
889
|
+
*/
|
|
890
|
+
deleteConnectionAssignment(deleteConnectionAssignmentRequest) {
|
|
891
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
892
|
+
if (this.logger)
|
|
893
|
+
this.logger.debug("Calling operation GoldenGateClient#deleteConnectionAssignment.");
|
|
894
|
+
const operationName = "deleteConnectionAssignment";
|
|
895
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/ConnectionAssignment/DeleteConnectionAssignment";
|
|
896
|
+
const pathParams = {
|
|
897
|
+
"{connectionAssignmentId}": deleteConnectionAssignmentRequest.connectionAssignmentId
|
|
898
|
+
};
|
|
899
|
+
const queryParams = {};
|
|
900
|
+
let headerParams = {
|
|
901
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
902
|
+
"if-match": deleteConnectionAssignmentRequest.ifMatch,
|
|
903
|
+
"opc-request-id": deleteConnectionAssignmentRequest.opcRequestId
|
|
904
|
+
};
|
|
905
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
906
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteConnectionAssignmentRequest.retryConfiguration, specRetryConfiguration);
|
|
907
|
+
if (this.logger)
|
|
908
|
+
retrier.logger = this.logger;
|
|
909
|
+
const request = yield oci_common_2.composeRequest({
|
|
910
|
+
baseEndpoint: this._endpoint,
|
|
911
|
+
defaultHeaders: this._defaultHeaders,
|
|
912
|
+
path: "/connectionAssignments/{connectionAssignmentId}",
|
|
913
|
+
method: "DELETE",
|
|
914
|
+
pathParams: pathParams,
|
|
915
|
+
headerParams: headerParams,
|
|
916
|
+
queryParams: queryParams
|
|
917
|
+
});
|
|
918
|
+
try {
|
|
919
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
920
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
921
|
+
responseObject: {},
|
|
922
|
+
responseHeaders: [
|
|
923
|
+
{
|
|
924
|
+
value: response.headers.get("opc-work-request-id"),
|
|
925
|
+
key: "opcWorkRequestId",
|
|
926
|
+
dataType: "string"
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
value: response.headers.get("opc-request-id"),
|
|
930
|
+
key: "opcRequestId",
|
|
931
|
+
dataType: "string"
|
|
932
|
+
}
|
|
933
|
+
]
|
|
934
|
+
});
|
|
935
|
+
return sdkResponse;
|
|
936
|
+
}
|
|
937
|
+
catch (err) {
|
|
938
|
+
throw err;
|
|
939
|
+
}
|
|
940
|
+
});
|
|
941
|
+
}
|
|
942
|
+
/**
|
|
943
|
+
* Note: Deprecated. Use the new resource model APIs instead.
|
|
599
944
|
* Deletes a DatabaseRegistration.
|
|
600
945
|
*
|
|
601
946
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
602
947
|
* @param DeleteDatabaseRegistrationRequest
|
|
603
948
|
* @return DeleteDatabaseRegistrationResponse
|
|
604
949
|
* @throws OciError when an error occurs
|
|
605
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
950
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/DeleteDatabaseRegistration.ts.html |here} to see how to use DeleteDatabaseRegistration API.
|
|
606
951
|
*/
|
|
607
952
|
deleteDatabaseRegistration(deleteDatabaseRegistrationRequest) {
|
|
608
953
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -611,22 +956,149 @@ class GoldenGateClient {
|
|
|
611
956
|
const operationName = "deleteDatabaseRegistration";
|
|
612
957
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DatabaseRegistration/DeleteDatabaseRegistration";
|
|
613
958
|
const pathParams = {
|
|
614
|
-
"{databaseRegistrationId}": deleteDatabaseRegistrationRequest.databaseRegistrationId
|
|
959
|
+
"{databaseRegistrationId}": deleteDatabaseRegistrationRequest.databaseRegistrationId
|
|
960
|
+
};
|
|
961
|
+
const queryParams = {};
|
|
962
|
+
let headerParams = {
|
|
963
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
964
|
+
"if-match": deleteDatabaseRegistrationRequest.ifMatch,
|
|
965
|
+
"opc-request-id": deleteDatabaseRegistrationRequest.opcRequestId
|
|
966
|
+
};
|
|
967
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
968
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDatabaseRegistrationRequest.retryConfiguration, specRetryConfiguration);
|
|
969
|
+
if (this.logger)
|
|
970
|
+
retrier.logger = this.logger;
|
|
971
|
+
const request = yield oci_common_2.composeRequest({
|
|
972
|
+
baseEndpoint: this._endpoint,
|
|
973
|
+
defaultHeaders: this._defaultHeaders,
|
|
974
|
+
path: "/databaseRegistrations/{databaseRegistrationId}",
|
|
975
|
+
method: "DELETE",
|
|
976
|
+
pathParams: pathParams,
|
|
977
|
+
headerParams: headerParams,
|
|
978
|
+
queryParams: queryParams
|
|
979
|
+
});
|
|
980
|
+
try {
|
|
981
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
982
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
983
|
+
responseObject: {},
|
|
984
|
+
responseHeaders: [
|
|
985
|
+
{
|
|
986
|
+
value: response.headers.get("opc-work-request-id"),
|
|
987
|
+
key: "opcWorkRequestId",
|
|
988
|
+
dataType: "string"
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
value: response.headers.get("opc-request-id"),
|
|
992
|
+
key: "opcRequestId",
|
|
993
|
+
dataType: "string"
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
value: response.headers.get("sunset"),
|
|
997
|
+
key: "sunset",
|
|
998
|
+
dataType: "string"
|
|
999
|
+
}
|
|
1000
|
+
]
|
|
1001
|
+
});
|
|
1002
|
+
return sdkResponse;
|
|
1003
|
+
}
|
|
1004
|
+
catch (err) {
|
|
1005
|
+
throw err;
|
|
1006
|
+
}
|
|
1007
|
+
});
|
|
1008
|
+
}
|
|
1009
|
+
/**
|
|
1010
|
+
* Deletes the Deployment.
|
|
1011
|
+
*
|
|
1012
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1013
|
+
* @param DeleteDeploymentRequest
|
|
1014
|
+
* @return DeleteDeploymentResponse
|
|
1015
|
+
* @throws OciError when an error occurs
|
|
1016
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/DeleteDeployment.ts.html |here} to see how to use DeleteDeployment API.
|
|
1017
|
+
*/
|
|
1018
|
+
deleteDeployment(deleteDeploymentRequest) {
|
|
1019
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1020
|
+
if (this.logger)
|
|
1021
|
+
this.logger.debug("Calling operation GoldenGateClient#deleteDeployment.");
|
|
1022
|
+
const operationName = "deleteDeployment";
|
|
1023
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/DeleteDeployment";
|
|
1024
|
+
const pathParams = {
|
|
1025
|
+
"{deploymentId}": deleteDeploymentRequest.deploymentId
|
|
1026
|
+
};
|
|
1027
|
+
const queryParams = {};
|
|
1028
|
+
let headerParams = {
|
|
1029
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1030
|
+
"if-match": deleteDeploymentRequest.ifMatch,
|
|
1031
|
+
"opc-request-id": deleteDeploymentRequest.opcRequestId
|
|
1032
|
+
};
|
|
1033
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1034
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDeploymentRequest.retryConfiguration, specRetryConfiguration);
|
|
1035
|
+
if (this.logger)
|
|
1036
|
+
retrier.logger = this.logger;
|
|
1037
|
+
const request = yield oci_common_2.composeRequest({
|
|
1038
|
+
baseEndpoint: this._endpoint,
|
|
1039
|
+
defaultHeaders: this._defaultHeaders,
|
|
1040
|
+
path: "/deployments/{deploymentId}",
|
|
1041
|
+
method: "DELETE",
|
|
1042
|
+
pathParams: pathParams,
|
|
1043
|
+
headerParams: headerParams,
|
|
1044
|
+
queryParams: queryParams
|
|
1045
|
+
});
|
|
1046
|
+
try {
|
|
1047
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1048
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1049
|
+
responseObject: {},
|
|
1050
|
+
responseHeaders: [
|
|
1051
|
+
{
|
|
1052
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1053
|
+
key: "opcWorkRequestId",
|
|
1054
|
+
dataType: "string"
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
value: response.headers.get("opc-request-id"),
|
|
1058
|
+
key: "opcRequestId",
|
|
1059
|
+
dataType: "string"
|
|
1060
|
+
}
|
|
1061
|
+
]
|
|
1062
|
+
});
|
|
1063
|
+
return sdkResponse;
|
|
1064
|
+
}
|
|
1065
|
+
catch (err) {
|
|
1066
|
+
throw err;
|
|
1067
|
+
}
|
|
1068
|
+
});
|
|
1069
|
+
}
|
|
1070
|
+
/**
|
|
1071
|
+
* Deletes a DeploymentBackup.
|
|
1072
|
+
*
|
|
1073
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1074
|
+
* @param DeleteDeploymentBackupRequest
|
|
1075
|
+
* @return DeleteDeploymentBackupResponse
|
|
1076
|
+
* @throws OciError when an error occurs
|
|
1077
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/DeleteDeploymentBackup.ts.html |here} to see how to use DeleteDeploymentBackup API.
|
|
1078
|
+
*/
|
|
1079
|
+
deleteDeploymentBackup(deleteDeploymentBackupRequest) {
|
|
1080
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1081
|
+
if (this.logger)
|
|
1082
|
+
this.logger.debug("Calling operation GoldenGateClient#deleteDeploymentBackup.");
|
|
1083
|
+
const operationName = "deleteDeploymentBackup";
|
|
1084
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentBackup/DeleteDeploymentBackup";
|
|
1085
|
+
const pathParams = {
|
|
1086
|
+
"{deploymentBackupId}": deleteDeploymentBackupRequest.deploymentBackupId
|
|
615
1087
|
};
|
|
616
1088
|
const queryParams = {};
|
|
617
1089
|
let headerParams = {
|
|
618
1090
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
619
|
-
"if-match":
|
|
620
|
-
"opc-request-id":
|
|
1091
|
+
"if-match": deleteDeploymentBackupRequest.ifMatch,
|
|
1092
|
+
"opc-request-id": deleteDeploymentBackupRequest.opcRequestId
|
|
621
1093
|
};
|
|
622
1094
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
623
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1095
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDeploymentBackupRequest.retryConfiguration, specRetryConfiguration);
|
|
624
1096
|
if (this.logger)
|
|
625
1097
|
retrier.logger = this.logger;
|
|
626
1098
|
const request = yield oci_common_2.composeRequest({
|
|
627
1099
|
baseEndpoint: this._endpoint,
|
|
628
1100
|
defaultHeaders: this._defaultHeaders,
|
|
629
|
-
path: "/
|
|
1101
|
+
path: "/deploymentBackups/{deploymentBackupId}",
|
|
630
1102
|
method: "DELETE",
|
|
631
1103
|
pathParams: pathParams,
|
|
632
1104
|
headerParams: headerParams,
|
|
@@ -657,38 +1129,37 @@ class GoldenGateClient {
|
|
|
657
1129
|
});
|
|
658
1130
|
}
|
|
659
1131
|
/**
|
|
660
|
-
*
|
|
1132
|
+
* Retrieves a Connection.
|
|
661
1133
|
*
|
|
662
1134
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
663
|
-
* @param
|
|
664
|
-
* @return
|
|
1135
|
+
* @param GetConnectionRequest
|
|
1136
|
+
* @return GetConnectionResponse
|
|
665
1137
|
* @throws OciError when an error occurs
|
|
666
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1138
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/GetConnection.ts.html |here} to see how to use GetConnection API.
|
|
667
1139
|
*/
|
|
668
|
-
|
|
1140
|
+
getConnection(getConnectionRequest) {
|
|
669
1141
|
return __awaiter(this, void 0, void 0, function* () {
|
|
670
1142
|
if (this.logger)
|
|
671
|
-
this.logger.debug("Calling operation GoldenGateClient#
|
|
672
|
-
const operationName = "
|
|
673
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/
|
|
1143
|
+
this.logger.debug("Calling operation GoldenGateClient#getConnection.");
|
|
1144
|
+
const operationName = "getConnection";
|
|
1145
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Connection/GetConnection";
|
|
674
1146
|
const pathParams = {
|
|
675
|
-
"{
|
|
1147
|
+
"{connectionId}": getConnectionRequest.connectionId
|
|
676
1148
|
};
|
|
677
1149
|
const queryParams = {};
|
|
678
1150
|
let headerParams = {
|
|
679
1151
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
680
|
-
"
|
|
681
|
-
"opc-request-id": deleteDeploymentRequest.opcRequestId
|
|
1152
|
+
"opc-request-id": getConnectionRequest.opcRequestId
|
|
682
1153
|
};
|
|
683
1154
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
684
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1155
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConnectionRequest.retryConfiguration, specRetryConfiguration);
|
|
685
1156
|
if (this.logger)
|
|
686
1157
|
retrier.logger = this.logger;
|
|
687
1158
|
const request = yield oci_common_2.composeRequest({
|
|
688
1159
|
baseEndpoint: this._endpoint,
|
|
689
1160
|
defaultHeaders: this._defaultHeaders,
|
|
690
|
-
path: "/
|
|
691
|
-
method: "
|
|
1161
|
+
path: "/connections/{connectionId}",
|
|
1162
|
+
method: "GET",
|
|
692
1163
|
pathParams: pathParams,
|
|
693
1164
|
headerParams: headerParams,
|
|
694
1165
|
queryParams: queryParams
|
|
@@ -697,10 +1168,14 @@ class GoldenGateClient {
|
|
|
697
1168
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
698
1169
|
const sdkResponse = oci_common_2.composeResponse({
|
|
699
1170
|
responseObject: {},
|
|
1171
|
+
body: yield response.json(),
|
|
1172
|
+
bodyKey: "connection",
|
|
1173
|
+
bodyModel: model.Connection,
|
|
1174
|
+
type: "model.Connection",
|
|
700
1175
|
responseHeaders: [
|
|
701
1176
|
{
|
|
702
|
-
value: response.headers.get("
|
|
703
|
-
key: "
|
|
1177
|
+
value: response.headers.get("etag"),
|
|
1178
|
+
key: "etag",
|
|
704
1179
|
dataType: "string"
|
|
705
1180
|
},
|
|
706
1181
|
{
|
|
@@ -718,38 +1193,37 @@ class GoldenGateClient {
|
|
|
718
1193
|
});
|
|
719
1194
|
}
|
|
720
1195
|
/**
|
|
721
|
-
*
|
|
1196
|
+
* Retrieves a Connection Assignment.
|
|
722
1197
|
*
|
|
723
1198
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
724
|
-
* @param
|
|
725
|
-
* @return
|
|
1199
|
+
* @param GetConnectionAssignmentRequest
|
|
1200
|
+
* @return GetConnectionAssignmentResponse
|
|
726
1201
|
* @throws OciError when an error occurs
|
|
727
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1202
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/GetConnectionAssignment.ts.html |here} to see how to use GetConnectionAssignment API.
|
|
728
1203
|
*/
|
|
729
|
-
|
|
1204
|
+
getConnectionAssignment(getConnectionAssignmentRequest) {
|
|
730
1205
|
return __awaiter(this, void 0, void 0, function* () {
|
|
731
1206
|
if (this.logger)
|
|
732
|
-
this.logger.debug("Calling operation GoldenGateClient#
|
|
733
|
-
const operationName = "
|
|
734
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/
|
|
1207
|
+
this.logger.debug("Calling operation GoldenGateClient#getConnectionAssignment.");
|
|
1208
|
+
const operationName = "getConnectionAssignment";
|
|
1209
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/ConnectionAssignment/GetConnectionAssignment";
|
|
735
1210
|
const pathParams = {
|
|
736
|
-
"{
|
|
1211
|
+
"{connectionAssignmentId}": getConnectionAssignmentRequest.connectionAssignmentId
|
|
737
1212
|
};
|
|
738
1213
|
const queryParams = {};
|
|
739
1214
|
let headerParams = {
|
|
740
1215
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
741
|
-
"
|
|
742
|
-
"opc-request-id": deleteDeploymentBackupRequest.opcRequestId
|
|
1216
|
+
"opc-request-id": getConnectionAssignmentRequest.opcRequestId
|
|
743
1217
|
};
|
|
744
1218
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
745
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1219
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConnectionAssignmentRequest.retryConfiguration, specRetryConfiguration);
|
|
746
1220
|
if (this.logger)
|
|
747
1221
|
retrier.logger = this.logger;
|
|
748
1222
|
const request = yield oci_common_2.composeRequest({
|
|
749
1223
|
baseEndpoint: this._endpoint,
|
|
750
1224
|
defaultHeaders: this._defaultHeaders,
|
|
751
|
-
path: "/
|
|
752
|
-
method: "
|
|
1225
|
+
path: "/connectionAssignments/{connectionAssignmentId}",
|
|
1226
|
+
method: "GET",
|
|
753
1227
|
pathParams: pathParams,
|
|
754
1228
|
headerParams: headerParams,
|
|
755
1229
|
queryParams: queryParams
|
|
@@ -758,10 +1232,14 @@ class GoldenGateClient {
|
|
|
758
1232
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
759
1233
|
const sdkResponse = oci_common_2.composeResponse({
|
|
760
1234
|
responseObject: {},
|
|
1235
|
+
body: yield response.json(),
|
|
1236
|
+
bodyKey: "connectionAssignment",
|
|
1237
|
+
bodyModel: model.ConnectionAssignment,
|
|
1238
|
+
type: "model.ConnectionAssignment",
|
|
761
1239
|
responseHeaders: [
|
|
762
1240
|
{
|
|
763
|
-
value: response.headers.get("
|
|
764
|
-
key: "
|
|
1241
|
+
value: response.headers.get("etag"),
|
|
1242
|
+
key: "etag",
|
|
765
1243
|
dataType: "string"
|
|
766
1244
|
},
|
|
767
1245
|
{
|
|
@@ -779,13 +1257,14 @@ class GoldenGateClient {
|
|
|
779
1257
|
});
|
|
780
1258
|
}
|
|
781
1259
|
/**
|
|
1260
|
+
* Note: Deprecated. Use the new resource model APIs instead.
|
|
782
1261
|
* Retrieves a DatabaseRegistration.
|
|
783
1262
|
*
|
|
784
1263
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
785
1264
|
* @param GetDatabaseRegistrationRequest
|
|
786
1265
|
* @return GetDatabaseRegistrationResponse
|
|
787
1266
|
* @throws OciError when an error occurs
|
|
788
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1267
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/GetDatabaseRegistration.ts.html |here} to see how to use GetDatabaseRegistration API.
|
|
789
1268
|
*/
|
|
790
1269
|
getDatabaseRegistration(getDatabaseRegistrationRequest) {
|
|
791
1270
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -832,6 +1311,11 @@ class GoldenGateClient {
|
|
|
832
1311
|
value: response.headers.get("opc-request-id"),
|
|
833
1312
|
key: "opcRequestId",
|
|
834
1313
|
dataType: "string"
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
value: response.headers.get("sunset"),
|
|
1317
|
+
key: "sunset",
|
|
1318
|
+
dataType: "string"
|
|
835
1319
|
}
|
|
836
1320
|
]
|
|
837
1321
|
});
|
|
@@ -849,7 +1333,7 @@ class GoldenGateClient {
|
|
|
849
1333
|
* @param GetDeploymentRequest
|
|
850
1334
|
* @return GetDeploymentResponse
|
|
851
1335
|
* @throws OciError when an error occurs
|
|
852
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1336
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/GetDeployment.ts.html |here} to see how to use GetDeployment API.
|
|
853
1337
|
*/
|
|
854
1338
|
getDeployment(getDeploymentRequest) {
|
|
855
1339
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -913,7 +1397,7 @@ class GoldenGateClient {
|
|
|
913
1397
|
* @param GetDeploymentBackupRequest
|
|
914
1398
|
* @return GetDeploymentBackupResponse
|
|
915
1399
|
* @throws OciError when an error occurs
|
|
916
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1400
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/GetDeploymentBackup.ts.html |here} to see how to use GetDeploymentBackup API.
|
|
917
1401
|
*/
|
|
918
1402
|
getDeploymentBackup(getDeploymentBackupRequest) {
|
|
919
1403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -977,7 +1461,7 @@ class GoldenGateClient {
|
|
|
977
1461
|
* @param GetDeploymentUpgradeRequest
|
|
978
1462
|
* @return GetDeploymentUpgradeResponse
|
|
979
1463
|
* @throws OciError when an error occurs
|
|
980
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1464
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/GetDeploymentUpgrade.ts.html |here} to see how to use GetDeploymentUpgrade API.
|
|
981
1465
|
*/
|
|
982
1466
|
getDeploymentUpgrade(getDeploymentUpgradeRequest) {
|
|
983
1467
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1041,7 +1525,7 @@ class GoldenGateClient {
|
|
|
1041
1525
|
* @param GetWorkRequestRequest
|
|
1042
1526
|
* @return GetWorkRequestResponse
|
|
1043
1527
|
* @throws OciError when an error occurs
|
|
1044
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1528
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1045
1529
|
*/
|
|
1046
1530
|
getWorkRequest(getWorkRequestRequest) {
|
|
1047
1531
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1099,13 +1583,160 @@ class GoldenGateClient {
|
|
|
1099
1583
|
});
|
|
1100
1584
|
}
|
|
1101
1585
|
/**
|
|
1586
|
+
* Lists the Connection Assignments in the compartment.
|
|
1587
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1588
|
+
* @param ListConnectionAssignmentsRequest
|
|
1589
|
+
* @return ListConnectionAssignmentsResponse
|
|
1590
|
+
* @throws OciError when an error occurs
|
|
1591
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/ListConnectionAssignments.ts.html |here} to see how to use ListConnectionAssignments API.
|
|
1592
|
+
*/
|
|
1593
|
+
listConnectionAssignments(listConnectionAssignmentsRequest) {
|
|
1594
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1595
|
+
if (this.logger)
|
|
1596
|
+
this.logger.debug("Calling operation GoldenGateClient#listConnectionAssignments.");
|
|
1597
|
+
const operationName = "listConnectionAssignments";
|
|
1598
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/ConnectionAssignment/ListConnectionAssignments";
|
|
1599
|
+
const pathParams = {};
|
|
1600
|
+
const queryParams = {
|
|
1601
|
+
"compartmentId": listConnectionAssignmentsRequest.compartmentId,
|
|
1602
|
+
"deploymentId": listConnectionAssignmentsRequest.deploymentId,
|
|
1603
|
+
"connectionId": listConnectionAssignmentsRequest.connectionId,
|
|
1604
|
+
"name": listConnectionAssignmentsRequest.name,
|
|
1605
|
+
"lifecycleState": listConnectionAssignmentsRequest.lifecycleState,
|
|
1606
|
+
"limit": listConnectionAssignmentsRequest.limit,
|
|
1607
|
+
"page": listConnectionAssignmentsRequest.page,
|
|
1608
|
+
"sortOrder": listConnectionAssignmentsRequest.sortOrder,
|
|
1609
|
+
"sortBy": listConnectionAssignmentsRequest.sortBy
|
|
1610
|
+
};
|
|
1611
|
+
let headerParams = {
|
|
1612
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1613
|
+
"opc-request-id": listConnectionAssignmentsRequest.opcRequestId
|
|
1614
|
+
};
|
|
1615
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1616
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listConnectionAssignmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
1617
|
+
if (this.logger)
|
|
1618
|
+
retrier.logger = this.logger;
|
|
1619
|
+
const request = yield oci_common_2.composeRequest({
|
|
1620
|
+
baseEndpoint: this._endpoint,
|
|
1621
|
+
defaultHeaders: this._defaultHeaders,
|
|
1622
|
+
path: "/connectionAssignments",
|
|
1623
|
+
method: "GET",
|
|
1624
|
+
pathParams: pathParams,
|
|
1625
|
+
headerParams: headerParams,
|
|
1626
|
+
queryParams: queryParams
|
|
1627
|
+
});
|
|
1628
|
+
try {
|
|
1629
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1630
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1631
|
+
responseObject: {},
|
|
1632
|
+
body: yield response.json(),
|
|
1633
|
+
bodyKey: "connectionAssignmentCollection",
|
|
1634
|
+
bodyModel: model.ConnectionAssignmentCollection,
|
|
1635
|
+
type: "model.ConnectionAssignmentCollection",
|
|
1636
|
+
responseHeaders: [
|
|
1637
|
+
{
|
|
1638
|
+
value: response.headers.get("opc-request-id"),
|
|
1639
|
+
key: "opcRequestId",
|
|
1640
|
+
dataType: "string"
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
value: response.headers.get("opc-next-page"),
|
|
1644
|
+
key: "opcNextPage",
|
|
1645
|
+
dataType: "string"
|
|
1646
|
+
}
|
|
1647
|
+
]
|
|
1648
|
+
});
|
|
1649
|
+
return sdkResponse;
|
|
1650
|
+
}
|
|
1651
|
+
catch (err) {
|
|
1652
|
+
throw err;
|
|
1653
|
+
}
|
|
1654
|
+
});
|
|
1655
|
+
}
|
|
1656
|
+
/**
|
|
1657
|
+
* Lists the Connections in the compartment.
|
|
1658
|
+
*
|
|
1659
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1660
|
+
* @param ListConnectionsRequest
|
|
1661
|
+
* @return ListConnectionsResponse
|
|
1662
|
+
* @throws OciError when an error occurs
|
|
1663
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/ListConnections.ts.html |here} to see how to use ListConnections API.
|
|
1664
|
+
*/
|
|
1665
|
+
listConnections(listConnectionsRequest) {
|
|
1666
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1667
|
+
if (this.logger)
|
|
1668
|
+
this.logger.debug("Calling operation GoldenGateClient#listConnections.");
|
|
1669
|
+
const operationName = "listConnections";
|
|
1670
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Connection/ListConnections";
|
|
1671
|
+
const pathParams = {};
|
|
1672
|
+
const queryParams = {
|
|
1673
|
+
"compartmentId": listConnectionsRequest.compartmentId,
|
|
1674
|
+
"technologyType": listConnectionsRequest.technologyType,
|
|
1675
|
+
"connectionType": listConnectionsRequest.connectionType,
|
|
1676
|
+
"assignedDeploymentId": listConnectionsRequest.assignedDeploymentId,
|
|
1677
|
+
"assignableDeploymentId": listConnectionsRequest.assignableDeploymentId,
|
|
1678
|
+
"assignableDeploymentType": listConnectionsRequest.assignableDeploymentType,
|
|
1679
|
+
"lifecycleState": listConnectionsRequest.lifecycleState,
|
|
1680
|
+
"displayName": listConnectionsRequest.displayName,
|
|
1681
|
+
"limit": listConnectionsRequest.limit,
|
|
1682
|
+
"page": listConnectionsRequest.page,
|
|
1683
|
+
"sortOrder": listConnectionsRequest.sortOrder,
|
|
1684
|
+
"sortBy": listConnectionsRequest.sortBy
|
|
1685
|
+
};
|
|
1686
|
+
let headerParams = {
|
|
1687
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1688
|
+
"opc-request-id": listConnectionsRequest.opcRequestId
|
|
1689
|
+
};
|
|
1690
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1691
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listConnectionsRequest.retryConfiguration, specRetryConfiguration);
|
|
1692
|
+
if (this.logger)
|
|
1693
|
+
retrier.logger = this.logger;
|
|
1694
|
+
const request = yield oci_common_2.composeRequest({
|
|
1695
|
+
baseEndpoint: this._endpoint,
|
|
1696
|
+
defaultHeaders: this._defaultHeaders,
|
|
1697
|
+
path: "/connections",
|
|
1698
|
+
method: "GET",
|
|
1699
|
+
pathParams: pathParams,
|
|
1700
|
+
headerParams: headerParams,
|
|
1701
|
+
queryParams: queryParams
|
|
1702
|
+
});
|
|
1703
|
+
try {
|
|
1704
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1705
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1706
|
+
responseObject: {},
|
|
1707
|
+
body: yield response.json(),
|
|
1708
|
+
bodyKey: "connectionCollection",
|
|
1709
|
+
bodyModel: model.ConnectionCollection,
|
|
1710
|
+
type: "model.ConnectionCollection",
|
|
1711
|
+
responseHeaders: [
|
|
1712
|
+
{
|
|
1713
|
+
value: response.headers.get("opc-request-id"),
|
|
1714
|
+
key: "opcRequestId",
|
|
1715
|
+
dataType: "string"
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
value: response.headers.get("opc-next-page"),
|
|
1719
|
+
key: "opcNextPage",
|
|
1720
|
+
dataType: "string"
|
|
1721
|
+
}
|
|
1722
|
+
]
|
|
1723
|
+
});
|
|
1724
|
+
return sdkResponse;
|
|
1725
|
+
}
|
|
1726
|
+
catch (err) {
|
|
1727
|
+
throw err;
|
|
1728
|
+
}
|
|
1729
|
+
});
|
|
1730
|
+
}
|
|
1731
|
+
/**
|
|
1732
|
+
* Note: Deprecated. Use the new resource model APIs instead.
|
|
1102
1733
|
* Lists the DatabaseRegistrations in the compartment.
|
|
1103
1734
|
*
|
|
1104
1735
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1105
1736
|
* @param ListDatabaseRegistrationsRequest
|
|
1106
1737
|
* @return ListDatabaseRegistrationsResponse
|
|
1107
1738
|
* @throws OciError when an error occurs
|
|
1108
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1739
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/ListDatabaseRegistrations.ts.html |here} to see how to use ListDatabaseRegistrations API.
|
|
1109
1740
|
*/
|
|
1110
1741
|
listDatabaseRegistrations(listDatabaseRegistrationsRequest) {
|
|
1111
1742
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1158,6 +1789,11 @@ class GoldenGateClient {
|
|
|
1158
1789
|
value: response.headers.get("opc-next-page"),
|
|
1159
1790
|
key: "opcNextPage",
|
|
1160
1791
|
dataType: "string"
|
|
1792
|
+
},
|
|
1793
|
+
{
|
|
1794
|
+
value: response.headers.get("sunset"),
|
|
1795
|
+
key: "sunset",
|
|
1796
|
+
dataType: "string"
|
|
1161
1797
|
}
|
|
1162
1798
|
]
|
|
1163
1799
|
});
|
|
@@ -1175,7 +1811,7 @@ class GoldenGateClient {
|
|
|
1175
1811
|
* @param ListDeploymentBackupsRequest
|
|
1176
1812
|
* @return ListDeploymentBackupsResponse
|
|
1177
1813
|
* @throws OciError when an error occurs
|
|
1178
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1814
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/ListDeploymentBackups.ts.html |here} to see how to use ListDeploymentBackups API.
|
|
1179
1815
|
*/
|
|
1180
1816
|
listDeploymentBackups(listDeploymentBackupsRequest) {
|
|
1181
1817
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1239,6 +1875,75 @@ class GoldenGateClient {
|
|
|
1239
1875
|
}
|
|
1240
1876
|
});
|
|
1241
1877
|
}
|
|
1878
|
+
/**
|
|
1879
|
+
* Returns an array of DeploymentTypeDescriptor
|
|
1880
|
+
*
|
|
1881
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1882
|
+
* @param ListDeploymentTypesRequest
|
|
1883
|
+
* @return ListDeploymentTypesResponse
|
|
1884
|
+
* @throws OciError when an error occurs
|
|
1885
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/ListDeploymentTypes.ts.html |here} to see how to use ListDeploymentTypes API.
|
|
1886
|
+
*/
|
|
1887
|
+
listDeploymentTypes(listDeploymentTypesRequest) {
|
|
1888
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1889
|
+
if (this.logger)
|
|
1890
|
+
this.logger.debug("Calling operation GoldenGateClient#listDeploymentTypes.");
|
|
1891
|
+
const operationName = "listDeploymentTypes";
|
|
1892
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentTypeCollection/ListDeploymentTypes";
|
|
1893
|
+
const pathParams = {};
|
|
1894
|
+
const queryParams = {
|
|
1895
|
+
"compartmentId": listDeploymentTypesRequest.compartmentId,
|
|
1896
|
+
"displayName": listDeploymentTypesRequest.displayName,
|
|
1897
|
+
"limit": listDeploymentTypesRequest.limit,
|
|
1898
|
+
"page": listDeploymentTypesRequest.page,
|
|
1899
|
+
"sortOrder": listDeploymentTypesRequest.sortOrder,
|
|
1900
|
+
"sortBy": listDeploymentTypesRequest.sortBy
|
|
1901
|
+
};
|
|
1902
|
+
let headerParams = {
|
|
1903
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1904
|
+
"opc-request-id": listDeploymentTypesRequest.opcRequestId
|
|
1905
|
+
};
|
|
1906
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1907
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDeploymentTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
1908
|
+
if (this.logger)
|
|
1909
|
+
retrier.logger = this.logger;
|
|
1910
|
+
const request = yield oci_common_2.composeRequest({
|
|
1911
|
+
baseEndpoint: this._endpoint,
|
|
1912
|
+
defaultHeaders: this._defaultHeaders,
|
|
1913
|
+
path: "/deploymentTypes",
|
|
1914
|
+
method: "GET",
|
|
1915
|
+
pathParams: pathParams,
|
|
1916
|
+
headerParams: headerParams,
|
|
1917
|
+
queryParams: queryParams
|
|
1918
|
+
});
|
|
1919
|
+
try {
|
|
1920
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1921
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1922
|
+
responseObject: {},
|
|
1923
|
+
body: yield response.json(),
|
|
1924
|
+
bodyKey: "deploymentTypeCollection",
|
|
1925
|
+
bodyModel: model.DeploymentTypeCollection,
|
|
1926
|
+
type: "model.DeploymentTypeCollection",
|
|
1927
|
+
responseHeaders: [
|
|
1928
|
+
{
|
|
1929
|
+
value: response.headers.get("opc-request-id"),
|
|
1930
|
+
key: "opcRequestId",
|
|
1931
|
+
dataType: "string"
|
|
1932
|
+
},
|
|
1933
|
+
{
|
|
1934
|
+
value: response.headers.get("opc-next-page"),
|
|
1935
|
+
key: "opcNextPage",
|
|
1936
|
+
dataType: "string"
|
|
1937
|
+
}
|
|
1938
|
+
]
|
|
1939
|
+
});
|
|
1940
|
+
return sdkResponse;
|
|
1941
|
+
}
|
|
1942
|
+
catch (err) {
|
|
1943
|
+
throw err;
|
|
1944
|
+
}
|
|
1945
|
+
});
|
|
1946
|
+
}
|
|
1242
1947
|
/**
|
|
1243
1948
|
* Lists the Deployment Upgrades in a compartment.
|
|
1244
1949
|
*
|
|
@@ -1246,7 +1951,7 @@ class GoldenGateClient {
|
|
|
1246
1951
|
* @param ListDeploymentUpgradesRequest
|
|
1247
1952
|
* @return ListDeploymentUpgradesResponse
|
|
1248
1953
|
* @throws OciError when an error occurs
|
|
1249
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1954
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/ListDeploymentUpgrades.ts.html |here} to see how to use ListDeploymentUpgrades API.
|
|
1250
1955
|
*/
|
|
1251
1956
|
listDeploymentUpgrades(listDeploymentUpgradesRequest) {
|
|
1252
1957
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1317,7 +2022,7 @@ class GoldenGateClient {
|
|
|
1317
2022
|
* @param ListDeploymentsRequest
|
|
1318
2023
|
* @return ListDeploymentsResponse
|
|
1319
2024
|
* @throws OciError when an error occurs
|
|
1320
|
-
* @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.47.0/goldengate/ListDeployments.ts.html |here} to see how to use ListDeployments API.
|
|
1321
2026
|
*/
|
|
1322
2027
|
listDeployments(listDeploymentsRequest) {
|
|
1323
2028
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1328,6 +2033,9 @@ class GoldenGateClient {
|
|
|
1328
2033
|
const pathParams = {};
|
|
1329
2034
|
const queryParams = {
|
|
1330
2035
|
"compartmentId": listDeploymentsRequest.compartmentId,
|
|
2036
|
+
"supportedConnectionType": listDeploymentsRequest.supportedConnectionType,
|
|
2037
|
+
"assignedConnectionId": listDeploymentsRequest.assignedConnectionId,
|
|
2038
|
+
"assignableConnectionId": listDeploymentsRequest.assignableConnectionId,
|
|
1331
2039
|
"lifecycleState": listDeploymentsRequest.lifecycleState,
|
|
1332
2040
|
"lifecycleSubState": listDeploymentsRequest.lifecycleSubState,
|
|
1333
2041
|
"displayName": listDeploymentsRequest.displayName,
|
|
@@ -1389,7 +2097,7 @@ class GoldenGateClient {
|
|
|
1389
2097
|
* @param ListMessagesRequest
|
|
1390
2098
|
* @return ListMessagesResponse
|
|
1391
2099
|
* @throws OciError when an error occurs
|
|
1392
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2100
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/ListMessages.ts.html |here} to see how to use ListMessages API.
|
|
1393
2101
|
*/
|
|
1394
2102
|
listMessages(listMessagesRequest) {
|
|
1395
2103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1450,7 +2158,7 @@ class GoldenGateClient {
|
|
|
1450
2158
|
* @param ListTrailFilesRequest
|
|
1451
2159
|
* @return ListTrailFilesResponse
|
|
1452
2160
|
* @throws OciError when an error occurs
|
|
1453
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2161
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/ListTrailFiles.ts.html |here} to see how to use ListTrailFiles API.
|
|
1454
2162
|
*/
|
|
1455
2163
|
listTrailFiles(listTrailFilesRequest) {
|
|
1456
2164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1520,7 +2228,7 @@ class GoldenGateClient {
|
|
|
1520
2228
|
* @param ListTrailSequencesRequest
|
|
1521
2229
|
* @return ListTrailSequencesResponse
|
|
1522
2230
|
* @throws OciError when an error occurs
|
|
1523
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2231
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/ListTrailSequences.ts.html |here} to see how to use ListTrailSequences API.
|
|
1524
2232
|
*/
|
|
1525
2233
|
listTrailSequences(listTrailSequencesRequest) {
|
|
1526
2234
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1591,7 +2299,7 @@ class GoldenGateClient {
|
|
|
1591
2299
|
* @param ListWorkRequestErrorsRequest
|
|
1592
2300
|
* @return ListWorkRequestErrorsResponse
|
|
1593
2301
|
* @throws OciError when an error occurs
|
|
1594
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2302
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1595
2303
|
*/
|
|
1596
2304
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1597
2305
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1698,7 +2406,7 @@ class GoldenGateClient {
|
|
|
1698
2406
|
* @param ListWorkRequestLogsRequest
|
|
1699
2407
|
* @return ListWorkRequestLogsResponse
|
|
1700
2408
|
* @throws OciError when an error occurs
|
|
1701
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2409
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1702
2410
|
*/
|
|
1703
2411
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1704
2412
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1805,7 +2513,7 @@ class GoldenGateClient {
|
|
|
1805
2513
|
* @param ListWorkRequestsRequest
|
|
1806
2514
|
* @return ListWorkRequestsResponse
|
|
1807
2515
|
* @throws OciError when an error occurs
|
|
1808
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2516
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1809
2517
|
*/
|
|
1810
2518
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1811
2519
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1911,7 +2619,7 @@ class GoldenGateClient {
|
|
|
1911
2619
|
* @param RestoreDeploymentRequest
|
|
1912
2620
|
* @return RestoreDeploymentResponse
|
|
1913
2621
|
* @throws OciError when an error occurs
|
|
1914
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2622
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/RestoreDeployment.ts.html |here} to see how to use RestoreDeployment API.
|
|
1915
2623
|
*/
|
|
1916
2624
|
restoreDeployment(restoreDeploymentRequest) {
|
|
1917
2625
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1974,7 +2682,7 @@ class GoldenGateClient {
|
|
|
1974
2682
|
* @param StartDeploymentRequest
|
|
1975
2683
|
* @return StartDeploymentResponse
|
|
1976
2684
|
* @throws OciError when an error occurs
|
|
1977
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2685
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/StartDeployment.ts.html |here} to see how to use StartDeployment API.
|
|
1978
2686
|
*/
|
|
1979
2687
|
startDeployment(startDeploymentRequest) {
|
|
1980
2688
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2037,7 +2745,7 @@ class GoldenGateClient {
|
|
|
2037
2745
|
* @param StopDeploymentRequest
|
|
2038
2746
|
* @return StopDeploymentResponse
|
|
2039
2747
|
* @throws OciError when an error occurs
|
|
2040
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2748
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/StopDeployment.ts.html |here} to see how to use StopDeployment API.
|
|
2041
2749
|
*/
|
|
2042
2750
|
stopDeployment(stopDeploymentRequest) {
|
|
2043
2751
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2094,13 +2802,76 @@ class GoldenGateClient {
|
|
|
2094
2802
|
});
|
|
2095
2803
|
}
|
|
2096
2804
|
/**
|
|
2805
|
+
* Updates the Connection.
|
|
2806
|
+
*
|
|
2807
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2808
|
+
* @param UpdateConnectionRequest
|
|
2809
|
+
* @return UpdateConnectionResponse
|
|
2810
|
+
* @throws OciError when an error occurs
|
|
2811
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/UpdateConnection.ts.html |here} to see how to use UpdateConnection API.
|
|
2812
|
+
*/
|
|
2813
|
+
updateConnection(updateConnectionRequest) {
|
|
2814
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2815
|
+
if (this.logger)
|
|
2816
|
+
this.logger.debug("Calling operation GoldenGateClient#updateConnection.");
|
|
2817
|
+
const operationName = "updateConnection";
|
|
2818
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Connection/UpdateConnection";
|
|
2819
|
+
const pathParams = {
|
|
2820
|
+
"{connectionId}": updateConnectionRequest.connectionId
|
|
2821
|
+
};
|
|
2822
|
+
const queryParams = {};
|
|
2823
|
+
let headerParams = {
|
|
2824
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2825
|
+
"if-match": updateConnectionRequest.ifMatch,
|
|
2826
|
+
"opc-request-id": updateConnectionRequest.opcRequestId
|
|
2827
|
+
};
|
|
2828
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2829
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateConnectionRequest.retryConfiguration, specRetryConfiguration);
|
|
2830
|
+
if (this.logger)
|
|
2831
|
+
retrier.logger = this.logger;
|
|
2832
|
+
const request = yield oci_common_2.composeRequest({
|
|
2833
|
+
baseEndpoint: this._endpoint,
|
|
2834
|
+
defaultHeaders: this._defaultHeaders,
|
|
2835
|
+
path: "/connections/{connectionId}",
|
|
2836
|
+
method: "PUT",
|
|
2837
|
+
bodyContent: common.ObjectSerializer.serialize(updateConnectionRequest.updateConnectionDetails, "UpdateConnectionDetails", model.UpdateConnectionDetails.getJsonObj),
|
|
2838
|
+
pathParams: pathParams,
|
|
2839
|
+
headerParams: headerParams,
|
|
2840
|
+
queryParams: queryParams
|
|
2841
|
+
});
|
|
2842
|
+
try {
|
|
2843
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2844
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2845
|
+
responseObject: {},
|
|
2846
|
+
responseHeaders: [
|
|
2847
|
+
{
|
|
2848
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2849
|
+
key: "opcWorkRequestId",
|
|
2850
|
+
dataType: "string"
|
|
2851
|
+
},
|
|
2852
|
+
{
|
|
2853
|
+
value: response.headers.get("opc-request-id"),
|
|
2854
|
+
key: "opcRequestId",
|
|
2855
|
+
dataType: "string"
|
|
2856
|
+
}
|
|
2857
|
+
]
|
|
2858
|
+
});
|
|
2859
|
+
return sdkResponse;
|
|
2860
|
+
}
|
|
2861
|
+
catch (err) {
|
|
2862
|
+
throw err;
|
|
2863
|
+
}
|
|
2864
|
+
});
|
|
2865
|
+
}
|
|
2866
|
+
/**
|
|
2867
|
+
* Note: Deprecated. Use the new resource model APIs instead.
|
|
2097
2868
|
* Updates the DatabaseRegistration.
|
|
2098
2869
|
*
|
|
2099
2870
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2100
2871
|
* @param UpdateDatabaseRegistrationRequest
|
|
2101
2872
|
* @return UpdateDatabaseRegistrationResponse
|
|
2102
2873
|
* @throws OciError when an error occurs
|
|
2103
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2874
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/UpdateDatabaseRegistration.ts.html |here} to see how to use UpdateDatabaseRegistration API.
|
|
2104
2875
|
*/
|
|
2105
2876
|
updateDatabaseRegistration(updateDatabaseRegistrationRequest) {
|
|
2106
2877
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2145,6 +2916,11 @@ class GoldenGateClient {
|
|
|
2145
2916
|
value: response.headers.get("opc-request-id"),
|
|
2146
2917
|
key: "opcRequestId",
|
|
2147
2918
|
dataType: "string"
|
|
2919
|
+
},
|
|
2920
|
+
{
|
|
2921
|
+
value: response.headers.get("sunset"),
|
|
2922
|
+
key: "sunset",
|
|
2923
|
+
dataType: "string"
|
|
2148
2924
|
}
|
|
2149
2925
|
]
|
|
2150
2926
|
});
|
|
@@ -2162,7 +2938,7 @@ class GoldenGateClient {
|
|
|
2162
2938
|
* @param UpdateDeploymentRequest
|
|
2163
2939
|
* @return UpdateDeploymentResponse
|
|
2164
2940
|
* @throws OciError when an error occurs
|
|
2165
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2941
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/UpdateDeployment.ts.html |here} to see how to use UpdateDeployment API.
|
|
2166
2942
|
*/
|
|
2167
2943
|
updateDeployment(updateDeploymentRequest) {
|
|
2168
2944
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2224,7 +3000,7 @@ class GoldenGateClient {
|
|
|
2224
3000
|
* @param UpdateDeploymentBackupRequest
|
|
2225
3001
|
* @return UpdateDeploymentBackupResponse
|
|
2226
3002
|
* @throws OciError when an error occurs
|
|
2227
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3003
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/UpdateDeploymentBackup.ts.html |here} to see how to use UpdateDeploymentBackup API.
|
|
2228
3004
|
*/
|
|
2229
3005
|
updateDeploymentBackup(updateDeploymentBackupRequest) {
|
|
2230
3006
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2290,7 +3066,7 @@ class GoldenGateClient {
|
|
|
2290
3066
|
* @param UpgradeDeploymentRequest
|
|
2291
3067
|
* @return UpgradeDeploymentResponse
|
|
2292
3068
|
* @throws OciError when an error occurs
|
|
2293
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3069
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.47.0/goldengate/UpgradeDeployment.ts.html |here} to see how to use UpgradeDeployment API.
|
|
2294
3070
|
*/
|
|
2295
3071
|
upgradeDeployment(upgradeDeploymentRequest) {
|
|
2296
3072
|
return __awaiter(this, void 0, void 0, function* () {
|