oci 2.128.2__py3-none-any.whl → 2.128.10__py3-none-any.whl

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 (557) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +36 -36
  3. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  4. oci/ai_document/ai_service_document_client.py +22 -22
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_speech/ai_service_speech_client.py +10 -10
  7. oci/ai_vision/ai_service_vision_client.py +25 -25
  8. oci/analytics/analytics_client.py +23 -23
  9. oci/announcements_service/announcement_client.py +4 -4
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/apigateway/api_gateway_client.py +21 -21
  13. oci/apigateway/deployment_client.py +6 -6
  14. oci/apigateway/gateway_client.py +6 -6
  15. oci/apigateway/subscribers_client.py +6 -6
  16. oci/apigateway/usage_plans_client.py +6 -6
  17. oci/apigateway/work_requests_client.py +5 -5
  18. oci/apm_config/config_client.py +9 -9
  19. oci/apm_control_plane/apm_domain_client.py +14 -14
  20. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  21. oci/apm_traces/attributes_client.py +8 -8
  22. oci/apm_traces/query_client.py +2 -2
  23. oci/apm_traces/trace_client.py +4 -4
  24. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  25. oci/artifacts/artifacts_client.py +32 -32
  26. oci/audit/audit_client.py +3 -3
  27. oci/autoscaling/auto_scaling_client.py +11 -11
  28. oci/bastion/bastion_client.py +15 -15
  29. oci/bds/bds_client.py +66 -66
  30. oci/blockchain/blockchain_platform_client.py +27 -27
  31. oci/budget/budget_client.py +10 -10
  32. oci/capacity_management/capacity_management_client.py +45 -45
  33. oci/certificates/certificates_client.py +5 -5
  34. oci/certificates_management/certificates_management_client.py +32 -32
  35. oci/cims/incident_client.py +8 -8
  36. oci/cims/user_client.py +1 -1
  37. oci/cloud_bridge/common_client.py +5 -5
  38. oci/cloud_bridge/discovery_client.py +14 -14
  39. oci/cloud_bridge/inventory_client.py +16 -16
  40. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  41. oci/cloud_guard/cloud_guard_client.py +155 -155
  42. oci/cloud_migrations/migration_client.py +43 -43
  43. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  44. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  45. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  46. oci/compute_instance_agent/plugin_client.py +2 -2
  47. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  48. oci/container_engine/container_engine_client.py +44 -44
  49. oci/container_instances/container_instance_client.py +18 -18
  50. oci/core/blockstorage_client.py +60 -60
  51. oci/core/compute_client.py +99 -99
  52. oci/core/compute_management_client.py +32 -32
  53. oci/core/virtual_network_client.py +247 -247
  54. oci/dashboard_service/dashboard_client.py +6 -6
  55. oci/dashboard_service/dashboard_group_client.py +6 -6
  56. oci/data_catalog/data_catalog_client.py +149 -149
  57. oci/data_flow/data_flow_client.py +42 -42
  58. oci/data_integration/data_integration_client.py +163 -163
  59. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  60. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  61. oci/data_safe/data_safe_client.py +278 -278
  62. oci/data_science/data_science_client.py +91 -91
  63. oci/database/database_client.py +8268 -6013
  64. oci/database/database_client_composite_operations.py +620 -0
  65. oci/database/models/__init__.py +46 -0
  66. oci/database/models/autonomous_container_database.py +2 -2
  67. oci/database/models/autonomous_container_database_summary.py +2 -2
  68. oci/database/models/autonomous_database.py +14 -2
  69. oci/database/models/autonomous_database_summary.py +14 -2
  70. oci/database/models/change_exadb_vm_cluster_compartment_details.py +76 -0
  71. oci/database/models/change_exascale_db_storage_vault_compartment_details.py +76 -0
  72. oci/database/models/cloud_automation_apply_update_time_preference.py +103 -0
  73. oci/database/models/cloud_automation_freeze_period.py +103 -0
  74. oci/database/models/cloud_automation_update_details.py +157 -0
  75. oci/database/models/create_autonomous_database_base.py +4 -4
  76. oci/database/models/create_database_details.py +37 -2
  77. oci/database/models/create_database_software_image_details.py +7 -3
  78. oci/database/models/create_exadb_vm_cluster_details.py +956 -0
  79. oci/database/models/create_exascale_db_storage_vault_details.py +340 -0
  80. oci/database/models/create_pluggable_database_creation_type_details.py +4 -1
  81. oci/database/models/create_pluggable_database_from_local_clone_details.py +33 -2
  82. oci/database/models/create_pluggable_database_from_remote_clone_details.py +33 -2
  83. oci/database/models/database_software_image.py +7 -3
  84. oci/database/models/database_software_image_summary.py +7 -3
  85. oci/database/models/db_node.py +38 -3
  86. oci/database/models/db_node_details.py +76 -0
  87. oci/database/models/db_node_summary.py +38 -3
  88. oci/database/models/db_server.py +3 -3
  89. oci/database/models/db_server_summary.py +3 -3
  90. oci/database/models/exadb_vm_cluster.py +1592 -0
  91. oci/database/models/exadb_vm_cluster_storage_details.py +72 -0
  92. oci/database/models/exadb_vm_cluster_summary.py +1565 -0
  93. oci/database/models/exadb_vm_cluster_update.py +416 -0
  94. oci/database/models/exadb_vm_cluster_update_history_entry.py +392 -0
  95. oci/database/models/exadb_vm_cluster_update_history_entry_summary.py +392 -0
  96. oci/database/models/exadb_vm_cluster_update_summary.py +422 -0
  97. oci/database/models/exascale_db_storage_details.py +103 -0
  98. oci/database/models/exascale_db_storage_input_details.py +72 -0
  99. oci/database/models/exascale_db_storage_vault.py +605 -0
  100. oci/database/models/exascale_db_storage_vault_summary.py +536 -0
  101. oci/database/models/gi_minor_version_summary.py +107 -0
  102. oci/database/models/key_store.py +7 -3
  103. oci/database/models/key_store_summary.py +7 -3
  104. oci/database/models/maintenance_window.py +2 -4
  105. oci/database/models/remove_virtual_machine_from_exadb_vm_cluster_details.py +72 -0
  106. oci/database/models/update_exadb_vm_cluster_details.py +570 -0
  107. oci/database/models/update_exascale_db_storage_vault_details.py +239 -0
  108. oci/database_management/db_management_client.py +210 -210
  109. oci/database_management/diagnosability_client.py +4 -4
  110. oci/database_management/managed_my_sql_databases_client.py +7 -7
  111. oci/database_management/models/child_database.py +7 -3
  112. oci/database_management/models/database_usage_metrics.py +7 -3
  113. oci/database_management/models/fleet_status_by_category.py +7 -3
  114. oci/database_management/models/job_database.py +7 -3
  115. oci/database_management/models/job_execution.py +7 -3
  116. oci/database_management/models/job_execution_summary.py +7 -3
  117. oci/database_management/models/managed_database.py +7 -3
  118. oci/database_management/models/managed_database_summary.py +7 -3
  119. oci/database_management/models/optimizer_database.py +7 -3
  120. oci/database_management/perfhub_client.py +1 -1
  121. oci/database_management/sql_tuning_client.py +17 -17
  122. oci/database_migration/__init__.py +1 -1
  123. oci/database_migration/database_migration_client.py +322 -833
  124. oci/database_migration/database_migration_client_composite_operations.py +3 -95
  125. oci/database_migration/models/__init__.py +145 -115
  126. oci/database_migration/models/adb_dedicated_auto_create_tablespace_details.py +12 -8
  127. oci/database_migration/models/adb_dedicated_remap_target_tablespace_details.py +4 -4
  128. oci/database_migration/models/adb_serverles_tablespace_details.py +4 -4
  129. oci/database_migration/models/admin_credentials.py +1 -1
  130. oci/database_migration/models/advisor_report.py +4 -4
  131. oci/database_migration/models/advisor_report_bucket_details.py +6 -6
  132. oci/database_migration/models/advisor_report_location_details.py +4 -4
  133. oci/database_migration/models/change_connection_compartment_details.py +4 -4
  134. oci/database_migration/models/change_migration_compartment_details.py +4 -4
  135. oci/database_migration/models/clone_migration_details.py +87 -168
  136. oci/database_migration/models/connection.py +453 -420
  137. oci/database_migration/models/connection_collection.py +4 -4
  138. oci/database_migration/models/connection_summary.py +315 -280
  139. oci/database_migration/models/create_adb_dedicated_auto_create_tablespace_details.py +12 -8
  140. oci/database_migration/models/create_adb_dedicated_remap_target_tablespace_details.py +4 -4
  141. oci/database_migration/models/create_adb_serverles_tablespace_details.py +2 -2
  142. oci/database_migration/models/create_admin_credentials.py +1 -1
  143. oci/database_migration/models/create_connection_details.py +276 -342
  144. oci/database_migration/models/create_curl_transfer_details.py +1 -1
  145. oci/database_migration/models/create_data_pump_parameters.py +2 -4
  146. oci/database_migration/models/create_directory_object.py +1 -1
  147. oci/database_migration/models/create_extract.py +1 -1
  148. oci/database_migration/models/create_golden_gate_hub_details.py +277 -0
  149. oci/database_migration/models/create_host_dump_transfer_details.py +4 -4
  150. oci/database_migration/models/create_migration_details.py +143 -409
  151. oci/database_migration/models/create_my_sql_advisor_settings.py +103 -0
  152. oci/database_migration/models/create_my_sql_data_transfer_medium_details.py +101 -0
  153. oci/database_migration/models/create_my_sql_ggs_deployment_details.py +99 -0
  154. oci/database_migration/models/create_my_sql_initial_load_settings.py +316 -0
  155. oci/database_migration/models/create_my_sql_migration_details.py +340 -0
  156. oci/database_migration/models/create_my_sql_object_storage_data_transfer_medium_details.py +78 -0
  157. oci/database_migration/models/create_mysql_connection_details.py +524 -0
  158. oci/database_migration/models/create_non_adb_auto_create_tablespace_details.py +1 -1
  159. oci/database_migration/models/create_non_adb_remap_tablespace_details.py +1 -1
  160. oci/database_migration/models/create_object_store_bucket.py +1 -1
  161. oci/database_migration/models/create_oci_cli_dump_transfer_details.py +1 -1
  162. oci/database_migration/models/create_oracle_advisor_settings.py +103 -0
  163. oci/database_migration/models/create_oracle_aws_s3_data_transfer_medium_details.py +211 -0
  164. oci/database_migration/models/create_oracle_connection_details.py +392 -0
  165. oci/database_migration/models/create_oracle_data_transfer_medium_details.py +125 -0
  166. oci/database_migration/models/create_oracle_db_link_data_transfer_medium_details.py +111 -0
  167. oci/database_migration/models/create_oracle_ggs_deployment_details.py +126 -0
  168. oci/database_migration/models/create_oracle_initial_load_settings.py +239 -0
  169. oci/database_migration/models/create_oracle_migration_details.py +402 -0
  170. oci/database_migration/models/create_oracle_nfs_data_transfer_medium_details.py +163 -0
  171. oci/database_migration/models/create_oracle_object_storage_data_transfer_medium_details.py +132 -0
  172. oci/database_migration/models/create_replicat.py +3 -96
  173. oci/database_migration/models/create_target_type_tablespace_details.py +1 -1
  174. oci/database_migration/models/curl_transfer_details.py +1 -1
  175. oci/database_migration/models/data_pump_parameters.py +4 -6
  176. oci/database_migration/models/diagnostics_result.py +1 -1
  177. oci/database_migration/models/directory_object.py +1 -1
  178. oci/database_migration/models/excluded_object_summary.py +1 -1
  179. oci/database_migration/models/excluded_object_summary_collection.py +1 -1
  180. oci/database_migration/models/extract.py +1 -1
  181. oci/database_migration/models/ggs_deployment.py +5 -5
  182. oci/database_migration/models/golden_gate_hub_details.py +277 -0
  183. oci/database_migration/models/host_dump_transfer_details.py +2 -2
  184. oci/database_migration/models/ingress_ip_details.py +72 -0
  185. oci/database_migration/models/job.py +5 -5
  186. oci/database_migration/models/job_collection.py +1 -1
  187. oci/database_migration/models/job_output_summary.py +1 -1
  188. oci/database_migration/models/job_output_summary_collection.py +1 -1
  189. oci/database_migration/models/job_summary.py +5 -5
  190. oci/database_migration/models/log_location_bucket_details.py +1 -1
  191. oci/database_migration/models/metadata_remap.py +1 -1
  192. oci/database_migration/models/migration.py +154 -412
  193. oci/database_migration/models/migration_collection.py +1 -1
  194. oci/database_migration/models/migration_job_progress_resource.py +18 -10
  195. oci/database_migration/models/migration_job_progress_summary.py +18 -10
  196. oci/database_migration/models/migration_object_collection.py +54 -46
  197. oci/database_migration/models/migration_object_type_summary.py +1 -1
  198. oci/database_migration/models/migration_object_type_summary_collection.py +1 -1
  199. oci/database_migration/models/migration_parameter_base.py +127 -0
  200. oci/database_migration/models/migration_parameter_details.py +164 -0
  201. oci/database_migration/models/migration_parameter_summary.py +502 -0
  202. oci/database_migration/models/migration_parameter_summary_collection.py +72 -0
  203. oci/database_migration/models/migration_phase_collection.py +1 -1
  204. oci/database_migration/models/migration_phase_summary.py +18 -10
  205. oci/database_migration/models/migration_summary.py +102 -117
  206. oci/database_migration/models/my_sql_advisor_settings.py +103 -0
  207. oci/database_migration/models/my_sql_clone_migration_details.py +93 -0
  208. oci/database_migration/models/my_sql_data_transfer_medium_details.py +101 -0
  209. oci/database_migration/models/my_sql_database_object.py +136 -0
  210. oci/database_migration/models/my_sql_database_object_summary.py +183 -0
  211. oci/database_migration/models/my_sql_ggs_deployment_details.py +126 -0
  212. oci/database_migration/models/my_sql_initial_load_settings.py +316 -0
  213. oci/database_migration/models/my_sql_migration.py +309 -0
  214. oci/database_migration/models/my_sql_migration_object_collection.py +117 -0
  215. oci/database_migration/models/my_sql_migration_summary.py +159 -0
  216. oci/database_migration/models/my_sql_object_storage_data_transfer_medium_details.py +78 -0
  217. oci/database_migration/models/mysql_connection.py +538 -0
  218. oci/database_migration/models/mysql_connection_summary.py +413 -0
  219. oci/database_migration/models/name_value_pair.py +103 -0
  220. oci/database_migration/models/non_adb_auto_create_tablespace_details.py +1 -1
  221. oci/database_migration/models/non_adb_remap_tablespace_details.py +1 -1
  222. oci/database_migration/models/object_store_bucket.py +1 -1
  223. oci/database_migration/models/oci_cli_dump_transfer_details.py +1 -1
  224. oci/database_migration/models/oracle_advisor_settings.py +103 -0
  225. oci/database_migration/models/oracle_aws_s3_data_transfer_medium_details.py +211 -0
  226. oci/database_migration/models/oracle_clone_migration_details.py +124 -0
  227. oci/database_migration/models/oracle_connection.py +449 -0
  228. oci/database_migration/models/oracle_connection_summary.py +256 -0
  229. oci/database_migration/models/oracle_data_transfer_medium_details.py +125 -0
  230. oci/database_migration/models/oracle_database_object.py +169 -0
  231. oci/database_migration/models/oracle_database_object_summary.py +216 -0
  232. oci/database_migration/models/oracle_db_link_data_transfer_medium_details.py +111 -0
  233. oci/database_migration/models/oracle_ggs_deployment_details.py +153 -0
  234. oci/database_migration/models/oracle_initial_load_settings.py +239 -0
  235. oci/database_migration/models/oracle_migration.py +371 -0
  236. oci/database_migration/models/oracle_migration_object_collection.py +117 -0
  237. oci/database_migration/models/oracle_migration_summary.py +190 -0
  238. oci/database_migration/models/oracle_nfs_data_transfer_medium_details.py +163 -0
  239. oci/database_migration/models/oracle_object_storage_data_transfer_medium_details.py +132 -0
  240. oci/database_migration/models/phase_extract_entry.py +1 -1
  241. oci/database_migration/models/phase_status.py +18 -10
  242. oci/database_migration/models/replicat.py +3 -96
  243. oci/database_migration/models/result_error.py +1 -1
  244. oci/database_migration/models/resume_job_details.py +18 -10
  245. oci/database_migration/models/start_migration_details.py +18 -10
  246. oci/database_migration/models/target_type_tablespace_details.py +1 -1
  247. oci/database_migration/models/unsupported_database_object.py +1 -1
  248. oci/database_migration/models/update_adb_dedicated_auto_create_tablespace_details.py +12 -8
  249. oci/database_migration/models/update_adb_dedicated_remap_target_tablespace_details.py +4 -4
  250. oci/database_migration/models/update_adb_serverles_tablespace_details.py +2 -2
  251. oci/database_migration/models/update_admin_credentials.py +1 -1
  252. oci/database_migration/models/update_connection_details.py +278 -244
  253. oci/database_migration/models/update_curl_transfer_details.py +1 -1
  254. oci/database_migration/models/update_data_pump_parameters.py +6 -8
  255. oci/database_migration/models/update_directory_object.py +1 -1
  256. oci/database_migration/models/update_extract.py +1 -1
  257. oci/database_migration/models/update_golden_gate_hub_details.py +277 -0
  258. oci/database_migration/models/update_host_dump_transfer_details.py +4 -4
  259. oci/database_migration/models/update_job_details.py +5 -5
  260. oci/database_migration/models/update_migration_details.py +122 -363
  261. oci/database_migration/models/update_my_sql_advisor_settings.py +103 -0
  262. oci/database_migration/models/update_my_sql_data_transfer_medium_details.py +101 -0
  263. oci/database_migration/models/update_my_sql_ggs_deployment_details.py +99 -0
  264. oci/database_migration/models/update_my_sql_initial_load_settings.py +316 -0
  265. oci/database_migration/models/update_my_sql_migration_details.py +236 -0
  266. oci/database_migration/models/update_my_sql_object_storage_data_transfer_medium_details.py +78 -0
  267. oci/database_migration/models/update_mysql_connection_details.py +484 -0
  268. oci/database_migration/models/update_non_adb_auto_create_tablespace_details.py +1 -1
  269. oci/database_migration/models/update_non_adb_remap_tablespace_details.py +1 -1
  270. oci/database_migration/models/update_object_store_bucket.py +1 -1
  271. oci/database_migration/models/update_oci_cli_dump_transfer_details.py +1 -1
  272. oci/database_migration/models/update_oracle_advisor_settings.py +103 -0
  273. oci/database_migration/models/update_oracle_aws_s3_data_transfer_medium_details.py +211 -0
  274. oci/database_migration/models/update_oracle_connection_details.py +354 -0
  275. oci/database_migration/models/update_oracle_data_transfer_medium_details.py +125 -0
  276. oci/database_migration/models/update_oracle_db_link_data_transfer_medium_details.py +111 -0
  277. oci/database_migration/models/update_oracle_ggs_deployment_details.py +126 -0
  278. oci/database_migration/models/update_oracle_initial_load_settings.py +239 -0
  279. oci/database_migration/models/update_oracle_migration_details.py +298 -0
  280. oci/database_migration/models/update_oracle_nfs_data_transfer_medium_details.py +163 -0
  281. oci/database_migration/models/update_oracle_object_storage_data_transfer_medium_details.py +132 -0
  282. oci/database_migration/models/update_replicat.py +3 -96
  283. oci/database_migration/models/update_target_defaults_auto_create_tablespace_details.py +1 -1
  284. oci/database_migration/models/update_target_defaults_remap_tablespace_details.py +1 -1
  285. oci/database_migration/models/update_target_type_tablespace_details.py +1 -1
  286. oci/database_migration/models/work_request.py +4 -12
  287. oci/database_migration/models/work_request_collection.py +1 -1
  288. oci/database_migration/models/work_request_error.py +1 -1
  289. oci/database_migration/models/work_request_error_collection.py +1 -1
  290. oci/database_migration/models/work_request_log_entry.py +1 -1
  291. oci/database_migration/models/work_request_log_entry_collection.py +1 -1
  292. oci/database_migration/models/work_request_resource.py +1 -1
  293. oci/database_migration/models/work_request_summary.py +1 -1
  294. oci/database_tools/database_tools_client.py +23 -23
  295. oci/demand_signal/occ_demand_signal_client.py +7 -7
  296. oci/desktops/desktop_service_client.py +21 -21
  297. oci/devops/devops_client.py +89 -89
  298. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  299. oci/dns/dns_client.py +52 -52
  300. oci/dts/appliance_export_job_client.py +6 -6
  301. oci/dts/shipping_vendors_client.py +1 -1
  302. oci/dts/transfer_appliance_client.py +8 -8
  303. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  304. oci/dts/transfer_device_client.py +5 -5
  305. oci/dts/transfer_job_client.py +6 -6
  306. oci/dts/transfer_package_client.py +7 -7
  307. oci/em_warehouse/em_data_lake_client.py +13 -13
  308. oci/em_warehouse/em_warehouse_client.py +13 -13
  309. oci/email/email_client.py +31 -31
  310. oci/email_data_plane/email_dp_client.py +1 -1
  311. oci/events/events_client.py +6 -6
  312. oci/exceptions.py +46 -7
  313. oci/file_storage/file_storage_client.py +185 -67
  314. oci/file_storage/models/create_export_details.py +14 -4
  315. oci/file_storage/models/create_file_system_details.py +51 -0
  316. oci/file_storage/models/file_system.py +89 -3
  317. oci/file_storage/models/file_system_summary.py +60 -5
  318. oci/file_storage/models/snapshot_schedule.py +8 -2
  319. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  320. oci/functions/functions_invoke_client.py +1 -1
  321. oci/functions/functions_management_client.py +16 -16
  322. oci/fusion_apps/data_masking_activity_client.py +3 -3
  323. oci/fusion_apps/fusion_applications_client.py +41 -41
  324. oci/fusion_apps/fusion_environment_client.py +15 -15
  325. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  326. oci/fusion_apps/refresh_activity_client.py +4 -4
  327. oci/fusion_apps/scheduled_activity_client.py +2 -2
  328. oci/fusion_apps/service_attachment_client.py +2 -2
  329. oci/generative_ai/generative_ai_client.py +22 -22
  330. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  331. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  332. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  333. oci/golden_gate/golden_gate_client.py +68 -68
  334. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  335. oci/governance_rules_control_plane/work_request_client.py +5 -5
  336. oci/healthchecks/health_checks_client.py +17 -17
  337. oci/identity/identity_client.py +145 -145
  338. oci/identity_data_plane/dataplane_client.py +2 -2
  339. oci/identity_domains/identity_domains_client.py +300 -300
  340. oci/integration/integration_instance_client.py +15 -15
  341. oci/jms/java_management_service_client.py +66 -66
  342. oci/jms_java_downloads/java_download_client.py +25 -25
  343. oci/key_management/ekm_client.py +5 -5
  344. oci/key_management/kms_crypto_client.py +6 -6
  345. oci/key_management/kms_hsm_cluster_client.py +12 -12
  346. oci/key_management/kms_management_client.py +21 -21
  347. oci/key_management/kms_vault_client.py +14 -14
  348. oci/license_manager/license_manager_client.py +18 -18
  349. oci/limits/limits_client.py +4 -4
  350. oci/limits/quotas_client.py +7 -7
  351. oci/load_balancer/load_balancer_client.py +61 -61
  352. oci/lockbox/lockbox_client.py +24 -24
  353. oci/log_analytics/log_analytics_client.py +193 -193
  354. oci/logging/logging_management_client.py +30 -30
  355. oci/loggingingestion/logging_client.py +1 -1
  356. oci/loggingsearch/log_search_client.py +1 -1
  357. oci/management_agent/management_agent_client.py +28 -28
  358. oci/management_dashboard/dashx_apis_client.py +14 -14
  359. oci/marketplace/account_client.py +2 -2
  360. oci/marketplace/marketplace_client.py +30 -30
  361. oci/marketplace_private_offer/attachment_client.py +5 -5
  362. oci/marketplace_private_offer/offer_client.py +6 -6
  363. oci/marketplace_publisher/attachment_client.py +5 -5
  364. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  365. oci/marketplace_publisher/offer_client.py +6 -6
  366. oci/media_services/media_services_client.py +60 -60
  367. oci/media_services/media_stream_client.py +2 -2
  368. oci/monitoring/monitoring_client.py +18 -18
  369. oci/mysql/channels_client.py +7 -7
  370. oci/mysql/db_backups_client.py +116 -6
  371. oci/mysql/db_backups_client_composite_operations.py +39 -0
  372. oci/mysql/db_system_client.py +17 -17
  373. oci/mysql/models/__init__.py +4 -0
  374. oci/mysql/models/backup.py +99 -2
  375. oci/mysql/models/backup_summary.py +126 -2
  376. oci/mysql/models/copy_backup_details.py +210 -0
  377. oci/mysql/models/db_system_snapshot.py +39 -2
  378. oci/mysql/models/db_system_snapshot_summary.py +140 -0
  379. oci/mysql/models/work_request.py +7 -3
  380. oci/mysql/models/work_request_summary.py +7 -3
  381. oci/mysql/mysqlaas_client.py +7 -7
  382. oci/mysql/replicas_client.py +5 -5
  383. oci/mysql/work_requests_client.py +4 -4
  384. oci/network_firewall/network_firewall_client.py +80 -80
  385. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  386. oci/nosql/nosql_client.py +24 -24
  387. oci/object_storage/__init__.py +2 -1
  388. oci/object_storage/object_storage_client.py +50 -50
  389. oci/object_storage/transfer/internal/download/DownloadConfiguration.py +232 -0
  390. oci/object_storage/transfer/internal/download/DownloadManager.py +902 -0
  391. oci/object_storage/transfer/internal/download/DownloadThread.py +375 -0
  392. oci/object_storage/transfer/internal/download/__init__.py +5 -0
  393. oci/oce/oce_instance_client.py +10 -10
  394. oci/oci_control_center/occ_metrics_client.py +3 -3
  395. oci/ocvp/cluster_client.py +5 -5
  396. oci/ocvp/esxi_host_client.py +8 -8
  397. oci/ocvp/sddc_client.py +14 -14
  398. oci/ocvp/work_request_client.py +4 -4
  399. oci/oda/management_client.py +59 -59
  400. oci/oda/oda_client.py +17 -17
  401. oci/oda/odapackage_client.py +7 -7
  402. oci/onesubscription/billing_schedule_client.py +1 -1
  403. oci/onesubscription/commitment_client.py +2 -2
  404. oci/onesubscription/computed_usage_client.py +3 -3
  405. oci/onesubscription/invoice_summary_client.py +2 -2
  406. oci/onesubscription/organization_subscription_client.py +1 -1
  407. oci/onesubscription/ratecard_client.py +1 -1
  408. oci/onesubscription/subscribed_service_client.py +2 -2
  409. oci/onesubscription/subscription_client.py +1 -1
  410. oci/ons/notification_control_plane_client.py +6 -6
  411. oci/ons/notification_data_plane_client.py +10 -10
  412. oci/opa/opa_instance_client.py +13 -13
  413. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  414. oci/opensearch/opensearch_cluster_client.py +14 -14
  415. oci/operator_access_control/access_requests_client.py +10 -10
  416. oci/operator_access_control/operator_actions_client.py +2 -2
  417. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  418. oci/operator_access_control/operator_control_client.py +6 -6
  419. oci/opsi/models/__init__.py +12 -0
  420. oci/opsi/models/basic_configuration_item_summary.py +3 -3
  421. oci/opsi/models/create_operations_insights_private_endpoint_details.py +4 -2
  422. oci/opsi/models/create_operations_insights_warehouse_details.py +2 -2
  423. oci/opsi/models/create_operations_insights_warehouse_user_details.py +4 -4
  424. oci/opsi/models/credential_details.py +1 -1
  425. oci/opsi/models/database_configuration_summary.py +2 -2
  426. oci/opsi/models/database_details.py +2 -2
  427. oci/opsi/models/database_insight.py +2 -2
  428. oci/opsi/models/database_insight_summary.py +2 -2
  429. oci/opsi/models/download_operations_insights_warehouse_wallet_details.py +2 -2
  430. oci/opsi/models/enterprise_manager_bridges.py +1 -1
  431. oci/opsi/models/host_configuration_metric_group.py +11 -3
  432. oci/opsi/models/host_cpu_hardware_configuration.py +1 -1
  433. oci/opsi/models/host_cpu_recommendations.py +118 -5
  434. oci/opsi/models/host_cpu_usage.py +1 -1
  435. oci/opsi/models/host_entities.py +1 -1
  436. oci/opsi/models/host_filesystem_configuration.py +1 -1
  437. oci/opsi/models/host_filesystem_usage.py +1 -1
  438. oci/opsi/models/host_gpu_configuration.py +492 -0
  439. oci/opsi/models/host_gpu_processes.py +213 -0
  440. oci/opsi/models/host_gpu_usage.py +678 -0
  441. oci/opsi/models/host_hardware_configuration.py +1 -1
  442. oci/opsi/models/host_insight.py +2 -2
  443. oci/opsi/models/host_insight_host_recommendations.py +27 -3
  444. oci/opsi/models/host_insight_summary.py +4 -4
  445. oci/opsi/models/host_memory_configuration.py +1 -1
  446. oci/opsi/models/host_memory_recommendations.py +165 -0
  447. oci/opsi/models/host_memory_usage.py +1 -1
  448. oci/opsi/models/host_network_activity_summary.py +1 -1
  449. oci/opsi/models/host_network_configuration.py +1 -1
  450. oci/opsi/models/host_network_recommendations.py +134 -0
  451. oci/opsi/models/host_performance_metric_group.py +19 -3
  452. oci/opsi/models/host_product.py +1 -1
  453. oci/opsi/models/host_resource_allocation.py +1 -1
  454. oci/opsi/models/host_storage_recommendations.py +134 -0
  455. oci/opsi/models/host_top_processes.py +34 -3
  456. oci/opsi/models/importable_enterprise_manager_entity.py +2 -2
  457. oci/opsi/models/news_report.py +2 -2
  458. oci/opsi/models/news_report_summary.py +2 -2
  459. oci/opsi/models/operations_insights_private_endpoint.py +2 -2
  460. oci/opsi/models/operations_insights_private_endpoint_summary.py +2 -2
  461. oci/opsi/models/operations_insights_warehouse.py +6 -6
  462. oci/opsi/models/operations_insights_warehouse_summary.py +6 -6
  463. oci/opsi/models/operations_insights_warehouse_user.py +4 -4
  464. oci/opsi/models/operations_insights_warehouse_user_summary.py +4 -4
  465. oci/opsi/models/operations_insights_warehouses.py +3 -3
  466. oci/opsi/models/opsi_configuration_basic_configuration_item_summary.py +1 -1
  467. oci/opsi/models/resource_filters.py +56 -2
  468. oci/opsi/models/sql_bucket.py +2 -2
  469. oci/opsi/models/sql_search_summary.py +2 -2
  470. oci/opsi/models/top_processes_usage.py +31 -0
  471. oci/opsi/models/top_processes_usage_trend.py +31 -0
  472. oci/opsi/models/update_operations_insights_warehouse_details.py +2 -2
  473. oci/opsi/models/update_operations_insights_warehouse_user_details.py +2 -2
  474. oci/opsi/models/work_requests.py +1 -1
  475. oci/opsi/operations_insights_client.py +604 -409
  476. oci/opsi/operations_insights_client_composite_operations.py +8 -8
  477. oci/optimizer/optimizer_client.py +26 -26
  478. oci/os_management/event_client.py +8 -8
  479. oci/os_management/os_management_client.py +69 -69
  480. oci/os_management_hub/event_client.py +8 -8
  481. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  482. oci/os_management_hub/managed_instance_client.py +31 -31
  483. oci/os_management_hub/managed_instance_group_client.py +25 -25
  484. oci/os_management_hub/management_station_client.py +10 -10
  485. oci/os_management_hub/onboarding_client.py +6 -6
  486. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  487. oci/os_management_hub/scheduled_job_client.py +7 -7
  488. oci/os_management_hub/software_source_client.py +27 -27
  489. oci/os_management_hub/work_request_client.py +4 -4
  490. oci/osp_gateway/address_rule_service_client.py +1 -1
  491. oci/osp_gateway/address_service_client.py +2 -2
  492. oci/osp_gateway/invoice_service_client.py +5 -5
  493. oci/osp_gateway/subscription_service_client.py +5 -5
  494. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  495. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  496. oci/osub_subscription/commitment_client.py +2 -2
  497. oci/osub_subscription/ratecard_client.py +1 -1
  498. oci/osub_subscription/subscription_client.py +1 -1
  499. oci/osub_usage/computed_usage_client.py +3 -3
  500. oci/psql/postgresql_client.py +33 -33
  501. oci/queue/queue_admin_client.py +11 -11
  502. oci/queue/queue_client.py +8 -8
  503. oci/recovery/database_recovery_client.py +25 -25
  504. oci/redis/redis_cluster_client.py +11 -11
  505. oci/regions_definitions.py +12 -4
  506. oci/resource_manager/resource_manager_client.py +52 -52
  507. oci/resource_scheduler/schedule_client.py +13 -13
  508. oci/resource_search/resource_search_client.py +3 -3
  509. oci/rover/rover_bundle_client.py +8 -8
  510. oci/rover/rover_cluster_client.py +8 -8
  511. oci/rover/rover_entitlement_client.py +6 -6
  512. oci/rover/rover_node_client.py +15 -15
  513. oci/rover/shape_client.py +1 -1
  514. oci/rover/work_requests_client.py +5 -5
  515. oci/sch/connector_plugins_client.py +2 -2
  516. oci/sch/service_connector_client.py +12 -12
  517. oci/secrets/secrets_client.py +3 -3
  518. oci/service_catalog/service_catalog_client.py +26 -26
  519. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  520. oci/service_mesh/service_mesh_client.py +48 -48
  521. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  522. oci/streaming/stream_admin_client.py +18 -18
  523. oci/streaming/stream_client.py +8 -8
  524. oci/tenant_manager_control_plane/domain_client.py +5 -5
  525. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  526. oci/tenant_manager_control_plane/governance_client.py +2 -2
  527. oci/tenant_manager_control_plane/link_client.py +3 -3
  528. oci/tenant_manager_control_plane/orders_client.py +2 -2
  529. oci/tenant_manager_control_plane/organization_client.py +10 -10
  530. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  531. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  532. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  533. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  534. oci/threat_intelligence/threatintel_client.py +5 -5
  535. oci/usage/resources_client.py +2 -2
  536. oci/usage/rewards_client.py +6 -6
  537. oci/usage/usagelimits_client.py +1 -1
  538. oci/usage_api/models/usage_summary.py +62 -0
  539. oci/usage_api/usageapi_client.py +33 -33
  540. oci/vault/vaults_client.py +13 -13
  541. oci/vbs_inst/vbs_instance_client.py +10 -10
  542. oci/version.py +1 -1
  543. oci/visual_builder/vb_instance_client.py +13 -13
  544. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  545. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  546. oci/waa/waa_client.py +13 -13
  547. oci/waa/work_request_client.py +4 -4
  548. oci/waas/redirect_client.py +6 -6
  549. oci/waas/waas_client.py +66 -66
  550. oci/waf/waf_client.py +24 -24
  551. oci/work_requests/work_request_client.py +4 -4
  552. {oci-2.128.2.dist-info → oci-2.128.10.dist-info}/METADATA +1 -1
  553. {oci-2.128.2.dist-info → oci-2.128.10.dist-info}/RECORD +557 -450
  554. {oci-2.128.2.dist-info → oci-2.128.10.dist-info}/LICENSE.txt +0 -0
  555. {oci-2.128.2.dist-info → oci-2.128.10.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  556. {oci-2.128.2.dist-info → oci-2.128.10.dist-info}/WHEEL +0 -0
  557. {oci-2.128.2.dist-info → oci-2.128.10.dist-info}/top_level.txt +0 -0
@@ -2,7 +2,7 @@
2
2
  # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
3
  # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
4
 
5
- # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210929
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
6
6
 
7
7
  from __future__ import absolute_import
8
8
 
@@ -99,7 +99,7 @@ class DatabaseMigrationClient(object):
99
99
  base_client_init_kwargs = {
100
100
  'regional_client': True,
101
101
  'service_endpoint': kwargs.get('service_endpoint'),
102
- 'base_path': '/20210929',
102
+ 'base_path': '/20230518',
103
103
  'service_endpoint_template': 'https://odms.{region}.oci.{secondLevelDomain}',
104
104
  'service_endpoint_template_per_realm': { }, # noqa: E201 E202
105
105
  'skip_deserialization': kwargs.get('skip_deserialization', False),
@@ -158,14 +158,14 @@ class DatabaseMigrationClient(object):
158
158
  :rtype: :class:`~oci.response.Response`
159
159
 
160
160
  :example:
161
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/abort_job.py.html>`__ to see an example of how to use abort_job API.
161
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/abort_job.py.html>`__ to see an example of how to use abort_job API.
162
162
  """
163
163
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
164
164
  required_arguments = ['jobId']
165
165
  resource_path = "/jobs/{jobId}/actions/abort"
166
166
  method = "POST"
167
167
  operation_name = "abort_job"
168
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/AbortJob"
168
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/AbortJob"
169
169
 
170
170
  # Don't accept unknown kwargs
171
171
  expected_kwargs = [
@@ -272,14 +272,14 @@ class DatabaseMigrationClient(object):
272
272
  :rtype: :class:`~oci.response.Response`
273
273
 
274
274
  :example:
275
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/add_migration_objects.py.html>`__ to see an example of how to use add_migration_objects API.
275
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/add_migration_objects.py.html>`__ to see an example of how to use add_migration_objects API.
276
276
  """
277
277
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
278
278
  required_arguments = ['migrationId']
279
279
  resource_path = "/migrations/{migrationId}/actions/addMigrationObjects"
280
280
  method = "POST"
281
281
  operation_name = "add_migration_objects"
282
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Migration/AddMigrationObjects"
282
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Migration/AddMigrationObjects"
283
283
 
284
284
  # Don't accept unknown kwargs
285
285
  expected_kwargs = [
@@ -345,134 +345,13 @@ class DatabaseMigrationClient(object):
345
345
  api_reference_link=api_reference_link,
346
346
  required_arguments=required_arguments)
347
347
 
348
- def change_agent_compartment(self, agent_id, change_agent_compartment_details, **kwargs):
349
- """
350
- Used to configure an ODMS Agent Compartment ID.
351
-
352
-
353
- :param str agent_id: (required)
354
- The OCID of the agent
355
-
356
- :param oci.database_migration.models.ChangeAgentCompartmentDetails change_agent_compartment_details: (required)
357
- Details to change the compartment.
358
-
359
- :param str opc_retry_token: (optional)
360
- A token that uniquely identifies a request so it can be retried in case of a timeout or
361
- server error without risk of executing that same action again. Retry tokens expire after 24
362
- hours, but can be invalidated before then due to conflicting operations. For example, if a resource
363
- has been deleted and purged from the system, then a retry of the original creation request
364
- might be rejected.
365
-
366
- :param str opc_request_id: (optional)
367
- Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
368
- particular request, please provide the request ID.
369
-
370
- :param str if_match: (optional)
371
- For optimistic concurrency control. In the PUT or DELETE call
372
- for a resource, set the `if-match` parameter to the value of the
373
- etag from a previous GET or POST response for that resource.
374
- The resource will be updated or deleted only if the etag you
375
- provide matches the resource's current etag value.
376
-
377
- :param obj retry_strategy: (optional)
378
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
379
-
380
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
381
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
382
-
383
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
384
-
385
- :param bool allow_control_chars: (optional)
386
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
387
- By default, the response will not allow control characters in strings
388
-
389
- :return: A :class:`~oci.response.Response` object with data of type None
390
- :rtype: :class:`~oci.response.Response`
391
-
392
- :example:
393
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/change_agent_compartment.py.html>`__ to see an example of how to use change_agent_compartment API.
394
- """
395
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
396
- required_arguments = ['agentId']
397
- resource_path = "/agents/{agentId}/actions/changeCompartment"
398
- method = "POST"
399
- operation_name = "change_agent_compartment"
400
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Agent/ChangeAgentCompartment"
401
-
402
- # Don't accept unknown kwargs
403
- expected_kwargs = [
404
- "allow_control_chars",
405
- "retry_strategy",
406
- "opc_retry_token",
407
- "opc_request_id",
408
- "if_match"
409
- ]
410
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
411
- if extra_kwargs:
412
- raise ValueError(
413
- f"change_agent_compartment got unknown kwargs: {extra_kwargs!r}")
414
-
415
- path_params = {
416
- "agentId": agent_id
417
- }
418
-
419
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
420
-
421
- for (k, v) in six.iteritems(path_params):
422
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
423
- raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
424
-
425
- header_params = {
426
- "accept": "application/json",
427
- "content-type": "application/json",
428
- "opc-retry-token": kwargs.get("opc_retry_token", missing),
429
- "opc-request-id": kwargs.get("opc_request_id", missing),
430
- "if-match": kwargs.get("if_match", missing)
431
- }
432
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
433
-
434
- retry_strategy = self.base_client.get_preferred_retry_strategy(
435
- operation_retry_strategy=kwargs.get('retry_strategy'),
436
- client_retry_strategy=self.retry_strategy
437
- )
438
- if retry_strategy is None:
439
- retry_strategy = retry.DEFAULT_RETRY_STRATEGY
440
-
441
- if retry_strategy:
442
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
443
- self.base_client.add_opc_retry_token_if_needed(header_params)
444
- self.base_client.add_opc_client_retries_header(header_params)
445
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
446
- return retry_strategy.make_retrying_call(
447
- self.base_client.call_api,
448
- resource_path=resource_path,
449
- method=method,
450
- path_params=path_params,
451
- header_params=header_params,
452
- body=change_agent_compartment_details,
453
- allow_control_chars=kwargs.get('allow_control_chars'),
454
- operation_name=operation_name,
455
- api_reference_link=api_reference_link,
456
- required_arguments=required_arguments)
457
- else:
458
- return self.base_client.call_api(
459
- resource_path=resource_path,
460
- method=method,
461
- path_params=path_params,
462
- header_params=header_params,
463
- body=change_agent_compartment_details,
464
- allow_control_chars=kwargs.get('allow_control_chars'),
465
- operation_name=operation_name,
466
- api_reference_link=api_reference_link,
467
- required_arguments=required_arguments)
468
-
469
348
  def change_connection_compartment(self, connection_id, change_connection_compartment_details, **kwargs):
470
349
  """
471
350
  Used to change the Database Connection compartment.
472
351
 
473
352
 
474
353
  :param str connection_id: (required)
475
- The OCID of the database connection
354
+ The OCID of the database connection.
476
355
 
477
356
  :param oci.database_migration.models.ChangeConnectionCompartmentDetails change_connection_compartment_details: (required)
478
357
  Details to change the compartment.
@@ -511,14 +390,14 @@ class DatabaseMigrationClient(object):
511
390
  :rtype: :class:`~oci.response.Response`
512
391
 
513
392
  :example:
514
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/change_connection_compartment.py.html>`__ to see an example of how to use change_connection_compartment API.
393
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/change_connection_compartment.py.html>`__ to see an example of how to use change_connection_compartment API.
515
394
  """
516
395
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
517
396
  required_arguments = ['connectionId']
518
397
  resource_path = "/connections/{connectionId}/actions/changeCompartment"
519
398
  method = "POST"
520
399
  operation_name = "change_connection_compartment"
521
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Connection/ChangeConnectionCompartment"
400
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Connection/ChangeConnectionCompartment"
522
401
 
523
402
  # Don't accept unknown kwargs
524
403
  expected_kwargs = [
@@ -632,14 +511,14 @@ class DatabaseMigrationClient(object):
632
511
  :rtype: :class:`~oci.response.Response`
633
512
 
634
513
  :example:
635
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/change_migration_compartment.py.html>`__ to see an example of how to use change_migration_compartment API.
514
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/change_migration_compartment.py.html>`__ to see an example of how to use change_migration_compartment API.
636
515
  """
637
516
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
638
517
  required_arguments = ['migrationId']
639
518
  resource_path = "/migrations/{migrationId}/actions/changeCompartment"
640
519
  method = "POST"
641
520
  operation_name = "change_migration_compartment"
642
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Migration/ChangeMigrationCompartment"
521
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Migration/ChangeMigrationCompartment"
643
522
 
644
523
  # Don't accept unknown kwargs
645
524
  expected_kwargs = [
@@ -753,14 +632,14 @@ class DatabaseMigrationClient(object):
753
632
  :rtype: :class:`~oci.response.Response`
754
633
 
755
634
  :example:
756
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/clone_migration.py.html>`__ to see an example of how to use clone_migration API.
635
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/clone_migration.py.html>`__ to see an example of how to use clone_migration API.
757
636
  """
758
637
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
759
638
  required_arguments = ['migrationId']
760
639
  resource_path = "/migrations/{migrationId}/actions/clone"
761
640
  method = "POST"
762
641
  operation_name = "clone_migration"
763
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Migration/CloneMigration"
642
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Migration/CloneMigration"
764
643
 
765
644
  # Don't accept unknown kwargs
766
645
  expected_kwargs = [
@@ -837,7 +716,7 @@ class DatabaseMigrationClient(object):
837
716
 
838
717
 
839
718
  :param str connection_id: (required)
840
- The OCID of the database connection
719
+ The OCID of the database connection.
841
720
 
842
721
  :param str if_match: (optional)
843
722
  For optimistic concurrency control. In the PUT or DELETE call
@@ -873,14 +752,14 @@ class DatabaseMigrationClient(object):
873
752
  :rtype: :class:`~oci.response.Response`
874
753
 
875
754
  :example:
876
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/connection_diagnostics.py.html>`__ to see an example of how to use connection_diagnostics API.
755
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/connection_diagnostics.py.html>`__ to see an example of how to use connection_diagnostics API.
877
756
  """
878
757
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
879
758
  required_arguments = ['connectionId']
880
759
  resource_path = "/connections/{connectionId}/actions/diagnostics"
881
760
  method = "POST"
882
761
  operation_name = "connection_diagnostics"
883
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Connection/ConnectionDiagnostics"
762
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Connection/ConnectionDiagnostics"
884
763
 
885
764
  # Don't accept unknown kwargs
886
765
  expected_kwargs = [
@@ -985,7 +864,7 @@ class DatabaseMigrationClient(object):
985
864
  :rtype: :class:`~oci.response.Response`
986
865
 
987
866
  :example:
988
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/create_connection.py.html>`__ to see an example of how to use create_connection API.
867
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/create_connection.py.html>`__ to see an example of how to use create_connection API.
989
868
  """
990
869
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
991
870
  required_arguments = []
@@ -1086,14 +965,14 @@ class DatabaseMigrationClient(object):
1086
965
  :rtype: :class:`~oci.response.Response`
1087
966
 
1088
967
  :example:
1089
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/create_migration.py.html>`__ to see an example of how to use create_migration API.
968
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/create_migration.py.html>`__ to see an example of how to use create_migration API.
1090
969
  """
1091
970
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1092
971
  required_arguments = []
1093
972
  resource_path = "/migrations"
1094
973
  method = "POST"
1095
974
  operation_name = "create_migration"
1096
- api_reference_link = ""
975
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Migration/CreateMigration"
1097
976
 
1098
977
  # Don't accept unknown kwargs
1099
978
  expected_kwargs = [
@@ -1150,119 +1029,13 @@ class DatabaseMigrationClient(object):
1150
1029
  api_reference_link=api_reference_link,
1151
1030
  required_arguments=required_arguments)
1152
1031
 
1153
- def delete_agent(self, agent_id, **kwargs):
1154
- """
1155
- Delete the ODMS Agent represented by the specified ODMS Agent ID.
1156
-
1157
-
1158
- :param str agent_id: (required)
1159
- The OCID of the agent
1160
-
1161
- :param str opc_request_id: (optional)
1162
- Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
1163
- particular request, please provide the request ID.
1164
-
1165
- :param str if_match: (optional)
1166
- For optimistic concurrency control. In the PUT or DELETE call
1167
- for a resource, set the `if-match` parameter to the value of the
1168
- etag from a previous GET or POST response for that resource.
1169
- The resource will be updated or deleted only if the etag you
1170
- provide matches the resource's current etag value.
1171
-
1172
- :param obj retry_strategy: (optional)
1173
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1174
-
1175
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
1176
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1177
-
1178
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1179
-
1180
- :param bool allow_control_chars: (optional)
1181
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1182
- By default, the response will not allow control characters in strings
1183
-
1184
- :return: A :class:`~oci.response.Response` object with data of type None
1185
- :rtype: :class:`~oci.response.Response`
1186
-
1187
- :example:
1188
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/delete_agent.py.html>`__ to see an example of how to use delete_agent API.
1189
- """
1190
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1191
- required_arguments = ['agentId']
1192
- resource_path = "/agents/{agentId}"
1193
- method = "DELETE"
1194
- operation_name = "delete_agent"
1195
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Agent/DeleteAgent"
1196
-
1197
- # Don't accept unknown kwargs
1198
- expected_kwargs = [
1199
- "allow_control_chars",
1200
- "retry_strategy",
1201
- "opc_request_id",
1202
- "if_match"
1203
- ]
1204
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1205
- if extra_kwargs:
1206
- raise ValueError(
1207
- f"delete_agent got unknown kwargs: {extra_kwargs!r}")
1208
-
1209
- path_params = {
1210
- "agentId": agent_id
1211
- }
1212
-
1213
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1214
-
1215
- for (k, v) in six.iteritems(path_params):
1216
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1217
- raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
1218
-
1219
- header_params = {
1220
- "accept": "application/json",
1221
- "content-type": "application/json",
1222
- "opc-request-id": kwargs.get("opc_request_id", missing),
1223
- "if-match": kwargs.get("if_match", missing)
1224
- }
1225
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1226
-
1227
- retry_strategy = self.base_client.get_preferred_retry_strategy(
1228
- operation_retry_strategy=kwargs.get('retry_strategy'),
1229
- client_retry_strategy=self.retry_strategy
1230
- )
1231
- if retry_strategy is None:
1232
- retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1233
-
1234
- if retry_strategy:
1235
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1236
- self.base_client.add_opc_client_retries_header(header_params)
1237
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1238
- return retry_strategy.make_retrying_call(
1239
- self.base_client.call_api,
1240
- resource_path=resource_path,
1241
- method=method,
1242
- path_params=path_params,
1243
- header_params=header_params,
1244
- allow_control_chars=kwargs.get('allow_control_chars'),
1245
- operation_name=operation_name,
1246
- api_reference_link=api_reference_link,
1247
- required_arguments=required_arguments)
1248
- else:
1249
- return self.base_client.call_api(
1250
- resource_path=resource_path,
1251
- method=method,
1252
- path_params=path_params,
1253
- header_params=header_params,
1254
- allow_control_chars=kwargs.get('allow_control_chars'),
1255
- operation_name=operation_name,
1256
- api_reference_link=api_reference_link,
1257
- required_arguments=required_arguments)
1258
-
1259
1032
  def delete_connection(self, connection_id, **kwargs):
1260
1033
  """
1261
1034
  Deletes the Database Connection represented by the specified connection ID.
1262
1035
 
1263
1036
 
1264
1037
  :param str connection_id: (required)
1265
- The OCID of the database connection
1038
+ The OCID of the database connection.
1266
1039
 
1267
1040
  :param str opc_request_id: (optional)
1268
1041
  Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
@@ -1291,14 +1064,14 @@ class DatabaseMigrationClient(object):
1291
1064
  :rtype: :class:`~oci.response.Response`
1292
1065
 
1293
1066
  :example:
1294
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/delete_connection.py.html>`__ to see an example of how to use delete_connection API.
1067
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/delete_connection.py.html>`__ to see an example of how to use delete_connection API.
1295
1068
  """
1296
1069
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1297
1070
  required_arguments = ['connectionId']
1298
1071
  resource_path = "/connections/{connectionId}"
1299
1072
  method = "DELETE"
1300
1073
  operation_name = "delete_connection"
1301
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Connection/DeleteConnection"
1074
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Connection/DeleteConnection"
1302
1075
 
1303
1076
  # Don't accept unknown kwargs
1304
1077
  expected_kwargs = [
@@ -1397,14 +1170,14 @@ class DatabaseMigrationClient(object):
1397
1170
  :rtype: :class:`~oci.response.Response`
1398
1171
 
1399
1172
  :example:
1400
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/delete_job.py.html>`__ to see an example of how to use delete_job API.
1173
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/delete_job.py.html>`__ to see an example of how to use delete_job API.
1401
1174
  """
1402
1175
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1403
1176
  required_arguments = ['jobId']
1404
1177
  resource_path = "/jobs/{jobId}"
1405
1178
  method = "DELETE"
1406
1179
  operation_name = "delete_job"
1407
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/DeleteJob"
1180
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/DeleteJob"
1408
1181
 
1409
1182
  # Don't accept unknown kwargs
1410
1183
  expected_kwargs = [
@@ -1503,14 +1276,14 @@ class DatabaseMigrationClient(object):
1503
1276
  :rtype: :class:`~oci.response.Response`
1504
1277
 
1505
1278
  :example:
1506
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/delete_migration.py.html>`__ to see an example of how to use delete_migration API.
1279
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/delete_migration.py.html>`__ to see an example of how to use delete_migration API.
1507
1280
  """
1508
1281
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1509
1282
  required_arguments = ['migrationId']
1510
1283
  resource_path = "/migrations/{migrationId}"
1511
1284
  method = "DELETE"
1512
1285
  operation_name = "delete_migration"
1513
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Migration/DeleteMigration"
1286
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Migration/DeleteMigration"
1514
1287
 
1515
1288
  # Don't accept unknown kwargs
1516
1289
  expected_kwargs = [
@@ -1616,14 +1389,14 @@ class DatabaseMigrationClient(object):
1616
1389
  :rtype: :class:`~oci.response.Response`
1617
1390
 
1618
1391
  :example:
1619
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/evaluate_migration.py.html>`__ to see an example of how to use evaluate_migration API.
1392
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/evaluate_migration.py.html>`__ to see an example of how to use evaluate_migration API.
1620
1393
  """
1621
1394
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1622
1395
  required_arguments = ['migrationId']
1623
1396
  resource_path = "/migrations/{migrationId}/actions/validate"
1624
1397
  method = "POST"
1625
1398
  operation_name = "evaluate_migration"
1626
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/EvaluateMigration"
1399
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/EvaluateMigration"
1627
1400
 
1628
1401
  # Don't accept unknown kwargs
1629
1402
  expected_kwargs = [
@@ -1720,14 +1493,14 @@ class DatabaseMigrationClient(object):
1720
1493
  :rtype: :class:`~oci.response.Response`
1721
1494
 
1722
1495
  :example:
1723
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/get_advisor_report.py.html>`__ to see an example of how to use get_advisor_report API.
1496
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/get_advisor_report.py.html>`__ to see an example of how to use get_advisor_report API.
1724
1497
  """
1725
1498
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1726
1499
  required_arguments = ['jobId']
1727
1500
  resource_path = "/jobs/{jobId}/advisorReport"
1728
1501
  method = "GET"
1729
1502
  operation_name = "get_advisor_report"
1730
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/GetAdvisorReport"
1503
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/GetAdvisorReport"
1731
1504
 
1732
1505
  # Don't accept unknown kwargs
1733
1506
  expected_kwargs = [
@@ -1791,13 +1564,13 @@ class DatabaseMigrationClient(object):
1791
1564
  api_reference_link=api_reference_link,
1792
1565
  required_arguments=required_arguments)
1793
1566
 
1794
- def get_agent(self, agent_id, **kwargs):
1567
+ def get_connection(self, connection_id, **kwargs):
1795
1568
  """
1796
- Display the ODMS Agent configuration.
1569
+ Display Database Connection details.
1797
1570
 
1798
1571
 
1799
- :param str agent_id: (required)
1800
- The OCID of the agent
1572
+ :param str connection_id: (required)
1573
+ The OCID of the database connection.
1801
1574
 
1802
1575
  :param str opc_request_id: (optional)
1803
1576
  Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
@@ -1815,18 +1588,18 @@ class DatabaseMigrationClient(object):
1815
1588
  allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1816
1589
  By default, the response will not allow control characters in strings
1817
1590
 
1818
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_migration.models.Agent`
1591
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_migration.models.Connection`
1819
1592
  :rtype: :class:`~oci.response.Response`
1820
1593
 
1821
1594
  :example:
1822
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/get_agent.py.html>`__ to see an example of how to use get_agent API.
1595
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/get_connection.py.html>`__ to see an example of how to use get_connection API.
1823
1596
  """
1824
1597
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1825
- required_arguments = ['agentId']
1826
- resource_path = "/agents/{agentId}"
1598
+ required_arguments = ['connectionId']
1599
+ resource_path = "/connections/{connectionId}"
1827
1600
  method = "GET"
1828
- operation_name = "get_agent"
1829
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Agent/GetAgent"
1601
+ operation_name = "get_connection"
1602
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Connection/GetConnection"
1830
1603
 
1831
1604
  # Don't accept unknown kwargs
1832
1605
  expected_kwargs = [
@@ -1837,10 +1610,10 @@ class DatabaseMigrationClient(object):
1837
1610
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1838
1611
  if extra_kwargs:
1839
1612
  raise ValueError(
1840
- f"get_agent got unknown kwargs: {extra_kwargs!r}")
1613
+ f"get_connection got unknown kwargs: {extra_kwargs!r}")
1841
1614
 
1842
1615
  path_params = {
1843
- "agentId": agent_id
1616
+ "connectionId": connection_id
1844
1617
  }
1845
1618
 
1846
1619
  path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -1873,7 +1646,7 @@ class DatabaseMigrationClient(object):
1873
1646
  method=method,
1874
1647
  path_params=path_params,
1875
1648
  header_params=header_params,
1876
- response_type="Agent",
1649
+ response_type="Connection",
1877
1650
  allow_control_chars=kwargs.get('allow_control_chars'),
1878
1651
  operation_name=operation_name,
1879
1652
  api_reference_link=api_reference_link,
@@ -1884,19 +1657,19 @@ class DatabaseMigrationClient(object):
1884
1657
  method=method,
1885
1658
  path_params=path_params,
1886
1659
  header_params=header_params,
1887
- response_type="Agent",
1660
+ response_type="Connection",
1888
1661
  allow_control_chars=kwargs.get('allow_control_chars'),
1889
1662
  operation_name=operation_name,
1890
1663
  api_reference_link=api_reference_link,
1891
1664
  required_arguments=required_arguments)
1892
1665
 
1893
- def get_connection(self, connection_id, **kwargs):
1666
+ def get_job(self, job_id, **kwargs):
1894
1667
  """
1895
- Display Database Connection details.
1668
+ Get a migration job.
1896
1669
 
1897
1670
 
1898
- :param str connection_id: (required)
1899
- The OCID of the database connection
1671
+ :param str job_id: (required)
1672
+ The OCID of the job
1900
1673
 
1901
1674
  :param str opc_request_id: (optional)
1902
1675
  Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
@@ -1914,18 +1687,18 @@ class DatabaseMigrationClient(object):
1914
1687
  allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1915
1688
  By default, the response will not allow control characters in strings
1916
1689
 
1917
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_migration.models.Connection`
1690
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_migration.models.Job`
1918
1691
  :rtype: :class:`~oci.response.Response`
1919
1692
 
1920
1693
  :example:
1921
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/get_connection.py.html>`__ to see an example of how to use get_connection API.
1694
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/get_job.py.html>`__ to see an example of how to use get_job API.
1922
1695
  """
1923
1696
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1924
- required_arguments = ['connectionId']
1925
- resource_path = "/connections/{connectionId}"
1697
+ required_arguments = ['jobId']
1698
+ resource_path = "/jobs/{jobId}"
1926
1699
  method = "GET"
1927
- operation_name = "get_connection"
1928
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Connection/GetConnection"
1700
+ operation_name = "get_job"
1701
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/GetJob"
1929
1702
 
1930
1703
  # Don't accept unknown kwargs
1931
1704
  expected_kwargs = [
@@ -1936,10 +1709,10 @@ class DatabaseMigrationClient(object):
1936
1709
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1937
1710
  if extra_kwargs:
1938
1711
  raise ValueError(
1939
- f"get_connection got unknown kwargs: {extra_kwargs!r}")
1712
+ f"get_job got unknown kwargs: {extra_kwargs!r}")
1940
1713
 
1941
1714
  path_params = {
1942
- "connectionId": connection_id
1715
+ "jobId": job_id
1943
1716
  }
1944
1717
 
1945
1718
  path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -1972,7 +1745,7 @@ class DatabaseMigrationClient(object):
1972
1745
  method=method,
1973
1746
  path_params=path_params,
1974
1747
  header_params=header_params,
1975
- response_type="Connection",
1748
+ response_type="Job",
1976
1749
  allow_control_chars=kwargs.get('allow_control_chars'),
1977
1750
  operation_name=operation_name,
1978
1751
  api_reference_link=api_reference_link,
@@ -1983,15 +1756,15 @@ class DatabaseMigrationClient(object):
1983
1756
  method=method,
1984
1757
  path_params=path_params,
1985
1758
  header_params=header_params,
1986
- response_type="Connection",
1759
+ response_type="Job",
1987
1760
  allow_control_chars=kwargs.get('allow_control_chars'),
1988
1761
  operation_name=operation_name,
1989
1762
  api_reference_link=api_reference_link,
1990
1763
  required_arguments=required_arguments)
1991
1764
 
1992
- def get_job(self, job_id, **kwargs):
1765
+ def get_job_output_content(self, job_id, **kwargs):
1993
1766
  """
1994
- Get a migration job.
1767
+ Get the migration Job Output content as a String.
1995
1768
 
1996
1769
 
1997
1770
  :param str job_id: (required)
@@ -2013,18 +1786,18 @@ class DatabaseMigrationClient(object):
2013
1786
  allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
2014
1787
  By default, the response will not allow control characters in strings
2015
1788
 
2016
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_migration.models.Job`
1789
+ :return: A :class:`~oci.response.Response` object with data of type stream
2017
1790
  :rtype: :class:`~oci.response.Response`
2018
1791
 
2019
1792
  :example:
2020
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/get_job.py.html>`__ to see an example of how to use get_job API.
1793
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/get_job_output_content.py.html>`__ to see an example of how to use get_job_output_content API.
2021
1794
  """
2022
1795
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2023
1796
  required_arguments = ['jobId']
2024
- resource_path = "/jobs/{jobId}"
1797
+ resource_path = "/jobs/{jobId}/output/content"
2025
1798
  method = "GET"
2026
- operation_name = "get_job"
2027
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/GetJob"
1799
+ operation_name = "get_job_output_content"
1800
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/GetJobOutputContent"
2028
1801
 
2029
1802
  # Don't accept unknown kwargs
2030
1803
  expected_kwargs = [
@@ -2035,7 +1808,7 @@ class DatabaseMigrationClient(object):
2035
1808
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2036
1809
  if extra_kwargs:
2037
1810
  raise ValueError(
2038
- f"get_job got unknown kwargs: {extra_kwargs!r}")
1811
+ f"get_job_output_content got unknown kwargs: {extra_kwargs!r}")
2039
1812
 
2040
1813
  path_params = {
2041
1814
  "jobId": job_id
@@ -2048,7 +1821,7 @@ class DatabaseMigrationClient(object):
2048
1821
  raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
2049
1822
 
2050
1823
  header_params = {
2051
- "accept": "application/json",
1824
+ "accept": "application/x-yaml",
2052
1825
  "content-type": "application/json",
2053
1826
  "opc-request-id": kwargs.get("opc_request_id", missing)
2054
1827
  }
@@ -2071,7 +1844,7 @@ class DatabaseMigrationClient(object):
2071
1844
  method=method,
2072
1845
  path_params=path_params,
2073
1846
  header_params=header_params,
2074
- response_type="Job",
1847
+ response_type="stream",
2075
1848
  allow_control_chars=kwargs.get('allow_control_chars'),
2076
1849
  operation_name=operation_name,
2077
1850
  api_reference_link=api_reference_link,
@@ -2082,106 +1855,7 @@ class DatabaseMigrationClient(object):
2082
1855
  method=method,
2083
1856
  path_params=path_params,
2084
1857
  header_params=header_params,
2085
- response_type="Job",
2086
- allow_control_chars=kwargs.get('allow_control_chars'),
2087
- operation_name=operation_name,
2088
- api_reference_link=api_reference_link,
2089
- required_arguments=required_arguments)
2090
-
2091
- def get_job_output_content(self, job_id, **kwargs):
2092
- """
2093
- Get the migration Job Output content as a String.
2094
-
2095
-
2096
- :param str job_id: (required)
2097
- The OCID of the job
2098
-
2099
- :param str opc_request_id: (optional)
2100
- Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
2101
- particular request, please provide the request ID.
2102
-
2103
- :param obj retry_strategy: (optional)
2104
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2105
-
2106
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
2107
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
2108
-
2109
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2110
-
2111
- :param bool allow_control_chars: (optional)
2112
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
2113
- By default, the response will not allow control characters in strings
2114
-
2115
- :return: A :class:`~oci.response.Response` object with data of type stream
2116
- :rtype: :class:`~oci.response.Response`
2117
-
2118
- :example:
2119
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/get_job_output_content.py.html>`__ to see an example of how to use get_job_output_content API.
2120
- """
2121
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2122
- required_arguments = ['jobId']
2123
- resource_path = "/jobs/{jobId}/output/content"
2124
- method = "GET"
2125
- operation_name = "get_job_output_content"
2126
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/GetJobOutputContent"
2127
-
2128
- # Don't accept unknown kwargs
2129
- expected_kwargs = [
2130
- "allow_control_chars",
2131
- "retry_strategy",
2132
- "opc_request_id"
2133
- ]
2134
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2135
- if extra_kwargs:
2136
- raise ValueError(
2137
- f"get_job_output_content got unknown kwargs: {extra_kwargs!r}")
2138
-
2139
- path_params = {
2140
- "jobId": job_id
2141
- }
2142
-
2143
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2144
-
2145
- for (k, v) in six.iteritems(path_params):
2146
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2147
- raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
2148
-
2149
- header_params = {
2150
- "accept": "application/x-yaml",
2151
- "content-type": "application/json",
2152
- "opc-request-id": kwargs.get("opc_request_id", missing)
2153
- }
2154
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2155
-
2156
- retry_strategy = self.base_client.get_preferred_retry_strategy(
2157
- operation_retry_strategy=kwargs.get('retry_strategy'),
2158
- client_retry_strategy=self.retry_strategy
2159
- )
2160
- if retry_strategy is None:
2161
- retry_strategy = retry.DEFAULT_RETRY_STRATEGY
2162
-
2163
- if retry_strategy:
2164
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
2165
- self.base_client.add_opc_client_retries_header(header_params)
2166
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
2167
- return retry_strategy.make_retrying_call(
2168
- self.base_client.call_api,
2169
- resource_path=resource_path,
2170
- method=method,
2171
- path_params=path_params,
2172
- header_params=header_params,
2173
- response_type="stream",
2174
- allow_control_chars=kwargs.get('allow_control_chars'),
2175
- operation_name=operation_name,
2176
- api_reference_link=api_reference_link,
2177
- required_arguments=required_arguments)
2178
- else:
2179
- return self.base_client.call_api(
2180
- resource_path=resource_path,
2181
- method=method,
2182
- path_params=path_params,
2183
- header_params=header_params,
2184
- response_type="stream",
1858
+ response_type="stream",
2185
1859
  allow_control_chars=kwargs.get('allow_control_chars'),
2186
1860
  operation_name=operation_name,
2187
1861
  api_reference_link=api_reference_link,
@@ -2222,14 +1896,14 @@ class DatabaseMigrationClient(object):
2222
1896
  :rtype: :class:`~oci.response.Response`
2223
1897
 
2224
1898
  :example:
2225
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/get_migration.py.html>`__ to see an example of how to use get_migration API.
1899
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/get_migration.py.html>`__ to see an example of how to use get_migration API.
2226
1900
  """
2227
1901
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2228
1902
  required_arguments = ['migrationId']
2229
1903
  resource_path = "/migrations/{migrationId}"
2230
1904
  method = "GET"
2231
1905
  operation_name = "get_migration"
2232
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Migration/GetMigration"
1906
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Migration/GetMigration"
2233
1907
 
2234
1908
  # Don't accept unknown kwargs
2235
1909
  expected_kwargs = [
@@ -2323,14 +1997,14 @@ class DatabaseMigrationClient(object):
2323
1997
  :rtype: :class:`~oci.response.Response`
2324
1998
 
2325
1999
  :example:
2326
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
2000
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
2327
2001
  """
2328
2002
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2329
2003
  required_arguments = ['workRequestId']
2330
2004
  resource_path = "/workRequests/{workRequestId}"
2331
2005
  method = "GET"
2332
2006
  operation_name = "get_work_request"
2333
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/WorkRequest/GetWorkRequest"
2007
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/WorkRequest/GetWorkRequest"
2334
2008
 
2335
2009
  # Don't accept unknown kwargs
2336
2010
  expected_kwargs = [
@@ -2349,275 +2023,9 @@ class DatabaseMigrationClient(object):
2349
2023
 
2350
2024
  path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2351
2025
 
2352
- for (k, v) in six.iteritems(path_params):
2353
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2354
- raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
2355
-
2356
- header_params = {
2357
- "accept": "application/json",
2358
- "content-type": "application/json",
2359
- "opc-request-id": kwargs.get("opc_request_id", missing)
2360
- }
2361
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2362
-
2363
- retry_strategy = self.base_client.get_preferred_retry_strategy(
2364
- operation_retry_strategy=kwargs.get('retry_strategy'),
2365
- client_retry_strategy=self.retry_strategy
2366
- )
2367
- if retry_strategy is None:
2368
- retry_strategy = retry.DEFAULT_RETRY_STRATEGY
2369
-
2370
- if retry_strategy:
2371
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
2372
- self.base_client.add_opc_client_retries_header(header_params)
2373
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
2374
- return retry_strategy.make_retrying_call(
2375
- self.base_client.call_api,
2376
- resource_path=resource_path,
2377
- method=method,
2378
- path_params=path_params,
2379
- header_params=header_params,
2380
- response_type="WorkRequest",
2381
- allow_control_chars=kwargs.get('allow_control_chars'),
2382
- operation_name=operation_name,
2383
- api_reference_link=api_reference_link,
2384
- required_arguments=required_arguments)
2385
- else:
2386
- return self.base_client.call_api(
2387
- resource_path=resource_path,
2388
- method=method,
2389
- path_params=path_params,
2390
- header_params=header_params,
2391
- response_type="WorkRequest",
2392
- allow_control_chars=kwargs.get('allow_control_chars'),
2393
- operation_name=operation_name,
2394
- api_reference_link=api_reference_link,
2395
- required_arguments=required_arguments)
2396
-
2397
- def list_agent_images(self, **kwargs):
2398
- """
2399
- Get details of the ODMS Agent Images available to install on-premises.
2400
-
2401
-
2402
- :param int limit: (optional)
2403
- The maximum number of items to return.
2404
-
2405
- :param str page: (optional)
2406
- The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
2407
-
2408
- :param str sort_order: (optional)
2409
- The sort order to use, either 'asc' or 'desc'.
2410
-
2411
- Allowed values are: "ASC", "DESC"
2412
-
2413
- :param str opc_request_id: (optional)
2414
- Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
2415
- particular request, please provide the request ID.
2416
-
2417
- :param obj retry_strategy: (optional)
2418
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2419
-
2420
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
2421
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
2422
-
2423
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2424
-
2425
- :param bool allow_control_chars: (optional)
2426
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
2427
- By default, the response will not allow control characters in strings
2428
-
2429
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_migration.models.AgentImageCollection`
2430
- :rtype: :class:`~oci.response.Response`
2431
-
2432
- :example:
2433
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/list_agent_images.py.html>`__ to see an example of how to use list_agent_images API.
2434
- """
2435
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2436
- required_arguments = []
2437
- resource_path = "/agentImages"
2438
- method = "GET"
2439
- operation_name = "list_agent_images"
2440
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/AgentImageSummary/ListAgentImages"
2441
-
2442
- # Don't accept unknown kwargs
2443
- expected_kwargs = [
2444
- "allow_control_chars",
2445
- "retry_strategy",
2446
- "limit",
2447
- "page",
2448
- "sort_order",
2449
- "opc_request_id"
2450
- ]
2451
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2452
- if extra_kwargs:
2453
- raise ValueError(
2454
- f"list_agent_images got unknown kwargs: {extra_kwargs!r}")
2455
-
2456
- if 'sort_order' in kwargs:
2457
- sort_order_allowed_values = ["ASC", "DESC"]
2458
- if kwargs['sort_order'] not in sort_order_allowed_values:
2459
- raise ValueError(
2460
- f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
2461
- )
2462
-
2463
- query_params = {
2464
- "limit": kwargs.get("limit", missing),
2465
- "page": kwargs.get("page", missing),
2466
- "sortOrder": kwargs.get("sort_order", missing)
2467
- }
2468
- query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
2469
-
2470
- header_params = {
2471
- "accept": "application/json",
2472
- "content-type": "application/json",
2473
- "opc-request-id": kwargs.get("opc_request_id", missing)
2474
- }
2475
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2476
-
2477
- retry_strategy = self.base_client.get_preferred_retry_strategy(
2478
- operation_retry_strategy=kwargs.get('retry_strategy'),
2479
- client_retry_strategy=self.retry_strategy
2480
- )
2481
- if retry_strategy is None:
2482
- retry_strategy = retry.DEFAULT_RETRY_STRATEGY
2483
-
2484
- if retry_strategy:
2485
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
2486
- self.base_client.add_opc_client_retries_header(header_params)
2487
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
2488
- return retry_strategy.make_retrying_call(
2489
- self.base_client.call_api,
2490
- resource_path=resource_path,
2491
- method=method,
2492
- query_params=query_params,
2493
- header_params=header_params,
2494
- response_type="AgentImageCollection",
2495
- allow_control_chars=kwargs.get('allow_control_chars'),
2496
- operation_name=operation_name,
2497
- api_reference_link=api_reference_link,
2498
- required_arguments=required_arguments)
2499
- else:
2500
- return self.base_client.call_api(
2501
- resource_path=resource_path,
2502
- method=method,
2503
- query_params=query_params,
2504
- header_params=header_params,
2505
- response_type="AgentImageCollection",
2506
- allow_control_chars=kwargs.get('allow_control_chars'),
2507
- operation_name=operation_name,
2508
- api_reference_link=api_reference_link,
2509
- required_arguments=required_arguments)
2510
-
2511
- def list_agents(self, compartment_id, **kwargs):
2512
- """
2513
- Display the name of all the existing ODMS Agents in the server.
2514
-
2515
-
2516
- :param str compartment_id: (required)
2517
- The ID of the compartment in which to list resources.
2518
-
2519
- :param int limit: (optional)
2520
- The maximum number of items to return.
2521
-
2522
- :param str page: (optional)
2523
- The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
2524
-
2525
- :param str sort_by: (optional)
2526
- The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
2527
- Default order for displayName is ascending. If no value is specified timeCreated is default.
2528
-
2529
- Allowed values are: "timeCreated", "displayName"
2530
-
2531
- :param str sort_order: (optional)
2532
- The sort order to use, either 'asc' or 'desc'.
2533
-
2534
- Allowed values are: "ASC", "DESC"
2535
-
2536
- :param str display_name: (optional)
2537
- A filter to return only resources that match the entire display name given.
2538
-
2539
- :param str lifecycle_state: (optional)
2540
- The current state of the Database Migration Deployment.
2541
-
2542
- Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"
2543
-
2544
- :param str opc_request_id: (optional)
2545
- Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
2546
- particular request, please provide the request ID.
2547
-
2548
- :param obj retry_strategy: (optional)
2549
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2550
-
2551
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
2552
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
2553
-
2554
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2555
-
2556
- :param bool allow_control_chars: (optional)
2557
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
2558
- By default, the response will not allow control characters in strings
2559
-
2560
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_migration.models.AgentCollection`
2561
- :rtype: :class:`~oci.response.Response`
2562
-
2563
- :example:
2564
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/list_agents.py.html>`__ to see an example of how to use list_agents API.
2565
- """
2566
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2567
- required_arguments = ['compartmentId']
2568
- resource_path = "/agents"
2569
- method = "GET"
2570
- operation_name = "list_agents"
2571
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/AgentSummary/ListAgents"
2572
-
2573
- # Don't accept unknown kwargs
2574
- expected_kwargs = [
2575
- "allow_control_chars",
2576
- "retry_strategy",
2577
- "limit",
2578
- "page",
2579
- "sort_by",
2580
- "sort_order",
2581
- "display_name",
2582
- "lifecycle_state",
2583
- "opc_request_id"
2584
- ]
2585
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2586
- if extra_kwargs:
2587
- raise ValueError(
2588
- f"list_agents got unknown kwargs: {extra_kwargs!r}")
2589
-
2590
- if 'sort_by' in kwargs:
2591
- sort_by_allowed_values = ["timeCreated", "displayName"]
2592
- if kwargs['sort_by'] not in sort_by_allowed_values:
2593
- raise ValueError(
2594
- f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
2595
- )
2596
-
2597
- if 'sort_order' in kwargs:
2598
- sort_order_allowed_values = ["ASC", "DESC"]
2599
- if kwargs['sort_order'] not in sort_order_allowed_values:
2600
- raise ValueError(
2601
- f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
2602
- )
2603
-
2604
- if 'lifecycle_state' in kwargs:
2605
- lifecycle_state_allowed_values = ["CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"]
2606
- if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
2607
- raise ValueError(
2608
- f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
2609
- )
2610
-
2611
- query_params = {
2612
- "compartmentId": compartment_id,
2613
- "limit": kwargs.get("limit", missing),
2614
- "page": kwargs.get("page", missing),
2615
- "sortBy": kwargs.get("sort_by", missing),
2616
- "sortOrder": kwargs.get("sort_order", missing),
2617
- "displayName": kwargs.get("display_name", missing),
2618
- "lifecycleState": kwargs.get("lifecycle_state", missing)
2619
- }
2620
- query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
2026
+ for (k, v) in six.iteritems(path_params):
2027
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2028
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
2621
2029
 
2622
2030
  header_params = {
2623
2031
  "accept": "application/json",
@@ -2641,9 +2049,9 @@ class DatabaseMigrationClient(object):
2641
2049
  self.base_client.call_api,
2642
2050
  resource_path=resource_path,
2643
2051
  method=method,
2644
- query_params=query_params,
2052
+ path_params=path_params,
2645
2053
  header_params=header_params,
2646
- response_type="AgentCollection",
2054
+ response_type="WorkRequest",
2647
2055
  allow_control_chars=kwargs.get('allow_control_chars'),
2648
2056
  operation_name=operation_name,
2649
2057
  api_reference_link=api_reference_link,
@@ -2652,9 +2060,9 @@ class DatabaseMigrationClient(object):
2652
2060
  return self.base_client.call_api(
2653
2061
  resource_path=resource_path,
2654
2062
  method=method,
2655
- query_params=query_params,
2063
+ path_params=path_params,
2656
2064
  header_params=header_params,
2657
- response_type="AgentCollection",
2065
+ response_type="WorkRequest",
2658
2066
  allow_control_chars=kwargs.get('allow_control_chars'),
2659
2067
  operation_name=operation_name,
2660
2068
  api_reference_link=api_reference_link,
@@ -2672,6 +2080,19 @@ class DatabaseMigrationClient(object):
2672
2080
  Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
2673
2081
  particular request, please provide the request ID.
2674
2082
 
2083
+ :param list[str] technology_type: (optional)
2084
+ The array of technology types.
2085
+
2086
+ Allowed values are: "OCI_AUTONOMOUS_DATABASE", "OCI_MYSQL", "ORACLE_DATABASE", "ORACLE_EXADATA", "AMAZON_RDS_ORACLE", "AMAZON_AURORA_MYSQL", "AMAZON_RDS_MYSQL", "AZURE_MYSQL", "GOOGLE_CLOUD_SQL_MYSQL", "MYSQL_SERVER"
2087
+
2088
+ :param list[str] connection_type: (optional)
2089
+ The array of connection types.
2090
+
2091
+ Allowed values are: "MYSQL", "ORACLE"
2092
+
2093
+ :param str source_connection_id: (optional)
2094
+ The OCID of the source database connection.
2095
+
2675
2096
  :param str display_name: (optional)
2676
2097
  A filter to return only resources that match the entire display name given.
2677
2098
 
@@ -2713,20 +2134,23 @@ class DatabaseMigrationClient(object):
2713
2134
  :rtype: :class:`~oci.response.Response`
2714
2135
 
2715
2136
  :example:
2716
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/list_connections.py.html>`__ to see an example of how to use list_connections API.
2137
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/list_connections.py.html>`__ to see an example of how to use list_connections API.
2717
2138
  """
2718
2139
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2719
2140
  required_arguments = ['compartmentId']
2720
2141
  resource_path = "/connections"
2721
2142
  method = "GET"
2722
2143
  operation_name = "list_connections"
2723
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/ConnectionSummary/ListConnections"
2144
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/ConnectionSummary/ListConnections"
2724
2145
 
2725
2146
  # Don't accept unknown kwargs
2726
2147
  expected_kwargs = [
2727
2148
  "allow_control_chars",
2728
2149
  "retry_strategy",
2729
2150
  "opc_request_id",
2151
+ "technology_type",
2152
+ "connection_type",
2153
+ "source_connection_id",
2730
2154
  "display_name",
2731
2155
  "limit",
2732
2156
  "page",
@@ -2739,6 +2163,22 @@ class DatabaseMigrationClient(object):
2739
2163
  raise ValueError(
2740
2164
  f"list_connections got unknown kwargs: {extra_kwargs!r}")
2741
2165
 
2166
+ if 'technology_type' in kwargs:
2167
+ technology_type_allowed_values = ["OCI_AUTONOMOUS_DATABASE", "OCI_MYSQL", "ORACLE_DATABASE", "ORACLE_EXADATA", "AMAZON_RDS_ORACLE", "AMAZON_AURORA_MYSQL", "AMAZON_RDS_MYSQL", "AZURE_MYSQL", "GOOGLE_CLOUD_SQL_MYSQL", "MYSQL_SERVER"]
2168
+ for technology_type_item in kwargs['technology_type']:
2169
+ if technology_type_item not in technology_type_allowed_values:
2170
+ raise ValueError(
2171
+ f"Invalid value for `technology_type`, must be one of { technology_type_allowed_values }"
2172
+ )
2173
+
2174
+ if 'connection_type' in kwargs:
2175
+ connection_type_allowed_values = ["MYSQL", "ORACLE"]
2176
+ for connection_type_item in kwargs['connection_type']:
2177
+ if connection_type_item not in connection_type_allowed_values:
2178
+ raise ValueError(
2179
+ f"Invalid value for `connection_type`, must be one of { connection_type_allowed_values }"
2180
+ )
2181
+
2742
2182
  if 'sort_by' in kwargs:
2743
2183
  sort_by_allowed_values = ["timeCreated", "displayName"]
2744
2184
  if kwargs['sort_by'] not in sort_by_allowed_values:
@@ -2762,6 +2202,9 @@ class DatabaseMigrationClient(object):
2762
2202
 
2763
2203
  query_params = {
2764
2204
  "compartmentId": compartment_id,
2205
+ "technologyType": self.base_client.generate_collection_format_param(kwargs.get("technology_type", missing), 'multi'),
2206
+ "connectionType": self.base_client.generate_collection_format_param(kwargs.get("connection_type", missing), 'multi'),
2207
+ "sourceConnectionId": kwargs.get("source_connection_id", missing),
2765
2208
  "displayName": kwargs.get("display_name", missing),
2766
2209
  "limit": kwargs.get("limit", missing),
2767
2210
  "page": kwargs.get("page", missing),
@@ -2881,14 +2324,14 @@ class DatabaseMigrationClient(object):
2881
2324
  :rtype: :class:`~oci.response.Response`
2882
2325
 
2883
2326
  :example:
2884
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/list_excluded_objects.py.html>`__ to see an example of how to use list_excluded_objects API.
2327
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/list_excluded_objects.py.html>`__ to see an example of how to use list_excluded_objects API.
2885
2328
  """
2886
2329
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2887
2330
  required_arguments = ['jobId']
2888
2331
  resource_path = "/jobs/{jobId}/excludedObjects"
2889
2332
  method = "GET"
2890
2333
  operation_name = "list_excluded_objects"
2891
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/ExcludedObjectSummary/ListExcludedObjects"
2334
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/ExcludedObjectSummary/ListExcludedObjects"
2892
2335
 
2893
2336
  # Don't accept unknown kwargs
2894
2337
  expected_kwargs = [
@@ -3035,14 +2478,14 @@ class DatabaseMigrationClient(object):
3035
2478
  :rtype: :class:`~oci.response.Response`
3036
2479
 
3037
2480
  :example:
3038
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/list_job_outputs.py.html>`__ to see an example of how to use list_job_outputs API.
2481
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/list_job_outputs.py.html>`__ to see an example of how to use list_job_outputs API.
3039
2482
  """
3040
2483
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3041
2484
  required_arguments = ['jobId']
3042
2485
  resource_path = "/jobs/{jobId}/output"
3043
2486
  method = "GET"
3044
2487
  operation_name = "list_job_outputs"
3045
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/JobOutputSummary/ListJobOutputs"
2488
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/JobOutputSummary/ListJobOutputs"
3046
2489
 
3047
2490
  # Don't accept unknown kwargs
3048
2491
  expected_kwargs = [
@@ -3170,14 +2613,14 @@ class DatabaseMigrationClient(object):
3170
2613
  :rtype: :class:`~oci.response.Response`
3171
2614
 
3172
2615
  :example:
3173
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/list_jobs.py.html>`__ to see an example of how to use list_jobs API.
2616
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/list_jobs.py.html>`__ to see an example of how to use list_jobs API.
3174
2617
  """
3175
2618
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3176
2619
  required_arguments = ['migrationId']
3177
2620
  resource_path = "/jobs"
3178
2621
  method = "GET"
3179
2622
  operation_name = "list_jobs"
3180
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/JobSummary/ListJobs"
2623
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/JobSummary/ListJobs"
3181
2624
 
3182
2625
  # Don't accept unknown kwargs
3183
2626
  expected_kwargs = [
@@ -3269,11 +2712,16 @@ class DatabaseMigrationClient(object):
3269
2712
  api_reference_link=api_reference_link,
3270
2713
  required_arguments=required_arguments)
3271
2714
 
3272
- def list_migration_object_types(self, **kwargs):
2715
+ def list_migration_object_types(self, connection_type, **kwargs):
3273
2716
  """
3274
2717
  Display sample object types to exclude or include for a Migration.
3275
2718
 
3276
2719
 
2720
+ :param str connection_type: (required)
2721
+ The connection type for migration objects.
2722
+
2723
+ Allowed values are: "MYSQL", "ORACLE"
2724
+
3277
2725
  :param str opc_request_id: (optional)
3278
2726
  Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
3279
2727
  particular request, please provide the request ID.
@@ -3311,14 +2759,14 @@ class DatabaseMigrationClient(object):
3311
2759
  :rtype: :class:`~oci.response.Response`
3312
2760
 
3313
2761
  :example:
3314
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/list_migration_object_types.py.html>`__ to see an example of how to use list_migration_object_types API.
2762
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/list_migration_object_types.py.html>`__ to see an example of how to use list_migration_object_types API.
3315
2763
  """
3316
2764
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3317
- required_arguments = []
2765
+ required_arguments = ['connectionType']
3318
2766
  resource_path = "/migrationObjectTypes"
3319
2767
  method = "GET"
3320
2768
  operation_name = "list_migration_object_types"
3321
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/MigrationObjectTypeSummary/ListMigrationObjectTypes"
2769
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/MigrationObjectTypeSummary/ListMigrationObjectTypes"
3322
2770
 
3323
2771
  # Don't accept unknown kwargs
3324
2772
  expected_kwargs = [
@@ -3349,11 +2797,18 @@ class DatabaseMigrationClient(object):
3349
2797
  f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
3350
2798
  )
3351
2799
 
2800
+ connection_type_allowed_values = ["MYSQL", "ORACLE"]
2801
+ if connection_type not in connection_type_allowed_values:
2802
+ raise ValueError(
2803
+ f"Invalid value for `connection_type`, must be one of { connection_type_allowed_values }"
2804
+ )
2805
+
3352
2806
  query_params = {
3353
2807
  "sortBy": kwargs.get("sort_by", missing),
3354
2808
  "sortOrder": kwargs.get("sort_order", missing),
3355
2809
  "limit": kwargs.get("limit", missing),
3356
- "page": kwargs.get("page", missing)
2810
+ "page": kwargs.get("page", missing),
2811
+ "connectionType": connection_type
3357
2812
  }
3358
2813
  query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
3359
2814
 
@@ -3439,14 +2894,14 @@ class DatabaseMigrationClient(object):
3439
2894
  :rtype: :class:`~oci.response.Response`
3440
2895
 
3441
2896
  :example:
3442
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/list_migration_objects.py.html>`__ to see an example of how to use list_migration_objects API.
2897
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/list_migration_objects.py.html>`__ to see an example of how to use list_migration_objects API.
3443
2898
  """
3444
2899
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3445
2900
  required_arguments = ['migrationId']
3446
2901
  resource_path = "/migrations/{migrationId}/migrationObjects"
3447
2902
  method = "GET"
3448
2903
  operation_name = "list_migration_objects"
3449
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/MigrationObjectCollection/ListMigrationObjects"
2904
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/MigrationObjectCollection/ListMigrationObjects"
3450
2905
 
3451
2906
  # Don't accept unknown kwargs
3452
2907
  expected_kwargs = [
@@ -3522,6 +2977,163 @@ class DatabaseMigrationClient(object):
3522
2977
  api_reference_link=api_reference_link,
3523
2978
  required_arguments=required_arguments)
3524
2979
 
2980
+ def list_migration_parameters(self, **kwargs):
2981
+ """
2982
+ List of parameters that can be used to customize migrations.
2983
+
2984
+
2985
+ :param str opc_request_id: (optional)
2986
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
2987
+ particular request, please provide the request ID.
2988
+
2989
+ :param str migration_type: (optional)
2990
+ A filter to return only resources that match a certain Migration Type.
2991
+
2992
+ Allowed values are: "ONLINE", "OFFLINE"
2993
+
2994
+ :param str database_combination: (optional)
2995
+ A filter to return only resources that match a certain Database Combination.
2996
+
2997
+ Allowed values are: "MYSQL", "ORACLE"
2998
+
2999
+ :param int limit: (optional)
3000
+ The maximum number of items to return.
3001
+
3002
+ :param str page: (optional)
3003
+ The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
3004
+
3005
+ :param str sort_by: (optional)
3006
+ The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
3007
+ Default order for displayName is ascending. If no value is specified timeCreated is default.
3008
+
3009
+ Allowed values are: "timeCreated", "displayName"
3010
+
3011
+ :param str sort_order: (optional)
3012
+ The sort order to use, either 'asc' or 'desc'.
3013
+
3014
+ Allowed values are: "ASC", "DESC"
3015
+
3016
+ :param obj retry_strategy: (optional)
3017
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
3018
+
3019
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
3020
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
3021
+
3022
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
3023
+
3024
+ :param bool allow_control_chars: (optional)
3025
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
3026
+ By default, the response will not allow control characters in strings
3027
+
3028
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_migration.models.MigrationParameterSummaryCollection`
3029
+ :rtype: :class:`~oci.response.Response`
3030
+
3031
+ :example:
3032
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/list_migration_parameters.py.html>`__ to see an example of how to use list_migration_parameters API.
3033
+ """
3034
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3035
+ required_arguments = []
3036
+ resource_path = "/migrationParameters"
3037
+ method = "GET"
3038
+ operation_name = "list_migration_parameters"
3039
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/MigrationParameterSummary/ListMigrationParameters"
3040
+
3041
+ # Don't accept unknown kwargs
3042
+ expected_kwargs = [
3043
+ "allow_control_chars",
3044
+ "retry_strategy",
3045
+ "opc_request_id",
3046
+ "migration_type",
3047
+ "database_combination",
3048
+ "limit",
3049
+ "page",
3050
+ "sort_by",
3051
+ "sort_order"
3052
+ ]
3053
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3054
+ if extra_kwargs:
3055
+ raise ValueError(
3056
+ f"list_migration_parameters got unknown kwargs: {extra_kwargs!r}")
3057
+
3058
+ if 'migration_type' in kwargs:
3059
+ migration_type_allowed_values = ["ONLINE", "OFFLINE"]
3060
+ if kwargs['migration_type'] not in migration_type_allowed_values:
3061
+ raise ValueError(
3062
+ f"Invalid value for `migration_type`, must be one of { migration_type_allowed_values }"
3063
+ )
3064
+
3065
+ if 'database_combination' in kwargs:
3066
+ database_combination_allowed_values = ["MYSQL", "ORACLE"]
3067
+ if kwargs['database_combination'] not in database_combination_allowed_values:
3068
+ raise ValueError(
3069
+ f"Invalid value for `database_combination`, must be one of { database_combination_allowed_values }"
3070
+ )
3071
+
3072
+ if 'sort_by' in kwargs:
3073
+ sort_by_allowed_values = ["timeCreated", "displayName"]
3074
+ if kwargs['sort_by'] not in sort_by_allowed_values:
3075
+ raise ValueError(
3076
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
3077
+ )
3078
+
3079
+ if 'sort_order' in kwargs:
3080
+ sort_order_allowed_values = ["ASC", "DESC"]
3081
+ if kwargs['sort_order'] not in sort_order_allowed_values:
3082
+ raise ValueError(
3083
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
3084
+ )
3085
+
3086
+ query_params = {
3087
+ "migrationType": kwargs.get("migration_type", missing),
3088
+ "databaseCombination": kwargs.get("database_combination", missing),
3089
+ "limit": kwargs.get("limit", missing),
3090
+ "page": kwargs.get("page", missing),
3091
+ "sortBy": kwargs.get("sort_by", missing),
3092
+ "sortOrder": kwargs.get("sort_order", missing)
3093
+ }
3094
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
3095
+
3096
+ header_params = {
3097
+ "accept": "application/json",
3098
+ "content-type": "application/json",
3099
+ "opc-request-id": kwargs.get("opc_request_id", missing)
3100
+ }
3101
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
3102
+
3103
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
3104
+ operation_retry_strategy=kwargs.get('retry_strategy'),
3105
+ client_retry_strategy=self.retry_strategy
3106
+ )
3107
+ if retry_strategy is None:
3108
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
3109
+
3110
+ if retry_strategy:
3111
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
3112
+ self.base_client.add_opc_client_retries_header(header_params)
3113
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
3114
+ return retry_strategy.make_retrying_call(
3115
+ self.base_client.call_api,
3116
+ resource_path=resource_path,
3117
+ method=method,
3118
+ query_params=query_params,
3119
+ header_params=header_params,
3120
+ response_type="MigrationParameterSummaryCollection",
3121
+ allow_control_chars=kwargs.get('allow_control_chars'),
3122
+ operation_name=operation_name,
3123
+ api_reference_link=api_reference_link,
3124
+ required_arguments=required_arguments)
3125
+ else:
3126
+ return self.base_client.call_api(
3127
+ resource_path=resource_path,
3128
+ method=method,
3129
+ query_params=query_params,
3130
+ header_params=header_params,
3131
+ response_type="MigrationParameterSummaryCollection",
3132
+ allow_control_chars=kwargs.get('allow_control_chars'),
3133
+ operation_name=operation_name,
3134
+ api_reference_link=api_reference_link,
3135
+ required_arguments=required_arguments)
3136
+
3525
3137
  def list_migrations(self, compartment_id, **kwargs):
3526
3138
  """
3527
3139
  List all Migrations.
@@ -3580,14 +3192,14 @@ class DatabaseMigrationClient(object):
3580
3192
  :rtype: :class:`~oci.response.Response`
3581
3193
 
3582
3194
  :example:
3583
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/list_migrations.py.html>`__ to see an example of how to use list_migrations API.
3195
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/list_migrations.py.html>`__ to see an example of how to use list_migrations API.
3584
3196
  """
3585
3197
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3586
3198
  required_arguments = ['compartmentId']
3587
3199
  resource_path = "/migrations"
3588
3200
  method = "GET"
3589
3201
  operation_name = "list_migrations"
3590
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/MigrationSummary/ListMigrations"
3202
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/MigrationSummary/ListMigrations"
3591
3203
 
3592
3204
  # Don't accept unknown kwargs
3593
3205
  expected_kwargs = [
@@ -3732,14 +3344,14 @@ class DatabaseMigrationClient(object):
3732
3344
  :rtype: :class:`~oci.response.Response`
3733
3345
 
3734
3346
  :example:
3735
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
3347
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
3736
3348
  """
3737
3349
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3738
3350
  required_arguments = ['workRequestId']
3739
3351
  resource_path = "/workRequests/{workRequestId}/errors"
3740
3352
  method = "GET"
3741
3353
  operation_name = "list_work_request_errors"
3742
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/WorkRequestError/ListWorkRequestErrors"
3354
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/WorkRequestError/ListWorkRequestErrors"
3743
3355
 
3744
3356
  # Don't accept unknown kwargs
3745
3357
  expected_kwargs = [
@@ -3875,14 +3487,14 @@ class DatabaseMigrationClient(object):
3875
3487
  :rtype: :class:`~oci.response.Response`
3876
3488
 
3877
3489
  :example:
3878
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
3490
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
3879
3491
  """
3880
3492
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3881
3493
  required_arguments = ['workRequestId']
3882
3494
  resource_path = "/workRequests/{workRequestId}/logs"
3883
3495
  method = "GET"
3884
3496
  operation_name = "list_work_request_logs"
3885
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/WorkRequestLogEntry/ListWorkRequestLogs"
3497
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/WorkRequestLogEntry/ListWorkRequestLogs"
3886
3498
 
3887
3499
  # Don't accept unknown kwargs
3888
3500
  expected_kwargs = [
@@ -4028,14 +3640,14 @@ class DatabaseMigrationClient(object):
4028
3640
  :rtype: :class:`~oci.response.Response`
4029
3641
 
4030
3642
  :example:
4031
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
3643
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
4032
3644
  """
4033
3645
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4034
3646
  required_arguments = ['compartmentId']
4035
3647
  resource_path = "/workRequests"
4036
3648
  method = "GET"
4037
3649
  operation_name = "list_work_requests"
4038
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/WorkRequestSummary/ListWorkRequests"
3650
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/WorkRequestSummary/ListWorkRequests"
4039
3651
 
4040
3652
  # Don't accept unknown kwargs
4041
3653
  expected_kwargs = [
@@ -4165,14 +3777,14 @@ class DatabaseMigrationClient(object):
4165
3777
  :rtype: :class:`~oci.response.Response`
4166
3778
 
4167
3779
  :example:
4168
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/remove_migration_objects.py.html>`__ to see an example of how to use remove_migration_objects API.
3780
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/remove_migration_objects.py.html>`__ to see an example of how to use remove_migration_objects API.
4169
3781
  """
4170
3782
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4171
3783
  required_arguments = ['migrationId']
4172
3784
  resource_path = "/migrations/{migrationId}/actions/removeMigrationObjects"
4173
3785
  method = "POST"
4174
3786
  operation_name = "remove_migration_objects"
4175
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Migration/RemoveMigrationObjects"
3787
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Migration/RemoveMigrationObjects"
4176
3788
 
4177
3789
  # Don't accept unknown kwargs
4178
3790
  expected_kwargs = [
@@ -4283,14 +3895,14 @@ class DatabaseMigrationClient(object):
4283
3895
  :rtype: :class:`~oci.response.Response`
4284
3896
 
4285
3897
  :example:
4286
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/resume_job.py.html>`__ to see an example of how to use resume_job API.
3898
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/resume_job.py.html>`__ to see an example of how to use resume_job API.
4287
3899
  """
4288
3900
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4289
3901
  required_arguments = ['jobId']
4290
3902
  resource_path = "/jobs/{jobId}/actions/resume"
4291
3903
  method = "POST"
4292
3904
  operation_name = "resume_job"
4293
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/ResumeJob"
3905
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/ResumeJob"
4294
3906
 
4295
3907
  # Don't accept unknown kwargs
4296
3908
  expected_kwargs = [
@@ -4390,14 +4002,14 @@ class DatabaseMigrationClient(object):
4390
4002
  :rtype: :class:`~oci.response.Response`
4391
4003
 
4392
4004
  :example:
4393
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/retrieve_supported_phases.py.html>`__ to see an example of how to use retrieve_supported_phases API.
4005
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/retrieve_supported_phases.py.html>`__ to see an example of how to use retrieve_supported_phases API.
4394
4006
  """
4395
4007
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4396
4008
  required_arguments = ['migrationId']
4397
4009
  resource_path = "/migrations/{migrationId}/actions/getSupportedPhases"
4398
4010
  method = "POST"
4399
4011
  operation_name = "retrieve_supported_phases"
4400
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Migration/RetrieveSupportedPhases"
4012
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Migration/RetrieveSupportedPhases"
4401
4013
 
4402
4014
  # Don't accept unknown kwargs
4403
4015
  expected_kwargs = [
@@ -4506,14 +4118,14 @@ class DatabaseMigrationClient(object):
4506
4118
  :rtype: :class:`~oci.response.Response`
4507
4119
 
4508
4120
  :example:
4509
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/start_migration.py.html>`__ to see an example of how to use start_migration API.
4121
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/start_migration.py.html>`__ to see an example of how to use start_migration API.
4510
4122
  """
4511
4123
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4512
4124
  required_arguments = ['migrationId']
4513
4125
  resource_path = "/migrations/{migrationId}/actions/start"
4514
4126
  method = "POST"
4515
4127
  operation_name = "start_migration"
4516
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/StartMigration"
4128
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/StartMigration"
4517
4129
 
4518
4130
  # Don't accept unknown kwargs
4519
4131
  expected_kwargs = [
@@ -4585,136 +4197,13 @@ class DatabaseMigrationClient(object):
4585
4197
  api_reference_link=api_reference_link,
4586
4198
  required_arguments=required_arguments)
4587
4199
 
4588
- def update_agent(self, agent_id, update_agent_details, **kwargs):
4589
- """
4590
- Modifies the ODMS Agent represented by the given ODMS Agent ID.
4591
-
4592
-
4593
- :param str agent_id: (required)
4594
- The OCID of the agent
4595
-
4596
- :param oci.database_migration.models.UpdateAgentDetails update_agent_details: (required)
4597
- Update ODMS Agent properties.
4598
-
4599
- :param str opc_request_id: (optional)
4600
- Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
4601
- particular request, please provide the request ID.
4602
-
4603
- :param str opc_retry_token: (optional)
4604
- A token that uniquely identifies a request so it can be retried in case of a timeout or
4605
- server error without risk of executing that same action again. Retry tokens expire after 24
4606
- hours, but can be invalidated before then due to conflicting operations. For example, if a resource
4607
- has been deleted and purged from the system, then a retry of the original creation request
4608
- might be rejected.
4609
-
4610
- :param str if_match: (optional)
4611
- For optimistic concurrency control. In the PUT or DELETE call
4612
- for a resource, set the `if-match` parameter to the value of the
4613
- etag from a previous GET or POST response for that resource.
4614
- The resource will be updated or deleted only if the etag you
4615
- provide matches the resource's current etag value.
4616
-
4617
- :param obj retry_strategy: (optional)
4618
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
4619
-
4620
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
4621
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
4622
-
4623
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
4624
-
4625
- :param bool allow_control_chars: (optional)
4626
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
4627
- By default, the response will not allow control characters in strings
4628
-
4629
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_migration.models.Agent`
4630
- :rtype: :class:`~oci.response.Response`
4631
-
4632
- :example:
4633
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/update_agent.py.html>`__ to see an example of how to use update_agent API.
4634
- """
4635
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4636
- required_arguments = ['agentId']
4637
- resource_path = "/agents/{agentId}"
4638
- method = "PUT"
4639
- operation_name = "update_agent"
4640
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Agent/UpdateAgent"
4641
-
4642
- # Don't accept unknown kwargs
4643
- expected_kwargs = [
4644
- "allow_control_chars",
4645
- "retry_strategy",
4646
- "opc_request_id",
4647
- "opc_retry_token",
4648
- "if_match"
4649
- ]
4650
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
4651
- if extra_kwargs:
4652
- raise ValueError(
4653
- f"update_agent got unknown kwargs: {extra_kwargs!r}")
4654
-
4655
- path_params = {
4656
- "agentId": agent_id
4657
- }
4658
-
4659
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
4660
-
4661
- for (k, v) in six.iteritems(path_params):
4662
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
4663
- raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
4664
-
4665
- header_params = {
4666
- "accept": "application/json",
4667
- "content-type": "application/json",
4668
- "opc-request-id": kwargs.get("opc_request_id", missing),
4669
- "opc-retry-token": kwargs.get("opc_retry_token", missing),
4670
- "if-match": kwargs.get("if_match", missing)
4671
- }
4672
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
4673
-
4674
- retry_strategy = self.base_client.get_preferred_retry_strategy(
4675
- operation_retry_strategy=kwargs.get('retry_strategy'),
4676
- client_retry_strategy=self.retry_strategy
4677
- )
4678
- if retry_strategy is None:
4679
- retry_strategy = retry.DEFAULT_RETRY_STRATEGY
4680
-
4681
- if retry_strategy:
4682
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
4683
- self.base_client.add_opc_retry_token_if_needed(header_params)
4684
- self.base_client.add_opc_client_retries_header(header_params)
4685
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
4686
- return retry_strategy.make_retrying_call(
4687
- self.base_client.call_api,
4688
- resource_path=resource_path,
4689
- method=method,
4690
- path_params=path_params,
4691
- header_params=header_params,
4692
- body=update_agent_details,
4693
- response_type="Agent",
4694
- allow_control_chars=kwargs.get('allow_control_chars'),
4695
- operation_name=operation_name,
4696
- api_reference_link=api_reference_link,
4697
- required_arguments=required_arguments)
4698
- else:
4699
- return self.base_client.call_api(
4700
- resource_path=resource_path,
4701
- method=method,
4702
- path_params=path_params,
4703
- header_params=header_params,
4704
- body=update_agent_details,
4705
- response_type="Agent",
4706
- allow_control_chars=kwargs.get('allow_control_chars'),
4707
- operation_name=operation_name,
4708
- api_reference_link=api_reference_link,
4709
- required_arguments=required_arguments)
4710
-
4711
4200
  def update_connection(self, connection_id, update_connection_details, **kwargs):
4712
4201
  """
4713
4202
  Update Database Connection resource details.
4714
4203
 
4715
4204
 
4716
4205
  :param str connection_id: (required)
4717
- The OCID of the database connection
4206
+ The OCID of the database connection.
4718
4207
 
4719
4208
  :param oci.database_migration.models.UpdateConnectionDetails update_connection_details: (required)
4720
4209
  Database Connection properties.
@@ -4746,14 +4235,14 @@ class DatabaseMigrationClient(object):
4746
4235
  :rtype: :class:`~oci.response.Response`
4747
4236
 
4748
4237
  :example:
4749
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/update_connection.py.html>`__ to see an example of how to use update_connection API.
4238
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/update_connection.py.html>`__ to see an example of how to use update_connection API.
4750
4239
  """
4751
4240
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4752
4241
  required_arguments = ['connectionId']
4753
4242
  resource_path = "/connections/{connectionId}"
4754
4243
  method = "PUT"
4755
4244
  operation_name = "update_connection"
4756
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Connection/UpdateConnection"
4245
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Connection/UpdateConnection"
4757
4246
 
4758
4247
  # Don't accept unknown kwargs
4759
4248
  expected_kwargs = [
@@ -4857,14 +4346,14 @@ class DatabaseMigrationClient(object):
4857
4346
  :rtype: :class:`~oci.response.Response`
4858
4347
 
4859
4348
  :example:
4860
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/update_job.py.html>`__ to see an example of how to use update_job API.
4349
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/update_job.py.html>`__ to see an example of how to use update_job API.
4861
4350
  """
4862
4351
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4863
4352
  required_arguments = ['jobId']
4864
4353
  resource_path = "/jobs/{jobId}"
4865
4354
  method = "PUT"
4866
4355
  operation_name = "update_job"
4867
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Job/UpdateJob"
4356
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/UpdateJob"
4868
4357
 
4869
4358
  # Don't accept unknown kwargs
4870
4359
  expected_kwargs = [
@@ -4970,14 +4459,14 @@ class DatabaseMigrationClient(object):
4970
4459
  :rtype: :class:`~oci.response.Response`
4971
4460
 
4972
4461
  :example:
4973
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.2/databasemigration/update_migration.py.html>`__ to see an example of how to use update_migration API.
4462
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.10/databasemigration/update_migration.py.html>`__ to see an example of how to use update_migration API.
4974
4463
  """
4975
4464
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4976
4465
  required_arguments = ['migrationId']
4977
4466
  resource_path = "/migrations/{migrationId}"
4978
4467
  method = "PUT"
4979
4468
  operation_name = "update_migration"
4980
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20210929/Migration/UpdateMigration"
4469
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Migration/UpdateMigration"
4981
4470
 
4982
4471
  # Don't accept unknown kwargs
4983
4472
  expected_kwargs = [