oci-databasemigration 2.16.0 → 2.19.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.
Files changed (193) hide show
  1. package/lib/client.d.ts +76 -36
  2. package/lib/client.js +286 -36
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/a-db-dedicated-auto-create-tablespace-details.d.ts +40 -0
  5. package/lib/model/a-db-dedicated-auto-create-tablespace-details.js +54 -0
  6. package/lib/model/a-db-dedicated-auto-create-tablespace-details.js.map +1 -0
  7. package/lib/model/a-db-dedicated-remap-target-tablespace-details.d.ts +30 -0
  8. package/lib/model/a-db-dedicated-remap-target-tablespace-details.js +54 -0
  9. package/lib/model/a-db-dedicated-remap-target-tablespace-details.js.map +1 -0
  10. package/lib/model/a-db-serverles-tablespace-details.d.ts +38 -0
  11. package/lib/model/a-db-serverles-tablespace-details.js +63 -0
  12. package/lib/model/a-db-serverles-tablespace-details.js.map +1 -0
  13. package/lib/model/aws-s3-details.d.ts +35 -0
  14. package/lib/model/aws-s3-details.js +29 -0
  15. package/lib/model/aws-s3-details.js.map +1 -0
  16. package/lib/model/connection-summary.d.ts +10 -0
  17. package/lib/model/connection-summary.js.map +1 -1
  18. package/lib/model/connection.d.ts +10 -0
  19. package/lib/model/connection.js.map +1 -1
  20. package/lib/model/create-ad-bdedicated-auto-create-tablespace-details.d.ts +40 -0
  21. package/lib/model/create-ad-bdedicated-auto-create-tablespace-details.js +54 -0
  22. package/lib/model/create-ad-bdedicated-auto-create-tablespace-details.js.map +1 -0
  23. package/lib/model/create-ad-bdedicated-remap-target-tablespace-details.d.ts +30 -0
  24. package/lib/model/create-ad-bdedicated-remap-target-tablespace-details.js +54 -0
  25. package/lib/model/create-ad-bdedicated-remap-target-tablespace-details.js.map +1 -0
  26. package/lib/model/create-ad-bserverles-tablespace-details.d.ts +25 -0
  27. package/lib/model/create-ad-bserverles-tablespace-details.js +54 -0
  28. package/lib/model/create-ad-bserverles-tablespace-details.js.map +1 -0
  29. package/lib/model/create-aws-s3-details.d.ts +47 -0
  30. package/lib/model/create-aws-s3-details.js +29 -0
  31. package/lib/model/create-aws-s3-details.js.map +1 -0
  32. package/lib/model/create-connection-details.d.ts +5 -0
  33. package/lib/model/create-connection-details.js.map +1 -1
  34. package/lib/model/create-data-pump-settings.d.ts +1 -0
  35. package/lib/model/create-data-pump-settings.js +6 -0
  36. package/lib/model/create-data-pump-settings.js.map +1 -1
  37. package/lib/model/create-data-transfer-medium-details.d.ts +3 -1
  38. package/lib/model/create-data-transfer-medium-details.js +6 -0
  39. package/lib/model/create-data-transfer-medium-details.js.map +1 -1
  40. package/lib/model/create-non-ad-bauto-create-tablespace-details.d.ts +40 -0
  41. package/lib/model/create-non-ad-bauto-create-tablespace-details.js +54 -0
  42. package/lib/model/create-non-ad-bauto-create-tablespace-details.js.map +1 -0
  43. package/lib/model/create-non-ad-bremap-tablespace-details.d.ts +30 -0
  44. package/lib/model/create-non-ad-bremap-tablespace-details.js +54 -0
  45. package/lib/model/create-non-ad-bremap-tablespace-details.js.map +1 -0
  46. package/lib/model/create-target-type-tablespace-details.d.ts +23 -0
  47. package/lib/model/create-target-type-tablespace-details.js +81 -0
  48. package/lib/model/create-target-type-tablespace-details.js.map +1 -0
  49. package/lib/model/data-pump-settings.d.ts +1 -0
  50. package/lib/model/data-pump-settings.js +6 -0
  51. package/lib/model/data-pump-settings.js.map +1 -1
  52. package/lib/model/data-transfer-medium-details.d.ts +1 -0
  53. package/lib/model/data-transfer-medium-details.js +6 -0
  54. package/lib/model/data-transfer-medium-details.js.map +1 -1
  55. package/lib/model/database-manual-connection-sub-types.d.ts +29 -0
  56. package/lib/model/database-manual-connection-sub-types.js +40 -0
  57. package/lib/model/database-manual-connection-sub-types.js.map +1 -0
  58. package/lib/model/excluded-object-summary-collection.d.ts +28 -0
  59. package/lib/model/excluded-object-summary-collection.js +61 -0
  60. package/lib/model/excluded-object-summary-collection.js.map +1 -0
  61. package/lib/model/excluded-object-summary.d.ts +48 -0
  62. package/lib/model/excluded-object-summary.js +29 -0
  63. package/lib/model/excluded-object-summary.js.map +1 -0
  64. package/lib/model/extract-performance-profile.d.ts +1 -1
  65. package/lib/model/extract-performance-profile.js +1 -1
  66. package/lib/model/index.d.ts +64 -0
  67. package/lib/model/index.js +68 -3
  68. package/lib/model/index.js.map +1 -1
  69. package/lib/model/migration-database-target-types-update.d.ts +29 -0
  70. package/lib/model/migration-database-target-types-update.js +40 -0
  71. package/lib/model/migration-database-target-types-update.js.map +1 -0
  72. package/lib/model/migration-database-target-types.d.ts +32 -0
  73. package/lib/model/migration-database-target-types.js +43 -0
  74. package/lib/model/migration-database-target-types.js.map +1 -0
  75. package/lib/model/migration-object-collection.d.ts +28 -0
  76. package/lib/model/migration-object-collection.js +61 -0
  77. package/lib/model/migration-object-collection.js.map +1 -0
  78. package/lib/model/migration-object-summary.d.ts +44 -0
  79. package/lib/model/migration-object-summary.js +29 -0
  80. package/lib/model/migration-object-summary.js.map +1 -0
  81. package/lib/model/non-ad-bauto-create-tablespace-details.d.ts +40 -0
  82. package/lib/model/non-ad-bauto-create-tablespace-details.js +54 -0
  83. package/lib/model/non-ad-bauto-create-tablespace-details.js.map +1 -0
  84. package/lib/model/non-ad-bremap-tablespace-details.d.ts +30 -0
  85. package/lib/model/non-ad-bremap-tablespace-details.js +54 -0
  86. package/lib/model/non-ad-bremap-tablespace-details.js.map +1 -0
  87. package/lib/model/object-status.d.ts +29 -0
  88. package/lib/model/object-status.js +40 -0
  89. package/lib/model/object-status.js.map +1 -0
  90. package/lib/model/reason-keywords.d.ts +32 -0
  91. package/lib/model/reason-keywords.js +43 -0
  92. package/lib/model/reason-keywords.js.map +1 -0
  93. package/lib/model/target-type-tablespace-details.d.ts +23 -0
  94. package/lib/model/target-type-tablespace-details.js +81 -0
  95. package/lib/model/target-type-tablespace-details.js.map +1 -0
  96. package/lib/model/update-ad-bdedicated-auto-create-tablespace-details.d.ts +40 -0
  97. package/lib/model/update-ad-bdedicated-auto-create-tablespace-details.js +54 -0
  98. package/lib/model/update-ad-bdedicated-auto-create-tablespace-details.js.map +1 -0
  99. package/lib/model/update-ad-bdedicated-remap-target-tablespace-details.d.ts +30 -0
  100. package/lib/model/update-ad-bdedicated-remap-target-tablespace-details.js +54 -0
  101. package/lib/model/update-ad-bdedicated-remap-target-tablespace-details.js.map +1 -0
  102. package/lib/model/update-ad-bserverles-tablespace-details.d.ts +25 -0
  103. package/lib/model/update-ad-bserverles-tablespace-details.js +54 -0
  104. package/lib/model/update-ad-bserverles-tablespace-details.js.map +1 -0
  105. package/lib/model/update-aws-s3-details.d.ts +47 -0
  106. package/lib/model/update-aws-s3-details.js +29 -0
  107. package/lib/model/update-aws-s3-details.js.map +1 -0
  108. package/lib/model/update-data-pump-settings.d.ts +1 -0
  109. package/lib/model/update-data-pump-settings.js +6 -0
  110. package/lib/model/update-data-pump-settings.js.map +1 -1
  111. package/lib/model/update-data-transfer-medium-details.d.ts +3 -1
  112. package/lib/model/update-data-transfer-medium-details.js +6 -0
  113. package/lib/model/update-data-transfer-medium-details.js.map +1 -1
  114. package/lib/model/update-non-ad-bauto-create-tablespace-details.d.ts +40 -0
  115. package/lib/model/update-non-ad-bauto-create-tablespace-details.js +54 -0
  116. package/lib/model/update-non-ad-bauto-create-tablespace-details.js.map +1 -0
  117. package/lib/model/update-non-ad-bremap-tablespace-details.d.ts +30 -0
  118. package/lib/model/update-non-ad-bremap-tablespace-details.js +54 -0
  119. package/lib/model/update-non-ad-bremap-tablespace-details.js.map +1 -0
  120. package/lib/model/update-target-defaults-auto-create-tablespace-details.d.ts +27 -0
  121. package/lib/model/update-target-defaults-auto-create-tablespace-details.js +54 -0
  122. package/lib/model/update-target-defaults-auto-create-tablespace-details.js.map +1 -0
  123. package/lib/model/update-target-defaults-remap-tablespace-details.d.ts +27 -0
  124. package/lib/model/update-target-defaults-remap-tablespace-details.js +54 -0
  125. package/lib/model/update-target-defaults-remap-tablespace-details.js.map +1 -0
  126. package/lib/model/update-target-type-tablespace-details.d.ts +23 -0
  127. package/lib/model/update-target-type-tablespace-details.js +89 -0
  128. package/lib/model/update-target-type-tablespace-details.js.map +1 -0
  129. package/lib/request/abort-job-request.d.ts +1 -1
  130. package/lib/request/add-migration-objects-request.d.ts +44 -0
  131. package/lib/request/add-migration-objects-request.js +15 -0
  132. package/lib/request/add-migration-objects-request.js.map +1 -0
  133. package/lib/request/change-agent-compartment-request.d.ts +1 -1
  134. package/lib/request/change-connection-compartment-request.d.ts +1 -1
  135. package/lib/request/change-migration-compartment-request.d.ts +1 -1
  136. package/lib/request/clone-migration-request.d.ts +1 -1
  137. package/lib/request/create-connection-request.d.ts +1 -1
  138. package/lib/request/create-migration-request.d.ts +1 -1
  139. package/lib/request/delete-agent-request.d.ts +1 -1
  140. package/lib/request/delete-connection-request.d.ts +1 -1
  141. package/lib/request/delete-job-request.d.ts +1 -1
  142. package/lib/request/delete-migration-request.d.ts +1 -1
  143. package/lib/request/evaluate-migration-request.d.ts +1 -1
  144. package/lib/request/get-advisor-report-request.d.ts +1 -1
  145. package/lib/request/get-agent-request.d.ts +1 -1
  146. package/lib/request/get-connection-request.d.ts +1 -1
  147. package/lib/request/get-job-output-content-request.d.ts +1 -1
  148. package/lib/request/get-job-request.d.ts +1 -1
  149. package/lib/request/get-migration-request.d.ts +1 -1
  150. package/lib/request/get-work-request-request.d.ts +1 -1
  151. package/lib/request/index.d.ts +8 -0
  152. package/lib/request/index.js +3 -1
  153. package/lib/request/index.js.map +1 -1
  154. package/lib/request/list-agent-images-request.d.ts +1 -1
  155. package/lib/request/list-agents-request.d.ts +1 -1
  156. package/lib/request/list-connections-request.d.ts +1 -1
  157. package/lib/request/list-excluded-objects-request.d.ts +93 -0
  158. package/lib/request/list-excluded-objects-request.js +24 -0
  159. package/lib/request/list-excluded-objects-request.js.map +1 -0
  160. package/lib/request/list-job-outputs-request.d.ts +1 -1
  161. package/lib/request/list-jobs-request.d.ts +1 -1
  162. package/lib/request/list-migration-object-types-request.d.ts +1 -1
  163. package/lib/request/list-migration-objects-request.d.ts +48 -0
  164. package/lib/request/list-migration-objects-request.js +15 -0
  165. package/lib/request/list-migration-objects-request.js.map +1 -0
  166. package/lib/request/list-migrations-request.d.ts +1 -1
  167. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  168. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  169. package/lib/request/list-work-requests-request.d.ts +1 -1
  170. package/lib/request/remove-migration-objects-request.d.ts +44 -0
  171. package/lib/request/remove-migration-objects-request.js +15 -0
  172. package/lib/request/remove-migration-objects-request.js.map +1 -0
  173. package/lib/request/resume-job-request.d.ts +1 -1
  174. package/lib/request/retrieve-supported-phases-request.d.ts +1 -1
  175. package/lib/request/start-migration-request.d.ts +1 -1
  176. package/lib/request/update-agent-request.d.ts +1 -1
  177. package/lib/request/update-connection-request.d.ts +1 -1
  178. package/lib/request/update-job-request.d.ts +1 -1
  179. package/lib/request/update-migration-request.d.ts +1 -1
  180. package/lib/response/add-migration-objects-response.d.ts +20 -0
  181. package/lib/response/add-migration-objects-response.js +15 -0
  182. package/lib/response/add-migration-objects-response.js.map +1 -0
  183. package/lib/response/index.d.ts +8 -0
  184. package/lib/response/list-excluded-objects-response.d.ts +32 -0
  185. package/lib/response/list-excluded-objects-response.js +15 -0
  186. package/lib/response/list-excluded-objects-response.js.map +1 -0
  187. package/lib/response/list-migration-objects-response.d.ts +32 -0
  188. package/lib/response/list-migration-objects-response.js +15 -0
  189. package/lib/response/list-migration-objects-response.js.map +1 -0
  190. package/lib/response/remove-migration-objects-response.d.ts +20 -0
  191. package/lib/response/remove-migration-objects-response.js +15 -0
  192. package/lib/response/remove-migration-objects-response.js.map +1 -0
  193. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -151,7 +151,7 @@ class DatabaseMigrationClient {
151
151
  * @param AbortJobRequest
152
152
  * @return AbortJobResponse
153
153
  * @throws OciError when an error occurs
154
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/AbortJob.ts.html |here} to see how to use AbortJob API.
154
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/AbortJob.ts.html |here} to see how to use AbortJob API.
155
155
  */
156
156
  abortJob(abortJobRequest) {
157
157
  return __awaiter(this, void 0, void 0, function* () {
@@ -208,6 +208,61 @@ class DatabaseMigrationClient {
208
208
  }
209
209
  });
210
210
  }
211
+ /**
212
+ * Add excluded/included object to the list.
213
+ *
214
+ * This operation does not retry by default if the user has not defined a retry configuration.
215
+ * @param AddMigrationObjectsRequest
216
+ * @return AddMigrationObjectsResponse
217
+ * @throws OciError when an error occurs
218
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/AddMigrationObjects.ts.html |here} to see how to use AddMigrationObjects API.
219
+ */
220
+ addMigrationObjects(addMigrationObjectsRequest) {
221
+ return __awaiter(this, void 0, void 0, function* () {
222
+ if (this.logger)
223
+ this.logger.debug("Calling operation DatabaseMigrationClient#addMigrationObjects.");
224
+ const pathParams = {
225
+ "{migrationId}": addMigrationObjectsRequest.migrationId
226
+ };
227
+ const queryParams = {};
228
+ let headerParams = {
229
+ "Content-Type": common.Constants.APPLICATION_JSON,
230
+ "opc-request-id": addMigrationObjectsRequest.opcRequestId,
231
+ "if-match": addMigrationObjectsRequest.ifMatch
232
+ };
233
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
234
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addMigrationObjectsRequest.retryConfiguration, specRetryConfiguration);
235
+ if (this.logger)
236
+ retrier.logger = this.logger;
237
+ const request = yield oci_common_1.composeRequest({
238
+ baseEndpoint: this._endpoint,
239
+ defaultHeaders: this._defaultHeaders,
240
+ path: "/migrations/{migrationId}/actions/addMigrationObjects",
241
+ method: "POST",
242
+ bodyContent: common.ObjectSerializer.serialize(addMigrationObjectsRequest.addMigrationObjectsDetails, "MigrationObjectCollection", model.MigrationObjectCollection.getJsonObj),
243
+ pathParams: pathParams,
244
+ headerParams: headerParams,
245
+ queryParams: queryParams
246
+ });
247
+ try {
248
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
249
+ const sdkResponse = oci_common_1.composeResponse({
250
+ responseObject: {},
251
+ responseHeaders: [
252
+ {
253
+ value: response.headers.get("opc-request-id"),
254
+ key: "opcRequestId",
255
+ dataType: "string"
256
+ }
257
+ ]
258
+ });
259
+ return sdkResponse;
260
+ }
261
+ catch (err) {
262
+ throw err;
263
+ }
264
+ });
265
+ }
211
266
  /**
212
267
  * Used to configure an ODMS Agent Compartment ID.
213
268
  *
@@ -215,7 +270,7 @@ class DatabaseMigrationClient {
215
270
  * @param ChangeAgentCompartmentRequest
216
271
  * @return ChangeAgentCompartmentResponse
217
272
  * @throws OciError when an error occurs
218
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/ChangeAgentCompartment.ts.html |here} to see how to use ChangeAgentCompartment API.
273
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/ChangeAgentCompartment.ts.html |here} to see how to use ChangeAgentCompartment API.
219
274
  */
220
275
  changeAgentCompartment(changeAgentCompartmentRequest) {
221
276
  return __awaiter(this, void 0, void 0, function* () {
@@ -271,7 +326,7 @@ class DatabaseMigrationClient {
271
326
  * @param ChangeConnectionCompartmentRequest
272
327
  * @return ChangeConnectionCompartmentResponse
273
328
  * @throws OciError when an error occurs
274
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/ChangeConnectionCompartment.ts.html |here} to see how to use ChangeConnectionCompartment API.
329
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/ChangeConnectionCompartment.ts.html |here} to see how to use ChangeConnectionCompartment API.
275
330
  */
276
331
  changeConnectionCompartment(changeConnectionCompartmentRequest) {
277
332
  return __awaiter(this, void 0, void 0, function* () {
@@ -327,7 +382,7 @@ class DatabaseMigrationClient {
327
382
  * @param ChangeMigrationCompartmentRequest
328
383
  * @return ChangeMigrationCompartmentResponse
329
384
  * @throws OciError when an error occurs
330
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/ChangeMigrationCompartment.ts.html |here} to see how to use ChangeMigrationCompartment API.
385
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/ChangeMigrationCompartment.ts.html |here} to see how to use ChangeMigrationCompartment API.
331
386
  */
332
387
  changeMigrationCompartment(changeMigrationCompartmentRequest) {
333
388
  return __awaiter(this, void 0, void 0, function* () {
@@ -383,7 +438,7 @@ class DatabaseMigrationClient {
383
438
  * @param CloneMigrationRequest
384
439
  * @return CloneMigrationResponse
385
440
  * @throws OciError when an error occurs
386
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/CloneMigration.ts.html |here} to see how to use CloneMigration API.
441
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/CloneMigration.ts.html |here} to see how to use CloneMigration API.
387
442
  */
388
443
  cloneMigration(cloneMigrationRequest) {
389
444
  return __awaiter(this, void 0, void 0, function* () {
@@ -454,7 +509,7 @@ class DatabaseMigrationClient {
454
509
  * @param CreateConnectionRequest
455
510
  * @return CreateConnectionResponse
456
511
  * @throws OciError when an error occurs
457
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/CreateConnection.ts.html |here} to see how to use CreateConnection API.
512
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/CreateConnection.ts.html |here} to see how to use CreateConnection API.
458
513
  */
459
514
  createConnection(createConnectionRequest) {
460
515
  return __awaiter(this, void 0, void 0, function* () {
@@ -523,7 +578,7 @@ class DatabaseMigrationClient {
523
578
  * @param CreateMigrationRequest
524
579
  * @return CreateMigrationResponse
525
580
  * @throws OciError when an error occurs
526
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/CreateMigration.ts.html |here} to see how to use CreateMigration API.
581
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/CreateMigration.ts.html |here} to see how to use CreateMigration API.
527
582
  */
528
583
  createMigration(createMigrationRequest) {
529
584
  return __awaiter(this, void 0, void 0, function* () {
@@ -590,7 +645,7 @@ class DatabaseMigrationClient {
590
645
  * @param DeleteAgentRequest
591
646
  * @return DeleteAgentResponse
592
647
  * @throws OciError when an error occurs
593
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/DeleteAgent.ts.html |here} to see how to use DeleteAgent API.
648
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/DeleteAgent.ts.html |here} to see how to use DeleteAgent API.
594
649
  */
595
650
  deleteAgent(deleteAgentRequest) {
596
651
  return __awaiter(this, void 0, void 0, function* () {
@@ -649,7 +704,7 @@ class DatabaseMigrationClient {
649
704
  * @param DeleteConnectionRequest
650
705
  * @return DeleteConnectionResponse
651
706
  * @throws OciError when an error occurs
652
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/DeleteConnection.ts.html |here} to see how to use DeleteConnection API.
707
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/DeleteConnection.ts.html |here} to see how to use DeleteConnection API.
653
708
  */
654
709
  deleteConnection(deleteConnectionRequest) {
655
710
  return __awaiter(this, void 0, void 0, function* () {
@@ -708,7 +763,7 @@ class DatabaseMigrationClient {
708
763
  * @param DeleteJobRequest
709
764
  * @return DeleteJobResponse
710
765
  * @throws OciError when an error occurs
711
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/DeleteJob.ts.html |here} to see how to use DeleteJob API.
766
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/DeleteJob.ts.html |here} to see how to use DeleteJob API.
712
767
  */
713
768
  deleteJob(deleteJobRequest) {
714
769
  return __awaiter(this, void 0, void 0, function* () {
@@ -762,7 +817,7 @@ class DatabaseMigrationClient {
762
817
  * @param DeleteMigrationRequest
763
818
  * @return DeleteMigrationResponse
764
819
  * @throws OciError when an error occurs
765
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/DeleteMigration.ts.html |here} to see how to use DeleteMigration API.
820
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/DeleteMigration.ts.html |here} to see how to use DeleteMigration API.
766
821
  */
767
822
  deleteMigration(deleteMigrationRequest) {
768
823
  return __awaiter(this, void 0, void 0, function* () {
@@ -821,7 +876,7 @@ class DatabaseMigrationClient {
821
876
  * @param EvaluateMigrationRequest
822
877
  * @return EvaluateMigrationResponse
823
878
  * @throws OciError when an error occurs
824
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/EvaluateMigration.ts.html |here} to see how to use EvaluateMigration API.
879
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/EvaluateMigration.ts.html |here} to see how to use EvaluateMigration API.
825
880
  */
826
881
  evaluateMigration(evaluateMigrationRequest) {
827
882
  return __awaiter(this, void 0, void 0, function* () {
@@ -890,7 +945,7 @@ class DatabaseMigrationClient {
890
945
  * @param GetAdvisorReportRequest
891
946
  * @return GetAdvisorReportResponse
892
947
  * @throws OciError when an error occurs
893
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/GetAdvisorReport.ts.html |here} to see how to use GetAdvisorReport API.
948
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/GetAdvisorReport.ts.html |here} to see how to use GetAdvisorReport API.
894
949
  */
895
950
  getAdvisorReport(getAdvisorReportRequest) {
896
951
  return __awaiter(this, void 0, void 0, function* () {
@@ -952,7 +1007,7 @@ class DatabaseMigrationClient {
952
1007
  * @param GetAgentRequest
953
1008
  * @return GetAgentResponse
954
1009
  * @throws OciError when an error occurs
955
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/GetAgent.ts.html |here} to see how to use GetAgent API.
1010
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/GetAgent.ts.html |here} to see how to use GetAgent API.
956
1011
  */
957
1012
  getAgent(getAgentRequest) {
958
1013
  return __awaiter(this, void 0, void 0, function* () {
@@ -1014,7 +1069,7 @@ class DatabaseMigrationClient {
1014
1069
  * @param GetConnectionRequest
1015
1070
  * @return GetConnectionResponse
1016
1071
  * @throws OciError when an error occurs
1017
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/GetConnection.ts.html |here} to see how to use GetConnection API.
1072
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/GetConnection.ts.html |here} to see how to use GetConnection API.
1018
1073
  */
1019
1074
  getConnection(getConnectionRequest) {
1020
1075
  return __awaiter(this, void 0, void 0, function* () {
@@ -1076,7 +1131,7 @@ class DatabaseMigrationClient {
1076
1131
  * @param GetJobRequest
1077
1132
  * @return GetJobResponse
1078
1133
  * @throws OciError when an error occurs
1079
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/GetJob.ts.html |here} to see how to use GetJob API.
1134
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/GetJob.ts.html |here} to see how to use GetJob API.
1080
1135
  */
1081
1136
  getJob(getJobRequest) {
1082
1137
  return __awaiter(this, void 0, void 0, function* () {
@@ -1138,7 +1193,7 @@ class DatabaseMigrationClient {
1138
1193
  * @param GetJobOutputContentRequest
1139
1194
  * @return GetJobOutputContentResponse
1140
1195
  * @throws OciError when an error occurs
1141
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/GetJobOutputContent.ts.html |here} to see how to use GetJobOutputContent API.
1196
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/GetJobOutputContent.ts.html |here} to see how to use GetJobOutputContent API.
1142
1197
  */
1143
1198
  getJobOutputContent(getJobOutputContentRequest) {
1144
1199
  return __awaiter(this, void 0, void 0, function* () {
@@ -1194,7 +1249,7 @@ class DatabaseMigrationClient {
1194
1249
  * @param GetMigrationRequest
1195
1250
  * @return GetMigrationResponse
1196
1251
  * @throws OciError when an error occurs
1197
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/GetMigration.ts.html |here} to see how to use GetMigration API.
1252
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/GetMigration.ts.html |here} to see how to use GetMigration API.
1198
1253
  */
1199
1254
  getMigration(getMigrationRequest) {
1200
1255
  return __awaiter(this, void 0, void 0, function* () {
@@ -1257,7 +1312,7 @@ class DatabaseMigrationClient {
1257
1312
  * @param GetWorkRequestRequest
1258
1313
  * @return GetWorkRequestResponse
1259
1314
  * @throws OciError when an error occurs
1260
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1315
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1261
1316
  */
1262
1317
  getWorkRequest(getWorkRequestRequest) {
1263
1318
  return __awaiter(this, void 0, void 0, function* () {
@@ -1314,7 +1369,7 @@ class DatabaseMigrationClient {
1314
1369
  * @param ListAgentImagesRequest
1315
1370
  * @return ListAgentImagesResponse
1316
1371
  * @throws OciError when an error occurs
1317
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/ListAgentImages.ts.html |here} to see how to use ListAgentImages API.
1372
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/ListAgentImages.ts.html |here} to see how to use ListAgentImages API.
1318
1373
  */
1319
1374
  listAgentImages(listAgentImagesRequest) {
1320
1375
  return __awaiter(this, void 0, void 0, function* () {
@@ -1378,7 +1433,7 @@ class DatabaseMigrationClient {
1378
1433
  * @param ListAgentsRequest
1379
1434
  * @return ListAgentsResponse
1380
1435
  * @throws OciError when an error occurs
1381
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/ListAgents.ts.html |here} to see how to use ListAgents API.
1436
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/ListAgents.ts.html |here} to see how to use ListAgents API.
1382
1437
  */
1383
1438
  listAgents(listAgentsRequest) {
1384
1439
  return __awaiter(this, void 0, void 0, function* () {
@@ -1446,7 +1501,7 @@ class DatabaseMigrationClient {
1446
1501
  * @param ListConnectionsRequest
1447
1502
  * @return ListConnectionsResponse
1448
1503
  * @throws OciError when an error occurs
1449
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/ListConnections.ts.html |here} to see how to use ListConnections API.
1504
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/ListConnections.ts.html |here} to see how to use ListConnections API.
1450
1505
  */
1451
1506
  listConnections(listConnectionsRequest) {
1452
1507
  return __awaiter(this, void 0, void 0, function* () {
@@ -1507,6 +1562,80 @@ class DatabaseMigrationClient {
1507
1562
  }
1508
1563
  });
1509
1564
  }
1565
+ /**
1566
+ * List the excluded database objects.
1567
+ *
1568
+ * This operation does not retry by default if the user has not defined a retry configuration.
1569
+ * @param ListExcludedObjectsRequest
1570
+ * @return ListExcludedObjectsResponse
1571
+ * @throws OciError when an error occurs
1572
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/ListExcludedObjects.ts.html |here} to see how to use ListExcludedObjects API.
1573
+ */
1574
+ listExcludedObjects(listExcludedObjectsRequest) {
1575
+ return __awaiter(this, void 0, void 0, function* () {
1576
+ if (this.logger)
1577
+ this.logger.debug("Calling operation DatabaseMigrationClient#listExcludedObjects.");
1578
+ const pathParams = {
1579
+ "{jobId}": listExcludedObjectsRequest.jobId
1580
+ };
1581
+ const queryParams = {
1582
+ "limit": listExcludedObjectsRequest.limit,
1583
+ "page": listExcludedObjectsRequest.page,
1584
+ "sortOrder": listExcludedObjectsRequest.sortOrder,
1585
+ "sortBy": listExcludedObjectsRequest.sortBy,
1586
+ "type": listExcludedObjectsRequest.type,
1587
+ "owner": listExcludedObjectsRequest.owner,
1588
+ "object": listExcludedObjectsRequest.object,
1589
+ "ownerContains": listExcludedObjectsRequest.ownerContains,
1590
+ "objectContains": listExcludedObjectsRequest.objectContains,
1591
+ "reasonCategory": listExcludedObjectsRequest.reasonCategory,
1592
+ "sourceRule": listExcludedObjectsRequest.sourceRule
1593
+ };
1594
+ let headerParams = {
1595
+ "Content-Type": common.Constants.APPLICATION_JSON,
1596
+ "opc-request-id": listExcludedObjectsRequest.opcRequestId
1597
+ };
1598
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1599
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listExcludedObjectsRequest.retryConfiguration, specRetryConfiguration);
1600
+ if (this.logger)
1601
+ retrier.logger = this.logger;
1602
+ const request = yield oci_common_1.composeRequest({
1603
+ baseEndpoint: this._endpoint,
1604
+ defaultHeaders: this._defaultHeaders,
1605
+ path: "/jobs/{jobId}/excludedObjects",
1606
+ method: "GET",
1607
+ pathParams: pathParams,
1608
+ headerParams: headerParams,
1609
+ queryParams: queryParams
1610
+ });
1611
+ try {
1612
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1613
+ const sdkResponse = oci_common_1.composeResponse({
1614
+ responseObject: {},
1615
+ body: yield response.json(),
1616
+ bodyKey: "excludedObjectSummaryCollection",
1617
+ bodyModel: model.ExcludedObjectSummaryCollection,
1618
+ type: "model.ExcludedObjectSummaryCollection",
1619
+ responseHeaders: [
1620
+ {
1621
+ value: response.headers.get("opc-request-id"),
1622
+ key: "opcRequestId",
1623
+ dataType: "string"
1624
+ },
1625
+ {
1626
+ value: response.headers.get("opc-next-page"),
1627
+ key: "opcNextPage",
1628
+ dataType: "string"
1629
+ }
1630
+ ]
1631
+ });
1632
+ return sdkResponse;
1633
+ }
1634
+ catch (err) {
1635
+ throw err;
1636
+ }
1637
+ });
1638
+ }
1510
1639
  /**
1511
1640
  * List the Job Outputs
1512
1641
  *
@@ -1514,7 +1643,7 @@ class DatabaseMigrationClient {
1514
1643
  * @param ListJobOutputsRequest
1515
1644
  * @return ListJobOutputsResponse
1516
1645
  * @throws OciError when an error occurs
1517
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/ListJobOutputs.ts.html |here} to see how to use ListJobOutputs API.
1646
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/ListJobOutputs.ts.html |here} to see how to use ListJobOutputs API.
1518
1647
  */
1519
1648
  listJobOutputs(listJobOutputsRequest) {
1520
1649
  return __awaiter(this, void 0, void 0, function* () {
@@ -1580,7 +1709,7 @@ class DatabaseMigrationClient {
1580
1709
  * @param ListJobsRequest
1581
1710
  * @return ListJobsResponse
1582
1711
  * @throws OciError when an error occurs
1583
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/ListJobs.ts.html |here} to see how to use ListJobs API.
1712
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/ListJobs.ts.html |here} to see how to use ListJobs API.
1584
1713
  */
1585
1714
  listJobs(listJobsRequest) {
1586
1715
  return __awaiter(this, void 0, void 0, function* () {
@@ -1648,7 +1777,7 @@ class DatabaseMigrationClient {
1648
1777
  * @param ListMigrationObjectTypesRequest
1649
1778
  * @return ListMigrationObjectTypesResponse
1650
1779
  * @throws OciError when an error occurs
1651
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/ListMigrationObjectTypes.ts.html |here} to see how to use ListMigrationObjectTypes API.
1780
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/ListMigrationObjectTypes.ts.html |here} to see how to use ListMigrationObjectTypes API.
1652
1781
  */
1653
1782
  listMigrationObjectTypes(listMigrationObjectTypesRequest) {
1654
1783
  return __awaiter(this, void 0, void 0, function* () {
@@ -1706,6 +1835,72 @@ class DatabaseMigrationClient {
1706
1835
  }
1707
1836
  });
1708
1837
  }
1838
+ /**
1839
+ * Display excluded/included objects.
1840
+ *
1841
+ * This operation does not retry by default if the user has not defined a retry configuration.
1842
+ * @param ListMigrationObjectsRequest
1843
+ * @return ListMigrationObjectsResponse
1844
+ * @throws OciError when an error occurs
1845
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/ListMigrationObjects.ts.html |here} to see how to use ListMigrationObjects API.
1846
+ */
1847
+ listMigrationObjects(listMigrationObjectsRequest) {
1848
+ return __awaiter(this, void 0, void 0, function* () {
1849
+ if (this.logger)
1850
+ this.logger.debug("Calling operation DatabaseMigrationClient#listMigrationObjects.");
1851
+ const pathParams = {
1852
+ "{migrationId}": listMigrationObjectsRequest.migrationId
1853
+ };
1854
+ const queryParams = {
1855
+ "limit": listMigrationObjectsRequest.limit,
1856
+ "page": listMigrationObjectsRequest.page
1857
+ };
1858
+ let headerParams = {
1859
+ "Content-Type": common.Constants.APPLICATION_JSON,
1860
+ "opc-request-id": listMigrationObjectsRequest.opcRequestId,
1861
+ "if-match": listMigrationObjectsRequest.ifMatch
1862
+ };
1863
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1864
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMigrationObjectsRequest.retryConfiguration, specRetryConfiguration);
1865
+ if (this.logger)
1866
+ retrier.logger = this.logger;
1867
+ const request = yield oci_common_1.composeRequest({
1868
+ baseEndpoint: this._endpoint,
1869
+ defaultHeaders: this._defaultHeaders,
1870
+ path: "/migrations/{migrationId}/migrationObjects",
1871
+ method: "GET",
1872
+ pathParams: pathParams,
1873
+ headerParams: headerParams,
1874
+ queryParams: queryParams
1875
+ });
1876
+ try {
1877
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1878
+ const sdkResponse = oci_common_1.composeResponse({
1879
+ responseObject: {},
1880
+ body: yield response.json(),
1881
+ bodyKey: "migrationObjectCollection",
1882
+ bodyModel: model.MigrationObjectCollection,
1883
+ type: "model.MigrationObjectCollection",
1884
+ responseHeaders: [
1885
+ {
1886
+ value: response.headers.get("opc-request-id"),
1887
+ key: "opcRequestId",
1888
+ dataType: "string"
1889
+ },
1890
+ {
1891
+ value: response.headers.get("opc-next-page"),
1892
+ key: "opcNextPage",
1893
+ dataType: "string"
1894
+ }
1895
+ ]
1896
+ });
1897
+ return sdkResponse;
1898
+ }
1899
+ catch (err) {
1900
+ throw err;
1901
+ }
1902
+ });
1903
+ }
1709
1904
  /**
1710
1905
  * List all Migrations.
1711
1906
  *
@@ -1713,7 +1908,7 @@ class DatabaseMigrationClient {
1713
1908
  * @param ListMigrationsRequest
1714
1909
  * @return ListMigrationsResponse
1715
1910
  * @throws OciError when an error occurs
1716
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/ListMigrations.ts.html |here} to see how to use ListMigrations API.
1911
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/ListMigrations.ts.html |here} to see how to use ListMigrations API.
1717
1912
  */
1718
1913
  listMigrations(listMigrationsRequest) {
1719
1914
  return __awaiter(this, void 0, void 0, function* () {
@@ -1782,7 +1977,7 @@ class DatabaseMigrationClient {
1782
1977
  * @param ListWorkRequestErrorsRequest
1783
1978
  * @return ListWorkRequestErrorsResponse
1784
1979
  * @throws OciError when an error occurs
1785
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1980
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1786
1981
  */
1787
1982
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1788
1983
  return __awaiter(this, void 0, void 0, function* () {
@@ -1849,7 +2044,7 @@ class DatabaseMigrationClient {
1849
2044
  * @param ListWorkRequestLogsRequest
1850
2045
  * @return ListWorkRequestLogsResponse
1851
2046
  * @throws OciError when an error occurs
1852
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2047
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1853
2048
  */
1854
2049
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1855
2050
  return __awaiter(this, void 0, void 0, function* () {
@@ -1916,7 +2111,7 @@ class DatabaseMigrationClient {
1916
2111
  * @param ListWorkRequestsRequest
1917
2112
  * @return ListWorkRequestsResponse
1918
2113
  * @throws OciError when an error occurs
1919
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2114
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1920
2115
  */
1921
2116
  listWorkRequests(listWorkRequestsRequest) {
1922
2117
  return __awaiter(this, void 0, void 0, function* () {
@@ -1977,6 +2172,61 @@ class DatabaseMigrationClient {
1977
2172
  }
1978
2173
  });
1979
2174
  }
2175
+ /**
2176
+ * Remove excluded/included objects.
2177
+ *
2178
+ * This operation does not retry by default if the user has not defined a retry configuration.
2179
+ * @param RemoveMigrationObjectsRequest
2180
+ * @return RemoveMigrationObjectsResponse
2181
+ * @throws OciError when an error occurs
2182
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/RemoveMigrationObjects.ts.html |here} to see how to use RemoveMigrationObjects API.
2183
+ */
2184
+ removeMigrationObjects(removeMigrationObjectsRequest) {
2185
+ return __awaiter(this, void 0, void 0, function* () {
2186
+ if (this.logger)
2187
+ this.logger.debug("Calling operation DatabaseMigrationClient#removeMigrationObjects.");
2188
+ const pathParams = {
2189
+ "{migrationId}": removeMigrationObjectsRequest.migrationId
2190
+ };
2191
+ const queryParams = {};
2192
+ let headerParams = {
2193
+ "Content-Type": common.Constants.APPLICATION_JSON,
2194
+ "opc-request-id": removeMigrationObjectsRequest.opcRequestId,
2195
+ "if-match": removeMigrationObjectsRequest.ifMatch
2196
+ };
2197
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2198
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeMigrationObjectsRequest.retryConfiguration, specRetryConfiguration);
2199
+ if (this.logger)
2200
+ retrier.logger = this.logger;
2201
+ const request = yield oci_common_1.composeRequest({
2202
+ baseEndpoint: this._endpoint,
2203
+ defaultHeaders: this._defaultHeaders,
2204
+ path: "/migrations/{migrationId}/actions/removeMigrationObjects",
2205
+ method: "POST",
2206
+ bodyContent: common.ObjectSerializer.serialize(removeMigrationObjectsRequest.removeMigrationObjectsDetails, "MigrationObjectCollection", model.MigrationObjectCollection.getJsonObj),
2207
+ pathParams: pathParams,
2208
+ headerParams: headerParams,
2209
+ queryParams: queryParams
2210
+ });
2211
+ try {
2212
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
2213
+ const sdkResponse = oci_common_1.composeResponse({
2214
+ responseObject: {},
2215
+ responseHeaders: [
2216
+ {
2217
+ value: response.headers.get("opc-request-id"),
2218
+ key: "opcRequestId",
2219
+ dataType: "string"
2220
+ }
2221
+ ]
2222
+ });
2223
+ return sdkResponse;
2224
+ }
2225
+ catch (err) {
2226
+ throw err;
2227
+ }
2228
+ });
2229
+ }
1980
2230
  /**
1981
2231
  * Resume a migration Job.
1982
2232
  *
@@ -1984,7 +2234,7 @@ class DatabaseMigrationClient {
1984
2234
  * @param ResumeJobRequest
1985
2235
  * @return ResumeJobResponse
1986
2236
  * @throws OciError when an error occurs
1987
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/ResumeJob.ts.html |here} to see how to use ResumeJob API.
2237
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/ResumeJob.ts.html |here} to see how to use ResumeJob API.
1988
2238
  */
1989
2239
  resumeJob(resumeJobRequest) {
1990
2240
  return __awaiter(this, void 0, void 0, function* () {
@@ -2049,7 +2299,7 @@ class DatabaseMigrationClient {
2049
2299
  * @param RetrieveSupportedPhasesRequest
2050
2300
  * @return RetrieveSupportedPhasesResponse
2051
2301
  * @throws OciError when an error occurs
2052
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/RetrieveSupportedPhases.ts.html |here} to see how to use RetrieveSupportedPhases API.
2302
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/RetrieveSupportedPhases.ts.html |here} to see how to use RetrieveSupportedPhases API.
2053
2303
  */
2054
2304
  retrieveSupportedPhases(retrieveSupportedPhasesRequest) {
2055
2305
  return __awaiter(this, void 0, void 0, function* () {
@@ -2106,7 +2356,7 @@ class DatabaseMigrationClient {
2106
2356
  * @param StartMigrationRequest
2107
2357
  * @return StartMigrationResponse
2108
2358
  * @throws OciError when an error occurs
2109
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/StartMigration.ts.html |here} to see how to use StartMigration API.
2359
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/StartMigration.ts.html |here} to see how to use StartMigration API.
2110
2360
  */
2111
2361
  startMigration(startMigrationRequest) {
2112
2362
  return __awaiter(this, void 0, void 0, function* () {
@@ -2176,7 +2426,7 @@ class DatabaseMigrationClient {
2176
2426
  * @param UpdateAgentRequest
2177
2427
  * @return UpdateAgentResponse
2178
2428
  * @throws OciError when an error occurs
2179
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/UpdateAgent.ts.html |here} to see how to use UpdateAgent API.
2429
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/UpdateAgent.ts.html |here} to see how to use UpdateAgent API.
2180
2430
  */
2181
2431
  updateAgent(updateAgentRequest) {
2182
2432
  return __awaiter(this, void 0, void 0, function* () {
@@ -2241,7 +2491,7 @@ class DatabaseMigrationClient {
2241
2491
  * @param UpdateConnectionRequest
2242
2492
  * @return UpdateConnectionResponse
2243
2493
  * @throws OciError when an error occurs
2244
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/UpdateConnection.ts.html |here} to see how to use UpdateConnection API.
2494
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/UpdateConnection.ts.html |here} to see how to use UpdateConnection API.
2245
2495
  */
2246
2496
  updateConnection(updateConnectionRequest) {
2247
2497
  return __awaiter(this, void 0, void 0, function* () {
@@ -2301,7 +2551,7 @@ class DatabaseMigrationClient {
2301
2551
  * @param UpdateJobRequest
2302
2552
  * @return UpdateJobResponse
2303
2553
  * @throws OciError when an error occurs
2304
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/UpdateJob.ts.html |here} to see how to use UpdateJob API.
2554
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/UpdateJob.ts.html |here} to see how to use UpdateJob API.
2305
2555
  */
2306
2556
  updateJob(updateJobRequest) {
2307
2557
  return __awaiter(this, void 0, void 0, function* () {
@@ -2365,7 +2615,7 @@ class DatabaseMigrationClient {
2365
2615
  * @param UpdateMigrationRequest
2366
2616
  * @return UpdateMigrationResponse
2367
2617
  * @throws OciError when an error occurs
2368
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.16.0/databasemigration/UpdateMigration.ts.html |here} to see how to use UpdateMigration API.
2618
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.19.0/databasemigration/UpdateMigration.ts.html |here} to see how to use UpdateMigration API.
2369
2619
  */
2370
2620
  updateMigration(updateMigrationRequest) {
2371
2621
  return __awaiter(this, void 0, void 0, function* () {