oci 2.129.3__py3-none-any.whl → 2.130.0__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 (507) 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 +870 -87
  7. oci/ai_speech/ai_service_speech_client_composite_operations.py +146 -0
  8. oci/ai_speech/models/__init__.py +70 -0
  9. oci/ai_speech/models/change_customization_compartment_details.py +78 -0
  10. oci/ai_speech/models/create_customization_details.py +289 -0
  11. oci/ai_speech/models/create_realtime_session_token_details.py +142 -0
  12. oci/ai_speech/models/customization.py +544 -0
  13. oci/ai_speech/models/customization_collection.py +72 -0
  14. oci/ai_speech/models/customization_dataset_details.py +109 -0
  15. oci/ai_speech/models/customization_inference.py +173 -0
  16. oci/ai_speech/models/customization_inference_entity.py +138 -0
  17. oci/ai_speech/models/customization_model_details.py +139 -0
  18. oci/ai_speech/models/customization_referenced_entities.py +134 -0
  19. oci/ai_speech/models/customization_summary.py +396 -0
  20. oci/ai_speech/models/entity.py +134 -0
  21. oci/ai_speech/models/entity_list.py +166 -0
  22. oci/ai_speech/models/entity_list_dataset.py +115 -0
  23. oci/ai_speech/models/location_details.py +101 -0
  24. oci/ai_speech/models/object_list_dataset.py +144 -0
  25. oci/ai_speech/models/object_storage_dataset.py +109 -0
  26. oci/ai_speech/models/pronunciation.py +99 -0
  27. oci/ai_speech/models/realtime_message.py +168 -0
  28. oci/ai_speech/models/realtime_message_ack_audio.py +85 -0
  29. oci/ai_speech/models/realtime_message_ack_audio_details.py +134 -0
  30. oci/ai_speech/models/realtime_message_authentication.py +140 -0
  31. oci/ai_speech/models/realtime_message_authentication_credentials.py +89 -0
  32. oci/ai_speech/models/realtime_message_authentication_token.py +89 -0
  33. oci/ai_speech/models/realtime_message_connect.py +58 -0
  34. oci/ai_speech/models/realtime_message_error.py +120 -0
  35. oci/ai_speech/models/realtime_message_out.py +103 -0
  36. oci/ai_speech/models/realtime_message_result.py +89 -0
  37. oci/ai_speech/models/realtime_message_result_transcription.py +258 -0
  38. oci/ai_speech/models/realtime_message_result_transcription_token.py +212 -0
  39. oci/ai_speech/models/realtime_message_send_final_result.py +51 -0
  40. oci/ai_speech/models/realtime_model_details.py +139 -0
  41. oci/ai_speech/models/realtime_parameters.py +390 -0
  42. oci/ai_speech/models/realtime_session_token.py +200 -0
  43. oci/ai_speech/models/update_customization_details.py +254 -0
  44. oci/ai_vision/ai_service_vision_client.py +25 -25
  45. oci/analytics/analytics_client.py +23 -23
  46. oci/announcements_service/announcement_client.py +4 -4
  47. oci/announcements_service/announcement_subscription_client.py +9 -9
  48. oci/announcements_service/announcements_preferences_client.py +4 -4
  49. oci/apigateway/api_gateway_client.py +21 -21
  50. oci/apigateway/deployment_client.py +6 -6
  51. oci/apigateway/gateway_client.py +6 -6
  52. oci/apigateway/subscribers_client.py +6 -6
  53. oci/apigateway/usage_plans_client.py +6 -6
  54. oci/apigateway/work_requests_client.py +5 -5
  55. oci/apm_config/config_client.py +9 -9
  56. oci/apm_control_plane/apm_domain_client.py +14 -14
  57. oci/apm_synthetics/apm_synthetic_client.py +29 -29
  58. oci/apm_synthetics/models/__init__.py +14 -0
  59. oci/apm_synthetics/models/basic_authentication_details.py +99 -0
  60. oci/apm_synthetics/models/browser_monitor_configuration.py +1 -1
  61. oci/apm_synthetics/models/create_monitor_details.py +48 -9
  62. oci/apm_synthetics/models/database_wallet_details.py +103 -0
  63. oci/apm_synthetics/models/dns_sec_monitor_configuration.py +1 -1
  64. oci/apm_synthetics/models/dns_server_monitor_configuration.py +1 -1
  65. oci/apm_synthetics/models/dns_trace_monitor_configuration.py +1 -1
  66. oci/apm_synthetics/models/ftp_monitor_configuration.py +379 -0
  67. oci/apm_synthetics/models/monitor.py +112 -11
  68. oci/apm_synthetics/models/monitor_configuration.py +19 -3
  69. oci/apm_synthetics/models/monitor_summary.py +112 -11
  70. oci/apm_synthetics/models/network_monitor_configuration.py +1 -1
  71. oci/apm_synthetics/models/password.py +109 -0
  72. oci/apm_synthetics/models/password_in_text.py +82 -0
  73. oci/apm_synthetics/models/password_in_vault.py +83 -0
  74. oci/apm_synthetics/models/rest_monitor_configuration.py +1 -1
  75. oci/apm_synthetics/models/scripted_browser_monitor_configuration.py +1 -1
  76. oci/apm_synthetics/models/scripted_rest_monitor_configuration.py +1 -1
  77. oci/apm_synthetics/models/sql_monitor_configuration.py +307 -0
  78. oci/apm_synthetics/models/update_monitor_details.py +37 -6
  79. oci/apm_synthetics/models/vantage_point_info.py +33 -2
  80. oci/apm_synthetics/models/worker_monitor_list.py +11 -3
  81. oci/apm_traces/attributes_client.py +8 -8
  82. oci/apm_traces/query_client.py +2 -2
  83. oci/apm_traces/trace_client.py +4 -4
  84. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  85. oci/artifacts/artifacts_client.py +32 -32
  86. oci/audit/audit_client.py +3 -3
  87. oci/auth/certificate_retriever.py +13 -6
  88. oci/auth/signers/ephemeral_resource_principals_v21_signer.py +38 -5
  89. oci/auth/signers/instance_principals_security_token_signer.py +1 -1
  90. oci/auth/signers/key_pair_signer.py +2 -2
  91. oci/auth/signers/resource_principals_signer.py +17 -5
  92. oci/autoscaling/auto_scaling_client.py +11 -11
  93. oci/bastion/bastion_client.py +15 -15
  94. oci/bds/bds_client.py +66 -66
  95. oci/blockchain/blockchain_platform_client.py +27 -27
  96. oci/budget/budget_client.py +10 -10
  97. oci/capacity_management/capacity_management_client.py +22 -22
  98. oci/certificates/certificates_client.py +5 -5
  99. oci/certificates_management/certificates_management_client.py +32 -32
  100. oci/cims/incident_client.py +8 -8
  101. oci/cims/user_client.py +1 -1
  102. oci/cloud_bridge/common_client.py +5 -5
  103. oci/cloud_bridge/discovery_client.py +14 -14
  104. oci/cloud_bridge/inventory_client.py +16 -16
  105. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  106. oci/cloud_guard/cloud_guard_client.py +155 -155
  107. oci/cloud_migrations/migration_client.py +43 -43
  108. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  109. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  110. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  111. oci/compute_instance_agent/plugin_client.py +2 -2
  112. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  113. oci/container_engine/container_engine_client.py +44 -44
  114. oci/container_instances/container_instance_client.py +18 -18
  115. oci/core/blockstorage_client.py +60 -60
  116. oci/core/compute_client.py +508 -99
  117. oci/core/compute_client_composite_operations.py +39 -0
  118. oci/core/compute_management_client.py +32 -32
  119. oci/core/models/__init__.py +6 -0
  120. oci/core/models/instance_maintenance_event.py +1022 -0
  121. oci/core/models/instance_maintenance_event_summary.py +795 -0
  122. oci/core/models/update_instance_maintenance_event_details.py +281 -0
  123. oci/core/virtual_network_client.py +247 -247
  124. oci/dashboard_service/dashboard_client.py +6 -6
  125. oci/dashboard_service/dashboard_group_client.py +6 -6
  126. oci/data_catalog/data_catalog_client.py +149 -149
  127. oci/data_flow/data_flow_client.py +42 -42
  128. oci/data_integration/data_integration_client.py +163 -163
  129. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  130. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  131. oci/data_safe/data_safe_client.py +3762 -2702
  132. oci/data_safe/data_safe_client_composite_operations.py +307 -0
  133. oci/data_safe/models/__init__.py +14 -0
  134. oci/data_safe/models/alert.py +62 -0
  135. oci/data_safe/models/alert_policy.py +31 -0
  136. oci/data_safe/models/alert_policy_rule.py +127 -2
  137. oci/data_safe/models/alert_policy_rule_summary.py +127 -2
  138. oci/data_safe/models/alert_policy_summary.py +31 -0
  139. oci/data_safe/models/alert_summary.py +62 -0
  140. oci/data_safe/models/audit_event_summary.py +62 -0
  141. oci/data_safe/models/create_alert_policy_details.py +31 -0
  142. oci/data_safe/models/create_alert_policy_rule_details.py +33 -2
  143. oci/data_safe/models/create_discovery_job_details.py +33 -0
  144. oci/data_safe/models/create_security_assessment_details.py +31 -0
  145. oci/data_safe/models/create_sensitive_data_model_details.py +35 -0
  146. oci/data_safe/models/create_user_assessment_details.py +31 -0
  147. oci/data_safe/models/discovery_job.py +31 -0
  148. oci/data_safe/models/finding_summary.py +31 -0
  149. oci/data_safe/models/generate_report_details.py +2 -2
  150. oci/data_safe/models/references.py +34 -3
  151. oci/data_safe/models/report.py +44 -5
  152. oci/data_safe/models/report_definition.py +40 -5
  153. oci/data_safe/models/report_definition_summary.py +7 -3
  154. oci/data_safe/models/report_summary.py +13 -5
  155. oci/data_safe/models/schedule_report_details.py +2 -2
  156. oci/data_safe/models/security_assessment.py +31 -0
  157. oci/data_safe/models/sensitive_data_model.py +35 -0
  158. oci/data_safe/models/sensitive_data_model_sensitive_type_collection.py +72 -0
  159. oci/data_safe/models/sensitive_data_model_sensitive_type_summary.py +103 -0
  160. oci/data_safe/models/sql_firewall_allowed_sql.py +626 -0
  161. oci/data_safe/models/sql_firewall_allowed_sql_dimensions.py +7 -3
  162. oci/data_safe/models/sql_firewall_allowed_sql_summary.py +7 -3
  163. oci/data_safe/models/tables_for_discovery.py +103 -0
  164. oci/data_safe/models/target_alert_policy_association.py +31 -0
  165. oci/data_safe/models/target_alert_policy_association_summary.py +31 -0
  166. oci/data_safe/models/unset_security_assessment_baseline_details.py +72 -0
  167. oci/data_safe/models/unset_user_assessment_baseline_details.py +72 -0
  168. oci/data_safe/models/update_alert_policy_details.py +240 -0
  169. oci/data_safe/models/update_alert_policy_rule_details.py +33 -2
  170. oci/data_safe/models/update_security_assessment_details.py +31 -0
  171. oci/data_safe/models/update_sensitive_data_model_details.py +35 -0
  172. oci/data_safe/models/update_user_assessment_details.py +31 -0
  173. oci/data_safe/models/user_assessment.py +31 -0
  174. oci/data_safe/models/user_assessment_summary.py +31 -0
  175. oci/data_safe/models/work_request.py +39 -3
  176. oci/data_safe/models/work_request_summary.py +39 -3
  177. oci/data_science/data_science_client.py +91 -91
  178. oci/database/database_client.py +707 -353
  179. oci/database/database_client_composite_operations.py +123 -0
  180. oci/database/models/__init__.py +8 -0
  181. oci/database/models/autonomous_database.py +103 -2
  182. oci/database/models/autonomous_database_summary.py +103 -2
  183. oci/database/models/change_autonomous_database_subscription_details.py +107 -0
  184. oci/database/models/change_cloud_exadata_infrastructure_subscription_details.py +107 -0
  185. oci/database/models/change_cloud_vm_cluster_subscription_details.py +107 -0
  186. oci/database/models/change_subscription_details.py +107 -0
  187. oci/database/models/cloud_exadata_infrastructure.py +35 -0
  188. oci/database/models/cloud_exadata_infrastructure_summary.py +35 -0
  189. oci/database/models/cloud_vm_cluster.py +35 -0
  190. oci/database/models/cloud_vm_cluster_summary.py +35 -0
  191. oci/database/models/create_autonomous_database_base.py +66 -0
  192. oci/database/models/create_autonomous_database_clone_details.py +14 -0
  193. oci/database/models/create_autonomous_database_details.py +14 -0
  194. oci/database/models/create_autonomous_database_from_backup_details.py +14 -0
  195. oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +14 -0
  196. oci/database/models/create_cloud_exadata_infrastructure_details.py +35 -0
  197. oci/database/models/create_cloud_vm_cluster_details.py +35 -0
  198. oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +14 -0
  199. oci/database/models/create_cross_region_disaster_recovery_details.py +14 -0
  200. oci/database/models/create_cross_tenancy_disaster_recovery_details.py +14 -0
  201. oci/database/models/create_refreshable_autonomous_database_clone_details.py +14 -0
  202. oci/database/models/update_autonomous_database_details.py +31 -0
  203. oci/database_management/db_management_client.py +208 -208
  204. oci/database_management/diagnosability_client.py +4 -4
  205. oci/database_management/managed_my_sql_databases_client.py +7 -7
  206. oci/database_management/perfhub_client.py +1 -1
  207. oci/database_management/sql_tuning_client.py +17 -17
  208. oci/database_migration/database_migration_client.py +792 -66
  209. oci/database_migration/database_migration_client_composite_operations.py +179 -0
  210. oci/database_migration/models/__init__.py +8 -0
  211. oci/database_migration/models/adb_dedicated_auto_create_tablespace_details.py +11 -3
  212. oci/database_migration/models/create_adb_dedicated_auto_create_tablespace_details.py +11 -3
  213. oci/database_migration/models/create_non_adb_auto_create_tablespace_details.py +11 -3
  214. oci/database_migration/models/create_parameter_file_version_details.py +181 -0
  215. oci/database_migration/models/job.py +31 -0
  216. oci/database_migration/models/non_adb_auto_create_tablespace_details.py +11 -3
  217. oci/database_migration/models/parameter_file_version.py +274 -0
  218. oci/database_migration/models/parameter_file_version_collection.py +72 -0
  219. oci/database_migration/models/parameter_file_version_summary.py +342 -0
  220. oci/database_migration/models/phase_status.py +80 -2
  221. oci/database_migration/models/update_adb_dedicated_auto_create_tablespace_details.py +11 -3
  222. oci/database_migration/models/update_non_adb_auto_create_tablespace_details.py +11 -3
  223. oci/database_tools/database_tools_client.py +23 -23
  224. oci/demand_signal/occ_demand_signal_client.py +7 -7
  225. oci/desktops/desktop_service_client.py +21 -21
  226. oci/devops/devops_client.py +89 -89
  227. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  228. oci/dns/dns_client.py +52 -52
  229. oci/dts/appliance_export_job_client.py +6 -6
  230. oci/dts/shipping_vendors_client.py +1 -1
  231. oci/dts/transfer_appliance_client.py +8 -8
  232. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  233. oci/dts/transfer_device_client.py +5 -5
  234. oci/dts/transfer_job_client.py +6 -6
  235. oci/dts/transfer_package_client.py +7 -7
  236. oci/em_warehouse/em_data_lake_client.py +13 -13
  237. oci/em_warehouse/em_warehouse_client.py +13 -13
  238. oci/email/email_client.py +31 -31
  239. oci/email_data_plane/email_dp_client.py +1 -1
  240. oci/events/events_client.py +6 -6
  241. oci/file_storage/file_storage_client.py +51 -51
  242. oci/fleet_software_update/fleet_software_update_client.py +259 -45
  243. oci/fleet_software_update/fleet_software_update_client_composite_operations.py +52 -1
  244. oci/fleet_software_update/models/__init__.py +4 -0
  245. oci/fleet_software_update/models/cloud_vm_cluster_target_summary.py +33 -2
  246. oci/fleet_software_update/models/create_fsu_cycle_details.py +27 -0
  247. oci/fleet_software_update/models/create_patch_fsu_cycle.py +7 -0
  248. oci/fleet_software_update/models/diagnostics_collection_details.py +94 -0
  249. oci/fleet_software_update/models/fsu_collection_target.py +239 -0
  250. oci/fleet_software_update/models/fsu_cycle.py +27 -0
  251. oci/fleet_software_update/models/fsu_cycle_summary.py +27 -0
  252. oci/fleet_software_update/models/gi_resource_id_filter.py +7 -3
  253. oci/fleet_software_update/models/image_id_fsu_target_details.py +4 -1
  254. oci/fleet_software_update/models/patch_fsu_cycle.py +7 -0
  255. oci/fleet_software_update/models/update_fsu_cycle_details.py +27 -0
  256. oci/fleet_software_update/models/update_patch_fsu_cycle.py +7 -0
  257. oci/fleet_software_update/models/vm_cluster_target_summary.py +33 -2
  258. oci/functions/functions_invoke_client.py +1 -1
  259. oci/functions/functions_management_client.py +16 -16
  260. oci/fusion_apps/data_masking_activity_client.py +3 -3
  261. oci/fusion_apps/fusion_applications_client.py +41 -41
  262. oci/fusion_apps/fusion_environment_client.py +15 -15
  263. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  264. oci/fusion_apps/refresh_activity_client.py +4 -4
  265. oci/fusion_apps/scheduled_activity_client.py +2 -2
  266. oci/fusion_apps/service_attachment_client.py +2 -2
  267. oci/generative_ai/generative_ai_client.py +22 -22
  268. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  269. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  270. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  271. oci/golden_gate/golden_gate_client.py +68 -68
  272. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  273. oci/governance_rules_control_plane/work_request_client.py +5 -5
  274. oci/healthchecks/health_checks_client.py +17 -17
  275. oci/identity/identity_client.py +145 -145
  276. oci/identity_data_plane/dataplane_client.py +2 -2
  277. oci/identity_domains/identity_domains_client.py +1525 -662
  278. oci/identity_domains/models/__init__.py +12 -0
  279. oci/identity_domains/models/extension_social_identity_provider.py +220 -0
  280. oci/identity_domains/models/identity_propagation_trust.py +0 -49
  281. oci/identity_domains/models/identity_provider_jit_prov_assigned_groups.py +214 -0
  282. oci/identity_domains/models/social_identity_provider.py +2083 -0
  283. oci/identity_domains/models/social_identity_provider_jit_prov_assigned_groups.py +202 -0
  284. oci/identity_domains/models/social_identity_provider_relay_idp_param_mappings.py +147 -0
  285. oci/identity_domains/models/social_identity_provider_search_request.py +364 -0
  286. oci/identity_domains/models/social_identity_providers.py +196 -0
  287. oci/integration/integration_instance_client.py +15 -15
  288. oci/jms/java_management_service_client.py +66 -66
  289. oci/jms_java_downloads/java_download_client.py +25 -25
  290. oci/key_management/ekm_client.py +5 -5
  291. oci/key_management/kms_crypto_client.py +6 -6
  292. oci/key_management/kms_hsm_cluster_client.py +12 -12
  293. oci/key_management/kms_management_client.py +21 -21
  294. oci/key_management/kms_vault_client.py +14 -14
  295. oci/license_manager/license_manager_client.py +18 -18
  296. oci/limits/limits_client.py +4 -4
  297. oci/limits/quotas_client.py +7 -7
  298. oci/load_balancer/load_balancer_client.py +61 -61
  299. oci/lockbox/lockbox_client.py +24 -24
  300. oci/log_analytics/log_analytics_client.py +193 -193
  301. oci/logging/logging_management_client.py +30 -30
  302. oci/loggingingestion/logging_client.py +1 -1
  303. oci/loggingsearch/log_search_client.py +1 -1
  304. oci/management_agent/management_agent_client.py +28 -28
  305. oci/management_dashboard/dashx_apis_client.py +14 -14
  306. oci/marketplace/account_client.py +2 -2
  307. oci/marketplace/marketplace_client.py +30 -30
  308. oci/marketplace_private_offer/attachment_client.py +5 -5
  309. oci/marketplace_private_offer/offer_client.py +6 -6
  310. oci/marketplace_publisher/attachment_client.py +5 -5
  311. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  312. oci/marketplace_publisher/offer_client.py +6 -6
  313. oci/media_services/media_services_client.py +60 -60
  314. oci/media_services/media_stream_client.py +2 -2
  315. oci/monitoring/monitoring_client.py +18 -18
  316. oci/mysql/channels_client.py +7 -7
  317. oci/mysql/db_backups_client.py +7 -7
  318. oci/mysql/db_system_client.py +17 -17
  319. oci/mysql/mysqlaas_client.py +7 -7
  320. oci/mysql/replicas_client.py +5 -5
  321. oci/mysql/work_requests_client.py +4 -4
  322. oci/network_firewall/models/__init__.py +22 -0
  323. oci/network_firewall/models/create_tunnel_inspection_rule_details.py +218 -0
  324. oci/network_firewall/models/create_vxlan_inspection_rule_details.py +127 -0
  325. oci/network_firewall/models/tunnel_inspection_rule.py +280 -0
  326. oci/network_firewall/models/tunnel_inspection_rule_summary.py +253 -0
  327. oci/network_firewall/models/tunnel_inspection_rule_summary_collection.py +72 -0
  328. oci/network_firewall/models/update_tunnel_inspection_rule_details.py +187 -0
  329. oci/network_firewall/models/update_vxlan_inspection_rule_details.py +120 -0
  330. oci/network_firewall/models/vxlan_inspection_rule.py +141 -0
  331. oci/network_firewall/models/vxlan_inspection_rule_match_criteria.py +104 -0
  332. oci/network_firewall/models/vxlan_inspection_rule_profile.py +72 -0
  333. oci/network_firewall/models/vxlan_inspection_rule_summary.py +134 -0
  334. oci/network_firewall/network_firewall_client.py +837 -97
  335. oci/network_firewall/network_firewall_client_composite_operations.py +42 -0
  336. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  337. oci/nosql/nosql_client.py +24 -24
  338. oci/object_storage/object_storage_client.py +50 -50
  339. oci/object_storage/transfer/internal/download/__init__.py +1 -1
  340. oci/oce/oce_instance_client.py +10 -10
  341. oci/oci_control_center/occ_metrics_client.py +3 -3
  342. oci/ocvp/cluster_client.py +5 -5
  343. oci/ocvp/esxi_host_client.py +8 -8
  344. oci/ocvp/sddc_client.py +14 -14
  345. oci/ocvp/work_request_client.py +4 -4
  346. oci/oda/management_client.py +59 -59
  347. oci/oda/oda_client.py +17 -17
  348. oci/oda/odapackage_client.py +7 -7
  349. oci/onesubscription/billing_schedule_client.py +1 -1
  350. oci/onesubscription/commitment_client.py +2 -2
  351. oci/onesubscription/computed_usage_client.py +3 -3
  352. oci/onesubscription/invoice_summary_client.py +2 -2
  353. oci/onesubscription/organization_subscription_client.py +1 -1
  354. oci/onesubscription/ratecard_client.py +1 -1
  355. oci/onesubscription/subscribed_service_client.py +2 -2
  356. oci/onesubscription/subscription_client.py +1 -1
  357. oci/ons/notification_control_plane_client.py +6 -6
  358. oci/ons/notification_data_plane_client.py +10 -10
  359. oci/opa/opa_instance_client.py +13 -13
  360. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  361. oci/opensearch/opensearch_cluster_client.py +14 -14
  362. oci/operator_access_control/access_requests_client.py +10 -10
  363. oci/operator_access_control/operator_actions_client.py +2 -2
  364. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  365. oci/operator_access_control/operator_control_client.py +6 -6
  366. oci/opsi/models/__init__.py +22 -0
  367. oci/opsi/models/autonomous_database_configuration_summary.py +1 -1
  368. oci/opsi/models/autonomous_database_insight.py +1 -1
  369. oci/opsi/models/autonomous_database_insight_summary.py +1 -1
  370. oci/opsi/models/create_database_insight_details.py +11 -3
  371. oci/opsi/models/create_em_managed_external_database_insight_details.py +1 -1
  372. oci/opsi/models/create_mds_my_sql_database_insight_details.py +107 -0
  373. oci/opsi/models/create_pe_comanaged_database_insight_details.py +1 -1
  374. oci/opsi/models/database_configuration_summary.py +11 -3
  375. oci/opsi/models/database_insight.py +11 -3
  376. oci/opsi/models/database_insight_summary.py +11 -3
  377. oci/opsi/models/em_managed_external_database_configuration_summary.py +1 -1
  378. oci/opsi/models/em_managed_external_database_insight.py +1 -1
  379. oci/opsi/models/em_managed_external_database_insight_summary.py +1 -1
  380. oci/opsi/models/enable_database_insight_details.py +11 -3
  381. oci/opsi/models/enable_em_managed_external_database_insight_details.py +1 -1
  382. oci/opsi/models/enable_mds_my_sql_database_insight_details.py +51 -0
  383. oci/opsi/models/enable_pe_comanaged_database_insight_details.py +1 -1
  384. oci/opsi/models/host_containers.py +182 -0
  385. oci/opsi/models/host_cpu_usage.py +1 -1
  386. oci/opsi/models/host_filesystem_usage.py +30 -3
  387. oci/opsi/models/host_gpu_processes.py +1 -1
  388. oci/opsi/models/host_gpu_usage.py +1 -1
  389. oci/opsi/models/host_io_usage.py +244 -0
  390. oci/opsi/models/host_memory_usage.py +1 -1
  391. oci/opsi/models/host_network_activity_summary.py +1 -1
  392. oci/opsi/models/host_performance_metric_group.py +19 -3
  393. oci/opsi/models/host_top_processes.py +158 -3
  394. oci/opsi/models/ingest_my_sql_sql_stats_details.py +72 -0
  395. oci/opsi/models/ingest_my_sql_sql_stats_response_details.py +72 -0
  396. oci/opsi/models/macs_managed_external_database_configuration_summary.py +1 -1
  397. oci/opsi/models/macs_managed_external_database_insight.py +1 -1
  398. oci/opsi/models/macs_managed_external_database_insight_summary.py +1 -1
  399. oci/opsi/models/mds_my_sql_database_insight.py +374 -0
  400. oci/opsi/models/mds_my_sql_database_insight_summary.py +210 -0
  401. oci/opsi/models/mds_mysql_database_configuration_summary.py +251 -0
  402. oci/opsi/models/my_sql_sql_stats.py +1074 -0
  403. oci/opsi/models/pe_comanaged_database_insight.py +1 -1
  404. oci/opsi/models/pe_comanaged_database_insight_summary.py +1 -1
  405. oci/opsi/models/pe_comanaged_managed_external_database_configuration_summary.py +1 -1
  406. oci/opsi/models/resource_statistics.py +64 -2
  407. oci/opsi/models/summarize_host_insight_host_recommendation_aggregation.py +11 -3
  408. oci/opsi/models/summarize_host_insight_resource_capacity_trend_aggregation_collection.py +11 -3
  409. oci/opsi/models/summarize_host_insight_resource_forecast_trend_aggregation.py +11 -3
  410. oci/opsi/models/summarize_host_insight_resource_statistics_aggregation_collection.py +11 -3
  411. oci/opsi/models/summarize_host_insight_resource_usage_aggregation.py +11 -3
  412. oci/opsi/models/summarize_host_insight_resource_usage_trend_aggregation_collection.py +11 -3
  413. oci/opsi/models/summarize_host_insight_resource_utilization_insight_aggregation.py +11 -3
  414. oci/opsi/models/update_autonomous_database_insight_details.py +1 -1
  415. oci/opsi/models/update_database_insight_details.py +11 -3
  416. oci/opsi/models/update_em_managed_external_database_insight_details.py +1 -1
  417. oci/opsi/models/update_macs_managed_external_database_insight_details.py +2 -2
  418. oci/opsi/models/update_mds_my_sql_database_insight.py +65 -0
  419. oci/opsi/models/update_pe_comanaged_database_insight_details.py +2 -2
  420. oci/opsi/operations_insights_client.py +464 -195
  421. oci/optimizer/optimizer_client.py +26 -26
  422. oci/os_management/event_client.py +8 -8
  423. oci/os_management/os_management_client.py +69 -69
  424. oci/os_management_hub/event_client.py +8 -8
  425. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  426. oci/os_management_hub/managed_instance_client.py +31 -31
  427. oci/os_management_hub/managed_instance_group_client.py +25 -25
  428. oci/os_management_hub/management_station_client.py +10 -10
  429. oci/os_management_hub/onboarding_client.py +6 -6
  430. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  431. oci/os_management_hub/scheduled_job_client.py +7 -7
  432. oci/os_management_hub/software_source_client.py +27 -27
  433. oci/os_management_hub/work_request_client.py +4 -4
  434. oci/osp_gateway/address_rule_service_client.py +1 -1
  435. oci/osp_gateway/address_service_client.py +2 -2
  436. oci/osp_gateway/invoice_service_client.py +5 -5
  437. oci/osp_gateway/subscription_service_client.py +5 -5
  438. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  439. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  440. oci/osub_subscription/commitment_client.py +2 -2
  441. oci/osub_subscription/ratecard_client.py +1 -1
  442. oci/osub_subscription/subscription_client.py +1 -1
  443. oci/osub_usage/computed_usage_client.py +3 -3
  444. oci/psql/postgresql_client.py +33 -33
  445. oci/queue/queue_admin_client.py +11 -11
  446. oci/queue/queue_client.py +8 -8
  447. oci/recovery/database_recovery_client.py +25 -25
  448. oci/redis/models/create_redis_cluster_details.py +12 -2
  449. oci/redis/models/redis_cluster.py +19 -5
  450. oci/redis/models/redis_cluster_summary.py +12 -2
  451. oci/redis/models/update_redis_cluster_details.py +12 -2
  452. oci/redis/redis_cluster_client.py +11 -11
  453. oci/resource_manager/resource_manager_client.py +52 -52
  454. oci/resource_scheduler/schedule_client.py +13 -13
  455. oci/resource_search/resource_search_client.py +3 -3
  456. oci/rover/rover_bundle_client.py +8 -8
  457. oci/rover/rover_cluster_client.py +8 -8
  458. oci/rover/rover_entitlement_client.py +6 -6
  459. oci/rover/rover_node_client.py +15 -15
  460. oci/rover/shape_client.py +1 -1
  461. oci/rover/work_requests_client.py +5 -5
  462. oci/sch/connector_plugins_client.py +2 -2
  463. oci/sch/service_connector_client.py +12 -12
  464. oci/secrets/secrets_client.py +3 -3
  465. oci/service_catalog/service_catalog_client.py +26 -26
  466. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  467. oci/service_mesh/service_mesh_client.py +48 -48
  468. oci/stack_monitoring/models/baselineable_metric.py +155 -124
  469. oci/stack_monitoring/models/baselineable_metric_summary.py +31 -0
  470. oci/stack_monitoring/models/create_baselineable_metric_details.py +35 -4
  471. oci/stack_monitoring/models/update_baselineable_metric_details.py +31 -0
  472. oci/stack_monitoring/stack_monitoring_client.py +74 -64
  473. oci/streaming/stream_admin_client.py +18 -18
  474. oci/streaming/stream_client.py +8 -8
  475. oci/tenant_manager_control_plane/domain_client.py +5 -5
  476. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  477. oci/tenant_manager_control_plane/governance_client.py +2 -2
  478. oci/tenant_manager_control_plane/link_client.py +3 -3
  479. oci/tenant_manager_control_plane/orders_client.py +2 -2
  480. oci/tenant_manager_control_plane/organization_client.py +10 -10
  481. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  482. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  483. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  484. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  485. oci/threat_intelligence/threatintel_client.py +5 -5
  486. oci/usage/resources_client.py +2 -2
  487. oci/usage/rewards_client.py +6 -6
  488. oci/usage/usagelimits_client.py +1 -1
  489. oci/usage_api/usageapi_client.py +33 -33
  490. oci/vault/vaults_client.py +13 -13
  491. oci/vbs_inst/vbs_instance_client.py +10 -10
  492. oci/version.py +1 -1
  493. oci/visual_builder/vb_instance_client.py +13 -13
  494. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  495. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  496. oci/waa/waa_client.py +13 -13
  497. oci/waa/work_request_client.py +4 -4
  498. oci/waas/redirect_client.py +6 -6
  499. oci/waas/waas_client.py +66 -66
  500. oci/waf/waf_client.py +24 -24
  501. oci/work_requests/work_request_client.py +4 -4
  502. {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/METADATA +1 -1
  503. {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/RECORD +507 -417
  504. {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/LICENSE.txt +0 -0
  505. {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  506. {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/WHEEL +0 -0
  507. {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/top_level.txt +0 -0
@@ -158,7 +158,7 @@ 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.129.3/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.130.0/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']
@@ -272,7 +272,7 @@ 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.129.3/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.130.0/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']
@@ -390,7 +390,7 @@ class DatabaseMigrationClient(object):
390
390
  :rtype: :class:`~oci.response.Response`
391
391
 
392
392
  :example:
393
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/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.130.0/databasemigration/change_connection_compartment.py.html>`__ to see an example of how to use change_connection_compartment API.
394
394
  """
395
395
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
396
396
  required_arguments = ['connectionId']
@@ -511,7 +511,7 @@ class DatabaseMigrationClient(object):
511
511
  :rtype: :class:`~oci.response.Response`
512
512
 
513
513
  :example:
514
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/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.130.0/databasemigration/change_migration_compartment.py.html>`__ to see an example of how to use change_migration_compartment API.
515
515
  """
516
516
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
517
517
  required_arguments = ['migrationId']
@@ -632,7 +632,7 @@ class DatabaseMigrationClient(object):
632
632
  :rtype: :class:`~oci.response.Response`
633
633
 
634
634
  :example:
635
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/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.130.0/databasemigration/clone_migration.py.html>`__ to see an example of how to use clone_migration API.
636
636
  """
637
637
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
638
638
  required_arguments = ['migrationId']
@@ -752,7 +752,7 @@ class DatabaseMigrationClient(object):
752
752
  :rtype: :class:`~oci.response.Response`
753
753
 
754
754
  :example:
755
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/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.130.0/databasemigration/connection_diagnostics.py.html>`__ to see an example of how to use connection_diagnostics API.
756
756
  """
757
757
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
758
758
  required_arguments = ['connectionId']
@@ -864,7 +864,7 @@ class DatabaseMigrationClient(object):
864
864
  :rtype: :class:`~oci.response.Response`
865
865
 
866
866
  :example:
867
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/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.130.0/databasemigration/create_connection.py.html>`__ to see an example of how to use create_connection API.
868
868
  """
869
869
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
870
870
  required_arguments = []
@@ -965,7 +965,7 @@ class DatabaseMigrationClient(object):
965
965
  :rtype: :class:`~oci.response.Response`
966
966
 
967
967
  :example:
968
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/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.130.0/databasemigration/create_migration.py.html>`__ to see an example of how to use create_migration API.
969
969
  """
970
970
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
971
971
  required_arguments = []
@@ -1029,6 +1029,127 @@ class DatabaseMigrationClient(object):
1029
1029
  api_reference_link=api_reference_link,
1030
1030
  required_arguments=required_arguments)
1031
1031
 
1032
+ def create_parameter_file_version(self, job_id, create_parameter_file_version_details, **kwargs):
1033
+ """
1034
+ Creates a new version of the current parameter file contents to the specified value.
1035
+
1036
+
1037
+ :param str job_id: (required)
1038
+ The OCID of the job
1039
+
1040
+ :param oci.database_migration.models.CreateParameterFileVersionDetails create_parameter_file_version_details: (required)
1041
+ The parameter file version details to be created
1042
+
1043
+ :param str if_match: (optional)
1044
+ For optimistic concurrency control. In the PUT or DELETE call
1045
+ for a resource, set the `if-match` parameter to the value of the
1046
+ etag from a previous GET or POST response for that resource.
1047
+ The resource will be updated or deleted only if the etag you
1048
+ provide matches the resource's current etag value.
1049
+
1050
+ :param str opc_retry_token: (optional)
1051
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
1052
+ server error without risk of executing that same action again. Retry tokens expire after 24
1053
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1054
+ has been deleted and purged from the system, then a retry of the original creation request
1055
+ might be rejected.
1056
+
1057
+ :param str opc_request_id: (optional)
1058
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
1059
+ particular request, please provide the request ID.
1060
+
1061
+ :param obj retry_strategy: (optional)
1062
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1063
+
1064
+ 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.
1065
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1066
+
1067
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1068
+
1069
+ :param bool allow_control_chars: (optional)
1070
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1071
+ By default, the response will not allow control characters in strings
1072
+
1073
+ :return: A :class:`~oci.response.Response` object with data of type None
1074
+ :rtype: :class:`~oci.response.Response`
1075
+
1076
+ :example:
1077
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/create_parameter_file_version.py.html>`__ to see an example of how to use create_parameter_file_version API.
1078
+ """
1079
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1080
+ required_arguments = ['jobId']
1081
+ resource_path = "/jobs/{jobId}/parameterFileVersions"
1082
+ method = "POST"
1083
+ operation_name = "create_parameter_file_version"
1084
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/CreateParameterFileVersion"
1085
+
1086
+ # Don't accept unknown kwargs
1087
+ expected_kwargs = [
1088
+ "allow_control_chars",
1089
+ "retry_strategy",
1090
+ "if_match",
1091
+ "opc_retry_token",
1092
+ "opc_request_id"
1093
+ ]
1094
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1095
+ if extra_kwargs:
1096
+ raise ValueError(
1097
+ f"create_parameter_file_version got unknown kwargs: {extra_kwargs!r}")
1098
+
1099
+ path_params = {
1100
+ "jobId": job_id
1101
+ }
1102
+
1103
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1104
+
1105
+ for (k, v) in six.iteritems(path_params):
1106
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1107
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
1108
+
1109
+ header_params = {
1110
+ "accept": "application/json",
1111
+ "content-type": "application/json",
1112
+ "if-match": kwargs.get("if_match", missing),
1113
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
1114
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1115
+ }
1116
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1117
+
1118
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
1119
+ operation_retry_strategy=kwargs.get('retry_strategy'),
1120
+ client_retry_strategy=self.retry_strategy
1121
+ )
1122
+ if retry_strategy is None:
1123
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1124
+
1125
+ if retry_strategy:
1126
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1127
+ self.base_client.add_opc_retry_token_if_needed(header_params)
1128
+ self.base_client.add_opc_client_retries_header(header_params)
1129
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1130
+ return retry_strategy.make_retrying_call(
1131
+ self.base_client.call_api,
1132
+ resource_path=resource_path,
1133
+ method=method,
1134
+ path_params=path_params,
1135
+ header_params=header_params,
1136
+ body=create_parameter_file_version_details,
1137
+ allow_control_chars=kwargs.get('allow_control_chars'),
1138
+ operation_name=operation_name,
1139
+ api_reference_link=api_reference_link,
1140
+ required_arguments=required_arguments)
1141
+ else:
1142
+ return self.base_client.call_api(
1143
+ resource_path=resource_path,
1144
+ method=method,
1145
+ path_params=path_params,
1146
+ header_params=header_params,
1147
+ body=create_parameter_file_version_details,
1148
+ allow_control_chars=kwargs.get('allow_control_chars'),
1149
+ operation_name=operation_name,
1150
+ api_reference_link=api_reference_link,
1151
+ required_arguments=required_arguments)
1152
+
1032
1153
  def delete_connection(self, connection_id, **kwargs):
1033
1154
  """
1034
1155
  Deletes the Database Connection represented by the specified connection ID.
@@ -1064,7 +1185,7 @@ class DatabaseMigrationClient(object):
1064
1185
  :rtype: :class:`~oci.response.Response`
1065
1186
 
1066
1187
  :example:
1067
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/delete_connection.py.html>`__ to see an example of how to use delete_connection API.
1188
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/delete_connection.py.html>`__ to see an example of how to use delete_connection API.
1068
1189
  """
1069
1190
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1070
1191
  required_arguments = ['connectionId']
@@ -1170,7 +1291,7 @@ class DatabaseMigrationClient(object):
1170
1291
  :rtype: :class:`~oci.response.Response`
1171
1292
 
1172
1293
  :example:
1173
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/delete_job.py.html>`__ to see an example of how to use delete_job API.
1294
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/delete_job.py.html>`__ to see an example of how to use delete_job API.
1174
1295
  """
1175
1296
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1176
1297
  required_arguments = ['jobId']
@@ -1276,7 +1397,7 @@ class DatabaseMigrationClient(object):
1276
1397
  :rtype: :class:`~oci.response.Response`
1277
1398
 
1278
1399
  :example:
1279
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/delete_migration.py.html>`__ to see an example of how to use delete_migration API.
1400
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/delete_migration.py.html>`__ to see an example of how to use delete_migration API.
1280
1401
  """
1281
1402
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1282
1403
  required_arguments = ['migrationId']
@@ -1347,6 +1468,116 @@ class DatabaseMigrationClient(object):
1347
1468
  api_reference_link=api_reference_link,
1348
1469
  required_arguments=required_arguments)
1349
1470
 
1471
+ def delete_parameter_file_version(self, job_id, parameter_file_name, **kwargs):
1472
+ """
1473
+ Deletes the given parameter file version
1474
+
1475
+
1476
+ :param str job_id: (required)
1477
+ The OCID of the job
1478
+
1479
+ :param str parameter_file_name: (required)
1480
+ A unique name associated with the current migration/job and extract/replicat name
1481
+
1482
+ :param str opc_request_id: (optional)
1483
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
1484
+ particular request, please provide the request ID.
1485
+
1486
+ :param str if_match: (optional)
1487
+ For optimistic concurrency control. In the PUT or DELETE call
1488
+ for a resource, set the `if-match` parameter to the value of the
1489
+ etag from a previous GET or POST response for that resource.
1490
+ The resource will be updated or deleted only if the etag you
1491
+ provide matches the resource's current etag value.
1492
+
1493
+ :param obj retry_strategy: (optional)
1494
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1495
+
1496
+ 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.
1497
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1498
+
1499
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1500
+
1501
+ :param bool allow_control_chars: (optional)
1502
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1503
+ By default, the response will not allow control characters in strings
1504
+
1505
+ :return: A :class:`~oci.response.Response` object with data of type None
1506
+ :rtype: :class:`~oci.response.Response`
1507
+
1508
+ :example:
1509
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/delete_parameter_file_version.py.html>`__ to see an example of how to use delete_parameter_file_version API.
1510
+ """
1511
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1512
+ required_arguments = ['jobId', 'parameterFileName']
1513
+ resource_path = "/jobs/{jobId}/parameterFileVersions/{parameterFileName}"
1514
+ method = "DELETE"
1515
+ operation_name = "delete_parameter_file_version"
1516
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/DeleteParameterFileVersion"
1517
+
1518
+ # Don't accept unknown kwargs
1519
+ expected_kwargs = [
1520
+ "allow_control_chars",
1521
+ "retry_strategy",
1522
+ "opc_request_id",
1523
+ "if_match"
1524
+ ]
1525
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1526
+ if extra_kwargs:
1527
+ raise ValueError(
1528
+ f"delete_parameter_file_version got unknown kwargs: {extra_kwargs!r}")
1529
+
1530
+ path_params = {
1531
+ "jobId": job_id,
1532
+ "parameterFileName": parameter_file_name
1533
+ }
1534
+
1535
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1536
+
1537
+ for (k, v) in six.iteritems(path_params):
1538
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1539
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
1540
+
1541
+ header_params = {
1542
+ "accept": "application/json",
1543
+ "content-type": "application/json",
1544
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1545
+ "if-match": kwargs.get("if_match", missing)
1546
+ }
1547
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1548
+
1549
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
1550
+ operation_retry_strategy=kwargs.get('retry_strategy'),
1551
+ client_retry_strategy=self.retry_strategy
1552
+ )
1553
+ if retry_strategy is None:
1554
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1555
+
1556
+ if retry_strategy:
1557
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1558
+ self.base_client.add_opc_client_retries_header(header_params)
1559
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1560
+ return retry_strategy.make_retrying_call(
1561
+ self.base_client.call_api,
1562
+ resource_path=resource_path,
1563
+ method=method,
1564
+ path_params=path_params,
1565
+ header_params=header_params,
1566
+ allow_control_chars=kwargs.get('allow_control_chars'),
1567
+ operation_name=operation_name,
1568
+ api_reference_link=api_reference_link,
1569
+ required_arguments=required_arguments)
1570
+ else:
1571
+ return self.base_client.call_api(
1572
+ resource_path=resource_path,
1573
+ method=method,
1574
+ path_params=path_params,
1575
+ header_params=header_params,
1576
+ allow_control_chars=kwargs.get('allow_control_chars'),
1577
+ operation_name=operation_name,
1578
+ api_reference_link=api_reference_link,
1579
+ required_arguments=required_arguments)
1580
+
1350
1581
  def evaluate_migration(self, migration_id, **kwargs):
1351
1582
  """
1352
1583
  Start Validate Migration job.
@@ -1389,7 +1620,7 @@ class DatabaseMigrationClient(object):
1389
1620
  :rtype: :class:`~oci.response.Response`
1390
1621
 
1391
1622
  :example:
1392
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/evaluate_migration.py.html>`__ to see an example of how to use evaluate_migration API.
1623
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/evaluate_migration.py.html>`__ to see an example of how to use evaluate_migration API.
1393
1624
  """
1394
1625
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1395
1626
  required_arguments = ['migrationId']
@@ -1493,7 +1724,7 @@ class DatabaseMigrationClient(object):
1493
1724
  :rtype: :class:`~oci.response.Response`
1494
1725
 
1495
1726
  :example:
1496
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/get_advisor_report.py.html>`__ to see an example of how to use get_advisor_report API.
1727
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/get_advisor_report.py.html>`__ to see an example of how to use get_advisor_report API.
1497
1728
  """
1498
1729
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1499
1730
  required_arguments = ['jobId']
@@ -1592,7 +1823,7 @@ class DatabaseMigrationClient(object):
1592
1823
  :rtype: :class:`~oci.response.Response`
1593
1824
 
1594
1825
  :example:
1595
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/get_connection.py.html>`__ to see an example of how to use get_connection API.
1826
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/get_connection.py.html>`__ to see an example of how to use get_connection API.
1596
1827
  """
1597
1828
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1598
1829
  required_arguments = ['connectionId']
@@ -1691,7 +1922,7 @@ class DatabaseMigrationClient(object):
1691
1922
  :rtype: :class:`~oci.response.Response`
1692
1923
 
1693
1924
  :example:
1694
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/get_job.py.html>`__ to see an example of how to use get_job API.
1925
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/get_job.py.html>`__ to see an example of how to use get_job API.
1695
1926
  """
1696
1927
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1697
1928
  required_arguments = ['jobId']
@@ -1790,7 +2021,7 @@ class DatabaseMigrationClient(object):
1790
2021
  :rtype: :class:`~oci.response.Response`
1791
2022
 
1792
2023
  :example:
1793
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/get_job_output_content.py.html>`__ to see an example of how to use get_job_output_content API.
2024
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/get_job_output_content.py.html>`__ to see an example of how to use get_job_output_content API.
1794
2025
  """
1795
2026
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1796
2027
  required_arguments = ['jobId']
@@ -1896,7 +2127,7 @@ class DatabaseMigrationClient(object):
1896
2127
  :rtype: :class:`~oci.response.Response`
1897
2128
 
1898
2129
  :example:
1899
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/get_migration.py.html>`__ to see an example of how to use get_migration API.
2130
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/get_migration.py.html>`__ to see an example of how to use get_migration API.
1900
2131
  """
1901
2132
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1902
2133
  required_arguments = ['migrationId']
@@ -1969,13 +2200,17 @@ class DatabaseMigrationClient(object):
1969
2200
  api_reference_link=api_reference_link,
1970
2201
  required_arguments=required_arguments)
1971
2202
 
1972
- def get_work_request(self, work_request_id, **kwargs):
2203
+ def get_parameter_file_version(self, parameter_file_name, job_id, **kwargs):
1973
2204
  """
1974
- Gets the details of a work request.
2205
+ Obtain the parameter file version contents for the specified parameter file name and the associated job. This operation will
2206
+ be allowed only if the job is certain acceptable lifecycle states.
1975
2207
 
1976
2208
 
1977
- :param str work_request_id: (required)
1978
- The ID of the asynchronous request.
2209
+ :param str parameter_file_name: (required)
2210
+ A unique name associated with the current migration/job and extract/replicat name
2211
+
2212
+ :param str job_id: (required)
2213
+ The OCID of the job
1979
2214
 
1980
2215
  :param str opc_request_id: (optional)
1981
2216
  Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
@@ -1993,18 +2228,18 @@ class DatabaseMigrationClient(object):
1993
2228
  allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1994
2229
  By default, the response will not allow control characters in strings
1995
2230
 
1996
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_migration.models.WorkRequest`
2231
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_migration.models.ParameterFileVersion`
1997
2232
  :rtype: :class:`~oci.response.Response`
1998
2233
 
1999
2234
  :example:
2000
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
2235
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/get_parameter_file_version.py.html>`__ to see an example of how to use get_parameter_file_version API.
2001
2236
  """
2002
2237
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2003
- required_arguments = ['workRequestId']
2004
- resource_path = "/workRequests/{workRequestId}"
2238
+ required_arguments = ['parameterFileName', 'jobId']
2239
+ resource_path = "/jobs/{jobId}/parameterFileVersions/{parameterFileName}"
2005
2240
  method = "GET"
2006
- operation_name = "get_work_request"
2007
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/WorkRequest/GetWorkRequest"
2241
+ operation_name = "get_parameter_file_version"
2242
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/GetParameterFileVersion"
2008
2243
 
2009
2244
  # Don't accept unknown kwargs
2010
2245
  expected_kwargs = [
@@ -2015,10 +2250,11 @@ class DatabaseMigrationClient(object):
2015
2250
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2016
2251
  if extra_kwargs:
2017
2252
  raise ValueError(
2018
- f"get_work_request got unknown kwargs: {extra_kwargs!r}")
2253
+ f"get_parameter_file_version got unknown kwargs: {extra_kwargs!r}")
2019
2254
 
2020
2255
  path_params = {
2021
- "workRequestId": work_request_id
2256
+ "parameterFileName": parameter_file_name,
2257
+ "jobId": job_id
2022
2258
  }
2023
2259
 
2024
2260
  path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -2051,7 +2287,7 @@ class DatabaseMigrationClient(object):
2051
2287
  method=method,
2052
2288
  path_params=path_params,
2053
2289
  header_params=header_params,
2054
- response_type="WorkRequest",
2290
+ response_type="ParameterFileVersion",
2055
2291
  allow_control_chars=kwargs.get('allow_control_chars'),
2056
2292
  operation_name=operation_name,
2057
2293
  api_reference_link=api_reference_link,
@@ -2062,42 +2298,141 @@ class DatabaseMigrationClient(object):
2062
2298
  method=method,
2063
2299
  path_params=path_params,
2064
2300
  header_params=header_params,
2065
- response_type="WorkRequest",
2301
+ response_type="ParameterFileVersion",
2066
2302
  allow_control_chars=kwargs.get('allow_control_chars'),
2067
2303
  operation_name=operation_name,
2068
2304
  api_reference_link=api_reference_link,
2069
2305
  required_arguments=required_arguments)
2070
2306
 
2071
- def list_connections(self, compartment_id, **kwargs):
2307
+ def get_work_request(self, work_request_id, **kwargs):
2072
2308
  """
2073
- List all Database Connections.
2309
+ Gets the details of a work request.
2074
2310
 
2075
2311
 
2076
- :param str compartment_id: (required)
2077
- The ID of the compartment in which to list resources.
2312
+ :param str work_request_id: (required)
2313
+ The ID of the asynchronous request.
2078
2314
 
2079
2315
  :param str opc_request_id: (optional)
2080
2316
  Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
2081
2317
  particular request, please provide the request ID.
2082
2318
 
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"
2319
+ :param obj retry_strategy: (optional)
2320
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2087
2321
 
2088
- :param list[str] connection_type: (optional)
2089
- The array of connection types.
2322
+ 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.
2323
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
2090
2324
 
2091
- Allowed values are: "MYSQL", "ORACLE"
2325
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2092
2326
 
2093
- :param str source_connection_id: (optional)
2094
- The OCID of the source database connection.
2327
+ :param bool allow_control_chars: (optional)
2328
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
2329
+ By default, the response will not allow control characters in strings
2095
2330
 
2096
- :param str display_name: (optional)
2097
- A filter to return only resources that match the entire display name given.
2331
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_migration.models.WorkRequest`
2332
+ :rtype: :class:`~oci.response.Response`
2098
2333
 
2099
- :param int limit: (optional)
2100
- The maximum number of items to return.
2334
+ :example:
2335
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
2336
+ """
2337
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2338
+ required_arguments = ['workRequestId']
2339
+ resource_path = "/workRequests/{workRequestId}"
2340
+ method = "GET"
2341
+ operation_name = "get_work_request"
2342
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/WorkRequest/GetWorkRequest"
2343
+
2344
+ # Don't accept unknown kwargs
2345
+ expected_kwargs = [
2346
+ "allow_control_chars",
2347
+ "retry_strategy",
2348
+ "opc_request_id"
2349
+ ]
2350
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2351
+ if extra_kwargs:
2352
+ raise ValueError(
2353
+ f"get_work_request got unknown kwargs: {extra_kwargs!r}")
2354
+
2355
+ path_params = {
2356
+ "workRequestId": work_request_id
2357
+ }
2358
+
2359
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2360
+
2361
+ for (k, v) in six.iteritems(path_params):
2362
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2363
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
2364
+
2365
+ header_params = {
2366
+ "accept": "application/json",
2367
+ "content-type": "application/json",
2368
+ "opc-request-id": kwargs.get("opc_request_id", missing)
2369
+ }
2370
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2371
+
2372
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
2373
+ operation_retry_strategy=kwargs.get('retry_strategy'),
2374
+ client_retry_strategy=self.retry_strategy
2375
+ )
2376
+ if retry_strategy is None:
2377
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
2378
+
2379
+ if retry_strategy:
2380
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
2381
+ self.base_client.add_opc_client_retries_header(header_params)
2382
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
2383
+ return retry_strategy.make_retrying_call(
2384
+ self.base_client.call_api,
2385
+ resource_path=resource_path,
2386
+ method=method,
2387
+ path_params=path_params,
2388
+ header_params=header_params,
2389
+ response_type="WorkRequest",
2390
+ allow_control_chars=kwargs.get('allow_control_chars'),
2391
+ operation_name=operation_name,
2392
+ api_reference_link=api_reference_link,
2393
+ required_arguments=required_arguments)
2394
+ else:
2395
+ return self.base_client.call_api(
2396
+ resource_path=resource_path,
2397
+ method=method,
2398
+ path_params=path_params,
2399
+ header_params=header_params,
2400
+ response_type="WorkRequest",
2401
+ allow_control_chars=kwargs.get('allow_control_chars'),
2402
+ operation_name=operation_name,
2403
+ api_reference_link=api_reference_link,
2404
+ required_arguments=required_arguments)
2405
+
2406
+ def list_connections(self, compartment_id, **kwargs):
2407
+ """
2408
+ List all Database Connections.
2409
+
2410
+
2411
+ :param str compartment_id: (required)
2412
+ The ID of the compartment in which to list resources.
2413
+
2414
+ :param str opc_request_id: (optional)
2415
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
2416
+ particular request, please provide the request ID.
2417
+
2418
+ :param list[str] technology_type: (optional)
2419
+ The array of technology types.
2420
+
2421
+ 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"
2422
+
2423
+ :param list[str] connection_type: (optional)
2424
+ The array of connection types.
2425
+
2426
+ Allowed values are: "MYSQL", "ORACLE"
2427
+
2428
+ :param str source_connection_id: (optional)
2429
+ The OCID of the source database connection.
2430
+
2431
+ :param str display_name: (optional)
2432
+ A filter to return only resources that match the entire display name given.
2433
+
2434
+ :param int limit: (optional)
2435
+ The maximum number of items to return.
2101
2436
 
2102
2437
  :param str page: (optional)
2103
2438
  The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
@@ -2134,7 +2469,7 @@ class DatabaseMigrationClient(object):
2134
2469
  :rtype: :class:`~oci.response.Response`
2135
2470
 
2136
2471
  :example:
2137
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/list_connections.py.html>`__ to see an example of how to use list_connections API.
2472
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/list_connections.py.html>`__ to see an example of how to use list_connections API.
2138
2473
  """
2139
2474
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2140
2475
  required_arguments = ['compartmentId']
@@ -2324,7 +2659,7 @@ class DatabaseMigrationClient(object):
2324
2659
  :rtype: :class:`~oci.response.Response`
2325
2660
 
2326
2661
  :example:
2327
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/list_excluded_objects.py.html>`__ to see an example of how to use list_excluded_objects API.
2662
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/list_excluded_objects.py.html>`__ to see an example of how to use list_excluded_objects API.
2328
2663
  """
2329
2664
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2330
2665
  required_arguments = ['jobId']
@@ -2478,7 +2813,7 @@ class DatabaseMigrationClient(object):
2478
2813
  :rtype: :class:`~oci.response.Response`
2479
2814
 
2480
2815
  :example:
2481
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/list_job_outputs.py.html>`__ to see an example of how to use list_job_outputs API.
2816
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/list_job_outputs.py.html>`__ to see an example of how to use list_job_outputs API.
2482
2817
  """
2483
2818
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2484
2819
  required_arguments = ['jobId']
@@ -2613,7 +2948,7 @@ class DatabaseMigrationClient(object):
2613
2948
  :rtype: :class:`~oci.response.Response`
2614
2949
 
2615
2950
  :example:
2616
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/list_jobs.py.html>`__ to see an example of how to use list_jobs API.
2951
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/list_jobs.py.html>`__ to see an example of how to use list_jobs API.
2617
2952
  """
2618
2953
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2619
2954
  required_arguments = ['migrationId']
@@ -2759,7 +3094,7 @@ class DatabaseMigrationClient(object):
2759
3094
  :rtype: :class:`~oci.response.Response`
2760
3095
 
2761
3096
  :example:
2762
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/list_migration_object_types.py.html>`__ to see an example of how to use list_migration_object_types API.
3097
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/list_migration_object_types.py.html>`__ to see an example of how to use list_migration_object_types API.
2763
3098
  """
2764
3099
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2765
3100
  required_arguments = ['connectionType']
@@ -2894,7 +3229,7 @@ class DatabaseMigrationClient(object):
2894
3229
  :rtype: :class:`~oci.response.Response`
2895
3230
 
2896
3231
  :example:
2897
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/list_migration_objects.py.html>`__ to see an example of how to use list_migration_objects API.
3232
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/list_migration_objects.py.html>`__ to see an example of how to use list_migration_objects API.
2898
3233
  """
2899
3234
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2900
3235
  required_arguments = ['migrationId']
@@ -3029,7 +3364,7 @@ class DatabaseMigrationClient(object):
3029
3364
  :rtype: :class:`~oci.response.Response`
3030
3365
 
3031
3366
  :example:
3032
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/list_migration_parameters.py.html>`__ to see an example of how to use list_migration_parameters API.
3367
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/list_migration_parameters.py.html>`__ to see an example of how to use list_migration_parameters API.
3033
3368
  """
3034
3369
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3035
3370
  required_arguments = []
@@ -3192,7 +3527,7 @@ class DatabaseMigrationClient(object):
3192
3527
  :rtype: :class:`~oci.response.Response`
3193
3528
 
3194
3529
  :example:
3195
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/list_migrations.py.html>`__ to see an example of how to use list_migrations API.
3530
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/list_migrations.py.html>`__ to see an example of how to use list_migrations API.
3196
3531
  """
3197
3532
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3198
3533
  required_arguments = ['compartmentId']
@@ -3300,6 +3635,157 @@ class DatabaseMigrationClient(object):
3300
3635
  api_reference_link=api_reference_link,
3301
3636
  required_arguments=required_arguments)
3302
3637
 
3638
+ def list_parameter_file_versions(self, job_id, **kwargs):
3639
+ """
3640
+ Return a list of the parameter file metadata of the migration execution of the specified job. This will
3641
+ only be acceptable if the job is in particular state. It will be accessible if the job is in
3642
+ the FAILED, PAUSED or SUSPENDED state.
3643
+
3644
+
3645
+ :param str job_id: (required)
3646
+ The OCID of the job
3647
+
3648
+ :param str opc_request_id: (optional)
3649
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
3650
+ particular request, please provide the request ID.
3651
+
3652
+ :param str name: (optional)
3653
+ A filter to return only resources that match the entire name given.
3654
+
3655
+ :param int limit: (optional)
3656
+ The maximum number of items to return.
3657
+
3658
+ :param str page: (optional)
3659
+ The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
3660
+
3661
+ :param str sort_by: (optional)
3662
+ The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
3663
+ Default order for displayName is ascending. If no value is specified timeCreated is default.
3664
+
3665
+ Allowed values are: "timeCreated", "displayName"
3666
+
3667
+ :param str sort_order: (optional)
3668
+ The sort order to use, either 'asc' or 'desc'.
3669
+
3670
+ Allowed values are: "ASC", "DESC"
3671
+
3672
+ :param obj retry_strategy: (optional)
3673
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
3674
+
3675
+ 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.
3676
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
3677
+
3678
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
3679
+
3680
+ :param bool allow_control_chars: (optional)
3681
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
3682
+ By default, the response will not allow control characters in strings
3683
+
3684
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_migration.models.ParameterFileVersionCollection`
3685
+ :rtype: :class:`~oci.response.Response`
3686
+
3687
+ :example:
3688
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/list_parameter_file_versions.py.html>`__ to see an example of how to use list_parameter_file_versions API.
3689
+ """
3690
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3691
+ required_arguments = ['jobId']
3692
+ resource_path = "/jobs/{jobId}/parameterFileVersions"
3693
+ method = "GET"
3694
+ operation_name = "list_parameter_file_versions"
3695
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/ListParameterFileVersions"
3696
+
3697
+ # Don't accept unknown kwargs
3698
+ expected_kwargs = [
3699
+ "allow_control_chars",
3700
+ "retry_strategy",
3701
+ "opc_request_id",
3702
+ "name",
3703
+ "limit",
3704
+ "page",
3705
+ "sort_by",
3706
+ "sort_order"
3707
+ ]
3708
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3709
+ if extra_kwargs:
3710
+ raise ValueError(
3711
+ f"list_parameter_file_versions got unknown kwargs: {extra_kwargs!r}")
3712
+
3713
+ path_params = {
3714
+ "jobId": job_id
3715
+ }
3716
+
3717
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
3718
+
3719
+ for (k, v) in six.iteritems(path_params):
3720
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
3721
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
3722
+
3723
+ if 'sort_by' in kwargs:
3724
+ sort_by_allowed_values = ["timeCreated", "displayName"]
3725
+ if kwargs['sort_by'] not in sort_by_allowed_values:
3726
+ raise ValueError(
3727
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
3728
+ )
3729
+
3730
+ if 'sort_order' in kwargs:
3731
+ sort_order_allowed_values = ["ASC", "DESC"]
3732
+ if kwargs['sort_order'] not in sort_order_allowed_values:
3733
+ raise ValueError(
3734
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
3735
+ )
3736
+
3737
+ query_params = {
3738
+ "name": kwargs.get("name", missing),
3739
+ "limit": kwargs.get("limit", missing),
3740
+ "page": kwargs.get("page", missing),
3741
+ "sortBy": kwargs.get("sort_by", missing),
3742
+ "sortOrder": kwargs.get("sort_order", missing)
3743
+ }
3744
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
3745
+
3746
+ header_params = {
3747
+ "accept": "application/json",
3748
+ "content-type": "application/json",
3749
+ "opc-request-id": kwargs.get("opc_request_id", missing)
3750
+ }
3751
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
3752
+
3753
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
3754
+ operation_retry_strategy=kwargs.get('retry_strategy'),
3755
+ client_retry_strategy=self.retry_strategy
3756
+ )
3757
+ if retry_strategy is None:
3758
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
3759
+
3760
+ if retry_strategy:
3761
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
3762
+ self.base_client.add_opc_client_retries_header(header_params)
3763
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
3764
+ return retry_strategy.make_retrying_call(
3765
+ self.base_client.call_api,
3766
+ resource_path=resource_path,
3767
+ method=method,
3768
+ path_params=path_params,
3769
+ query_params=query_params,
3770
+ header_params=header_params,
3771
+ response_type="ParameterFileVersionCollection",
3772
+ allow_control_chars=kwargs.get('allow_control_chars'),
3773
+ operation_name=operation_name,
3774
+ api_reference_link=api_reference_link,
3775
+ required_arguments=required_arguments)
3776
+ else:
3777
+ return self.base_client.call_api(
3778
+ resource_path=resource_path,
3779
+ method=method,
3780
+ path_params=path_params,
3781
+ query_params=query_params,
3782
+ header_params=header_params,
3783
+ response_type="ParameterFileVersionCollection",
3784
+ allow_control_chars=kwargs.get('allow_control_chars'),
3785
+ operation_name=operation_name,
3786
+ api_reference_link=api_reference_link,
3787
+ required_arguments=required_arguments)
3788
+
3303
3789
  def list_work_request_errors(self, work_request_id, **kwargs):
3304
3790
  """
3305
3791
  Gets the errors for a work request.
@@ -3344,7 +3830,7 @@ class DatabaseMigrationClient(object):
3344
3830
  :rtype: :class:`~oci.response.Response`
3345
3831
 
3346
3832
  :example:
3347
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
3833
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
3348
3834
  """
3349
3835
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3350
3836
  required_arguments = ['workRequestId']
@@ -3487,7 +3973,7 @@ class DatabaseMigrationClient(object):
3487
3973
  :rtype: :class:`~oci.response.Response`
3488
3974
 
3489
3975
  :example:
3490
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
3976
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
3491
3977
  """
3492
3978
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3493
3979
  required_arguments = ['workRequestId']
@@ -3640,7 +4126,7 @@ class DatabaseMigrationClient(object):
3640
4126
  :rtype: :class:`~oci.response.Response`
3641
4127
 
3642
4128
  :example:
3643
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
4129
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
3644
4130
  """
3645
4131
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3646
4132
  required_arguments = ['compartmentId']
@@ -3739,6 +4225,128 @@ class DatabaseMigrationClient(object):
3739
4225
  api_reference_link=api_reference_link,
3740
4226
  required_arguments=required_arguments)
3741
4227
 
4228
+ def make_current_parameter_file_version(self, job_id, parameter_file_name, **kwargs):
4229
+ """
4230
+ Make current the given parameter file version
4231
+
4232
+
4233
+ :param str job_id: (required)
4234
+ The OCID of the job
4235
+
4236
+ :param str parameter_file_name: (required)
4237
+ A unique name associated with the current migration/job and extract/replicat name
4238
+
4239
+ :param str if_match: (optional)
4240
+ For optimistic concurrency control. In the PUT or DELETE call
4241
+ for a resource, set the `if-match` parameter to the value of the
4242
+ etag from a previous GET or POST response for that resource.
4243
+ The resource will be updated or deleted only if the etag you
4244
+ provide matches the resource's current etag value.
4245
+
4246
+ :param str opc_retry_token: (optional)
4247
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
4248
+ server error without risk of executing that same action again. Retry tokens expire after 24
4249
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
4250
+ has been deleted and purged from the system, then a retry of the original creation request
4251
+ might be rejected.
4252
+
4253
+ :param str opc_request_id: (optional)
4254
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
4255
+ particular request, please provide the request ID.
4256
+
4257
+ :param obj retry_strategy: (optional)
4258
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
4259
+
4260
+ 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.
4261
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
4262
+
4263
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
4264
+
4265
+ :param bool allow_control_chars: (optional)
4266
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
4267
+ By default, the response will not allow control characters in strings
4268
+
4269
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_migration.models.Job`
4270
+ :rtype: :class:`~oci.response.Response`
4271
+
4272
+ :example:
4273
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/make_current_parameter_file_version.py.html>`__ to see an example of how to use make_current_parameter_file_version API.
4274
+ """
4275
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4276
+ required_arguments = ['jobId', 'parameterFileName']
4277
+ resource_path = "/jobs/{jobId}/parameterFileVersions/{parameterFileName}/actions/makeCurrent"
4278
+ method = "POST"
4279
+ operation_name = "make_current_parameter_file_version"
4280
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/MakeCurrentParameterFileVersion"
4281
+
4282
+ # Don't accept unknown kwargs
4283
+ expected_kwargs = [
4284
+ "allow_control_chars",
4285
+ "retry_strategy",
4286
+ "if_match",
4287
+ "opc_retry_token",
4288
+ "opc_request_id"
4289
+ ]
4290
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
4291
+ if extra_kwargs:
4292
+ raise ValueError(
4293
+ f"make_current_parameter_file_version got unknown kwargs: {extra_kwargs!r}")
4294
+
4295
+ path_params = {
4296
+ "jobId": job_id,
4297
+ "parameterFileName": parameter_file_name
4298
+ }
4299
+
4300
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
4301
+
4302
+ for (k, v) in six.iteritems(path_params):
4303
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
4304
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
4305
+
4306
+ header_params = {
4307
+ "accept": "application/json",
4308
+ "content-type": "application/json",
4309
+ "if-match": kwargs.get("if_match", missing),
4310
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
4311
+ "opc-request-id": kwargs.get("opc_request_id", missing)
4312
+ }
4313
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
4314
+
4315
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
4316
+ operation_retry_strategy=kwargs.get('retry_strategy'),
4317
+ client_retry_strategy=self.retry_strategy
4318
+ )
4319
+ if retry_strategy is None:
4320
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
4321
+
4322
+ if retry_strategy:
4323
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
4324
+ self.base_client.add_opc_retry_token_if_needed(header_params)
4325
+ self.base_client.add_opc_client_retries_header(header_params)
4326
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
4327
+ return retry_strategy.make_retrying_call(
4328
+ self.base_client.call_api,
4329
+ resource_path=resource_path,
4330
+ method=method,
4331
+ path_params=path_params,
4332
+ header_params=header_params,
4333
+ response_type="Job",
4334
+ allow_control_chars=kwargs.get('allow_control_chars'),
4335
+ operation_name=operation_name,
4336
+ api_reference_link=api_reference_link,
4337
+ required_arguments=required_arguments)
4338
+ else:
4339
+ return self.base_client.call_api(
4340
+ resource_path=resource_path,
4341
+ method=method,
4342
+ path_params=path_params,
4343
+ header_params=header_params,
4344
+ response_type="Job",
4345
+ allow_control_chars=kwargs.get('allow_control_chars'),
4346
+ operation_name=operation_name,
4347
+ api_reference_link=api_reference_link,
4348
+ required_arguments=required_arguments)
4349
+
3742
4350
  def remove_migration_objects(self, migration_id, remove_migration_objects_details, **kwargs):
3743
4351
  """
3744
4352
  Remove excluded/included objects.
@@ -3777,7 +4385,7 @@ class DatabaseMigrationClient(object):
3777
4385
  :rtype: :class:`~oci.response.Response`
3778
4386
 
3779
4387
  :example:
3780
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/remove_migration_objects.py.html>`__ to see an example of how to use remove_migration_objects API.
4388
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/remove_migration_objects.py.html>`__ to see an example of how to use remove_migration_objects API.
3781
4389
  """
3782
4390
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3783
4391
  required_arguments = ['migrationId']
@@ -3895,7 +4503,7 @@ class DatabaseMigrationClient(object):
3895
4503
  :rtype: :class:`~oci.response.Response`
3896
4504
 
3897
4505
  :example:
3898
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/resume_job.py.html>`__ to see an example of how to use resume_job API.
4506
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/resume_job.py.html>`__ to see an example of how to use resume_job API.
3899
4507
  """
3900
4508
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3901
4509
  required_arguments = ['jobId']
@@ -4002,7 +4610,7 @@ class DatabaseMigrationClient(object):
4002
4610
  :rtype: :class:`~oci.response.Response`
4003
4611
 
4004
4612
  :example:
4005
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/retrieve_supported_phases.py.html>`__ to see an example of how to use retrieve_supported_phases API.
4613
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/retrieve_supported_phases.py.html>`__ to see an example of how to use retrieve_supported_phases API.
4006
4614
  """
4007
4615
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4008
4616
  required_arguments = ['migrationId']
@@ -4118,7 +4726,7 @@ class DatabaseMigrationClient(object):
4118
4726
  :rtype: :class:`~oci.response.Response`
4119
4727
 
4120
4728
  :example:
4121
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/start_migration.py.html>`__ to see an example of how to use start_migration API.
4729
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/start_migration.py.html>`__ to see an example of how to use start_migration API.
4122
4730
  """
4123
4731
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4124
4732
  required_arguments = ['migrationId']
@@ -4197,6 +4805,124 @@ class DatabaseMigrationClient(object):
4197
4805
  api_reference_link=api_reference_link,
4198
4806
  required_arguments=required_arguments)
4199
4807
 
4808
+ def suspend_job(self, job_id, **kwargs):
4809
+ """
4810
+ Place the currently executing migration Job in a Suspended State.
4811
+
4812
+
4813
+ :param str job_id: (required)
4814
+ The OCID of the job
4815
+
4816
+ :param str if_match: (optional)
4817
+ For optimistic concurrency control. In the PUT or DELETE call
4818
+ for a resource, set the `if-match` parameter to the value of the
4819
+ etag from a previous GET or POST response for that resource.
4820
+ The resource will be updated or deleted only if the etag you
4821
+ provide matches the resource's current etag value.
4822
+
4823
+ :param str opc_retry_token: (optional)
4824
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
4825
+ server error without risk of executing that same action again. Retry tokens expire after 24
4826
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
4827
+ has been deleted and purged from the system, then a retry of the original creation request
4828
+ might be rejected.
4829
+
4830
+ :param str opc_request_id: (optional)
4831
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
4832
+ particular request, please provide the request ID.
4833
+
4834
+ :param obj retry_strategy: (optional)
4835
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
4836
+
4837
+ 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.
4838
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
4839
+
4840
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
4841
+
4842
+ :param bool allow_control_chars: (optional)
4843
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
4844
+ By default, the response will not allow control characters in strings
4845
+
4846
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_migration.models.Job`
4847
+ :rtype: :class:`~oci.response.Response`
4848
+
4849
+ :example:
4850
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/suspend_job.py.html>`__ to see an example of how to use suspend_job API.
4851
+ """
4852
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4853
+ required_arguments = ['jobId']
4854
+ resource_path = "/jobs/{jobId}/actions/suspend"
4855
+ method = "POST"
4856
+ operation_name = "suspend_job"
4857
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/SuspendJob"
4858
+
4859
+ # Don't accept unknown kwargs
4860
+ expected_kwargs = [
4861
+ "allow_control_chars",
4862
+ "retry_strategy",
4863
+ "if_match",
4864
+ "opc_retry_token",
4865
+ "opc_request_id"
4866
+ ]
4867
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
4868
+ if extra_kwargs:
4869
+ raise ValueError(
4870
+ f"suspend_job got unknown kwargs: {extra_kwargs!r}")
4871
+
4872
+ path_params = {
4873
+ "jobId": job_id
4874
+ }
4875
+
4876
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
4877
+
4878
+ for (k, v) in six.iteritems(path_params):
4879
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
4880
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
4881
+
4882
+ header_params = {
4883
+ "accept": "application/json",
4884
+ "content-type": "application/json",
4885
+ "if-match": kwargs.get("if_match", missing),
4886
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
4887
+ "opc-request-id": kwargs.get("opc_request_id", missing)
4888
+ }
4889
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
4890
+
4891
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
4892
+ operation_retry_strategy=kwargs.get('retry_strategy'),
4893
+ client_retry_strategy=self.retry_strategy
4894
+ )
4895
+ if retry_strategy is None:
4896
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
4897
+
4898
+ if retry_strategy:
4899
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
4900
+ self.base_client.add_opc_retry_token_if_needed(header_params)
4901
+ self.base_client.add_opc_client_retries_header(header_params)
4902
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
4903
+ return retry_strategy.make_retrying_call(
4904
+ self.base_client.call_api,
4905
+ resource_path=resource_path,
4906
+ method=method,
4907
+ path_params=path_params,
4908
+ header_params=header_params,
4909
+ response_type="Job",
4910
+ allow_control_chars=kwargs.get('allow_control_chars'),
4911
+ operation_name=operation_name,
4912
+ api_reference_link=api_reference_link,
4913
+ required_arguments=required_arguments)
4914
+ else:
4915
+ return self.base_client.call_api(
4916
+ resource_path=resource_path,
4917
+ method=method,
4918
+ path_params=path_params,
4919
+ header_params=header_params,
4920
+ response_type="Job",
4921
+ allow_control_chars=kwargs.get('allow_control_chars'),
4922
+ operation_name=operation_name,
4923
+ api_reference_link=api_reference_link,
4924
+ required_arguments=required_arguments)
4925
+
4200
4926
  def update_connection(self, connection_id, update_connection_details, **kwargs):
4201
4927
  """
4202
4928
  Update Database Connection resource details.
@@ -4235,7 +4961,7 @@ class DatabaseMigrationClient(object):
4235
4961
  :rtype: :class:`~oci.response.Response`
4236
4962
 
4237
4963
  :example:
4238
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/update_connection.py.html>`__ to see an example of how to use update_connection API.
4964
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/update_connection.py.html>`__ to see an example of how to use update_connection API.
4239
4965
  """
4240
4966
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4241
4967
  required_arguments = ['connectionId']
@@ -4346,7 +5072,7 @@ class DatabaseMigrationClient(object):
4346
5072
  :rtype: :class:`~oci.response.Response`
4347
5073
 
4348
5074
  :example:
4349
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/update_job.py.html>`__ to see an example of how to use update_job API.
5075
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/update_job.py.html>`__ to see an example of how to use update_job API.
4350
5076
  """
4351
5077
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4352
5078
  required_arguments = ['jobId']
@@ -4459,7 +5185,7 @@ class DatabaseMigrationClient(object):
4459
5185
  :rtype: :class:`~oci.response.Response`
4460
5186
 
4461
5187
  :example:
4462
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/databasemigration/update_migration.py.html>`__ to see an example of how to use update_migration API.
5188
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/databasemigration/update_migration.py.html>`__ to see an example of how to use update_migration API.
4463
5189
  """
4464
5190
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4465
5191
  required_arguments = ['migrationId']