oci-goldengate 2.86.3 → 2.88.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 +127 -63
- package/lib/client.js +583 -84
- package/lib/client.js.map +1 -1
- package/lib/model/add-resource-lock-details.d.ts +40 -0
- package/lib/model/add-resource-lock-details.js +35 -0
- package/lib/model/add-resource-lock-details.js.map +1 -0
- package/lib/model/certificate.d.ts +1 -1
- package/lib/model/connection-summary.d.ts +4 -0
- package/lib/model/connection-summary.js +14 -0
- package/lib/model/connection-summary.js.map +1 -1
- package/lib/model/connection-type.d.ts +1 -0
- package/lib/model/connection-type.js +1 -0
- package/lib/model/connection-type.js.map +1 -1
- package/lib/model/connection.d.ts +4 -0
- package/lib/model/connection.js +14 -0
- package/lib/model/connection.js.map +1 -1
- package/lib/model/create-certificate-details.d.ts +1 -1
- package/lib/model/create-connection-details.d.ts +4 -0
- package/lib/model/create-connection-details.js +18 -2
- package/lib/model/create-connection-details.js.map +1 -1
- package/lib/model/create-db2-connection-details.d.ts +81 -0
- package/lib/model/create-db2-connection-details.js +67 -0
- package/lib/model/create-db2-connection-details.js.map +1 -0
- package/lib/model/create-deployment-backup-details.d.ts +5 -0
- package/lib/model/create-deployment-backup-details.js +34 -2
- package/lib/model/create-deployment-backup-details.js.map +1 -1
- package/lib/model/create-deployment-details.d.ts +7 -1
- package/lib/model/create-deployment-details.js +10 -0
- package/lib/model/create-deployment-details.js.map +1 -1
- package/lib/model/create-ogg-deployment-details.d.ts +2 -2
- package/lib/model/create-oracle-connection-details.d.ts +6 -0
- package/lib/model/create-oracle-connection-details.js.map +1 -1
- package/lib/model/create-postgresql-connection-details.d.ts +7 -2
- package/lib/model/create-postgresql-connection-details.js.map +1 -1
- package/lib/model/create-redis-connection-details.d.ts +6 -1
- package/lib/model/create-redis-connection-details.js.map +1 -1
- package/lib/model/db2-connection-summary.d.ts +61 -0
- package/lib/model/db2-connection-summary.js +67 -0
- package/lib/model/db2-connection-summary.js.map +1 -0
- package/lib/model/db2-connection.d.ts +78 -0
- package/lib/model/db2-connection.js +82 -0
- package/lib/model/db2-connection.js.map +1 -0
- package/lib/model/deployment-backup-summary.d.ts +11 -0
- package/lib/model/deployment-backup-summary.js +34 -2
- package/lib/model/deployment-backup-summary.js.map +1 -1
- package/lib/model/deployment-backup.d.ts +11 -0
- package/lib/model/deployment-backup.js +34 -2
- package/lib/model/deployment-backup.js.map +1 -1
- package/lib/model/deployment-summary.d.ts +7 -1
- package/lib/model/deployment-summary.js +34 -2
- package/lib/model/deployment-summary.js.map +1 -1
- package/lib/model/deployment-type-summary.d.ts +1 -0
- package/lib/model/deployment-type-summary.js +1 -0
- package/lib/model/deployment-type-summary.js.map +1 -1
- package/lib/model/deployment.d.ts +7 -1
- package/lib/model/deployment.js +10 -0
- package/lib/model/deployment.js.map +1 -1
- package/lib/model/generate-library-url-details.d.ts +23 -0
- package/lib/model/generate-library-url-details.js +69 -0
- package/lib/model/generate-library-url-details.js.map +1 -0
- package/lib/model/generate-log-reader-component-library-url-details.d.ts +25 -0
- package/lib/model/generate-log-reader-component-library-url-details.js +55 -0
- package/lib/model/generate-log-reader-component-library-url-details.js.map +1 -0
- package/lib/model/index.d.ts +22 -0
- package/lib/model/index.js +27 -5
- package/lib/model/index.js.map +1 -1
- package/lib/model/library-type.d.ts +24 -0
- package/lib/model/library-type.js +35 -0
- package/lib/model/library-type.js.map +1 -0
- package/lib/model/library-url.d.ts +28 -0
- package/lib/model/library-url.js +30 -0
- package/lib/model/library-url.js.map +1 -0
- package/lib/model/mysql-connection.d.ts +2 -0
- package/lib/model/mysql-connection.js +2 -0
- package/lib/model/mysql-connection.js.map +1 -1
- package/lib/model/ogg-deployment.d.ts +1 -1
- package/lib/model/operation-type.d.ts +5 -2
- package/lib/model/operation-type.js +5 -2
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/oracle-connection-summary.d.ts +6 -0
- package/lib/model/oracle-connection-summary.js.map +1 -1
- package/lib/model/oracle-connection.d.ts +16 -0
- package/lib/model/oracle-connection.js +11 -0
- package/lib/model/oracle-connection.js.map +1 -1
- package/lib/model/postgresql-connection-summary.d.ts +5 -0
- package/lib/model/postgresql-connection-summary.js.map +1 -1
- package/lib/model/postgresql-connection.d.ts +7 -0
- package/lib/model/postgresql-connection.js +2 -0
- package/lib/model/postgresql-connection.js.map +1 -1
- package/lib/model/redis-connection-summary.d.ts +5 -0
- package/lib/model/redis-connection-summary.js.map +1 -1
- package/lib/model/redis-connection.d.ts +6 -0
- package/lib/model/redis-connection.js +1 -0
- package/lib/model/redis-connection.js.map +1 -1
- package/lib/model/remove-resource-lock-details.d.ts +34 -0
- package/lib/model/remove-resource-lock-details.js +35 -0
- package/lib/model/remove-resource-lock-details.js.map +1 -0
- package/lib/model/resource-lock.d.ts +53 -0
- package/lib/model/resource-lock.js +40 -0
- package/lib/model/resource-lock.js.map +1 -0
- package/lib/model/technology-type.d.ts +7 -0
- package/lib/model/technology-type.js +7 -0
- package/lib/model/technology-type.js.map +1 -1
- package/lib/model/update-connection-details.js +4 -0
- package/lib/model/update-connection-details.js.map +1 -1
- package/lib/model/update-db2-connection-details.d.ts +77 -0
- package/lib/model/update-db2-connection-details.js +67 -0
- package/lib/model/update-db2-connection-details.js.map +1 -0
- package/lib/model/update-deployment-details.d.ts +9 -0
- package/lib/model/update-deployment-details.js.map +1 -1
- package/lib/model/update-ogg-deployment-details.d.ts +2 -2
- package/lib/model/update-oracle-connection-details.d.ts +6 -0
- package/lib/model/update-oracle-connection-details.js.map +1 -1
- package/lib/model/update-postgresql-connection-details.d.ts +5 -0
- package/lib/model/update-postgresql-connection-details.js.map +1 -1
- package/lib/model/update-redis-connection-details.d.ts +5 -0
- package/lib/model/update-redis-connection-details.js.map +1 -1
- package/lib/request/add-connection-lock-request.d.ts +41 -0
- package/lib/request/add-connection-lock-request.js +15 -0
- package/lib/request/add-connection-lock-request.js.map +1 -0
- package/lib/request/add-deployment-backup-lock-request.d.ts +41 -0
- package/lib/request/add-deployment-backup-lock-request.js +15 -0
- package/lib/request/add-deployment-backup-lock-request.js.map +1 -0
- package/lib/request/add-deployment-lock-request.d.ts +41 -0
- package/lib/request/add-deployment-lock-request.js +15 -0
- package/lib/request/add-deployment-lock-request.js.map +1 -0
- package/lib/request/cancel-deployment-backup-request.d.ts +5 -1
- package/lib/request/cancel-deployment-upgrade-request.d.ts +1 -1
- package/lib/request/cancel-snooze-deployment-upgrade-request.d.ts +1 -1
- package/lib/request/change-connection-compartment-request.d.ts +5 -1
- package/lib/request/change-database-registration-compartment-request.d.ts +1 -1
- package/lib/request/change-deployment-backup-compartment-request.d.ts +5 -1
- package/lib/request/change-deployment-compartment-request.d.ts +5 -1
- package/lib/request/collect-deployment-diagnostic-request.d.ts +1 -1
- package/lib/request/copy-deployment-backup-request.d.ts +1 -1
- package/lib/request/create-certificate-request.d.ts +5 -1
- package/lib/request/create-connection-assignment-request.d.ts +5 -1
- package/lib/request/create-connection-request.d.ts +2 -2
- package/lib/request/create-database-registration-request.d.ts +1 -1
- package/lib/request/create-deployment-backup-request.d.ts +1 -1
- package/lib/request/create-deployment-request.d.ts +1 -1
- package/lib/request/delete-certificate-request.d.ts +5 -1
- package/lib/request/delete-connection-assignment-request.d.ts +5 -1
- package/lib/request/delete-connection-request.d.ts +5 -1
- package/lib/request/delete-database-registration-request.d.ts +1 -1
- package/lib/request/delete-deployment-backup-request.d.ts +5 -1
- package/lib/request/delete-deployment-request.d.ts +5 -1
- package/lib/request/deployment-wallet-exists-request.d.ts +1 -1
- package/lib/request/export-deployment-wallet-request.d.ts +1 -1
- package/lib/request/generate-library-url-request.d.ts +50 -0
- package/lib/request/generate-library-url-request.js +15 -0
- package/lib/request/generate-library-url-request.js.map +1 -0
- package/lib/request/get-certificate-request.d.ts +1 -1
- package/lib/request/get-connection-assignment-request.d.ts +1 -1
- package/lib/request/get-connection-request.d.ts +1 -1
- package/lib/request/get-database-registration-request.d.ts +1 -1
- package/lib/request/get-deployment-backup-request.d.ts +1 -1
- package/lib/request/get-deployment-request.d.ts +1 -1
- package/lib/request/get-deployment-upgrade-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/import-deployment-wallet-request.d.ts +5 -1
- package/lib/request/index.d.ts +14 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-certificates-request.d.ts +1 -1
- package/lib/request/list-connection-assignments-request.d.ts +1 -1
- package/lib/request/list-connections-request.d.ts +1 -1
- package/lib/request/list-database-registrations-request.d.ts +1 -1
- package/lib/request/list-deployment-backups-request.d.ts +1 -1
- package/lib/request/list-deployment-types-request.d.ts +1 -1
- package/lib/request/list-deployment-upgrades-request.d.ts +1 -1
- package/lib/request/list-deployment-versions-request.d.ts +1 -1
- package/lib/request/list-deployment-wallets-operations-request.d.ts +1 -1
- package/lib/request/list-deployments-request.d.ts +1 -1
- package/lib/request/list-messages-request.d.ts +1 -1
- package/lib/request/list-trail-files-request.d.ts +1 -1
- package/lib/request/list-trail-sequences-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/remove-connection-lock-request.d.ts +41 -0
- package/lib/request/remove-connection-lock-request.js +15 -0
- package/lib/request/remove-connection-lock-request.js.map +1 -0
- package/lib/request/remove-deployment-backup-lock-request.d.ts +41 -0
- package/lib/request/remove-deployment-backup-lock-request.js +15 -0
- package/lib/request/remove-deployment-backup-lock-request.js.map +1 -0
- package/lib/request/remove-deployment-lock-request.d.ts +41 -0
- package/lib/request/remove-deployment-lock-request.js +15 -0
- package/lib/request/remove-deployment-lock-request.js.map +1 -0
- package/lib/request/reschedule-deployment-upgrade-request.d.ts +1 -1
- package/lib/request/restore-deployment-request.d.ts +5 -1
- package/lib/request/rollback-deployment-upgrade-request.d.ts +5 -1
- package/lib/request/snooze-deployment-upgrade-request.d.ts +1 -1
- package/lib/request/start-deployment-request.d.ts +5 -1
- package/lib/request/stop-deployment-request.d.ts +5 -1
- package/lib/request/test-connection-assignment-request.d.ts +1 -1
- package/lib/request/update-connection-request.d.ts +6 -2
- package/lib/request/update-database-registration-request.d.ts +1 -1
- package/lib/request/update-deployment-backup-request.d.ts +5 -1
- package/lib/request/update-deployment-request.d.ts +5 -1
- package/lib/request/upgrade-deployment-request.d.ts +5 -1
- package/lib/request/upgrade-deployment-upgrade-request.d.ts +5 -1
- package/lib/response/add-connection-lock-response.d.ts +30 -0
- package/lib/response/add-connection-lock-response.js +15 -0
- package/lib/response/add-connection-lock-response.js.map +1 -0
- package/lib/response/add-deployment-backup-lock-response.d.ts +30 -0
- package/lib/response/add-deployment-backup-lock-response.js +15 -0
- package/lib/response/add-deployment-backup-lock-response.js.map +1 -0
- package/lib/response/add-deployment-lock-response.d.ts +30 -0
- package/lib/response/add-deployment-lock-response.js +15 -0
- package/lib/response/add-deployment-lock-response.js.map +1 -0
- package/lib/response/generate-library-url-response.d.ts +30 -0
- package/lib/response/generate-library-url-response.js +15 -0
- package/lib/response/generate-library-url-response.js.map +1 -0
- package/lib/response/index.d.ts +14 -0
- package/lib/response/remove-connection-lock-response.d.ts +30 -0
- package/lib/response/remove-connection-lock-response.js +15 -0
- package/lib/response/remove-connection-lock-response.js.map +1 -0
- package/lib/response/remove-deployment-backup-lock-response.d.ts +30 -0
- package/lib/response/remove-deployment-backup-lock-response.js +15 -0
- package/lib/response/remove-deployment-backup-lock-response.js.map +1 -0
- package/lib/response/remove-deployment-lock-response.d.ts +30 -0
- package/lib/response/remove-deployment-lock-response.js +15 -0
- package/lib/response/remove-deployment-lock-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -198,13 +198,208 @@ class GoldenGateClient {
|
|
|
198
198
|
close() {
|
|
199
199
|
this.shutdownCircuitBreaker();
|
|
200
200
|
}
|
|
201
|
+
/**
|
|
202
|
+
* Adds a lock to a Connection resource.
|
|
203
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
204
|
+
* @param AddConnectionLockRequest
|
|
205
|
+
* @return AddConnectionLockResponse
|
|
206
|
+
* @throws OciError when an error occurs
|
|
207
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/AddConnectionLock.ts.html |here} to see how to use AddConnectionLock API.
|
|
208
|
+
*/
|
|
209
|
+
addConnectionLock(addConnectionLockRequest) {
|
|
210
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
211
|
+
if (this.logger)
|
|
212
|
+
this.logger.debug("Calling operation GoldenGateClient#addConnectionLock.");
|
|
213
|
+
const operationName = "addConnectionLock";
|
|
214
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Connection/AddConnectionLock";
|
|
215
|
+
const pathParams = {
|
|
216
|
+
"{connectionId}": addConnectionLockRequest.connectionId
|
|
217
|
+
};
|
|
218
|
+
const queryParams = {};
|
|
219
|
+
let headerParams = {
|
|
220
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
221
|
+
"opc-request-id": addConnectionLockRequest.opcRequestId,
|
|
222
|
+
"if-match": addConnectionLockRequest.ifMatch
|
|
223
|
+
};
|
|
224
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
225
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addConnectionLockRequest.retryConfiguration, specRetryConfiguration);
|
|
226
|
+
if (this.logger)
|
|
227
|
+
retrier.logger = this.logger;
|
|
228
|
+
const request = yield oci_common_2.composeRequest({
|
|
229
|
+
baseEndpoint: this._endpoint,
|
|
230
|
+
defaultHeaders: this._defaultHeaders,
|
|
231
|
+
path: "/connections/{connectionId}/actions/addLock",
|
|
232
|
+
method: "POST",
|
|
233
|
+
bodyContent: common.ObjectSerializer.serialize(addConnectionLockRequest.addResourceLockDetails, "AddResourceLockDetails", model.AddResourceLockDetails.getJsonObj),
|
|
234
|
+
pathParams: pathParams,
|
|
235
|
+
headerParams: headerParams,
|
|
236
|
+
queryParams: queryParams
|
|
237
|
+
});
|
|
238
|
+
try {
|
|
239
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
240
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
241
|
+
responseObject: {},
|
|
242
|
+
body: yield response.json(),
|
|
243
|
+
bodyKey: "connection",
|
|
244
|
+
bodyModel: model.Connection,
|
|
245
|
+
type: "model.Connection",
|
|
246
|
+
responseHeaders: [
|
|
247
|
+
{
|
|
248
|
+
value: response.headers.get("opc-request-id"),
|
|
249
|
+
key: "opcRequestId",
|
|
250
|
+
dataType: "string"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
value: response.headers.get("etag"),
|
|
254
|
+
key: "etag",
|
|
255
|
+
dataType: "string"
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
});
|
|
259
|
+
return sdkResponse;
|
|
260
|
+
}
|
|
261
|
+
catch (err) {
|
|
262
|
+
throw err;
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Adds a lock to a DeploymentBackup resource.
|
|
268
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
269
|
+
* @param AddDeploymentBackupLockRequest
|
|
270
|
+
* @return AddDeploymentBackupLockResponse
|
|
271
|
+
* @throws OciError when an error occurs
|
|
272
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/AddDeploymentBackupLock.ts.html |here} to see how to use AddDeploymentBackupLock API.
|
|
273
|
+
*/
|
|
274
|
+
addDeploymentBackupLock(addDeploymentBackupLockRequest) {
|
|
275
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
276
|
+
if (this.logger)
|
|
277
|
+
this.logger.debug("Calling operation GoldenGateClient#addDeploymentBackupLock.");
|
|
278
|
+
const operationName = "addDeploymentBackupLock";
|
|
279
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentBackup/AddDeploymentBackupLock";
|
|
280
|
+
const pathParams = {
|
|
281
|
+
"{deploymentBackupId}": addDeploymentBackupLockRequest.deploymentBackupId
|
|
282
|
+
};
|
|
283
|
+
const queryParams = {};
|
|
284
|
+
let headerParams = {
|
|
285
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
286
|
+
"opc-request-id": addDeploymentBackupLockRequest.opcRequestId,
|
|
287
|
+
"if-match": addDeploymentBackupLockRequest.ifMatch
|
|
288
|
+
};
|
|
289
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
290
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addDeploymentBackupLockRequest.retryConfiguration, specRetryConfiguration);
|
|
291
|
+
if (this.logger)
|
|
292
|
+
retrier.logger = this.logger;
|
|
293
|
+
const request = yield oci_common_2.composeRequest({
|
|
294
|
+
baseEndpoint: this._endpoint,
|
|
295
|
+
defaultHeaders: this._defaultHeaders,
|
|
296
|
+
path: "/deploymentBackups/{deploymentBackupId}/actions/addLock",
|
|
297
|
+
method: "POST",
|
|
298
|
+
bodyContent: common.ObjectSerializer.serialize(addDeploymentBackupLockRequest.addResourceLockDetails, "AddResourceLockDetails", model.AddResourceLockDetails.getJsonObj),
|
|
299
|
+
pathParams: pathParams,
|
|
300
|
+
headerParams: headerParams,
|
|
301
|
+
queryParams: queryParams
|
|
302
|
+
});
|
|
303
|
+
try {
|
|
304
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
305
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
306
|
+
responseObject: {},
|
|
307
|
+
body: yield response.json(),
|
|
308
|
+
bodyKey: "deploymentBackup",
|
|
309
|
+
bodyModel: model.DeploymentBackup,
|
|
310
|
+
type: "model.DeploymentBackup",
|
|
311
|
+
responseHeaders: [
|
|
312
|
+
{
|
|
313
|
+
value: response.headers.get("opc-request-id"),
|
|
314
|
+
key: "opcRequestId",
|
|
315
|
+
dataType: "string"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
value: response.headers.get("etag"),
|
|
319
|
+
key: "etag",
|
|
320
|
+
dataType: "string"
|
|
321
|
+
}
|
|
322
|
+
]
|
|
323
|
+
});
|
|
324
|
+
return sdkResponse;
|
|
325
|
+
}
|
|
326
|
+
catch (err) {
|
|
327
|
+
throw err;
|
|
328
|
+
}
|
|
329
|
+
});
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Adds a lock to a Deployment resource.
|
|
333
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
334
|
+
* @param AddDeploymentLockRequest
|
|
335
|
+
* @return AddDeploymentLockResponse
|
|
336
|
+
* @throws OciError when an error occurs
|
|
337
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/AddDeploymentLock.ts.html |here} to see how to use AddDeploymentLock API.
|
|
338
|
+
*/
|
|
339
|
+
addDeploymentLock(addDeploymentLockRequest) {
|
|
340
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
341
|
+
if (this.logger)
|
|
342
|
+
this.logger.debug("Calling operation GoldenGateClient#addDeploymentLock.");
|
|
343
|
+
const operationName = "addDeploymentLock";
|
|
344
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/AddDeploymentLock";
|
|
345
|
+
const pathParams = {
|
|
346
|
+
"{deploymentId}": addDeploymentLockRequest.deploymentId
|
|
347
|
+
};
|
|
348
|
+
const queryParams = {};
|
|
349
|
+
let headerParams = {
|
|
350
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
351
|
+
"opc-request-id": addDeploymentLockRequest.opcRequestId,
|
|
352
|
+
"if-match": addDeploymentLockRequest.ifMatch
|
|
353
|
+
};
|
|
354
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
355
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addDeploymentLockRequest.retryConfiguration, specRetryConfiguration);
|
|
356
|
+
if (this.logger)
|
|
357
|
+
retrier.logger = this.logger;
|
|
358
|
+
const request = yield oci_common_2.composeRequest({
|
|
359
|
+
baseEndpoint: this._endpoint,
|
|
360
|
+
defaultHeaders: this._defaultHeaders,
|
|
361
|
+
path: "/deployments/{deploymentId}/actions/addLock",
|
|
362
|
+
method: "POST",
|
|
363
|
+
bodyContent: common.ObjectSerializer.serialize(addDeploymentLockRequest.addResourceLockDetails, "AddResourceLockDetails", model.AddResourceLockDetails.getJsonObj),
|
|
364
|
+
pathParams: pathParams,
|
|
365
|
+
headerParams: headerParams,
|
|
366
|
+
queryParams: queryParams
|
|
367
|
+
});
|
|
368
|
+
try {
|
|
369
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
370
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
371
|
+
responseObject: {},
|
|
372
|
+
body: yield response.json(),
|
|
373
|
+
bodyKey: "deployment",
|
|
374
|
+
bodyModel: model.Deployment,
|
|
375
|
+
type: "model.Deployment",
|
|
376
|
+
responseHeaders: [
|
|
377
|
+
{
|
|
378
|
+
value: response.headers.get("opc-request-id"),
|
|
379
|
+
key: "opcRequestId",
|
|
380
|
+
dataType: "string"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
value: response.headers.get("etag"),
|
|
384
|
+
key: "etag",
|
|
385
|
+
dataType: "string"
|
|
386
|
+
}
|
|
387
|
+
]
|
|
388
|
+
});
|
|
389
|
+
return sdkResponse;
|
|
390
|
+
}
|
|
391
|
+
catch (err) {
|
|
392
|
+
throw err;
|
|
393
|
+
}
|
|
394
|
+
});
|
|
395
|
+
}
|
|
201
396
|
/**
|
|
202
397
|
* Cancels a Deployment Backup creation process.
|
|
203
398
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
204
399
|
* @param CancelDeploymentBackupRequest
|
|
205
400
|
* @return CancelDeploymentBackupResponse
|
|
206
401
|
* @throws OciError when an error occurs
|
|
207
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
402
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/CancelDeploymentBackup.ts.html |here} to see how to use CancelDeploymentBackup API.
|
|
208
403
|
*/
|
|
209
404
|
cancelDeploymentBackup(cancelDeploymentBackupRequest) {
|
|
210
405
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -215,7 +410,9 @@ class GoldenGateClient {
|
|
|
215
410
|
const pathParams = {
|
|
216
411
|
"{deploymentBackupId}": cancelDeploymentBackupRequest.deploymentBackupId
|
|
217
412
|
};
|
|
218
|
-
const queryParams = {
|
|
413
|
+
const queryParams = {
|
|
414
|
+
"isLockOverride": cancelDeploymentBackupRequest.isLockOverride
|
|
415
|
+
};
|
|
219
416
|
let headerParams = {
|
|
220
417
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
221
418
|
"if-match": cancelDeploymentBackupRequest.ifMatch,
|
|
@@ -267,7 +464,7 @@ class GoldenGateClient {
|
|
|
267
464
|
* @param CancelDeploymentUpgradeRequest
|
|
268
465
|
* @return CancelDeploymentUpgradeResponse
|
|
269
466
|
* @throws OciError when an error occurs
|
|
270
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
467
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/CancelDeploymentUpgrade.ts.html |here} to see how to use CancelDeploymentUpgrade API.
|
|
271
468
|
*/
|
|
272
469
|
cancelDeploymentUpgrade(cancelDeploymentUpgradeRequest) {
|
|
273
470
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -334,7 +531,7 @@ class GoldenGateClient {
|
|
|
334
531
|
* @param CancelSnoozeDeploymentUpgradeRequest
|
|
335
532
|
* @return CancelSnoozeDeploymentUpgradeResponse
|
|
336
533
|
* @throws OciError when an error occurs
|
|
337
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
534
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/CancelSnoozeDeploymentUpgrade.ts.html |here} to see how to use CancelSnoozeDeploymentUpgrade API.
|
|
338
535
|
*/
|
|
339
536
|
cancelSnoozeDeploymentUpgrade(cancelSnoozeDeploymentUpgradeRequest) {
|
|
340
537
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -395,7 +592,7 @@ class GoldenGateClient {
|
|
|
395
592
|
* @param ChangeConnectionCompartmentRequest
|
|
396
593
|
* @return ChangeConnectionCompartmentResponse
|
|
397
594
|
* @throws OciError when an error occurs
|
|
398
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
595
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ChangeConnectionCompartment.ts.html |here} to see how to use ChangeConnectionCompartment API.
|
|
399
596
|
*/
|
|
400
597
|
changeConnectionCompartment(changeConnectionCompartmentRequest) {
|
|
401
598
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -406,7 +603,9 @@ class GoldenGateClient {
|
|
|
406
603
|
const pathParams = {
|
|
407
604
|
"{connectionId}": changeConnectionCompartmentRequest.connectionId
|
|
408
605
|
};
|
|
409
|
-
const queryParams = {
|
|
606
|
+
const queryParams = {
|
|
607
|
+
"isLockOverride": changeConnectionCompartmentRequest.isLockOverride
|
|
608
|
+
};
|
|
410
609
|
let headerParams = {
|
|
411
610
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
412
611
|
"if-match": changeConnectionCompartmentRequest.ifMatch,
|
|
@@ -461,7 +660,7 @@ class GoldenGateClient {
|
|
|
461
660
|
* @param ChangeDatabaseRegistrationCompartmentRequest
|
|
462
661
|
* @return ChangeDatabaseRegistrationCompartmentResponse
|
|
463
662
|
* @throws OciError when an error occurs
|
|
464
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
663
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ChangeDatabaseRegistrationCompartment.ts.html |here} to see how to use ChangeDatabaseRegistrationCompartment API.
|
|
465
664
|
*/
|
|
466
665
|
changeDatabaseRegistrationCompartment(changeDatabaseRegistrationCompartmentRequest) {
|
|
467
666
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -532,7 +731,7 @@ class GoldenGateClient {
|
|
|
532
731
|
* @param ChangeDeploymentBackupCompartmentRequest
|
|
533
732
|
* @return ChangeDeploymentBackupCompartmentResponse
|
|
534
733
|
* @throws OciError when an error occurs
|
|
535
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
734
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ChangeDeploymentBackupCompartment.ts.html |here} to see how to use ChangeDeploymentBackupCompartment API.
|
|
536
735
|
*/
|
|
537
736
|
changeDeploymentBackupCompartment(changeDeploymentBackupCompartmentRequest) {
|
|
538
737
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -543,7 +742,9 @@ class GoldenGateClient {
|
|
|
543
742
|
const pathParams = {
|
|
544
743
|
"{deploymentBackupId}": changeDeploymentBackupCompartmentRequest.deploymentBackupId
|
|
545
744
|
};
|
|
546
|
-
const queryParams = {
|
|
745
|
+
const queryParams = {
|
|
746
|
+
"isLockOverride": changeDeploymentBackupCompartmentRequest.isLockOverride
|
|
747
|
+
};
|
|
547
748
|
let headerParams = {
|
|
548
749
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
549
750
|
"if-match": changeDeploymentBackupCompartmentRequest.ifMatch,
|
|
@@ -593,7 +794,7 @@ class GoldenGateClient {
|
|
|
593
794
|
* @param ChangeDeploymentCompartmentRequest
|
|
594
795
|
* @return ChangeDeploymentCompartmentResponse
|
|
595
796
|
* @throws OciError when an error occurs
|
|
596
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
797
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ChangeDeploymentCompartment.ts.html |here} to see how to use ChangeDeploymentCompartment API.
|
|
597
798
|
*/
|
|
598
799
|
changeDeploymentCompartment(changeDeploymentCompartmentRequest) {
|
|
599
800
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -604,7 +805,9 @@ class GoldenGateClient {
|
|
|
604
805
|
const pathParams = {
|
|
605
806
|
"{deploymentId}": changeDeploymentCompartmentRequest.deploymentId
|
|
606
807
|
};
|
|
607
|
-
const queryParams = {
|
|
808
|
+
const queryParams = {
|
|
809
|
+
"isLockOverride": changeDeploymentCompartmentRequest.isLockOverride
|
|
810
|
+
};
|
|
608
811
|
let headerParams = {
|
|
609
812
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
610
813
|
"if-match": changeDeploymentCompartmentRequest.ifMatch,
|
|
@@ -656,7 +859,7 @@ class GoldenGateClient {
|
|
|
656
859
|
* @param CollectDeploymentDiagnosticRequest
|
|
657
860
|
* @return CollectDeploymentDiagnosticResponse
|
|
658
861
|
* @throws OciError when an error occurs
|
|
659
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
862
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/CollectDeploymentDiagnostic.ts.html |here} to see how to use CollectDeploymentDiagnostic API.
|
|
660
863
|
*/
|
|
661
864
|
collectDeploymentDiagnostic(collectDeploymentDiagnosticRequest) {
|
|
662
865
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -718,7 +921,7 @@ class GoldenGateClient {
|
|
|
718
921
|
* @param CopyDeploymentBackupRequest
|
|
719
922
|
* @return CopyDeploymentBackupResponse
|
|
720
923
|
* @throws OciError when an error occurs
|
|
721
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
924
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/CopyDeploymentBackup.ts.html |here} to see how to use CopyDeploymentBackup API.
|
|
722
925
|
*/
|
|
723
926
|
copyDeploymentBackup(copyDeploymentBackupRequest) {
|
|
724
927
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -781,7 +984,7 @@ class GoldenGateClient {
|
|
|
781
984
|
* @param CreateCertificateRequest
|
|
782
985
|
* @return CreateCertificateResponse
|
|
783
986
|
* @throws OciError when an error occurs
|
|
784
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
987
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/CreateCertificate.ts.html |here} to see how to use CreateCertificate API.
|
|
785
988
|
*/
|
|
786
989
|
createCertificate(createCertificateRequest) {
|
|
787
990
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -792,7 +995,9 @@ class GoldenGateClient {
|
|
|
792
995
|
const pathParams = {
|
|
793
996
|
"{deploymentId}": createCertificateRequest.deploymentId
|
|
794
997
|
};
|
|
795
|
-
const queryParams = {
|
|
998
|
+
const queryParams = {
|
|
999
|
+
"isLockOverride": createCertificateRequest.isLockOverride
|
|
1000
|
+
};
|
|
796
1001
|
let headerParams = {
|
|
797
1002
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
798
1003
|
"opc-retry-token": createCertificateRequest.opcRetryToken,
|
|
@@ -843,7 +1048,7 @@ class GoldenGateClient {
|
|
|
843
1048
|
* @param CreateConnectionRequest
|
|
844
1049
|
* @return CreateConnectionResponse
|
|
845
1050
|
* @throws OciError when an error occurs
|
|
846
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1051
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/CreateConnection.ts.html |here} to see how to use CreateConnection API.
|
|
847
1052
|
*/
|
|
848
1053
|
createConnection(createConnectionRequest) {
|
|
849
1054
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -911,7 +1116,7 @@ class GoldenGateClient {
|
|
|
911
1116
|
* @param CreateConnectionAssignmentRequest
|
|
912
1117
|
* @return CreateConnectionAssignmentResponse
|
|
913
1118
|
* @throws OciError when an error occurs
|
|
914
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1119
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/CreateConnectionAssignment.ts.html |here} to see how to use CreateConnectionAssignment API.
|
|
915
1120
|
*/
|
|
916
1121
|
createConnectionAssignment(createConnectionAssignmentRequest) {
|
|
917
1122
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -920,7 +1125,9 @@ class GoldenGateClient {
|
|
|
920
1125
|
const operationName = "createConnectionAssignment";
|
|
921
1126
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/ConnectionAssignment/CreateConnectionAssignment";
|
|
922
1127
|
const pathParams = {};
|
|
923
|
-
const queryParams = {
|
|
1128
|
+
const queryParams = {
|
|
1129
|
+
"isLockOverride": createConnectionAssignmentRequest.isLockOverride
|
|
1130
|
+
};
|
|
924
1131
|
let headerParams = {
|
|
925
1132
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
926
1133
|
"opc-retry-token": createConnectionAssignmentRequest.opcRetryToken,
|
|
@@ -981,7 +1188,7 @@ class GoldenGateClient {
|
|
|
981
1188
|
* @param CreateDatabaseRegistrationRequest
|
|
982
1189
|
* @return CreateDatabaseRegistrationResponse
|
|
983
1190
|
* @throws OciError when an error occurs
|
|
984
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1191
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/CreateDatabaseRegistration.ts.html |here} to see how to use CreateDatabaseRegistration API.
|
|
985
1192
|
*/
|
|
986
1193
|
createDatabaseRegistration(createDatabaseRegistrationRequest) {
|
|
987
1194
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1055,7 +1262,7 @@ class GoldenGateClient {
|
|
|
1055
1262
|
* @param CreateDeploymentRequest
|
|
1056
1263
|
* @return CreateDeploymentResponse
|
|
1057
1264
|
* @throws OciError when an error occurs
|
|
1058
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1265
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/CreateDeployment.ts.html |here} to see how to use CreateDeployment API.
|
|
1059
1266
|
*/
|
|
1060
1267
|
createDeployment(createDeploymentRequest) {
|
|
1061
1268
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1123,7 +1330,7 @@ class GoldenGateClient {
|
|
|
1123
1330
|
* @param CreateDeploymentBackupRequest
|
|
1124
1331
|
* @return CreateDeploymentBackupResponse
|
|
1125
1332
|
* @throws OciError when an error occurs
|
|
1126
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1333
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/CreateDeploymentBackup.ts.html |here} to see how to use CreateDeploymentBackup API.
|
|
1127
1334
|
*/
|
|
1128
1335
|
createDeploymentBackup(createDeploymentBackupRequest) {
|
|
1129
1336
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1183,7 +1390,7 @@ class GoldenGateClient {
|
|
|
1183
1390
|
* @param DeleteCertificateRequest
|
|
1184
1391
|
* @return DeleteCertificateResponse
|
|
1185
1392
|
* @throws OciError when an error occurs
|
|
1186
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1393
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/DeleteCertificate.ts.html |here} to see how to use DeleteCertificate API.
|
|
1187
1394
|
*/
|
|
1188
1395
|
deleteCertificate(deleteCertificateRequest) {
|
|
1189
1396
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1195,7 +1402,9 @@ class GoldenGateClient {
|
|
|
1195
1402
|
"{deploymentId}": deleteCertificateRequest.deploymentId,
|
|
1196
1403
|
"{certificateKey}": deleteCertificateRequest.certificateKey
|
|
1197
1404
|
};
|
|
1198
|
-
const queryParams = {
|
|
1405
|
+
const queryParams = {
|
|
1406
|
+
"isLockOverride": deleteCertificateRequest.isLockOverride
|
|
1407
|
+
};
|
|
1199
1408
|
let headerParams = {
|
|
1200
1409
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1201
1410
|
"if-match": deleteCertificateRequest.ifMatch,
|
|
@@ -1245,7 +1454,7 @@ class GoldenGateClient {
|
|
|
1245
1454
|
* @param DeleteConnectionRequest
|
|
1246
1455
|
* @return DeleteConnectionResponse
|
|
1247
1456
|
* @throws OciError when an error occurs
|
|
1248
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1457
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/DeleteConnection.ts.html |here} to see how to use DeleteConnection API.
|
|
1249
1458
|
*/
|
|
1250
1459
|
deleteConnection(deleteConnectionRequest) {
|
|
1251
1460
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1256,7 +1465,9 @@ class GoldenGateClient {
|
|
|
1256
1465
|
const pathParams = {
|
|
1257
1466
|
"{connectionId}": deleteConnectionRequest.connectionId
|
|
1258
1467
|
};
|
|
1259
|
-
const queryParams = {
|
|
1468
|
+
const queryParams = {
|
|
1469
|
+
"isLockOverride": deleteConnectionRequest.isLockOverride
|
|
1470
|
+
};
|
|
1260
1471
|
let headerParams = {
|
|
1261
1472
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1262
1473
|
"if-match": deleteConnectionRequest.ifMatch,
|
|
@@ -1305,7 +1516,7 @@ class GoldenGateClient {
|
|
|
1305
1516
|
* @param DeleteConnectionAssignmentRequest
|
|
1306
1517
|
* @return DeleteConnectionAssignmentResponse
|
|
1307
1518
|
* @throws OciError when an error occurs
|
|
1308
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1519
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/DeleteConnectionAssignment.ts.html |here} to see how to use DeleteConnectionAssignment API.
|
|
1309
1520
|
*/
|
|
1310
1521
|
deleteConnectionAssignment(deleteConnectionAssignmentRequest) {
|
|
1311
1522
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1316,7 +1527,9 @@ class GoldenGateClient {
|
|
|
1316
1527
|
const pathParams = {
|
|
1317
1528
|
"{connectionAssignmentId}": deleteConnectionAssignmentRequest.connectionAssignmentId
|
|
1318
1529
|
};
|
|
1319
|
-
const queryParams = {
|
|
1530
|
+
const queryParams = {
|
|
1531
|
+
"isLockOverride": deleteConnectionAssignmentRequest.isLockOverride
|
|
1532
|
+
};
|
|
1320
1533
|
let headerParams = {
|
|
1321
1534
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1322
1535
|
"if-match": deleteConnectionAssignmentRequest.ifMatch,
|
|
@@ -1367,7 +1580,7 @@ class GoldenGateClient {
|
|
|
1367
1580
|
* @param DeleteDatabaseRegistrationRequest
|
|
1368
1581
|
* @return DeleteDatabaseRegistrationResponse
|
|
1369
1582
|
* @throws OciError when an error occurs
|
|
1370
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1583
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/DeleteDatabaseRegistration.ts.html |here} to see how to use DeleteDatabaseRegistration API.
|
|
1371
1584
|
*/
|
|
1372
1585
|
deleteDatabaseRegistration(deleteDatabaseRegistrationRequest) {
|
|
1373
1586
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1433,7 +1646,7 @@ class GoldenGateClient {
|
|
|
1433
1646
|
* @param DeleteDeploymentRequest
|
|
1434
1647
|
* @return DeleteDeploymentResponse
|
|
1435
1648
|
* @throws OciError when an error occurs
|
|
1436
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1649
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/DeleteDeployment.ts.html |here} to see how to use DeleteDeployment API.
|
|
1437
1650
|
*/
|
|
1438
1651
|
deleteDeployment(deleteDeploymentRequest) {
|
|
1439
1652
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1444,7 +1657,9 @@ class GoldenGateClient {
|
|
|
1444
1657
|
const pathParams = {
|
|
1445
1658
|
"{deploymentId}": deleteDeploymentRequest.deploymentId
|
|
1446
1659
|
};
|
|
1447
|
-
const queryParams = {
|
|
1660
|
+
const queryParams = {
|
|
1661
|
+
"isLockOverride": deleteDeploymentRequest.isLockOverride
|
|
1662
|
+
};
|
|
1448
1663
|
let headerParams = {
|
|
1449
1664
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1450
1665
|
"if-match": deleteDeploymentRequest.ifMatch,
|
|
@@ -1494,7 +1709,7 @@ class GoldenGateClient {
|
|
|
1494
1709
|
* @param DeleteDeploymentBackupRequest
|
|
1495
1710
|
* @return DeleteDeploymentBackupResponse
|
|
1496
1711
|
* @throws OciError when an error occurs
|
|
1497
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1712
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/DeleteDeploymentBackup.ts.html |here} to see how to use DeleteDeploymentBackup API.
|
|
1498
1713
|
*/
|
|
1499
1714
|
deleteDeploymentBackup(deleteDeploymentBackupRequest) {
|
|
1500
1715
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1505,7 +1720,9 @@ class GoldenGateClient {
|
|
|
1505
1720
|
const pathParams = {
|
|
1506
1721
|
"{deploymentBackupId}": deleteDeploymentBackupRequest.deploymentBackupId
|
|
1507
1722
|
};
|
|
1508
|
-
const queryParams = {
|
|
1723
|
+
const queryParams = {
|
|
1724
|
+
"isLockOverride": deleteDeploymentBackupRequest.isLockOverride
|
|
1725
|
+
};
|
|
1509
1726
|
let headerParams = {
|
|
1510
1727
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1511
1728
|
"if-match": deleteDeploymentBackupRequest.ifMatch,
|
|
@@ -1555,7 +1772,7 @@ class GoldenGateClient {
|
|
|
1555
1772
|
* @param DeploymentWalletExistsRequest
|
|
1556
1773
|
* @return DeploymentWalletExistsResponse
|
|
1557
1774
|
* @throws OciError when an error occurs
|
|
1558
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1775
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/DeploymentWalletExists.ts.html |here} to see how to use DeploymentWalletExists API.
|
|
1559
1776
|
*/
|
|
1560
1777
|
deploymentWalletExists(deploymentWalletExistsRequest) {
|
|
1561
1778
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1622,7 +1839,7 @@ class GoldenGateClient {
|
|
|
1622
1839
|
* @param ExportDeploymentWalletRequest
|
|
1623
1840
|
* @return ExportDeploymentWalletResponse
|
|
1624
1841
|
* @throws OciError when an error occurs
|
|
1625
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1842
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ExportDeploymentWallet.ts.html |here} to see how to use ExportDeploymentWallet API.
|
|
1626
1843
|
*/
|
|
1627
1844
|
exportDeploymentWallet(exportDeploymentWalletRequest) {
|
|
1628
1845
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1678,6 +1895,73 @@ class GoldenGateClient {
|
|
|
1678
1895
|
}
|
|
1679
1896
|
});
|
|
1680
1897
|
}
|
|
1898
|
+
/**
|
|
1899
|
+
* Generates a Pre-Authenticated Request Object URL to a DB2 for z/OS library that needs to be uploaded to your DB2 for z/OS server in order to establish GoldenGate connections to it. For licensing reasons, the URL is accessible for 10 minutes only.
|
|
1900
|
+
*
|
|
1901
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1902
|
+
* @param GenerateLibraryUrlRequest
|
|
1903
|
+
* @return GenerateLibraryUrlResponse
|
|
1904
|
+
* @throws OciError when an error occurs
|
|
1905
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/GenerateLibraryUrl.ts.html |here} to see how to use GenerateLibraryUrl API.
|
|
1906
|
+
*/
|
|
1907
|
+
generateLibraryUrl(generateLibraryUrlRequest) {
|
|
1908
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1909
|
+
if (this.logger)
|
|
1910
|
+
this.logger.debug("Calling operation GoldenGateClient#generateLibraryUrl.");
|
|
1911
|
+
const operationName = "generateLibraryUrl";
|
|
1912
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/GenerateLibraryUrl";
|
|
1913
|
+
const pathParams = {
|
|
1914
|
+
"{deploymentId}": generateLibraryUrlRequest.deploymentId
|
|
1915
|
+
};
|
|
1916
|
+
const queryParams = {};
|
|
1917
|
+
let headerParams = {
|
|
1918
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1919
|
+
"if-match": generateLibraryUrlRequest.ifMatch,
|
|
1920
|
+
"opc-request-id": generateLibraryUrlRequest.opcRequestId,
|
|
1921
|
+
"opc-retry-token": generateLibraryUrlRequest.opcRetryToken
|
|
1922
|
+
};
|
|
1923
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1924
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateLibraryUrlRequest.retryConfiguration, specRetryConfiguration);
|
|
1925
|
+
if (this.logger)
|
|
1926
|
+
retrier.logger = this.logger;
|
|
1927
|
+
const request = yield oci_common_2.composeRequest({
|
|
1928
|
+
baseEndpoint: this._endpoint,
|
|
1929
|
+
defaultHeaders: this._defaultHeaders,
|
|
1930
|
+
path: "/deployments/{deploymentId}/actions/generateLibraryUrl",
|
|
1931
|
+
method: "POST",
|
|
1932
|
+
bodyContent: common.ObjectSerializer.serialize(generateLibraryUrlRequest.generateLibraryUrlDetails, "GenerateLibraryUrlDetails", model.GenerateLibraryUrlDetails.getJsonObj),
|
|
1933
|
+
pathParams: pathParams,
|
|
1934
|
+
headerParams: headerParams,
|
|
1935
|
+
queryParams: queryParams
|
|
1936
|
+
});
|
|
1937
|
+
try {
|
|
1938
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1939
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1940
|
+
responseObject: {},
|
|
1941
|
+
body: yield response.json(),
|
|
1942
|
+
bodyKey: "libraryUrl",
|
|
1943
|
+
bodyModel: model.LibraryUrl,
|
|
1944
|
+
type: "model.LibraryUrl",
|
|
1945
|
+
responseHeaders: [
|
|
1946
|
+
{
|
|
1947
|
+
value: response.headers.get("opc-request-id"),
|
|
1948
|
+
key: "opcRequestId",
|
|
1949
|
+
dataType: "string"
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
value: response.headers.get("etag"),
|
|
1953
|
+
key: "etag",
|
|
1954
|
+
dataType: "string"
|
|
1955
|
+
}
|
|
1956
|
+
]
|
|
1957
|
+
});
|
|
1958
|
+
return sdkResponse;
|
|
1959
|
+
}
|
|
1960
|
+
catch (err) {
|
|
1961
|
+
throw err;
|
|
1962
|
+
}
|
|
1963
|
+
});
|
|
1964
|
+
}
|
|
1681
1965
|
/**
|
|
1682
1966
|
* Retrieves a Certificate.
|
|
1683
1967
|
*
|
|
@@ -1685,7 +1969,7 @@ class GoldenGateClient {
|
|
|
1685
1969
|
* @param GetCertificateRequest
|
|
1686
1970
|
* @return GetCertificateResponse
|
|
1687
1971
|
* @throws OciError when an error occurs
|
|
1688
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1972
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/GetCertificate.ts.html |here} to see how to use GetCertificate API.
|
|
1689
1973
|
*/
|
|
1690
1974
|
getCertificate(getCertificateRequest) {
|
|
1691
1975
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1750,7 +2034,7 @@ class GoldenGateClient {
|
|
|
1750
2034
|
* @param GetConnectionRequest
|
|
1751
2035
|
* @return GetConnectionResponse
|
|
1752
2036
|
* @throws OciError when an error occurs
|
|
1753
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2037
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/GetConnection.ts.html |here} to see how to use GetConnection API.
|
|
1754
2038
|
*/
|
|
1755
2039
|
getConnection(getConnectionRequest) {
|
|
1756
2040
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1814,7 +2098,7 @@ class GoldenGateClient {
|
|
|
1814
2098
|
* @param GetConnectionAssignmentRequest
|
|
1815
2099
|
* @return GetConnectionAssignmentResponse
|
|
1816
2100
|
* @throws OciError when an error occurs
|
|
1817
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2101
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/GetConnectionAssignment.ts.html |here} to see how to use GetConnectionAssignment API.
|
|
1818
2102
|
*/
|
|
1819
2103
|
getConnectionAssignment(getConnectionAssignmentRequest) {
|
|
1820
2104
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1879,7 +2163,7 @@ class GoldenGateClient {
|
|
|
1879
2163
|
* @param GetDatabaseRegistrationRequest
|
|
1880
2164
|
* @return GetDatabaseRegistrationResponse
|
|
1881
2165
|
* @throws OciError when an error occurs
|
|
1882
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2166
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/GetDatabaseRegistration.ts.html |here} to see how to use GetDatabaseRegistration API.
|
|
1883
2167
|
*/
|
|
1884
2168
|
getDatabaseRegistration(getDatabaseRegistrationRequest) {
|
|
1885
2169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1948,7 +2232,7 @@ class GoldenGateClient {
|
|
|
1948
2232
|
* @param GetDeploymentRequest
|
|
1949
2233
|
* @return GetDeploymentResponse
|
|
1950
2234
|
* @throws OciError when an error occurs
|
|
1951
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2235
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/GetDeployment.ts.html |here} to see how to use GetDeployment API.
|
|
1952
2236
|
*/
|
|
1953
2237
|
getDeployment(getDeploymentRequest) {
|
|
1954
2238
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2012,7 +2296,7 @@ class GoldenGateClient {
|
|
|
2012
2296
|
* @param GetDeploymentBackupRequest
|
|
2013
2297
|
* @return GetDeploymentBackupResponse
|
|
2014
2298
|
* @throws OciError when an error occurs
|
|
2015
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2299
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/GetDeploymentBackup.ts.html |here} to see how to use GetDeploymentBackup API.
|
|
2016
2300
|
*/
|
|
2017
2301
|
getDeploymentBackup(getDeploymentBackupRequest) {
|
|
2018
2302
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2076,7 +2360,7 @@ class GoldenGateClient {
|
|
|
2076
2360
|
* @param GetDeploymentUpgradeRequest
|
|
2077
2361
|
* @return GetDeploymentUpgradeResponse
|
|
2078
2362
|
* @throws OciError when an error occurs
|
|
2079
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2363
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/GetDeploymentUpgrade.ts.html |here} to see how to use GetDeploymentUpgrade API.
|
|
2080
2364
|
*/
|
|
2081
2365
|
getDeploymentUpgrade(getDeploymentUpgradeRequest) {
|
|
2082
2366
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2140,7 +2424,7 @@ class GoldenGateClient {
|
|
|
2140
2424
|
* @param GetWorkRequestRequest
|
|
2141
2425
|
* @return GetWorkRequestResponse
|
|
2142
2426
|
* @throws OciError when an error occurs
|
|
2143
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2427
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
2144
2428
|
*/
|
|
2145
2429
|
getWorkRequest(getWorkRequestRequest) {
|
|
2146
2430
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2204,7 +2488,7 @@ class GoldenGateClient {
|
|
|
2204
2488
|
* @param ImportDeploymentWalletRequest
|
|
2205
2489
|
* @return ImportDeploymentWalletResponse
|
|
2206
2490
|
* @throws OciError when an error occurs
|
|
2207
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2491
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ImportDeploymentWallet.ts.html |here} to see how to use ImportDeploymentWallet API.
|
|
2208
2492
|
*/
|
|
2209
2493
|
importDeploymentWallet(importDeploymentWalletRequest) {
|
|
2210
2494
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2215,7 +2499,9 @@ class GoldenGateClient {
|
|
|
2215
2499
|
const pathParams = {
|
|
2216
2500
|
"{deploymentId}": importDeploymentWalletRequest.deploymentId
|
|
2217
2501
|
};
|
|
2218
|
-
const queryParams = {
|
|
2502
|
+
const queryParams = {
|
|
2503
|
+
"isLockOverride": importDeploymentWalletRequest.isLockOverride
|
|
2504
|
+
};
|
|
2219
2505
|
let headerParams = {
|
|
2220
2506
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2221
2507
|
"if-match": importDeploymentWalletRequest.ifMatch,
|
|
@@ -2266,7 +2552,7 @@ class GoldenGateClient {
|
|
|
2266
2552
|
* @param ListCertificatesRequest
|
|
2267
2553
|
* @return ListCertificatesResponse
|
|
2268
2554
|
* @throws OciError when an error occurs
|
|
2269
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2555
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ListCertificates.ts.html |here} to see how to use ListCertificates API.
|
|
2270
2556
|
*/
|
|
2271
2557
|
listCertificates(listCertificatesRequest) {
|
|
2272
2558
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2335,7 +2621,7 @@ class GoldenGateClient {
|
|
|
2335
2621
|
* @param ListConnectionAssignmentsRequest
|
|
2336
2622
|
* @return ListConnectionAssignmentsResponse
|
|
2337
2623
|
* @throws OciError when an error occurs
|
|
2338
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2624
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ListConnectionAssignments.ts.html |here} to see how to use ListConnectionAssignments API.
|
|
2339
2625
|
*/
|
|
2340
2626
|
listConnectionAssignments(listConnectionAssignmentsRequest) {
|
|
2341
2627
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2407,7 +2693,7 @@ class GoldenGateClient {
|
|
|
2407
2693
|
* @param ListConnectionsRequest
|
|
2408
2694
|
* @return ListConnectionsResponse
|
|
2409
2695
|
* @throws OciError when an error occurs
|
|
2410
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2696
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ListConnections.ts.html |here} to see how to use ListConnections API.
|
|
2411
2697
|
*/
|
|
2412
2698
|
listConnections(listConnectionsRequest) {
|
|
2413
2699
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2483,7 +2769,7 @@ class GoldenGateClient {
|
|
|
2483
2769
|
* @param ListDatabaseRegistrationsRequest
|
|
2484
2770
|
* @return ListDatabaseRegistrationsResponse
|
|
2485
2771
|
* @throws OciError when an error occurs
|
|
2486
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2772
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ListDatabaseRegistrations.ts.html |here} to see how to use ListDatabaseRegistrations API.
|
|
2487
2773
|
*/
|
|
2488
2774
|
listDatabaseRegistrations(listDatabaseRegistrationsRequest) {
|
|
2489
2775
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2558,7 +2844,7 @@ class GoldenGateClient {
|
|
|
2558
2844
|
* @param ListDeploymentBackupsRequest
|
|
2559
2845
|
* @return ListDeploymentBackupsResponse
|
|
2560
2846
|
* @throws OciError when an error occurs
|
|
2561
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2847
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ListDeploymentBackups.ts.html |here} to see how to use ListDeploymentBackups API.
|
|
2562
2848
|
*/
|
|
2563
2849
|
listDeploymentBackups(listDeploymentBackupsRequest) {
|
|
2564
2850
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2629,7 +2915,7 @@ class GoldenGateClient {
|
|
|
2629
2915
|
* @param ListDeploymentTypesRequest
|
|
2630
2916
|
* @return ListDeploymentTypesResponse
|
|
2631
2917
|
* @throws OciError when an error occurs
|
|
2632
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2918
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ListDeploymentTypes.ts.html |here} to see how to use ListDeploymentTypes API.
|
|
2633
2919
|
*/
|
|
2634
2920
|
listDeploymentTypes(listDeploymentTypesRequest) {
|
|
2635
2921
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2700,7 +2986,7 @@ class GoldenGateClient {
|
|
|
2700
2986
|
* @param ListDeploymentUpgradesRequest
|
|
2701
2987
|
* @return ListDeploymentUpgradesResponse
|
|
2702
2988
|
* @throws OciError when an error occurs
|
|
2703
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2989
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ListDeploymentUpgrades.ts.html |here} to see how to use ListDeploymentUpgrades API.
|
|
2704
2990
|
*/
|
|
2705
2991
|
listDeploymentUpgrades(listDeploymentUpgradesRequest) {
|
|
2706
2992
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2771,7 +3057,7 @@ class GoldenGateClient {
|
|
|
2771
3057
|
* @param ListDeploymentVersionsRequest
|
|
2772
3058
|
* @return ListDeploymentVersionsResponse
|
|
2773
3059
|
* @throws OciError when an error occurs
|
|
2774
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3060
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ListDeploymentVersions.ts.html |here} to see how to use ListDeploymentVersions API.
|
|
2775
3061
|
*/
|
|
2776
3062
|
listDeploymentVersions(listDeploymentVersionsRequest) {
|
|
2777
3063
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2841,7 +3127,7 @@ class GoldenGateClient {
|
|
|
2841
3127
|
* @param ListDeploymentWalletsOperationsRequest
|
|
2842
3128
|
* @return ListDeploymentWalletsOperationsResponse
|
|
2843
3129
|
* @throws OciError when an error occurs
|
|
2844
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3130
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ListDeploymentWalletsOperations.ts.html |here} to see how to use ListDeploymentWalletsOperations API.
|
|
2845
3131
|
*/
|
|
2846
3132
|
listDeploymentWalletsOperations(listDeploymentWalletsOperationsRequest) {
|
|
2847
3133
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2911,7 +3197,7 @@ class GoldenGateClient {
|
|
|
2911
3197
|
* @param ListDeploymentsRequest
|
|
2912
3198
|
* @return ListDeploymentsResponse
|
|
2913
3199
|
* @throws OciError when an error occurs
|
|
2914
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3200
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ListDeployments.ts.html |here} to see how to use ListDeployments API.
|
|
2915
3201
|
*/
|
|
2916
3202
|
listDeployments(listDeploymentsRequest) {
|
|
2917
3203
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2986,7 +3272,7 @@ class GoldenGateClient {
|
|
|
2986
3272
|
* @param ListMessagesRequest
|
|
2987
3273
|
* @return ListMessagesResponse
|
|
2988
3274
|
* @throws OciError when an error occurs
|
|
2989
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3275
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ListMessages.ts.html |here} to see how to use ListMessages API.
|
|
2990
3276
|
*/
|
|
2991
3277
|
listMessages(listMessagesRequest) {
|
|
2992
3278
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3041,13 +3327,13 @@ class GoldenGateClient {
|
|
|
3041
3327
|
});
|
|
3042
3328
|
}
|
|
3043
3329
|
/**
|
|
3044
|
-
* Lists the TrailFiles for a deployment.
|
|
3330
|
+
* Lists the TrailFiles for a deployment. Deprecated: Please access trail file management functions directly on OGG console which are available since version Oracle GoldenGate 23c.
|
|
3045
3331
|
*
|
|
3046
3332
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3047
3333
|
* @param ListTrailFilesRequest
|
|
3048
3334
|
* @return ListTrailFilesResponse
|
|
3049
3335
|
* @throws OciError when an error occurs
|
|
3050
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3336
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ListTrailFiles.ts.html |here} to see how to use ListTrailFiles API.
|
|
3051
3337
|
*/
|
|
3052
3338
|
listTrailFiles(listTrailFilesRequest) {
|
|
3053
3339
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3111,13 +3397,13 @@ class GoldenGateClient {
|
|
|
3111
3397
|
});
|
|
3112
3398
|
}
|
|
3113
3399
|
/**
|
|
3114
|
-
* Lists the Trail Sequences for a TrailFile in a given deployment.
|
|
3400
|
+
* Lists the Trail Sequences for a TrailFile in a given deployment. Deprecated: Please access trail file management functions directly on OGG console which are available since version Oracle GoldenGate 23c.
|
|
3115
3401
|
*
|
|
3116
3402
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3117
3403
|
* @param ListTrailSequencesRequest
|
|
3118
3404
|
* @return ListTrailSequencesResponse
|
|
3119
3405
|
* @throws OciError when an error occurs
|
|
3120
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3406
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ListTrailSequences.ts.html |here} to see how to use ListTrailSequences API.
|
|
3121
3407
|
*/
|
|
3122
3408
|
listTrailSequences(listTrailSequencesRequest) {
|
|
3123
3409
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3188,7 +3474,7 @@ class GoldenGateClient {
|
|
|
3188
3474
|
* @param ListWorkRequestErrorsRequest
|
|
3189
3475
|
* @return ListWorkRequestErrorsResponse
|
|
3190
3476
|
* @throws OciError when an error occurs
|
|
3191
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3477
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3192
3478
|
*/
|
|
3193
3479
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3194
3480
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3295,7 +3581,7 @@ class GoldenGateClient {
|
|
|
3295
3581
|
* @param ListWorkRequestLogsRequest
|
|
3296
3582
|
* @return ListWorkRequestLogsResponse
|
|
3297
3583
|
* @throws OciError when an error occurs
|
|
3298
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3584
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3299
3585
|
*/
|
|
3300
3586
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3301
3587
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3402,7 +3688,7 @@ class GoldenGateClient {
|
|
|
3402
3688
|
* @param ListWorkRequestsRequest
|
|
3403
3689
|
* @return ListWorkRequestsResponse
|
|
3404
3690
|
* @throws OciError when an error occurs
|
|
3405
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3691
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3406
3692
|
*/
|
|
3407
3693
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3408
3694
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3502,6 +3788,201 @@ class GoldenGateClient {
|
|
|
3502
3788
|
listWorkRequestsResponseIterator(request) {
|
|
3503
3789
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
3504
3790
|
}
|
|
3791
|
+
/**
|
|
3792
|
+
* Removes a lock from a Connection resource.
|
|
3793
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3794
|
+
* @param RemoveConnectionLockRequest
|
|
3795
|
+
* @return RemoveConnectionLockResponse
|
|
3796
|
+
* @throws OciError when an error occurs
|
|
3797
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/RemoveConnectionLock.ts.html |here} to see how to use RemoveConnectionLock API.
|
|
3798
|
+
*/
|
|
3799
|
+
removeConnectionLock(removeConnectionLockRequest) {
|
|
3800
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3801
|
+
if (this.logger)
|
|
3802
|
+
this.logger.debug("Calling operation GoldenGateClient#removeConnectionLock.");
|
|
3803
|
+
const operationName = "removeConnectionLock";
|
|
3804
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Connection/RemoveConnectionLock";
|
|
3805
|
+
const pathParams = {
|
|
3806
|
+
"{connectionId}": removeConnectionLockRequest.connectionId
|
|
3807
|
+
};
|
|
3808
|
+
const queryParams = {};
|
|
3809
|
+
let headerParams = {
|
|
3810
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3811
|
+
"opc-request-id": removeConnectionLockRequest.opcRequestId,
|
|
3812
|
+
"if-match": removeConnectionLockRequest.ifMatch
|
|
3813
|
+
};
|
|
3814
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3815
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeConnectionLockRequest.retryConfiguration, specRetryConfiguration);
|
|
3816
|
+
if (this.logger)
|
|
3817
|
+
retrier.logger = this.logger;
|
|
3818
|
+
const request = yield oci_common_2.composeRequest({
|
|
3819
|
+
baseEndpoint: this._endpoint,
|
|
3820
|
+
defaultHeaders: this._defaultHeaders,
|
|
3821
|
+
path: "/connections/{connectionId}/actions/removeLock",
|
|
3822
|
+
method: "POST",
|
|
3823
|
+
bodyContent: common.ObjectSerializer.serialize(removeConnectionLockRequest.removeResourceLockDetails, "RemoveResourceLockDetails", model.RemoveResourceLockDetails.getJsonObj),
|
|
3824
|
+
pathParams: pathParams,
|
|
3825
|
+
headerParams: headerParams,
|
|
3826
|
+
queryParams: queryParams
|
|
3827
|
+
});
|
|
3828
|
+
try {
|
|
3829
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3830
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3831
|
+
responseObject: {},
|
|
3832
|
+
body: yield response.json(),
|
|
3833
|
+
bodyKey: "connection",
|
|
3834
|
+
bodyModel: model.Connection,
|
|
3835
|
+
type: "model.Connection",
|
|
3836
|
+
responseHeaders: [
|
|
3837
|
+
{
|
|
3838
|
+
value: response.headers.get("opc-request-id"),
|
|
3839
|
+
key: "opcRequestId",
|
|
3840
|
+
dataType: "string"
|
|
3841
|
+
},
|
|
3842
|
+
{
|
|
3843
|
+
value: response.headers.get("etag"),
|
|
3844
|
+
key: "etag",
|
|
3845
|
+
dataType: "string"
|
|
3846
|
+
}
|
|
3847
|
+
]
|
|
3848
|
+
});
|
|
3849
|
+
return sdkResponse;
|
|
3850
|
+
}
|
|
3851
|
+
catch (err) {
|
|
3852
|
+
throw err;
|
|
3853
|
+
}
|
|
3854
|
+
});
|
|
3855
|
+
}
|
|
3856
|
+
/**
|
|
3857
|
+
* Removes a lock from a DeploymentBackup resource.
|
|
3858
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3859
|
+
* @param RemoveDeploymentBackupLockRequest
|
|
3860
|
+
* @return RemoveDeploymentBackupLockResponse
|
|
3861
|
+
* @throws OciError when an error occurs
|
|
3862
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/RemoveDeploymentBackupLock.ts.html |here} to see how to use RemoveDeploymentBackupLock API.
|
|
3863
|
+
*/
|
|
3864
|
+
removeDeploymentBackupLock(removeDeploymentBackupLockRequest) {
|
|
3865
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3866
|
+
if (this.logger)
|
|
3867
|
+
this.logger.debug("Calling operation GoldenGateClient#removeDeploymentBackupLock.");
|
|
3868
|
+
const operationName = "removeDeploymentBackupLock";
|
|
3869
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentBackup/RemoveDeploymentBackupLock";
|
|
3870
|
+
const pathParams = {
|
|
3871
|
+
"{deploymentBackupId}": removeDeploymentBackupLockRequest.deploymentBackupId
|
|
3872
|
+
};
|
|
3873
|
+
const queryParams = {};
|
|
3874
|
+
let headerParams = {
|
|
3875
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3876
|
+
"opc-request-id": removeDeploymentBackupLockRequest.opcRequestId,
|
|
3877
|
+
"if-match": removeDeploymentBackupLockRequest.ifMatch
|
|
3878
|
+
};
|
|
3879
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3880
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeDeploymentBackupLockRequest.retryConfiguration, specRetryConfiguration);
|
|
3881
|
+
if (this.logger)
|
|
3882
|
+
retrier.logger = this.logger;
|
|
3883
|
+
const request = yield oci_common_2.composeRequest({
|
|
3884
|
+
baseEndpoint: this._endpoint,
|
|
3885
|
+
defaultHeaders: this._defaultHeaders,
|
|
3886
|
+
path: "/deploymentBackups/{deploymentBackupId}/actions/removeLock",
|
|
3887
|
+
method: "POST",
|
|
3888
|
+
bodyContent: common.ObjectSerializer.serialize(removeDeploymentBackupLockRequest.removeResourceLockDetails, "RemoveResourceLockDetails", model.RemoveResourceLockDetails.getJsonObj),
|
|
3889
|
+
pathParams: pathParams,
|
|
3890
|
+
headerParams: headerParams,
|
|
3891
|
+
queryParams: queryParams
|
|
3892
|
+
});
|
|
3893
|
+
try {
|
|
3894
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3895
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3896
|
+
responseObject: {},
|
|
3897
|
+
body: yield response.json(),
|
|
3898
|
+
bodyKey: "deploymentBackup",
|
|
3899
|
+
bodyModel: model.DeploymentBackup,
|
|
3900
|
+
type: "model.DeploymentBackup",
|
|
3901
|
+
responseHeaders: [
|
|
3902
|
+
{
|
|
3903
|
+
value: response.headers.get("opc-request-id"),
|
|
3904
|
+
key: "opcRequestId",
|
|
3905
|
+
dataType: "string"
|
|
3906
|
+
},
|
|
3907
|
+
{
|
|
3908
|
+
value: response.headers.get("etag"),
|
|
3909
|
+
key: "etag",
|
|
3910
|
+
dataType: "string"
|
|
3911
|
+
}
|
|
3912
|
+
]
|
|
3913
|
+
});
|
|
3914
|
+
return sdkResponse;
|
|
3915
|
+
}
|
|
3916
|
+
catch (err) {
|
|
3917
|
+
throw err;
|
|
3918
|
+
}
|
|
3919
|
+
});
|
|
3920
|
+
}
|
|
3921
|
+
/**
|
|
3922
|
+
* Removes a lock from a Deployment resource.
|
|
3923
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3924
|
+
* @param RemoveDeploymentLockRequest
|
|
3925
|
+
* @return RemoveDeploymentLockResponse
|
|
3926
|
+
* @throws OciError when an error occurs
|
|
3927
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/RemoveDeploymentLock.ts.html |here} to see how to use RemoveDeploymentLock API.
|
|
3928
|
+
*/
|
|
3929
|
+
removeDeploymentLock(removeDeploymentLockRequest) {
|
|
3930
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3931
|
+
if (this.logger)
|
|
3932
|
+
this.logger.debug("Calling operation GoldenGateClient#removeDeploymentLock.");
|
|
3933
|
+
const operationName = "removeDeploymentLock";
|
|
3934
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/RemoveDeploymentLock";
|
|
3935
|
+
const pathParams = {
|
|
3936
|
+
"{deploymentId}": removeDeploymentLockRequest.deploymentId
|
|
3937
|
+
};
|
|
3938
|
+
const queryParams = {};
|
|
3939
|
+
let headerParams = {
|
|
3940
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3941
|
+
"opc-request-id": removeDeploymentLockRequest.opcRequestId,
|
|
3942
|
+
"if-match": removeDeploymentLockRequest.ifMatch
|
|
3943
|
+
};
|
|
3944
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3945
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeDeploymentLockRequest.retryConfiguration, specRetryConfiguration);
|
|
3946
|
+
if (this.logger)
|
|
3947
|
+
retrier.logger = this.logger;
|
|
3948
|
+
const request = yield oci_common_2.composeRequest({
|
|
3949
|
+
baseEndpoint: this._endpoint,
|
|
3950
|
+
defaultHeaders: this._defaultHeaders,
|
|
3951
|
+
path: "/deployments/{deploymentId}/actions/removeLock",
|
|
3952
|
+
method: "POST",
|
|
3953
|
+
bodyContent: common.ObjectSerializer.serialize(removeDeploymentLockRequest.removeResourceLockDetails, "RemoveResourceLockDetails", model.RemoveResourceLockDetails.getJsonObj),
|
|
3954
|
+
pathParams: pathParams,
|
|
3955
|
+
headerParams: headerParams,
|
|
3956
|
+
queryParams: queryParams
|
|
3957
|
+
});
|
|
3958
|
+
try {
|
|
3959
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3960
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3961
|
+
responseObject: {},
|
|
3962
|
+
body: yield response.json(),
|
|
3963
|
+
bodyKey: "deployment",
|
|
3964
|
+
bodyModel: model.Deployment,
|
|
3965
|
+
type: "model.Deployment",
|
|
3966
|
+
responseHeaders: [
|
|
3967
|
+
{
|
|
3968
|
+
value: response.headers.get("opc-request-id"),
|
|
3969
|
+
key: "opcRequestId",
|
|
3970
|
+
dataType: "string"
|
|
3971
|
+
},
|
|
3972
|
+
{
|
|
3973
|
+
value: response.headers.get("etag"),
|
|
3974
|
+
key: "etag",
|
|
3975
|
+
dataType: "string"
|
|
3976
|
+
}
|
|
3977
|
+
]
|
|
3978
|
+
});
|
|
3979
|
+
return sdkResponse;
|
|
3980
|
+
}
|
|
3981
|
+
catch (err) {
|
|
3982
|
+
throw err;
|
|
3983
|
+
}
|
|
3984
|
+
});
|
|
3985
|
+
}
|
|
3505
3986
|
/**
|
|
3506
3987
|
* Reschedules a DeploymentUpgrade, applicable only for DeploymentUpgrade in Waiting state. When provided, If-Match is checked against ETag values of the resource.
|
|
3507
3988
|
*
|
|
@@ -3509,7 +3990,7 @@ class GoldenGateClient {
|
|
|
3509
3990
|
* @param RescheduleDeploymentUpgradeRequest
|
|
3510
3991
|
* @return RescheduleDeploymentUpgradeResponse
|
|
3511
3992
|
* @throws OciError when an error occurs
|
|
3512
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3993
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/RescheduleDeploymentUpgrade.ts.html |here} to see how to use RescheduleDeploymentUpgrade API.
|
|
3513
3994
|
*/
|
|
3514
3995
|
rescheduleDeploymentUpgrade(rescheduleDeploymentUpgradeRequest) {
|
|
3515
3996
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3575,7 +4056,7 @@ class GoldenGateClient {
|
|
|
3575
4056
|
* @param RestoreDeploymentRequest
|
|
3576
4057
|
* @return RestoreDeploymentResponse
|
|
3577
4058
|
* @throws OciError when an error occurs
|
|
3578
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4059
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/RestoreDeployment.ts.html |here} to see how to use RestoreDeployment API.
|
|
3579
4060
|
*/
|
|
3580
4061
|
restoreDeployment(restoreDeploymentRequest) {
|
|
3581
4062
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3586,7 +4067,9 @@ class GoldenGateClient {
|
|
|
3586
4067
|
const pathParams = {
|
|
3587
4068
|
"{deploymentBackupId}": restoreDeploymentRequest.deploymentBackupId
|
|
3588
4069
|
};
|
|
3589
|
-
const queryParams = {
|
|
4070
|
+
const queryParams = {
|
|
4071
|
+
"isLockOverride": restoreDeploymentRequest.isLockOverride
|
|
4072
|
+
};
|
|
3590
4073
|
let headerParams = {
|
|
3591
4074
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3592
4075
|
"if-match": restoreDeploymentRequest.ifMatch,
|
|
@@ -3638,7 +4121,7 @@ class GoldenGateClient {
|
|
|
3638
4121
|
* @param RollbackDeploymentUpgradeRequest
|
|
3639
4122
|
* @return RollbackDeploymentUpgradeResponse
|
|
3640
4123
|
* @throws OciError when an error occurs
|
|
3641
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4124
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/RollbackDeploymentUpgrade.ts.html |here} to see how to use RollbackDeploymentUpgrade API.
|
|
3642
4125
|
*/
|
|
3643
4126
|
rollbackDeploymentUpgrade(rollbackDeploymentUpgradeRequest) {
|
|
3644
4127
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3649,7 +4132,9 @@ class GoldenGateClient {
|
|
|
3649
4132
|
const pathParams = {
|
|
3650
4133
|
"{deploymentUpgradeId}": rollbackDeploymentUpgradeRequest.deploymentUpgradeId
|
|
3651
4134
|
};
|
|
3652
|
-
const queryParams = {
|
|
4135
|
+
const queryParams = {
|
|
4136
|
+
"isLockOverride": rollbackDeploymentUpgradeRequest.isLockOverride
|
|
4137
|
+
};
|
|
3653
4138
|
let headerParams = {
|
|
3654
4139
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3655
4140
|
"if-match": rollbackDeploymentUpgradeRequest.ifMatch,
|
|
@@ -3701,7 +4186,7 @@ class GoldenGateClient {
|
|
|
3701
4186
|
* @param SnoozeDeploymentUpgradeRequest
|
|
3702
4187
|
* @return SnoozeDeploymentUpgradeResponse
|
|
3703
4188
|
* @throws OciError when an error occurs
|
|
3704
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4189
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/SnoozeDeploymentUpgrade.ts.html |here} to see how to use SnoozeDeploymentUpgrade API.
|
|
3705
4190
|
*/
|
|
3706
4191
|
snoozeDeploymentUpgrade(snoozeDeploymentUpgradeRequest) {
|
|
3707
4192
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3759,7 +4244,7 @@ class GoldenGateClient {
|
|
|
3759
4244
|
* @param StartDeploymentRequest
|
|
3760
4245
|
* @return StartDeploymentResponse
|
|
3761
4246
|
* @throws OciError when an error occurs
|
|
3762
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4247
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/StartDeployment.ts.html |here} to see how to use StartDeployment API.
|
|
3763
4248
|
*/
|
|
3764
4249
|
startDeployment(startDeploymentRequest) {
|
|
3765
4250
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3770,7 +4255,9 @@ class GoldenGateClient {
|
|
|
3770
4255
|
const pathParams = {
|
|
3771
4256
|
"{deploymentId}": startDeploymentRequest.deploymentId
|
|
3772
4257
|
};
|
|
3773
|
-
const queryParams = {
|
|
4258
|
+
const queryParams = {
|
|
4259
|
+
"isLockOverride": startDeploymentRequest.isLockOverride
|
|
4260
|
+
};
|
|
3774
4261
|
let headerParams = {
|
|
3775
4262
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3776
4263
|
"if-match": startDeploymentRequest.ifMatch,
|
|
@@ -3822,7 +4309,7 @@ class GoldenGateClient {
|
|
|
3822
4309
|
* @param StopDeploymentRequest
|
|
3823
4310
|
* @return StopDeploymentResponse
|
|
3824
4311
|
* @throws OciError when an error occurs
|
|
3825
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4312
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/StopDeployment.ts.html |here} to see how to use StopDeployment API.
|
|
3826
4313
|
*/
|
|
3827
4314
|
stopDeployment(stopDeploymentRequest) {
|
|
3828
4315
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3833,7 +4320,9 @@ class GoldenGateClient {
|
|
|
3833
4320
|
const pathParams = {
|
|
3834
4321
|
"{deploymentId}": stopDeploymentRequest.deploymentId
|
|
3835
4322
|
};
|
|
3836
|
-
const queryParams = {
|
|
4323
|
+
const queryParams = {
|
|
4324
|
+
"isLockOverride": stopDeploymentRequest.isLockOverride
|
|
4325
|
+
};
|
|
3837
4326
|
let headerParams = {
|
|
3838
4327
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3839
4328
|
"if-match": stopDeploymentRequest.ifMatch,
|
|
@@ -3886,7 +4375,7 @@ class GoldenGateClient {
|
|
|
3886
4375
|
* @param TestConnectionAssignmentRequest
|
|
3887
4376
|
* @return TestConnectionAssignmentResponse
|
|
3888
4377
|
* @throws OciError when an error occurs
|
|
3889
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4378
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/TestConnectionAssignment.ts.html |here} to see how to use TestConnectionAssignment API.
|
|
3890
4379
|
*/
|
|
3891
4380
|
testConnectionAssignment(testConnectionAssignmentRequest) {
|
|
3892
4381
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3953,7 +4442,7 @@ class GoldenGateClient {
|
|
|
3953
4442
|
* @param UpdateConnectionRequest
|
|
3954
4443
|
* @return UpdateConnectionResponse
|
|
3955
4444
|
* @throws OciError when an error occurs
|
|
3956
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4445
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/UpdateConnection.ts.html |here} to see how to use UpdateConnection API.
|
|
3957
4446
|
*/
|
|
3958
4447
|
updateConnection(updateConnectionRequest) {
|
|
3959
4448
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3964,7 +4453,9 @@ class GoldenGateClient {
|
|
|
3964
4453
|
const pathParams = {
|
|
3965
4454
|
"{connectionId}": updateConnectionRequest.connectionId
|
|
3966
4455
|
};
|
|
3967
|
-
const queryParams = {
|
|
4456
|
+
const queryParams = {
|
|
4457
|
+
"isLockOverride": updateConnectionRequest.isLockOverride
|
|
4458
|
+
};
|
|
3968
4459
|
let headerParams = {
|
|
3969
4460
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3970
4461
|
"if-match": updateConnectionRequest.ifMatch,
|
|
@@ -4016,7 +4507,7 @@ class GoldenGateClient {
|
|
|
4016
4507
|
* @param UpdateDatabaseRegistrationRequest
|
|
4017
4508
|
* @return UpdateDatabaseRegistrationResponse
|
|
4018
4509
|
* @throws OciError when an error occurs
|
|
4019
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4510
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/UpdateDatabaseRegistration.ts.html |here} to see how to use UpdateDatabaseRegistration API.
|
|
4020
4511
|
*/
|
|
4021
4512
|
updateDatabaseRegistration(updateDatabaseRegistrationRequest) {
|
|
4022
4513
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4083,7 +4574,7 @@ class GoldenGateClient {
|
|
|
4083
4574
|
* @param UpdateDeploymentRequest
|
|
4084
4575
|
* @return UpdateDeploymentResponse
|
|
4085
4576
|
* @throws OciError when an error occurs
|
|
4086
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4577
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/UpdateDeployment.ts.html |here} to see how to use UpdateDeployment API.
|
|
4087
4578
|
*/
|
|
4088
4579
|
updateDeployment(updateDeploymentRequest) {
|
|
4089
4580
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4094,7 +4585,9 @@ class GoldenGateClient {
|
|
|
4094
4585
|
const pathParams = {
|
|
4095
4586
|
"{deploymentId}": updateDeploymentRequest.deploymentId
|
|
4096
4587
|
};
|
|
4097
|
-
const queryParams = {
|
|
4588
|
+
const queryParams = {
|
|
4589
|
+
"isLockOverride": updateDeploymentRequest.isLockOverride
|
|
4590
|
+
};
|
|
4098
4591
|
let headerParams = {
|
|
4099
4592
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4100
4593
|
"if-match": updateDeploymentRequest.ifMatch,
|
|
@@ -4145,7 +4638,7 @@ class GoldenGateClient {
|
|
|
4145
4638
|
* @param UpdateDeploymentBackupRequest
|
|
4146
4639
|
* @return UpdateDeploymentBackupResponse
|
|
4147
4640
|
* @throws OciError when an error occurs
|
|
4148
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4641
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/UpdateDeploymentBackup.ts.html |here} to see how to use UpdateDeploymentBackup API.
|
|
4149
4642
|
*/
|
|
4150
4643
|
updateDeploymentBackup(updateDeploymentBackupRequest) {
|
|
4151
4644
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4156,7 +4649,9 @@ class GoldenGateClient {
|
|
|
4156
4649
|
const pathParams = {
|
|
4157
4650
|
"{deploymentBackupId}": updateDeploymentBackupRequest.deploymentBackupId
|
|
4158
4651
|
};
|
|
4159
|
-
const queryParams = {
|
|
4652
|
+
const queryParams = {
|
|
4653
|
+
"isLockOverride": updateDeploymentBackupRequest.isLockOverride
|
|
4654
|
+
};
|
|
4160
4655
|
let headerParams = {
|
|
4161
4656
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4162
4657
|
"if-match": updateDeploymentBackupRequest.ifMatch,
|
|
@@ -4211,7 +4706,7 @@ class GoldenGateClient {
|
|
|
4211
4706
|
* @param UpgradeDeploymentRequest
|
|
4212
4707
|
* @return UpgradeDeploymentResponse
|
|
4213
4708
|
* @throws OciError when an error occurs
|
|
4214
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4709
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/UpgradeDeployment.ts.html |here} to see how to use UpgradeDeployment API.
|
|
4215
4710
|
*/
|
|
4216
4711
|
upgradeDeployment(upgradeDeploymentRequest) {
|
|
4217
4712
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4222,7 +4717,9 @@ class GoldenGateClient {
|
|
|
4222
4717
|
const pathParams = {
|
|
4223
4718
|
"{deploymentId}": upgradeDeploymentRequest.deploymentId
|
|
4224
4719
|
};
|
|
4225
|
-
const queryParams = {
|
|
4720
|
+
const queryParams = {
|
|
4721
|
+
"isLockOverride": upgradeDeploymentRequest.isLockOverride
|
|
4722
|
+
};
|
|
4226
4723
|
let headerParams = {
|
|
4227
4724
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4228
4725
|
"if-match": upgradeDeploymentRequest.ifMatch,
|
|
@@ -4274,7 +4771,7 @@ class GoldenGateClient {
|
|
|
4274
4771
|
* @param UpgradeDeploymentUpgradeRequest
|
|
4275
4772
|
* @return UpgradeDeploymentUpgradeResponse
|
|
4276
4773
|
* @throws OciError when an error occurs
|
|
4277
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4774
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.88.0/goldengate/UpgradeDeploymentUpgrade.ts.html |here} to see how to use UpgradeDeploymentUpgrade API.
|
|
4278
4775
|
*/
|
|
4279
4776
|
upgradeDeploymentUpgrade(upgradeDeploymentUpgradeRequest) {
|
|
4280
4777
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4285,7 +4782,9 @@ class GoldenGateClient {
|
|
|
4285
4782
|
const pathParams = {
|
|
4286
4783
|
"{deploymentUpgradeId}": upgradeDeploymentUpgradeRequest.deploymentUpgradeId
|
|
4287
4784
|
};
|
|
4288
|
-
const queryParams = {
|
|
4785
|
+
const queryParams = {
|
|
4786
|
+
"isLockOverride": upgradeDeploymentUpgradeRequest.isLockOverride
|
|
4787
|
+
};
|
|
4289
4788
|
let headerParams = {
|
|
4290
4789
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4291
4790
|
"if-match": upgradeDeploymentUpgradeRequest.ifMatch,
|