oci 2.110.2__py3-none-any.whl → 2.112.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 (475) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +18 -18
  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 +36 -36
  6. oci/ai_speech/ai_service_speech_client.py +9 -9
  7. oci/ai_vision/ai_service_vision_client.py +25 -25
  8. oci/analytics/analytics_client.py +23 -23
  9. oci/announcements_service/announcement_client.py +4 -4
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/apigateway/api_gateway_client.py +21 -21
  13. oci/apigateway/deployment_client.py +6 -6
  14. oci/apigateway/gateway_client.py +6 -6
  15. oci/apigateway/subscribers_client.py +6 -6
  16. oci/apigateway/usage_plans_client.py +6 -6
  17. oci/apigateway/work_requests_client.py +5 -5
  18. oci/apm_config/config_client.py +8 -8
  19. oci/apm_control_plane/apm_domain_client.py +14 -14
  20. oci/apm_synthetics/apm_synthetic_client.py +18 -18
  21. oci/apm_synthetics/models/__init__.py +2 -0
  22. oci/apm_synthetics/models/browser_monitor_configuration.py +3 -3
  23. oci/apm_synthetics/models/client_certificate.py +1 -1
  24. oci/apm_synthetics/models/create_monitor_details.py +9 -3
  25. oci/apm_synthetics/models/link.py +2 -2
  26. oci/apm_synthetics/models/monitor.py +9 -3
  27. oci/apm_synthetics/models/monitor_configuration.py +11 -3
  28. oci/apm_synthetics/models/monitor_summary.py +9 -3
  29. oci/apm_synthetics/models/network_monitor_configuration.py +92 -0
  30. oci/apm_synthetics/models/private_key.py +1 -1
  31. oci/apm_synthetics/models/rest_monitor_configuration.py +1 -1
  32. oci/apm_synthetics/models/scripted_browser_monitor_configuration.py +3 -3
  33. oci/apm_synthetics/models/scripted_rest_monitor_configuration.py +1 -1
  34. oci/apm_synthetics/models/update_monitor_details.py +2 -0
  35. oci/apm_traces/query_client.py +2 -2
  36. oci/apm_traces/trace_client.py +4 -4
  37. oci/application_migration/application_migration_client.py +19 -19
  38. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  39. oci/artifacts/artifacts_client.py +32 -32
  40. oci/audit/audit_client.py +3 -3
  41. oci/auth/auth_utils.py +16 -0
  42. oci/auth/rpt_path_providers.py +54 -4
  43. oci/auth/security_token_container.py +4 -0
  44. oci/auth/signers/__init__.py +3 -1
  45. oci/auth/signers/ephemeral_resource_principals_v21_signer.py +31 -1
  46. oci/auth/signers/nested_resource_principals_signer.py +200 -0
  47. oci/auth/signers/oke_workload_identity_resource_principal_signer.py +154 -0
  48. oci/auth/signers/resource_principals_federation_signer.py +1 -1
  49. oci/auth/signers/resource_principals_signer.py +149 -5
  50. oci/autoscaling/auto_scaling_client.py +11 -11
  51. oci/base_client.py +3 -1
  52. oci/bastion/bastion_client.py +15 -15
  53. oci/bds/bds_client.py +47 -47
  54. oci/blockchain/blockchain_platform_client.py +27 -27
  55. oci/budget/budget_client.py +10 -10
  56. oci/certificates/certificates_client.py +5 -5
  57. oci/certificates_management/certificates_management_client.py +32 -32
  58. oci/cims/__init__.py +1 -3
  59. oci/cims/incident_client.py +356 -93
  60. oci/cims/models/__init__.py +6 -0
  61. oci/cims/models/account_item.py +85 -0
  62. oci/cims/models/activity_item.py +112 -14
  63. oci/cims/models/category.py +5 -5
  64. oci/cims/models/contact.py +32 -1
  65. oci/cims/models/contextual_data.py +9 -9
  66. oci/cims/models/create_account_item_details.py +78 -0
  67. oci/cims/models/create_category_details.py +2 -4
  68. oci/cims/models/create_incident.py +13 -9
  69. oci/cims/models/create_issue_type_details.py +0 -2
  70. oci/cims/models/create_item_details.py +9 -7
  71. oci/cims/models/create_limit_item_details.py +3 -3
  72. oci/cims/models/create_resource_details.py +2 -289
  73. oci/cims/models/create_sub_category_details.py +3 -5
  74. oci/cims/models/create_tech_support_item_details.py +1 -3
  75. oci/cims/models/create_ticket_details.py +11 -13
  76. oci/cims/models/create_user_details.py +65 -36
  77. oci/cims/models/incident.py +10 -6
  78. oci/cims/models/incident_resource_type.py +66 -4
  79. oci/cims/models/incident_summary.py +9 -5
  80. oci/cims/models/incident_type.py +1 -1
  81. oci/cims/models/issue_type.py +33 -2
  82. oci/cims/models/item.py +8 -4
  83. oci/cims/models/limit_item.py +7 -7
  84. oci/cims/models/resource.py +2 -285
  85. oci/cims/models/service_categories.py +134 -0
  86. oci/cims/models/service_category.py +1 -1
  87. oci/cims/models/sub_category.py +5 -5
  88. oci/cims/models/tenancy_information.py +3 -3
  89. oci/cims/models/ticket.py +7 -3
  90. oci/cims/models/update_activity_item_details.py +8 -6
  91. oci/cims/models/update_incident.py +62 -2
  92. oci/cims/models/update_item_details.py +3 -5
  93. oci/cims/models/update_resource_details.py +0 -2
  94. oci/cims/models/update_ticket_details.py +0 -2
  95. oci/cims/models/user.py +79 -19
  96. oci/cims/user_client.py +1 -1
  97. oci/cloud_bridge/common_client.py +5 -5
  98. oci/cloud_bridge/discovery_client.py +14 -14
  99. oci/cloud_bridge/inventory_client.py +16 -16
  100. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  101. oci/cloud_guard/cloud_guard_client.py +133 -133
  102. oci/cloud_migrations/migration_client.py +43 -43
  103. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  104. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  105. oci/compute_instance_agent/plugin_client.py +2 -2
  106. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  107. oci/container_engine/container_engine_client.py +44 -44
  108. oci/container_instances/container_instance_client.py +129 -24
  109. oci/core/blockstorage_client.py +60 -60
  110. oci/core/compute_client.py +90 -90
  111. oci/core/compute_management_client.py +32 -32
  112. oci/core/models/__init__.py +20 -0
  113. oci/core/models/amd_milan_bm_gpu_launch_instance_platform_config.py +34 -3
  114. oci/core/models/amd_milan_bm_gpu_platform_config.py +34 -3
  115. oci/core/models/amd_milan_bm_launch_instance_platform_config.py +34 -3
  116. oci/core/models/amd_milan_bm_platform_config.py +34 -3
  117. oci/core/models/amd_rome_bm_gpu_launch_instance_platform_config.py +34 -3
  118. oci/core/models/amd_rome_bm_gpu_platform_config.py +34 -3
  119. oci/core/models/amd_rome_bm_launch_instance_platform_config.py +34 -3
  120. oci/core/models/amd_rome_bm_platform_config.py +34 -3
  121. oci/core/models/amd_vm_launch_instance_platform_config.py +1 -1
  122. oci/core/models/amd_vm_platform_config.py +1 -1
  123. oci/core/models/capture_filter.py +5 -2
  124. oci/core/models/change_capture_filter_compartment_details.py +1 -1
  125. oci/core/models/cluster_network_placement_configuration_details.py +32 -5
  126. oci/core/models/cpe.py +33 -2
  127. oci/core/models/create_capture_filter_details.py +1 -1
  128. oci/core/models/create_cpe_details.py +33 -2
  129. oci/core/models/create_instance_pool_placement_configuration_details.py +32 -5
  130. oci/core/models/create_ip_sec_connection_tunnel_details.py +105 -0
  131. oci/core/models/create_macsec_properties.py +33 -2
  132. oci/core/models/create_virtual_circuit_details.py +31 -0
  133. oci/core/models/create_vnic_details.py +76 -0
  134. oci/core/models/drg_attachment_network_create_details.py +1 -1
  135. oci/core/models/drg_attachment_network_details.py +5 -1
  136. oci/core/models/generic_bm_launch_instance_platform_config.py +349 -0
  137. oci/core/models/generic_bm_platform_config.py +349 -0
  138. oci/core/models/instance_configuration_amd_milan_bm_gpu_launch_instance_platform_config.py +34 -3
  139. oci/core/models/instance_configuration_amd_milan_bm_launch_instance_platform_config.py +34 -3
  140. oci/core/models/instance_configuration_amd_rome_bm_gpu_launch_instance_platform_config.py +34 -3
  141. oci/core/models/instance_configuration_amd_rome_bm_launch_instance_platform_config.py +34 -3
  142. oci/core/models/instance_configuration_amd_vm_launch_instance_platform_config.py +1 -1
  143. oci/core/models/instance_configuration_create_vnic_details.py +76 -0
  144. oci/core/models/instance_configuration_generic_bm_launch_instance_platform_config.py +349 -0
  145. oci/core/models/instance_configuration_intel_icelake_bm_launch_instance_platform_config.py +34 -3
  146. oci/core/models/instance_configuration_intel_skylake_bm_launch_instance_platform_config.py +199 -3
  147. oci/core/models/instance_configuration_intel_vm_launch_instance_platform_config.py +1 -1
  148. oci/core/models/instance_configuration_ipv6_address_ipv6_subnet_cidr_pair_details.py +103 -0
  149. oci/core/models/instance_configuration_launch_instance_platform_config.py +11 -3
  150. oci/core/models/instance_pool_placement_configuration.py +32 -3
  151. oci/core/models/instance_pool_placement_ipv6_address_ipv6_subnet_cidr_details.py +72 -0
  152. oci/core/models/instance_pool_placement_primary_subnet.py +152 -0
  153. oci/core/models/instance_pool_placement_secondary_vnic_subnet.py +76 -0
  154. oci/core/models/instance_pool_placement_subnet_details.py +152 -0
  155. oci/core/models/intel_icelake_bm_launch_instance_platform_config.py +34 -3
  156. oci/core/models/intel_icelake_bm_platform_config.py +34 -3
  157. oci/core/models/intel_skylake_bm_launch_instance_platform_config.py +199 -3
  158. oci/core/models/intel_skylake_bm_platform_config.py +199 -3
  159. oci/core/models/intel_vm_launch_instance_platform_config.py +1 -1
  160. oci/core/models/intel_vm_platform_config.py +1 -1
  161. oci/core/models/ip_sec_connection.py +49 -2
  162. oci/core/models/ip_sec_connection_tunnel.py +37 -2
  163. oci/core/models/ipsec_tunnel_drg_attachment_network_details.py +37 -2
  164. oci/core/models/ipv6_address_ipv6_subnet_cidr_pair_details.py +109 -0
  165. oci/core/models/launch_instance_platform_config.py +11 -3
  166. oci/core/models/loop_back_drg_attachment_network_details.py +93 -0
  167. oci/core/models/macsec_properties.py +33 -2
  168. oci/core/models/platform_config.py +11 -3
  169. oci/core/models/shape_platform_config_options.py +7 -3
  170. oci/core/models/update_capture_filter_details.py +1 -1
  171. oci/core/models/update_instance_pool_placement_configuration_details.py +34 -7
  172. oci/core/models/update_macsec_properties.py +33 -2
  173. oci/core/models/update_virtual_circuit_details.py +31 -0
  174. oci/core/models/virtual_circuit.py +31 -0
  175. oci/core/models/virtual_circuit_associated_tunnel_details.py +154 -0
  176. oci/core/models/virtual_circuit_drg_attachment_network_details.py +37 -2
  177. oci/core/models/vnic.py +37 -2
  178. oci/core/virtual_network_client.py +361 -241
  179. oci/dashboard_service/dashboard_client.py +6 -6
  180. oci/dashboard_service/dashboard_group_client.py +6 -6
  181. oci/data_catalog/data_catalog_client.py +424 -154
  182. oci/data_catalog/models/__init__.py +22 -0
  183. oci/data_catalog/models/asynchronous_export_glossary_details.py +68 -0
  184. oci/data_catalog/models/asynchronous_export_glossary_result.py +196 -0
  185. oci/data_catalog/models/asynchronous_export_request_details.py +68 -0
  186. oci/data_catalog/models/asynchronous_export_result.py +196 -0
  187. oci/data_catalog/models/attribute.py +33 -0
  188. oci/data_catalog/models/attribute_summary.py +33 -0
  189. oci/data_catalog/models/create_job_definition_details.py +42 -3
  190. oci/data_catalog/models/create_job_details.py +2 -0
  191. oci/data_catalog/models/create_job_execution_details.py +11 -3
  192. oci/data_catalog/models/data_asset.py +33 -0
  193. oci/data_catalog/models/data_asset_summary.py +35 -2
  194. oci/data_catalog/models/entity.py +33 -0
  195. oci/data_catalog/models/entity_lineage.py +222 -0
  196. oci/data_catalog/models/entity_summary.py +33 -0
  197. oci/data_catalog/models/faceted_search_date_filter_request.py +2 -2
  198. oci/data_catalog/models/faceted_search_string_filter_request.py +8 -2
  199. oci/data_catalog/models/fetch_entity_lineage_details.py +190 -0
  200. oci/data_catalog/models/folder.py +33 -0
  201. oci/data_catalog/models/folder_summary.py +35 -2
  202. oci/data_catalog/models/job.py +44 -3
  203. oci/data_catalog/models/job_definition.py +42 -3
  204. oci/data_catalog/models/job_definition_summary.py +44 -5
  205. oci/data_catalog/models/job_execution.py +11 -3
  206. oci/data_catalog/models/job_execution_summary.py +11 -3
  207. oci/data_catalog/models/job_summary.py +44 -3
  208. oci/data_catalog/models/lineage_object.py +400 -0
  209. oci/data_catalog/models/lineage_relationship.py +134 -0
  210. oci/data_catalog/models/object_lineage.py +223 -0
  211. oci/data_catalog/models/object_lineage_request_details.py +190 -0
  212. oci/data_catalog/models/object_storage_object_reference.py +134 -0
  213. oci/data_catalog/models/update_job_definition_details.py +31 -0
  214. oci/data_catalog/models/update_job_details.py +2 -0
  215. oci/data_flow/data_flow_client.py +42 -42
  216. oci/data_integration/data_integration_client.py +163 -163
  217. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  218. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  219. oci/data_safe/data_safe_client.py +214 -214
  220. oci/data_science/data_science_client.py +85 -85
  221. oci/database/database_client.py +626 -308
  222. oci/database/models/__init__.py +10 -0
  223. oci/database/models/acd_avm_resource_stats.py +241 -0
  224. oci/database/models/autonomous_container_database.py +107 -38
  225. oci/database/models/autonomous_container_database_resource_usage.py +437 -0
  226. oci/database/models/autonomous_container_database_summary.py +107 -38
  227. oci/database/models/autonomous_database.py +2 -6
  228. oci/database/models/autonomous_database_connection_strings.py +1 -1
  229. oci/database/models/autonomous_database_summary.py +2 -6
  230. oci/database/models/autonomous_vm_cluster.py +6 -18
  231. oci/database/models/autonomous_vm_cluster_summary.py +6 -18
  232. oci/database/models/autonomous_vm_resource_usage.py +299 -0
  233. oci/database/models/avm_acd_resource_stats.py +272 -0
  234. oci/database/models/cloud_autonomous_vm_cluster.py +287 -20
  235. oci/database/models/cloud_autonomous_vm_cluster_resource_usage.py +673 -0
  236. oci/database/models/cloud_autonomous_vm_cluster_summary.py +287 -20
  237. oci/database/models/create_autonomous_vm_cluster_details.py +4 -12
  238. oci/database/models/create_cloud_autonomous_vm_cluster_details.py +4 -12
  239. oci/database/models/update_autonomous_database_details.py +2 -6
  240. oci/database_management/db_management_client.py +182 -182
  241. oci/database_management/diagnosability_client.py +4 -4
  242. oci/database_management/sql_tuning_client.py +10 -10
  243. oci/database_migration/database_migration_client.py +41 -41
  244. oci/database_migration/models/__init__.py +10 -0
  245. oci/database_migration/models/connection.py +27 -0
  246. oci/database_migration/models/create_connection_details.py +27 -0
  247. oci/database_migration/models/create_golden_gate_hub.py +4 -4
  248. oci/database_migration/models/create_golden_gate_service_details.py +149 -0
  249. oci/database_migration/models/create_migration_details.py +27 -0
  250. oci/database_migration/models/database_credentials.py +103 -0
  251. oci/database_migration/models/ggs_deployment.py +103 -0
  252. oci/database_migration/models/golden_gate_service_details.py +95 -0
  253. oci/database_migration/models/migration.py +38 -3
  254. oci/database_migration/models/migration_job_progress_resource.py +11 -3
  255. oci/database_migration/models/migration_job_progress_summary.py +11 -3
  256. oci/database_migration/models/migration_phase_summary.py +11 -3
  257. oci/database_migration/models/phase_status.py +11 -3
  258. oci/database_migration/models/resume_job_details.py +11 -3
  259. oci/database_migration/models/start_migration_details.py +11 -3
  260. oci/database_migration/models/update_connection_details.py +27 -0
  261. oci/database_migration/models/update_golden_gate_service_details.py +149 -0
  262. oci/database_migration/models/update_migration_details.py +27 -0
  263. oci/database_tools/database_tools_client.py +19 -19
  264. oci/devops/devops_client.py +89 -89
  265. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  266. oci/dns/dns_client.py +52 -52
  267. oci/dts/appliance_export_job_client.py +6 -6
  268. oci/dts/shipping_vendors_client.py +1 -1
  269. oci/dts/transfer_appliance_client.py +8 -8
  270. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  271. oci/dts/transfer_device_client.py +5 -5
  272. oci/dts/transfer_job_client.py +6 -6
  273. oci/dts/transfer_package_client.py +7 -7
  274. oci/em_warehouse/em_data_lake_client.py +13 -13
  275. oci/em_warehouse/em_warehouse_client.py +13 -13
  276. oci/email/email_client.py +25 -25
  277. oci/events/events_client.py +6 -6
  278. oci/file_storage/file_storage_client.py +50 -50
  279. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  280. oci/functions/functions_invoke_client.py +1 -1
  281. oci/functions/functions_management_client.py +16 -16
  282. oci/fusion_apps/data_masking_activity_client.py +3 -3
  283. oci/fusion_apps/fusion_applications_client.py +39 -39
  284. oci/fusion_apps/fusion_environment_client.py +15 -15
  285. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  286. oci/fusion_apps/refresh_activity_client.py +4 -4
  287. oci/fusion_apps/scheduled_activity_client.py +2 -2
  288. oci/fusion_apps/service_attachment_client.py +2 -2
  289. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  290. oci/golden_gate/golden_gate_client.py +57 -57
  291. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  292. oci/governance_rules_control_plane/work_request_client.py +5 -5
  293. oci/healthchecks/health_checks_client.py +17 -17
  294. oci/identity/identity_client.py +145 -145
  295. oci/identity_data_plane/dataplane_client.py +2 -2
  296. oci/identity_domains/identity_domains_client.py +190 -190
  297. oci/integration/integration_instance_client.py +15 -15
  298. oci/jms/java_management_service_client.py +56 -56
  299. oci/key_management/kms_crypto_client.py +6 -6
  300. oci/key_management/kms_management_client.py +21 -21
  301. oci/key_management/kms_vault_client.py +14 -14
  302. oci/license_manager/license_manager_client.py +18 -18
  303. oci/limits/limits_client.py +4 -4
  304. oci/limits/quotas_client.py +7 -7
  305. oci/load_balancer/load_balancer_client.py +61 -61
  306. oci/lockbox/lockbox_client.py +22 -22
  307. oci/log_analytics/log_analytics_client.py +192 -192
  308. oci/logging/logging_management_client.py +30 -30
  309. oci/loggingingestion/logging_client.py +1 -1
  310. oci/loggingsearch/log_search_client.py +1 -1
  311. oci/management_agent/management_agent_client.py +23 -23
  312. oci/management_dashboard/dashx_apis_client.py +14 -14
  313. oci/marketplace/account_client.py +2 -2
  314. oci/marketplace/marketplace_client.py +25 -25
  315. oci/media_services/media_services_client.py +48 -48
  316. oci/media_services/media_stream_client.py +2 -2
  317. oci/monitoring/monitoring_client.py +13 -13
  318. oci/mysql/channels_client.py +7 -7
  319. oci/mysql/db_backups_client.py +6 -6
  320. oci/mysql/db_system_client.py +273 -1328
  321. oci/mysql/db_system_client_composite_operations.py +0 -294
  322. oci/mysql/models/__init__.py +0 -16
  323. oci/mysql/models/db_system.py +0 -60
  324. oci/mysql/models/db_system_summary.py +0 -60
  325. oci/mysql/models/shape_summary.py +3 -7
  326. oci/mysql/models/work_request.py +3 -31
  327. oci/mysql/models/work_request_summary.py +3 -31
  328. oci/mysql/mysqlaas_client.py +9 -9
  329. oci/mysql/replicas_client.py +5 -5
  330. oci/mysql/work_requests_client.py +4 -4
  331. oci/network_firewall/network_firewall_client.py +17 -17
  332. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  333. oci/nosql/nosql_client.py +22 -22
  334. oci/object_storage/object_storage_client.py +50 -50
  335. oci/oce/oce_instance_client.py +10 -10
  336. oci/oci_control_center/occ_metrics_client.py +3 -3
  337. oci/ocvp/esxi_host_client.py +6 -6
  338. oci/ocvp/sddc_client.py +13 -13
  339. oci/ocvp/work_request_client.py +4 -4
  340. oci/oda/management_client.py +56 -56
  341. oci/oda/oda_client.py +17 -17
  342. oci/oda/odapackage_client.py +7 -7
  343. oci/onesubscription/billing_schedule_client.py +1 -1
  344. oci/onesubscription/commitment_client.py +2 -2
  345. oci/onesubscription/computed_usage_client.py +3 -3
  346. oci/onesubscription/invoice_summary_client.py +2 -2
  347. oci/onesubscription/organization_subscription_client.py +1 -1
  348. oci/onesubscription/ratecard_client.py +1 -1
  349. oci/onesubscription/subscribed_service_client.py +2 -2
  350. oci/onesubscription/subscription_client.py +1 -1
  351. oci/ons/notification_control_plane_client.py +6 -6
  352. oci/ons/notification_data_plane_client.py +10 -10
  353. oci/opa/opa_instance_client.py +11 -11
  354. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  355. oci/opensearch/opensearch_cluster_client.py +14 -14
  356. oci/operator_access_control/access_requests_client.py +9 -9
  357. oci/operator_access_control/operator_actions_client.py +2 -2
  358. oci/operator_access_control/operator_control_assignment_client.py +6 -6
  359. oci/operator_access_control/operator_control_client.py +6 -6
  360. oci/opsi/operations_insights_client.py +159 -159
  361. oci/optimizer/optimizer_client.py +26 -26
  362. oci/os_management/event_client.py +8 -8
  363. oci/os_management/os_management_client.py +69 -69
  364. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  365. oci/os_management_hub/managed_instance_client.py +22 -22
  366. oci/os_management_hub/managed_instance_group_client.py +22 -22
  367. oci/os_management_hub/management_station_client.py +8 -8
  368. oci/os_management_hub/onboarding_client.py +5 -5
  369. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  370. oci/os_management_hub/scheduled_job_client.py +6 -6
  371. oci/os_management_hub/software_source_client.py +22 -22
  372. oci/os_management_hub/work_request_client.py +4 -4
  373. oci/osp_gateway/address_rule_service_client.py +1 -1
  374. oci/osp_gateway/address_service_client.py +2 -2
  375. oci/osp_gateway/invoice_service_client.py +5 -5
  376. oci/osp_gateway/subscription_service_client.py +5 -5
  377. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  378. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  379. oci/osub_subscription/commitment_client.py +2 -2
  380. oci/osub_subscription/ratecard_client.py +1 -1
  381. oci/osub_subscription/subscription_client.py +1 -1
  382. oci/osub_usage/computed_usage_client.py +3 -3
  383. oci/queue/models/__init__.py +4 -0
  384. oci/queue/models/channel_collection.py +72 -0
  385. oci/queue/models/create_queue_details.py +50 -11
  386. oci/queue/models/delete_messages_details_entry.py +2 -2
  387. oci/queue/models/get_message.py +55 -12
  388. oci/queue/models/message_metadata.py +103 -0
  389. oci/queue/models/purge_queue_details.py +43 -8
  390. oci/queue/models/put_message.py +44 -5
  391. oci/queue/models/put_messages.py +3 -3
  392. oci/queue/models/put_messages_details_entry.py +29 -2
  393. oci/queue/models/queue.py +76 -21
  394. oci/queue/models/queue_stats.py +34 -3
  395. oci/queue/models/queue_summary.py +37 -17
  396. oci/queue/models/stats.py +2 -2
  397. oci/queue/models/update_messages_details.py +1 -1
  398. oci/queue/models/update_messages_details_entry.py +2 -2
  399. oci/queue/models/update_messages_result.py +2 -2
  400. oci/queue/models/update_messages_result_entry.py +12 -4
  401. oci/queue/models/update_queue_details.py +47 -8
  402. oci/queue/models/updated_message.py +12 -4
  403. oci/queue/models/work_request.py +6 -2
  404. oci/queue/models/work_request_error.py +6 -2
  405. oci/queue/models/work_request_log_entry.py +6 -2
  406. oci/queue/models/work_request_summary.py +8 -4
  407. oci/queue/queue_admin_client.py +67 -46
  408. oci/queue/queue_admin_client_composite_operations.py +4 -4
  409. oci/queue/queue_client.py +209 -36
  410. oci/recovery/database_recovery_client.py +23 -23
  411. oci/resource_manager/resource_manager_client.py +52 -52
  412. oci/resource_search/resource_search_client.py +3 -3
  413. oci/rover/rover_bundle_client.py +8 -8
  414. oci/rover/rover_cluster_client.py +8 -8
  415. oci/rover/rover_entitlement_client.py +6 -6
  416. oci/rover/rover_node_client.py +15 -15
  417. oci/rover/shape_client.py +1 -1
  418. oci/rover/work_requests_client.py +5 -5
  419. oci/sch/service_connector_client.py +12 -12
  420. oci/secrets/secrets_client.py +3 -3
  421. oci/service_catalog/service_catalog_client.py +26 -26
  422. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  423. oci/service_mesh/service_mesh_client.py +48 -48
  424. oci/stack_monitoring/stack_monitoring_client.py +22 -22
  425. oci/streaming/stream_admin_client.py +18 -18
  426. oci/streaming/stream_client.py +8 -8
  427. oci/tenant_manager_control_plane/domain_client.py +5 -5
  428. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  429. oci/tenant_manager_control_plane/governance_client.py +2 -2
  430. oci/tenant_manager_control_plane/link_client.py +3 -3
  431. oci/tenant_manager_control_plane/orders_client.py +2 -2
  432. oci/tenant_manager_control_plane/organization_client.py +10 -10
  433. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  434. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  435. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  436. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  437. oci/threat_intelligence/threatintel_client.py +5 -5
  438. oci/usage/resources_client.py +2 -2
  439. oci/usage/rewards_client.py +6 -6
  440. oci/usage/usagelimits_client.py +1 -1
  441. oci/usage_api/usageapi_client.py +19 -19
  442. oci/vault/vaults_client.py +11 -11
  443. oci/vbs_inst/vbs_instance_client.py +10 -10
  444. oci/version.py +1 -1
  445. oci/visual_builder/vb_instance_client.py +13 -13
  446. oci/vn_monitoring/models/__init__.py +4 -0
  447. oci/vn_monitoring/models/cpe.py +33 -2
  448. oci/vn_monitoring/models/create_cpe_details.py +33 -2
  449. oci/vn_monitoring/models/create_ip_sec_connection_details.py +35 -2
  450. oci/vn_monitoring/models/create_ip_sec_connection_tunnel_details.py +105 -0
  451. oci/vn_monitoring/models/create_virtual_circuit_details.py +31 -0
  452. oci/vn_monitoring/models/drg_attachment_network_create_details.py +1 -1
  453. oci/vn_monitoring/models/drg_attachment_network_details.py +5 -1
  454. oci/vn_monitoring/models/ip_sec_connection.py +50 -2
  455. oci/vn_monitoring/models/ip_sec_connection_tunnel.py +37 -2
  456. oci/vn_monitoring/models/ipsec_tunnel_drg_attachment_network_details.py +37 -2
  457. oci/vn_monitoring/models/loop_back_drg_attachment_network_details.py +93 -0
  458. oci/vn_monitoring/models/update_virtual_circuit_details.py +31 -0
  459. oci/vn_monitoring/models/virtual_circuit.py +31 -0
  460. oci/vn_monitoring/models/virtual_circuit_associated_tunnel_details.py +155 -0
  461. oci/vn_monitoring/models/virtual_circuit_drg_attachment_network_details.py +37 -2
  462. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  463. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  464. oci/waa/waa_client.py +13 -13
  465. oci/waa/work_request_client.py +4 -4
  466. oci/waas/redirect_client.py +6 -6
  467. oci/waas/waas_client.py +66 -66
  468. oci/waf/waf_client.py +24 -24
  469. oci/work_requests/work_request_client.py +4 -4
  470. {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/METADATA +1 -1
  471. {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/RECORD +475 -434
  472. {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/LICENSE.txt +0 -0
  473. {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  474. {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/WHEEL +0 -0
  475. {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/top_level.txt +0 -0
@@ -111,134 +111,6 @@ class DbSystemClient(object):
111
111
  self.retry_strategy = kwargs.get('retry_strategy')
112
112
  self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
113
113
 
114
- def add_analytics_cluster(self, db_system_id, add_analytics_cluster_details, **kwargs):
115
- """
116
- DEPRECATED -- please use HeatWave API instead.
117
- Adds an Analytics Cluster to the DB System.
118
-
119
-
120
- :param str db_system_id: (required)
121
- The DB System `OCID`__.
122
-
123
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
124
-
125
- :param oci.mysql.models.AddAnalyticsClusterDetails add_analytics_cluster_details: (required)
126
- Request to add an Analytics Cluster.
127
-
128
- :param str if_match: (optional)
129
- For optimistic concurrency control. In the PUT or DELETE call for a
130
- resource, set the `If-Match` header to the value of the etag from a
131
- previous GET or POST response for that resource. The resource will be
132
- updated or deleted only if the etag you provide matches the resource's
133
- current etag value.
134
-
135
- :param str opc_request_id: (optional)
136
- Customer-defined unique identifier for the request. If you need to
137
- contact Oracle about a specific request, please provide the request
138
- ID that you supplied in this header with the request.
139
-
140
- :param str opc_retry_token: (optional)
141
- A token that uniquely identifies a request so it can be retried in case
142
- of a timeout or server error without risk of executing that same action
143
- again. Retry tokens expire after 24 hours, but can be invalidated before
144
- then due to conflicting operations (for example, if a resource has been
145
- deleted and purged from the system, then a retry of the original
146
- creation request may be rejected).
147
-
148
- :param obj retry_strategy: (optional)
149
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
150
-
151
- 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.
152
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
153
-
154
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
155
-
156
- :param bool allow_control_chars: (optional)
157
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
158
- By default, the response will not allow control characters in strings
159
-
160
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.mysql.models.AnalyticsCluster`
161
- :rtype: :class:`~oci.response.Response`
162
-
163
- :example:
164
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/add_analytics_cluster.py.html>`__ to see an example of how to use add_analytics_cluster API.
165
- """
166
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
167
- required_arguments = ['dbSystemId']
168
- resource_path = "/dbSystems/{dbSystemId}/analyticsCluster/actions/add"
169
- method = "POST"
170
- operation_name = "add_analytics_cluster"
171
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/AddAnalyticsCluster"
172
-
173
- # Don't accept unknown kwargs
174
- expected_kwargs = [
175
- "allow_control_chars",
176
- "retry_strategy",
177
- "if_match",
178
- "opc_request_id",
179
- "opc_retry_token"
180
- ]
181
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
182
- if extra_kwargs:
183
- raise ValueError(
184
- "add_analytics_cluster got unknown kwargs: {!r}".format(extra_kwargs))
185
-
186
- path_params = {
187
- "dbSystemId": db_system_id
188
- }
189
-
190
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
191
-
192
- for (k, v) in six.iteritems(path_params):
193
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
194
- raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
195
-
196
- header_params = {
197
- "accept": "application/json",
198
- "content-type": "application/json",
199
- "if-match": kwargs.get("if_match", missing),
200
- "opc-request-id": kwargs.get("opc_request_id", missing),
201
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
202
- }
203
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
204
-
205
- retry_strategy = self.base_client.get_preferred_retry_strategy(
206
- operation_retry_strategy=kwargs.get('retry_strategy'),
207
- client_retry_strategy=self.retry_strategy
208
- )
209
- if retry_strategy is None:
210
- retry_strategy = retry.DEFAULT_RETRY_STRATEGY
211
-
212
- if retry_strategy:
213
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
214
- self.base_client.add_opc_retry_token_if_needed(header_params)
215
- self.base_client.add_opc_client_retries_header(header_params)
216
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
217
- return retry_strategy.make_retrying_call(
218
- self.base_client.call_api,
219
- resource_path=resource_path,
220
- method=method,
221
- path_params=path_params,
222
- header_params=header_params,
223
- body=add_analytics_cluster_details,
224
- response_type="AnalyticsCluster",
225
- allow_control_chars=kwargs.get('allow_control_chars'),
226
- operation_name=operation_name,
227
- api_reference_link=api_reference_link,
228
- required_arguments=required_arguments)
229
- else:
230
- return self.base_client.call_api(
231
- resource_path=resource_path,
232
- method=method,
233
- path_params=path_params,
234
- header_params=header_params,
235
- body=add_analytics_cluster_details,
236
- response_type="AnalyticsCluster",
237
- allow_control_chars=kwargs.get('allow_control_chars'),
238
- operation_name=operation_name,
239
- api_reference_link=api_reference_link,
240
- required_arguments=required_arguments)
241
-
242
114
  def add_heat_wave_cluster(self, db_system_id, add_heat_wave_cluster_details, **kwargs):
243
115
  """
244
116
  Adds a HeatWave cluster to the DB System.
@@ -288,7 +160,7 @@ class DbSystemClient(object):
288
160
  :rtype: :class:`~oci.response.Response`
289
161
 
290
162
  :example:
291
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/add_heat_wave_cluster.py.html>`__ to see an example of how to use add_heat_wave_cluster API.
163
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/add_heat_wave_cluster.py.html>`__ to see an example of how to use add_heat_wave_cluster API.
292
164
  """
293
165
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
294
166
  required_arguments = ['dbSystemId']
@@ -403,7 +275,7 @@ class DbSystemClient(object):
403
275
  :rtype: :class:`~oci.response.Response`
404
276
 
405
277
  :example:
406
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/create_db_system.py.html>`__ to see an example of how to use create_db_system API.
278
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/create_db_system.py.html>`__ to see an example of how to use create_db_system API.
407
279
  """
408
280
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
409
281
  required_arguments = []
@@ -467,11 +339,10 @@ class DbSystemClient(object):
467
339
  api_reference_link=api_reference_link,
468
340
  required_arguments=required_arguments)
469
341
 
470
- def delete_analytics_cluster(self, db_system_id, **kwargs):
342
+ def delete_db_system(self, db_system_id, **kwargs):
471
343
  """
472
- DEPRECATED -- please use HeatWave API instead.
473
- Deletes the Analytics Cluster including terminating, detaching, removing, finalizing and
474
- otherwise deleting all related resources.
344
+ Delete a DB System, including terminating, detaching,
345
+ removing, finalizing and otherwise deleting all related resources.
475
346
 
476
347
 
477
348
  :param str db_system_id: (required)
@@ -507,14 +378,14 @@ class DbSystemClient(object):
507
378
  :rtype: :class:`~oci.response.Response`
508
379
 
509
380
  :example:
510
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/delete_analytics_cluster.py.html>`__ to see an example of how to use delete_analytics_cluster API.
381
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/delete_db_system.py.html>`__ to see an example of how to use delete_db_system API.
511
382
  """
512
383
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
513
384
  required_arguments = ['dbSystemId']
514
- resource_path = "/dbSystems/{dbSystemId}/analyticsCluster"
385
+ resource_path = "/dbSystems/{dbSystemId}"
515
386
  method = "DELETE"
516
- operation_name = "delete_analytics_cluster"
517
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/DeleteAnalyticsCluster"
387
+ operation_name = "delete_db_system"
388
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/DeleteDbSystem"
518
389
 
519
390
  # Don't accept unknown kwargs
520
391
  expected_kwargs = [
@@ -526,7 +397,7 @@ class DbSystemClient(object):
526
397
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
527
398
  if extra_kwargs:
528
399
  raise ValueError(
529
- "delete_analytics_cluster got unknown kwargs: {!r}".format(extra_kwargs))
400
+ "delete_db_system got unknown kwargs: {!r}".format(extra_kwargs))
530
401
 
531
402
  path_params = {
532
403
  "dbSystemId": db_system_id
@@ -578,10 +449,10 @@ class DbSystemClient(object):
578
449
  api_reference_link=api_reference_link,
579
450
  required_arguments=required_arguments)
580
451
 
581
- def delete_db_system(self, db_system_id, **kwargs):
452
+ def delete_heat_wave_cluster(self, db_system_id, **kwargs):
582
453
  """
583
- Delete a DB System, including terminating, detaching,
584
- removing, finalizing and otherwise deleting all related resources.
454
+ Deletes the HeatWave cluster including terminating, detaching, removing, finalizing and
455
+ otherwise deleting all related resources.
585
456
 
586
457
 
587
458
  :param str db_system_id: (required)
@@ -617,14 +488,14 @@ class DbSystemClient(object):
617
488
  :rtype: :class:`~oci.response.Response`
618
489
 
619
490
  :example:
620
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/delete_db_system.py.html>`__ to see an example of how to use delete_db_system API.
491
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/delete_heat_wave_cluster.py.html>`__ to see an example of how to use delete_heat_wave_cluster API.
621
492
  """
622
493
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
623
494
  required_arguments = ['dbSystemId']
624
- resource_path = "/dbSystems/{dbSystemId}"
495
+ resource_path = "/dbSystems/{dbSystemId}/heatWaveCluster"
625
496
  method = "DELETE"
626
- operation_name = "delete_db_system"
627
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/DeleteDbSystem"
497
+ operation_name = "delete_heat_wave_cluster"
498
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/DeleteHeatWaveCluster"
628
499
 
629
500
  # Don't accept unknown kwargs
630
501
  expected_kwargs = [
@@ -636,7 +507,7 @@ class DbSystemClient(object):
636
507
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
637
508
  if extra_kwargs:
638
509
  raise ValueError(
639
- "delete_db_system got unknown kwargs: {!r}".format(extra_kwargs))
510
+ "delete_heat_wave_cluster got unknown kwargs: {!r}".format(extra_kwargs))
640
511
 
641
512
  path_params = {
642
513
  "dbSystemId": db_system_id
@@ -688,10 +559,9 @@ class DbSystemClient(object):
688
559
  api_reference_link=api_reference_link,
689
560
  required_arguments=required_arguments)
690
561
 
691
- def delete_heat_wave_cluster(self, db_system_id, **kwargs):
562
+ def generate_heat_wave_cluster_memory_estimate(self, db_system_id, **kwargs):
692
563
  """
693
- Deletes the HeatWave cluster including terminating, detaching, removing, finalizing and
694
- otherwise deleting all related resources.
564
+ Sends a request to estimate the memory footprints of user tables when loaded to HeatWave cluster memory.
695
565
 
696
566
 
697
567
  :param str db_system_id: (required)
@@ -699,18 +569,19 @@ class DbSystemClient(object):
699
569
 
700
570
  __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
701
571
 
702
- :param str if_match: (optional)
703
- For optimistic concurrency control. In the PUT or DELETE call for a
704
- resource, set the `If-Match` header to the value of the etag from a
705
- previous GET or POST response for that resource. The resource will be
706
- updated or deleted only if the etag you provide matches the resource's
707
- current etag value.
708
-
709
572
  :param str opc_request_id: (optional)
710
573
  Customer-defined unique identifier for the request. If you need to
711
574
  contact Oracle about a specific request, please provide the request
712
575
  ID that you supplied in this header with the request.
713
576
 
577
+ :param str opc_retry_token: (optional)
578
+ A token that uniquely identifies a request so it can be retried in case
579
+ of a timeout or server error without risk of executing that same action
580
+ again. Retry tokens expire after 24 hours, but can be invalidated before
581
+ then due to conflicting operations (for example, if a resource has been
582
+ deleted and purged from the system, then a retry of the original
583
+ creation request may be rejected).
584
+
714
585
  :param obj retry_strategy: (optional)
715
586
  A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
716
587
 
@@ -723,30 +594,30 @@ class DbSystemClient(object):
723
594
  allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
724
595
  By default, the response will not allow control characters in strings
725
596
 
726
- :return: A :class:`~oci.response.Response` object with data of type None
597
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.mysql.models.HeatWaveClusterMemoryEstimate`
727
598
  :rtype: :class:`~oci.response.Response`
728
599
 
729
600
  :example:
730
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/delete_heat_wave_cluster.py.html>`__ to see an example of how to use delete_heat_wave_cluster API.
601
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/generate_heat_wave_cluster_memory_estimate.py.html>`__ to see an example of how to use generate_heat_wave_cluster_memory_estimate API.
731
602
  """
732
603
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
733
604
  required_arguments = ['dbSystemId']
734
- resource_path = "/dbSystems/{dbSystemId}/heatWaveCluster"
735
- method = "DELETE"
736
- operation_name = "delete_heat_wave_cluster"
737
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/DeleteHeatWaveCluster"
605
+ resource_path = "/dbSystems/{dbSystemId}/heatWaveClusterMemoryEstimate/actions/generate"
606
+ method = "POST"
607
+ operation_name = "generate_heat_wave_cluster_memory_estimate"
608
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveClusterMemoryEstimate/GenerateHeatWaveClusterMemoryEstimate"
738
609
 
739
610
  # Don't accept unknown kwargs
740
611
  expected_kwargs = [
741
612
  "allow_control_chars",
742
613
  "retry_strategy",
743
- "if_match",
744
- "opc_request_id"
614
+ "opc_request_id",
615
+ "opc_retry_token"
745
616
  ]
746
617
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
747
618
  if extra_kwargs:
748
619
  raise ValueError(
749
- "delete_heat_wave_cluster got unknown kwargs: {!r}".format(extra_kwargs))
620
+ "generate_heat_wave_cluster_memory_estimate got unknown kwargs: {!r}".format(extra_kwargs))
750
621
 
751
622
  path_params = {
752
623
  "dbSystemId": db_system_id
@@ -761,8 +632,8 @@ class DbSystemClient(object):
761
632
  header_params = {
762
633
  "accept": "application/json",
763
634
  "content-type": "application/json",
764
- "if-match": kwargs.get("if_match", missing),
765
- "opc-request-id": kwargs.get("opc_request_id", missing)
635
+ "opc-request-id": kwargs.get("opc_request_id", missing),
636
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
766
637
  }
767
638
  header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
768
639
 
@@ -775,6 +646,7 @@ class DbSystemClient(object):
775
646
 
776
647
  if retry_strategy:
777
648
  if not isinstance(retry_strategy, retry.NoneRetryStrategy):
649
+ self.base_client.add_opc_retry_token_if_needed(header_params)
778
650
  self.base_client.add_opc_client_retries_header(header_params)
779
651
  retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
780
652
  return retry_strategy.make_retrying_call(
@@ -783,6 +655,7 @@ class DbSystemClient(object):
783
655
  method=method,
784
656
  path_params=path_params,
785
657
  header_params=header_params,
658
+ response_type="HeatWaveClusterMemoryEstimate",
786
659
  allow_control_chars=kwargs.get('allow_control_chars'),
787
660
  operation_name=operation_name,
788
661
  api_reference_link=api_reference_link,
@@ -793,15 +666,15 @@ class DbSystemClient(object):
793
666
  method=method,
794
667
  path_params=path_params,
795
668
  header_params=header_params,
669
+ response_type="HeatWaveClusterMemoryEstimate",
796
670
  allow_control_chars=kwargs.get('allow_control_chars'),
797
671
  operation_name=operation_name,
798
672
  api_reference_link=api_reference_link,
799
673
  required_arguments=required_arguments)
800
674
 
801
- def generate_analytics_cluster_memory_estimate(self, db_system_id, **kwargs):
675
+ def get_db_system(self, db_system_id, **kwargs):
802
676
  """
803
- DEPRECATED -- please use HeatWave API instead.
804
- Sends a request to estimate the memory footprints of user tables when loaded to Analytics Cluster memory.
677
+ Get information about the specified DB System.
805
678
 
806
679
 
807
680
  :param str db_system_id: (required)
@@ -814,13 +687,12 @@ class DbSystemClient(object):
814
687
  contact Oracle about a specific request, please provide the request
815
688
  ID that you supplied in this header with the request.
816
689
 
817
- :param str opc_retry_token: (optional)
818
- A token that uniquely identifies a request so it can be retried in case
819
- of a timeout or server error without risk of executing that same action
820
- again. Retry tokens expire after 24 hours, but can be invalidated before
821
- then due to conflicting operations (for example, if a resource has been
822
- deleted and purged from the system, then a retry of the original
823
- creation request may be rejected).
690
+ :param str if_none_match: (optional)
691
+ For conditional requests. In the GET call for a resource, set the
692
+ `If-None-Match` header to the value of the ETag from a previous GET (or
693
+ POST or PUT) response for that resource. The server will return with
694
+ either a 304 Not Modified response if the resource has not changed, or a
695
+ 200 OK response with the updated representation.
824
696
 
825
697
  :param obj retry_strategy: (optional)
826
698
  A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
@@ -834,30 +706,30 @@ class DbSystemClient(object):
834
706
  allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
835
707
  By default, the response will not allow control characters in strings
836
708
 
837
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.mysql.models.AnalyticsClusterMemoryEstimate`
709
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.mysql.models.DbSystem`
838
710
  :rtype: :class:`~oci.response.Response`
839
711
 
840
712
  :example:
841
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/generate_analytics_cluster_memory_estimate.py.html>`__ to see an example of how to use generate_analytics_cluster_memory_estimate API.
713
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/get_db_system.py.html>`__ to see an example of how to use get_db_system API.
842
714
  """
843
715
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
844
716
  required_arguments = ['dbSystemId']
845
- resource_path = "/dbSystems/{dbSystemId}/analyticsClusterMemoryEstimate/actions/generate"
846
- method = "POST"
847
- operation_name = "generate_analytics_cluster_memory_estimate"
848
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsClusterMemoryEstimate/GenerateAnalyticsClusterMemoryEstimate"
717
+ resource_path = "/dbSystems/{dbSystemId}"
718
+ method = "GET"
719
+ operation_name = "get_db_system"
720
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/GetDbSystem"
849
721
 
850
722
  # Don't accept unknown kwargs
851
723
  expected_kwargs = [
852
724
  "allow_control_chars",
853
725
  "retry_strategy",
854
726
  "opc_request_id",
855
- "opc_retry_token"
727
+ "if_none_match"
856
728
  ]
857
729
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
858
730
  if extra_kwargs:
859
731
  raise ValueError(
860
- "generate_analytics_cluster_memory_estimate got unknown kwargs: {!r}".format(extra_kwargs))
732
+ "get_db_system got unknown kwargs: {!r}".format(extra_kwargs))
861
733
 
862
734
  path_params = {
863
735
  "dbSystemId": db_system_id
@@ -873,7 +745,7 @@ class DbSystemClient(object):
873
745
  "accept": "application/json",
874
746
  "content-type": "application/json",
875
747
  "opc-request-id": kwargs.get("opc_request_id", missing),
876
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
748
+ "if-none-match": kwargs.get("if_none_match", missing)
877
749
  }
878
750
  header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
879
751
 
@@ -886,7 +758,6 @@ class DbSystemClient(object):
886
758
 
887
759
  if retry_strategy:
888
760
  if not isinstance(retry_strategy, retry.NoneRetryStrategy):
889
- self.base_client.add_opc_retry_token_if_needed(header_params)
890
761
  self.base_client.add_opc_client_retries_header(header_params)
891
762
  retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
892
763
  return retry_strategy.make_retrying_call(
@@ -895,7 +766,7 @@ class DbSystemClient(object):
895
766
  method=method,
896
767
  path_params=path_params,
897
768
  header_params=header_params,
898
- response_type="AnalyticsClusterMemoryEstimate",
769
+ response_type="DbSystem",
899
770
  allow_control_chars=kwargs.get('allow_control_chars'),
900
771
  operation_name=operation_name,
901
772
  api_reference_link=api_reference_link,
@@ -906,15 +777,15 @@ class DbSystemClient(object):
906
777
  method=method,
907
778
  path_params=path_params,
908
779
  header_params=header_params,
909
- response_type="AnalyticsClusterMemoryEstimate",
780
+ response_type="DbSystem",
910
781
  allow_control_chars=kwargs.get('allow_control_chars'),
911
782
  operation_name=operation_name,
912
783
  api_reference_link=api_reference_link,
913
784
  required_arguments=required_arguments)
914
785
 
915
- def generate_heat_wave_cluster_memory_estimate(self, db_system_id, **kwargs):
786
+ def get_heat_wave_cluster(self, db_system_id, **kwargs):
916
787
  """
917
- Sends a request to estimate the memory footprints of user tables when loaded to HeatWave cluster memory.
788
+ Gets information about the HeatWave cluster.
918
789
 
919
790
 
920
791
  :param str db_system_id: (required)
@@ -927,13 +798,12 @@ class DbSystemClient(object):
927
798
  contact Oracle about a specific request, please provide the request
928
799
  ID that you supplied in this header with the request.
929
800
 
930
- :param str opc_retry_token: (optional)
931
- A token that uniquely identifies a request so it can be retried in case
932
- of a timeout or server error without risk of executing that same action
933
- again. Retry tokens expire after 24 hours, but can be invalidated before
934
- then due to conflicting operations (for example, if a resource has been
935
- deleted and purged from the system, then a retry of the original
936
- creation request may be rejected).
801
+ :param str if_none_match: (optional)
802
+ For conditional requests. In the GET call for a resource, set the
803
+ `If-None-Match` header to the value of the ETag from a previous GET (or
804
+ POST or PUT) response for that resource. The server will return with
805
+ either a 304 Not Modified response if the resource has not changed, or a
806
+ 200 OK response with the updated representation.
937
807
 
938
808
  :param obj retry_strategy: (optional)
939
809
  A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
@@ -947,30 +817,30 @@ class DbSystemClient(object):
947
817
  allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
948
818
  By default, the response will not allow control characters in strings
949
819
 
950
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.mysql.models.HeatWaveClusterMemoryEstimate`
820
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.mysql.models.HeatWaveCluster`
951
821
  :rtype: :class:`~oci.response.Response`
952
822
 
953
823
  :example:
954
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/generate_heat_wave_cluster_memory_estimate.py.html>`__ to see an example of how to use generate_heat_wave_cluster_memory_estimate API.
824
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/get_heat_wave_cluster.py.html>`__ to see an example of how to use get_heat_wave_cluster API.
955
825
  """
956
826
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
957
827
  required_arguments = ['dbSystemId']
958
- resource_path = "/dbSystems/{dbSystemId}/heatWaveClusterMemoryEstimate/actions/generate"
959
- method = "POST"
960
- operation_name = "generate_heat_wave_cluster_memory_estimate"
961
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveClusterMemoryEstimate/GenerateHeatWaveClusterMemoryEstimate"
828
+ resource_path = "/dbSystems/{dbSystemId}/heatWaveCluster"
829
+ method = "GET"
830
+ operation_name = "get_heat_wave_cluster"
831
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/GetHeatWaveCluster"
962
832
 
963
833
  # Don't accept unknown kwargs
964
834
  expected_kwargs = [
965
835
  "allow_control_chars",
966
836
  "retry_strategy",
967
837
  "opc_request_id",
968
- "opc_retry_token"
838
+ "if_none_match"
969
839
  ]
970
840
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
971
841
  if extra_kwargs:
972
842
  raise ValueError(
973
- "generate_heat_wave_cluster_memory_estimate got unknown kwargs: {!r}".format(extra_kwargs))
843
+ "get_heat_wave_cluster got unknown kwargs: {!r}".format(extra_kwargs))
974
844
 
975
845
  path_params = {
976
846
  "dbSystemId": db_system_id
@@ -986,7 +856,7 @@ class DbSystemClient(object):
986
856
  "accept": "application/json",
987
857
  "content-type": "application/json",
988
858
  "opc-request-id": kwargs.get("opc_request_id", missing),
989
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
859
+ "if-none-match": kwargs.get("if_none_match", missing)
990
860
  }
991
861
  header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
992
862
 
@@ -999,7 +869,6 @@ class DbSystemClient(object):
999
869
 
1000
870
  if retry_strategy:
1001
871
  if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1002
- self.base_client.add_opc_retry_token_if_needed(header_params)
1003
872
  self.base_client.add_opc_client_retries_header(header_params)
1004
873
  retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1005
874
  return retry_strategy.make_retrying_call(
@@ -1008,7 +877,7 @@ class DbSystemClient(object):
1008
877
  method=method,
1009
878
  path_params=path_params,
1010
879
  header_params=header_params,
1011
- response_type="HeatWaveClusterMemoryEstimate",
880
+ response_type="HeatWaveCluster",
1012
881
  allow_control_chars=kwargs.get('allow_control_chars'),
1013
882
  operation_name=operation_name,
1014
883
  api_reference_link=api_reference_link,
@@ -1019,16 +888,16 @@ class DbSystemClient(object):
1019
888
  method=method,
1020
889
  path_params=path_params,
1021
890
  header_params=header_params,
1022
- response_type="HeatWaveClusterMemoryEstimate",
891
+ response_type="HeatWaveCluster",
1023
892
  allow_control_chars=kwargs.get('allow_control_chars'),
1024
893
  operation_name=operation_name,
1025
894
  api_reference_link=api_reference_link,
1026
895
  required_arguments=required_arguments)
1027
896
 
1028
- def get_analytics_cluster(self, db_system_id, **kwargs):
897
+ def get_heat_wave_cluster_memory_estimate(self, db_system_id, **kwargs):
1029
898
  """
1030
- DEPRECATED -- please use HeatWave API instead.
1031
- Gets information about the Analytics Cluster.
899
+ Gets the most recent HeatWave cluster memory estimate that can be used to determine a suitable
900
+ HeatWave cluster size.
1032
901
 
1033
902
 
1034
903
  :param str db_system_id: (required)
@@ -1041,13 +910,6 @@ class DbSystemClient(object):
1041
910
  contact Oracle about a specific request, please provide the request
1042
911
  ID that you supplied in this header with the request.
1043
912
 
1044
- :param str if_none_match: (optional)
1045
- For conditional requests. In the GET call for a resource, set the
1046
- `If-None-Match` header to the value of the ETag from a previous GET (or
1047
- POST or PUT) response for that resource. The server will return with
1048
- either a 304 Not Modified response if the resource has not changed, or a
1049
- 200 OK response with the updated representation.
1050
-
1051
913
  :param obj retry_strategy: (optional)
1052
914
  A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1053
915
 
@@ -1060,1020 +922,29 @@ class DbSystemClient(object):
1060
922
  allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1061
923
  By default, the response will not allow control characters in strings
1062
924
 
1063
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.mysql.models.AnalyticsCluster`
925
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.mysql.models.HeatWaveClusterMemoryEstimate`
1064
926
  :rtype: :class:`~oci.response.Response`
1065
927
 
1066
928
  :example:
1067
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/get_analytics_cluster.py.html>`__ to see an example of how to use get_analytics_cluster API.
929
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/get_heat_wave_cluster_memory_estimate.py.html>`__ to see an example of how to use get_heat_wave_cluster_memory_estimate API.
1068
930
  """
1069
931
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1070
- required_arguments = ['dbSystemId']
1071
- resource_path = "/dbSystems/{dbSystemId}/analyticsCluster"
1072
- method = "GET"
1073
- operation_name = "get_analytics_cluster"
1074
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/GetAnalyticsCluster"
1075
-
1076
- # Don't accept unknown kwargs
1077
- expected_kwargs = [
1078
- "allow_control_chars",
1079
- "retry_strategy",
1080
- "opc_request_id",
1081
- "if_none_match"
1082
- ]
1083
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1084
- if extra_kwargs:
1085
- raise ValueError(
1086
- "get_analytics_cluster got unknown kwargs: {!r}".format(extra_kwargs))
1087
-
1088
- path_params = {
1089
- "dbSystemId": db_system_id
1090
- }
1091
-
1092
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1093
-
1094
- for (k, v) in six.iteritems(path_params):
1095
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1096
- raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1097
-
1098
- header_params = {
1099
- "accept": "application/json",
1100
- "content-type": "application/json",
1101
- "opc-request-id": kwargs.get("opc_request_id", missing),
1102
- "if-none-match": kwargs.get("if_none_match", missing)
1103
- }
1104
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1105
-
1106
- retry_strategy = self.base_client.get_preferred_retry_strategy(
1107
- operation_retry_strategy=kwargs.get('retry_strategy'),
1108
- client_retry_strategy=self.retry_strategy
1109
- )
1110
- if retry_strategy is None:
1111
- retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1112
-
1113
- if retry_strategy:
1114
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1115
- self.base_client.add_opc_client_retries_header(header_params)
1116
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1117
- return retry_strategy.make_retrying_call(
1118
- self.base_client.call_api,
1119
- resource_path=resource_path,
1120
- method=method,
1121
- path_params=path_params,
1122
- header_params=header_params,
1123
- response_type="AnalyticsCluster",
1124
- allow_control_chars=kwargs.get('allow_control_chars'),
1125
- operation_name=operation_name,
1126
- api_reference_link=api_reference_link,
1127
- required_arguments=required_arguments)
1128
- else:
1129
- return self.base_client.call_api(
1130
- resource_path=resource_path,
1131
- method=method,
1132
- path_params=path_params,
1133
- header_params=header_params,
1134
- response_type="AnalyticsCluster",
1135
- allow_control_chars=kwargs.get('allow_control_chars'),
1136
- operation_name=operation_name,
1137
- api_reference_link=api_reference_link,
1138
- required_arguments=required_arguments)
1139
-
1140
- def get_analytics_cluster_memory_estimate(self, db_system_id, **kwargs):
1141
- """
1142
- DEPRECATED -- please use HeatWave API instead.
1143
- Gets the most recent Analytics Cluster memory estimate that can be used to determine a suitable
1144
- Analytics Cluster size.
1145
-
1146
-
1147
- :param str db_system_id: (required)
1148
- The DB System `OCID`__.
1149
-
1150
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
1151
-
1152
- :param str opc_request_id: (optional)
1153
- Customer-defined unique identifier for the request. If you need to
1154
- contact Oracle about a specific request, please provide the request
1155
- ID that you supplied in this header with the request.
1156
-
1157
- :param obj retry_strategy: (optional)
1158
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1159
-
1160
- 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.
1161
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1162
-
1163
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1164
-
1165
- :param bool allow_control_chars: (optional)
1166
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1167
- By default, the response will not allow control characters in strings
1168
-
1169
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.mysql.models.AnalyticsClusterMemoryEstimate`
1170
- :rtype: :class:`~oci.response.Response`
1171
-
1172
- :example:
1173
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/get_analytics_cluster_memory_estimate.py.html>`__ to see an example of how to use get_analytics_cluster_memory_estimate API.
1174
- """
1175
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1176
- required_arguments = ['dbSystemId']
1177
- resource_path = "/dbSystems/{dbSystemId}/analyticsClusterMemoryEstimate"
1178
- method = "GET"
1179
- operation_name = "get_analytics_cluster_memory_estimate"
1180
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsClusterMemoryEstimate/GetAnalyticsClusterMemoryEstimate"
1181
-
1182
- # Don't accept unknown kwargs
1183
- expected_kwargs = [
1184
- "allow_control_chars",
1185
- "retry_strategy",
1186
- "opc_request_id"
1187
- ]
1188
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1189
- if extra_kwargs:
1190
- raise ValueError(
1191
- "get_analytics_cluster_memory_estimate got unknown kwargs: {!r}".format(extra_kwargs))
1192
-
1193
- path_params = {
1194
- "dbSystemId": db_system_id
1195
- }
1196
-
1197
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1198
-
1199
- for (k, v) in six.iteritems(path_params):
1200
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1201
- raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1202
-
1203
- header_params = {
1204
- "accept": "application/json",
1205
- "content-type": "application/json",
1206
- "opc-request-id": kwargs.get("opc_request_id", missing)
1207
- }
1208
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1209
-
1210
- retry_strategy = self.base_client.get_preferred_retry_strategy(
1211
- operation_retry_strategy=kwargs.get('retry_strategy'),
1212
- client_retry_strategy=self.retry_strategy
1213
- )
1214
- if retry_strategy is None:
1215
- retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1216
-
1217
- if retry_strategy:
1218
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1219
- self.base_client.add_opc_client_retries_header(header_params)
1220
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1221
- return retry_strategy.make_retrying_call(
1222
- self.base_client.call_api,
1223
- resource_path=resource_path,
1224
- method=method,
1225
- path_params=path_params,
1226
- header_params=header_params,
1227
- response_type="AnalyticsClusterMemoryEstimate",
1228
- allow_control_chars=kwargs.get('allow_control_chars'),
1229
- operation_name=operation_name,
1230
- api_reference_link=api_reference_link,
1231
- required_arguments=required_arguments)
1232
- else:
1233
- return self.base_client.call_api(
1234
- resource_path=resource_path,
1235
- method=method,
1236
- path_params=path_params,
1237
- header_params=header_params,
1238
- response_type="AnalyticsClusterMemoryEstimate",
1239
- allow_control_chars=kwargs.get('allow_control_chars'),
1240
- operation_name=operation_name,
1241
- api_reference_link=api_reference_link,
1242
- required_arguments=required_arguments)
1243
-
1244
- def get_db_system(self, db_system_id, **kwargs):
1245
- """
1246
- Get information about the specified DB System.
1247
-
1248
-
1249
- :param str db_system_id: (required)
1250
- The DB System `OCID`__.
1251
-
1252
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
1253
-
1254
- :param str opc_request_id: (optional)
1255
- Customer-defined unique identifier for the request. If you need to
1256
- contact Oracle about a specific request, please provide the request
1257
- ID that you supplied in this header with the request.
1258
-
1259
- :param str if_none_match: (optional)
1260
- For conditional requests. In the GET call for a resource, set the
1261
- `If-None-Match` header to the value of the ETag from a previous GET (or
1262
- POST or PUT) response for that resource. The server will return with
1263
- either a 304 Not Modified response if the resource has not changed, or a
1264
- 200 OK response with the updated representation.
1265
-
1266
- :param obj retry_strategy: (optional)
1267
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1268
-
1269
- 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.
1270
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1271
-
1272
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1273
-
1274
- :param bool allow_control_chars: (optional)
1275
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1276
- By default, the response will not allow control characters in strings
1277
-
1278
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.mysql.models.DbSystem`
1279
- :rtype: :class:`~oci.response.Response`
1280
-
1281
- :example:
1282
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/get_db_system.py.html>`__ to see an example of how to use get_db_system API.
1283
- """
1284
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1285
- required_arguments = ['dbSystemId']
1286
- resource_path = "/dbSystems/{dbSystemId}"
1287
- method = "GET"
1288
- operation_name = "get_db_system"
1289
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/GetDbSystem"
1290
-
1291
- # Don't accept unknown kwargs
1292
- expected_kwargs = [
1293
- "allow_control_chars",
1294
- "retry_strategy",
1295
- "opc_request_id",
1296
- "if_none_match"
1297
- ]
1298
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1299
- if extra_kwargs:
1300
- raise ValueError(
1301
- "get_db_system got unknown kwargs: {!r}".format(extra_kwargs))
1302
-
1303
- path_params = {
1304
- "dbSystemId": db_system_id
1305
- }
1306
-
1307
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1308
-
1309
- for (k, v) in six.iteritems(path_params):
1310
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1311
- raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1312
-
1313
- header_params = {
1314
- "accept": "application/json",
1315
- "content-type": "application/json",
1316
- "opc-request-id": kwargs.get("opc_request_id", missing),
1317
- "if-none-match": kwargs.get("if_none_match", missing)
1318
- }
1319
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1320
-
1321
- retry_strategy = self.base_client.get_preferred_retry_strategy(
1322
- operation_retry_strategy=kwargs.get('retry_strategy'),
1323
- client_retry_strategy=self.retry_strategy
1324
- )
1325
- if retry_strategy is None:
1326
- retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1327
-
1328
- if retry_strategy:
1329
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1330
- self.base_client.add_opc_client_retries_header(header_params)
1331
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1332
- return retry_strategy.make_retrying_call(
1333
- self.base_client.call_api,
1334
- resource_path=resource_path,
1335
- method=method,
1336
- path_params=path_params,
1337
- header_params=header_params,
1338
- response_type="DbSystem",
1339
- allow_control_chars=kwargs.get('allow_control_chars'),
1340
- operation_name=operation_name,
1341
- api_reference_link=api_reference_link,
1342
- required_arguments=required_arguments)
1343
- else:
1344
- return self.base_client.call_api(
1345
- resource_path=resource_path,
1346
- method=method,
1347
- path_params=path_params,
1348
- header_params=header_params,
1349
- response_type="DbSystem",
1350
- allow_control_chars=kwargs.get('allow_control_chars'),
1351
- operation_name=operation_name,
1352
- api_reference_link=api_reference_link,
1353
- required_arguments=required_arguments)
1354
-
1355
- def get_heat_wave_cluster(self, db_system_id, **kwargs):
1356
- """
1357
- Gets information about the HeatWave cluster.
1358
-
1359
-
1360
- :param str db_system_id: (required)
1361
- The DB System `OCID`__.
1362
-
1363
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
1364
-
1365
- :param str opc_request_id: (optional)
1366
- Customer-defined unique identifier for the request. If you need to
1367
- contact Oracle about a specific request, please provide the request
1368
- ID that you supplied in this header with the request.
1369
-
1370
- :param str if_none_match: (optional)
1371
- For conditional requests. In the GET call for a resource, set the
1372
- `If-None-Match` header to the value of the ETag from a previous GET (or
1373
- POST or PUT) response for that resource. The server will return with
1374
- either a 304 Not Modified response if the resource has not changed, or a
1375
- 200 OK response with the updated representation.
1376
-
1377
- :param obj retry_strategy: (optional)
1378
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1379
-
1380
- 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.
1381
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1382
-
1383
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1384
-
1385
- :param bool allow_control_chars: (optional)
1386
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1387
- By default, the response will not allow control characters in strings
1388
-
1389
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.mysql.models.HeatWaveCluster`
1390
- :rtype: :class:`~oci.response.Response`
1391
-
1392
- :example:
1393
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/get_heat_wave_cluster.py.html>`__ to see an example of how to use get_heat_wave_cluster API.
1394
- """
1395
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1396
- required_arguments = ['dbSystemId']
1397
- resource_path = "/dbSystems/{dbSystemId}/heatWaveCluster"
1398
- method = "GET"
1399
- operation_name = "get_heat_wave_cluster"
1400
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/GetHeatWaveCluster"
1401
-
1402
- # Don't accept unknown kwargs
1403
- expected_kwargs = [
1404
- "allow_control_chars",
1405
- "retry_strategy",
1406
- "opc_request_id",
1407
- "if_none_match"
1408
- ]
1409
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1410
- if extra_kwargs:
1411
- raise ValueError(
1412
- "get_heat_wave_cluster got unknown kwargs: {!r}".format(extra_kwargs))
1413
-
1414
- path_params = {
1415
- "dbSystemId": db_system_id
1416
- }
1417
-
1418
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1419
-
1420
- for (k, v) in six.iteritems(path_params):
1421
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1422
- raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1423
-
1424
- header_params = {
1425
- "accept": "application/json",
1426
- "content-type": "application/json",
1427
- "opc-request-id": kwargs.get("opc_request_id", missing),
1428
- "if-none-match": kwargs.get("if_none_match", missing)
1429
- }
1430
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1431
-
1432
- retry_strategy = self.base_client.get_preferred_retry_strategy(
1433
- operation_retry_strategy=kwargs.get('retry_strategy'),
1434
- client_retry_strategy=self.retry_strategy
1435
- )
1436
- if retry_strategy is None:
1437
- retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1438
-
1439
- if retry_strategy:
1440
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1441
- self.base_client.add_opc_client_retries_header(header_params)
1442
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1443
- return retry_strategy.make_retrying_call(
1444
- self.base_client.call_api,
1445
- resource_path=resource_path,
1446
- method=method,
1447
- path_params=path_params,
1448
- header_params=header_params,
1449
- response_type="HeatWaveCluster",
1450
- allow_control_chars=kwargs.get('allow_control_chars'),
1451
- operation_name=operation_name,
1452
- api_reference_link=api_reference_link,
1453
- required_arguments=required_arguments)
1454
- else:
1455
- return self.base_client.call_api(
1456
- resource_path=resource_path,
1457
- method=method,
1458
- path_params=path_params,
1459
- header_params=header_params,
1460
- response_type="HeatWaveCluster",
1461
- allow_control_chars=kwargs.get('allow_control_chars'),
1462
- operation_name=operation_name,
1463
- api_reference_link=api_reference_link,
1464
- required_arguments=required_arguments)
1465
-
1466
- def get_heat_wave_cluster_memory_estimate(self, db_system_id, **kwargs):
1467
- """
1468
- Gets the most recent HeatWave cluster memory estimate that can be used to determine a suitable
1469
- HeatWave cluster size.
1470
-
1471
-
1472
- :param str db_system_id: (required)
1473
- The DB System `OCID`__.
1474
-
1475
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
1476
-
1477
- :param str opc_request_id: (optional)
1478
- Customer-defined unique identifier for the request. If you need to
1479
- contact Oracle about a specific request, please provide the request
1480
- ID that you supplied in this header with the request.
1481
-
1482
- :param obj retry_strategy: (optional)
1483
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1484
-
1485
- 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.
1486
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1487
-
1488
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1489
-
1490
- :param bool allow_control_chars: (optional)
1491
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1492
- By default, the response will not allow control characters in strings
1493
-
1494
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.mysql.models.HeatWaveClusterMemoryEstimate`
1495
- :rtype: :class:`~oci.response.Response`
1496
-
1497
- :example:
1498
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/get_heat_wave_cluster_memory_estimate.py.html>`__ to see an example of how to use get_heat_wave_cluster_memory_estimate API.
1499
- """
1500
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1501
- required_arguments = ['dbSystemId']
1502
- resource_path = "/dbSystems/{dbSystemId}/heatWaveClusterMemoryEstimate"
1503
- method = "GET"
1504
- operation_name = "get_heat_wave_cluster_memory_estimate"
1505
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveClusterMemoryEstimate/GetHeatWaveClusterMemoryEstimate"
1506
-
1507
- # Don't accept unknown kwargs
1508
- expected_kwargs = [
1509
- "allow_control_chars",
1510
- "retry_strategy",
1511
- "opc_request_id"
1512
- ]
1513
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1514
- if extra_kwargs:
1515
- raise ValueError(
1516
- "get_heat_wave_cluster_memory_estimate got unknown kwargs: {!r}".format(extra_kwargs))
1517
-
1518
- path_params = {
1519
- "dbSystemId": db_system_id
1520
- }
1521
-
1522
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1523
-
1524
- for (k, v) in six.iteritems(path_params):
1525
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1526
- raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1527
-
1528
- header_params = {
1529
- "accept": "application/json",
1530
- "content-type": "application/json",
1531
- "opc-request-id": kwargs.get("opc_request_id", missing)
1532
- }
1533
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1534
-
1535
- retry_strategy = self.base_client.get_preferred_retry_strategy(
1536
- operation_retry_strategy=kwargs.get('retry_strategy'),
1537
- client_retry_strategy=self.retry_strategy
1538
- )
1539
- if retry_strategy is None:
1540
- retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1541
-
1542
- if retry_strategy:
1543
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1544
- self.base_client.add_opc_client_retries_header(header_params)
1545
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1546
- return retry_strategy.make_retrying_call(
1547
- self.base_client.call_api,
1548
- resource_path=resource_path,
1549
- method=method,
1550
- path_params=path_params,
1551
- header_params=header_params,
1552
- response_type="HeatWaveClusterMemoryEstimate",
1553
- allow_control_chars=kwargs.get('allow_control_chars'),
1554
- operation_name=operation_name,
1555
- api_reference_link=api_reference_link,
1556
- required_arguments=required_arguments)
1557
- else:
1558
- return self.base_client.call_api(
1559
- resource_path=resource_path,
1560
- method=method,
1561
- path_params=path_params,
1562
- header_params=header_params,
1563
- response_type="HeatWaveClusterMemoryEstimate",
1564
- allow_control_chars=kwargs.get('allow_control_chars'),
1565
- operation_name=operation_name,
1566
- api_reference_link=api_reference_link,
1567
- required_arguments=required_arguments)
1568
-
1569
- def list_db_systems(self, compartment_id, **kwargs):
1570
- """
1571
- Get a list of DB Systems in the specified compartment.
1572
- The default sort order is by timeUpdated, descending.
1573
-
1574
-
1575
- :param str compartment_id: (required)
1576
- The compartment `OCID`__.
1577
-
1578
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
1579
-
1580
- :param str opc_request_id: (optional)
1581
- Customer-defined unique identifier for the request. If you need to
1582
- contact Oracle about a specific request, please provide the request
1583
- ID that you supplied in this header with the request.
1584
-
1585
- :param bool is_analytics_cluster_attached: (optional)
1586
- DEPRECATED -- please use HeatWave API instead.
1587
- If true, return only DB Systems with an Analytics Cluster attached, if false
1588
- return only DB Systems with no Analytics Cluster attached. If not
1589
- present, return all DB Systems.
1590
-
1591
- :param bool is_heat_wave_cluster_attached: (optional)
1592
- If true, return only DB Systems with a HeatWave cluster attached, if false
1593
- return only DB Systems with no HeatWave cluster attached. If not
1594
- present, return all DB Systems.
1595
-
1596
- :param str db_system_id: (optional)
1597
- The DB System `OCID`__.
1598
-
1599
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
1600
-
1601
- :param str display_name: (optional)
1602
- A filter to return only the resource matching the given display name exactly.
1603
-
1604
- :param str lifecycle_state: (optional)
1605
- DbSystem Lifecycle State
1606
-
1607
- Allowed values are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"
1608
-
1609
- :param str configuration_id: (optional)
1610
- The requested Configuration instance.
1611
-
1612
- :param bool is_up_to_date: (optional)
1613
- Filter instances if they are using the latest revision of the
1614
- Configuration they are associated with.
1615
-
1616
- :param str sort_by: (optional)
1617
- The field to sort by. Only one sort order may be provided. Time fields are default ordered as descending. Display name is default ordered as ascending.
1618
-
1619
- Allowed values are: "displayName", "timeCreated"
1620
-
1621
- :param str sort_order: (optional)
1622
- The sort order to use (ASC or DESC).
1623
-
1624
- Allowed values are: "ASC", "DESC"
1625
-
1626
- :param int limit: (optional)
1627
- The maximum number of items to return in a paginated list call. For information about pagination, see
1628
- `List Pagination`__.
1629
-
1630
- __ https://docs.cloud.oracle.com/#API/Concepts/usingapi.htm#List_Pagination
1631
-
1632
- :param str page: (optional)
1633
- The value of the `opc-next-page` or `opc-prev-page` response header from
1634
- the previous list call. For information about pagination, see `List
1635
- Pagination`__.
1636
-
1637
- __ https://docs.cloud.oracle.com/#API/Concepts/usingapi.htm#List_Pagination
1638
-
1639
- :param obj retry_strategy: (optional)
1640
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1641
-
1642
- 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.
1643
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1644
-
1645
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1646
-
1647
- :param bool allow_control_chars: (optional)
1648
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1649
- By default, the response will not allow control characters in strings
1650
-
1651
- :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.mysql.models.DbSystemSummary`
1652
- :rtype: :class:`~oci.response.Response`
1653
-
1654
- :example:
1655
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/list_db_systems.py.html>`__ to see an example of how to use list_db_systems API.
1656
- """
1657
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1658
- required_arguments = ['compartmentId']
1659
- resource_path = "/dbSystems"
1660
- method = "GET"
1661
- operation_name = "list_db_systems"
1662
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystemSummary/ListDbSystems"
1663
-
1664
- # Don't accept unknown kwargs
1665
- expected_kwargs = [
1666
- "allow_control_chars",
1667
- "retry_strategy",
1668
- "opc_request_id",
1669
- "is_analytics_cluster_attached",
1670
- "is_heat_wave_cluster_attached",
1671
- "db_system_id",
1672
- "display_name",
1673
- "lifecycle_state",
1674
- "configuration_id",
1675
- "is_up_to_date",
1676
- "sort_by",
1677
- "sort_order",
1678
- "limit",
1679
- "page"
1680
- ]
1681
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1682
- if extra_kwargs:
1683
- raise ValueError(
1684
- "list_db_systems got unknown kwargs: {!r}".format(extra_kwargs))
1685
-
1686
- if 'lifecycle_state' in kwargs:
1687
- lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"]
1688
- if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
1689
- raise ValueError(
1690
- "Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values)
1691
- )
1692
-
1693
- if 'sort_by' in kwargs:
1694
- sort_by_allowed_values = ["displayName", "timeCreated"]
1695
- if kwargs['sort_by'] not in sort_by_allowed_values:
1696
- raise ValueError(
1697
- "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
1698
- )
1699
-
1700
- if 'sort_order' in kwargs:
1701
- sort_order_allowed_values = ["ASC", "DESC"]
1702
- if kwargs['sort_order'] not in sort_order_allowed_values:
1703
- raise ValueError(
1704
- "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
1705
- )
1706
-
1707
- query_params = {
1708
- "isAnalyticsClusterAttached": kwargs.get("is_analytics_cluster_attached", missing),
1709
- "isHeatWaveClusterAttached": kwargs.get("is_heat_wave_cluster_attached", missing),
1710
- "compartmentId": compartment_id,
1711
- "dbSystemId": kwargs.get("db_system_id", missing),
1712
- "displayName": kwargs.get("display_name", missing),
1713
- "lifecycleState": kwargs.get("lifecycle_state", missing),
1714
- "configurationId": kwargs.get("configuration_id", missing),
1715
- "isUpToDate": kwargs.get("is_up_to_date", missing),
1716
- "sortBy": kwargs.get("sort_by", missing),
1717
- "sortOrder": kwargs.get("sort_order", missing),
1718
- "limit": kwargs.get("limit", missing),
1719
- "page": kwargs.get("page", missing)
1720
- }
1721
- query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1722
-
1723
- header_params = {
1724
- "accept": "application/json",
1725
- "content-type": "application/json",
1726
- "opc-request-id": kwargs.get("opc_request_id", missing)
1727
- }
1728
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1729
-
1730
- retry_strategy = self.base_client.get_preferred_retry_strategy(
1731
- operation_retry_strategy=kwargs.get('retry_strategy'),
1732
- client_retry_strategy=self.retry_strategy
1733
- )
1734
- if retry_strategy is None:
1735
- retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1736
-
1737
- if retry_strategy:
1738
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1739
- self.base_client.add_opc_client_retries_header(header_params)
1740
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1741
- return retry_strategy.make_retrying_call(
1742
- self.base_client.call_api,
1743
- resource_path=resource_path,
1744
- method=method,
1745
- query_params=query_params,
1746
- header_params=header_params,
1747
- response_type="list[DbSystemSummary]",
1748
- allow_control_chars=kwargs.get('allow_control_chars'),
1749
- operation_name=operation_name,
1750
- api_reference_link=api_reference_link,
1751
- required_arguments=required_arguments)
1752
- else:
1753
- return self.base_client.call_api(
1754
- resource_path=resource_path,
1755
- method=method,
1756
- query_params=query_params,
1757
- header_params=header_params,
1758
- response_type="list[DbSystemSummary]",
1759
- allow_control_chars=kwargs.get('allow_control_chars'),
1760
- operation_name=operation_name,
1761
- api_reference_link=api_reference_link,
1762
- required_arguments=required_arguments)
1763
-
1764
- def restart_analytics_cluster(self, db_system_id, **kwargs):
1765
- """
1766
- DEPRECATED -- please use HeatWave API instead.
1767
- Restarts the Analytics Cluster.
1768
-
1769
-
1770
- :param str db_system_id: (required)
1771
- The DB System `OCID`__.
1772
-
1773
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
1774
-
1775
- :param str if_match: (optional)
1776
- For optimistic concurrency control. In the PUT or DELETE call for a
1777
- resource, set the `If-Match` header to the value of the etag from a
1778
- previous GET or POST response for that resource. The resource will be
1779
- updated or deleted only if the etag you provide matches the resource's
1780
- current etag value.
1781
-
1782
- :param str opc_request_id: (optional)
1783
- Customer-defined unique identifier for the request. If you need to
1784
- contact Oracle about a specific request, please provide the request
1785
- ID that you supplied in this header with the request.
1786
-
1787
- :param str opc_retry_token: (optional)
1788
- A token that uniquely identifies a request so it can be retried in case
1789
- of a timeout or server error without risk of executing that same action
1790
- again. Retry tokens expire after 24 hours, but can be invalidated before
1791
- then due to conflicting operations (for example, if a resource has been
1792
- deleted and purged from the system, then a retry of the original
1793
- creation request may be rejected).
1794
-
1795
- :param obj retry_strategy: (optional)
1796
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1797
-
1798
- 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.
1799
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1800
-
1801
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1802
-
1803
- :param bool allow_control_chars: (optional)
1804
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1805
- By default, the response will not allow control characters in strings
1806
-
1807
- :return: A :class:`~oci.response.Response` object with data of type None
1808
- :rtype: :class:`~oci.response.Response`
1809
-
1810
- :example:
1811
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/restart_analytics_cluster.py.html>`__ to see an example of how to use restart_analytics_cluster API.
1812
- """
1813
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1814
- required_arguments = ['dbSystemId']
1815
- resource_path = "/dbSystems/{dbSystemId}/analyticsCluster/actions/restart"
1816
- method = "POST"
1817
- operation_name = "restart_analytics_cluster"
1818
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/RestartAnalyticsCluster"
1819
-
1820
- # Don't accept unknown kwargs
1821
- expected_kwargs = [
1822
- "allow_control_chars",
1823
- "retry_strategy",
1824
- "if_match",
1825
- "opc_request_id",
1826
- "opc_retry_token"
1827
- ]
1828
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1829
- if extra_kwargs:
1830
- raise ValueError(
1831
- "restart_analytics_cluster got unknown kwargs: {!r}".format(extra_kwargs))
1832
-
1833
- path_params = {
1834
- "dbSystemId": db_system_id
1835
- }
1836
-
1837
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1838
-
1839
- for (k, v) in six.iteritems(path_params):
1840
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1841
- raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1842
-
1843
- header_params = {
1844
- "accept": "application/json",
1845
- "content-type": "application/json",
1846
- "if-match": kwargs.get("if_match", missing),
1847
- "opc-request-id": kwargs.get("opc_request_id", missing),
1848
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
1849
- }
1850
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1851
-
1852
- retry_strategy = self.base_client.get_preferred_retry_strategy(
1853
- operation_retry_strategy=kwargs.get('retry_strategy'),
1854
- client_retry_strategy=self.retry_strategy
1855
- )
1856
- if retry_strategy is None:
1857
- retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1858
-
1859
- if retry_strategy:
1860
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1861
- self.base_client.add_opc_retry_token_if_needed(header_params)
1862
- self.base_client.add_opc_client_retries_header(header_params)
1863
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1864
- return retry_strategy.make_retrying_call(
1865
- self.base_client.call_api,
1866
- resource_path=resource_path,
1867
- method=method,
1868
- path_params=path_params,
1869
- header_params=header_params,
1870
- allow_control_chars=kwargs.get('allow_control_chars'),
1871
- operation_name=operation_name,
1872
- api_reference_link=api_reference_link,
1873
- required_arguments=required_arguments)
1874
- else:
1875
- return self.base_client.call_api(
1876
- resource_path=resource_path,
1877
- method=method,
1878
- path_params=path_params,
1879
- header_params=header_params,
1880
- allow_control_chars=kwargs.get('allow_control_chars'),
1881
- operation_name=operation_name,
1882
- api_reference_link=api_reference_link,
1883
- required_arguments=required_arguments)
1884
-
1885
- def restart_db_system(self, db_system_id, restart_db_system_details, **kwargs):
1886
- """
1887
- Restarts the specified DB System.
1888
-
1889
-
1890
- :param str db_system_id: (required)
1891
- The DB System `OCID`__.
1892
-
1893
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
1894
-
1895
- :param oci.mysql.models.RestartDbSystemDetails restart_db_system_details: (required)
1896
- Optional parameters for the stop portion of the restart action.
1897
-
1898
- :param str if_match: (optional)
1899
- For optimistic concurrency control. In the PUT or DELETE call for a
1900
- resource, set the `If-Match` header to the value of the etag from a
1901
- previous GET or POST response for that resource. The resource will be
1902
- updated or deleted only if the etag you provide matches the resource's
1903
- current etag value.
1904
-
1905
- :param str opc_request_id: (optional)
1906
- Customer-defined unique identifier for the request. If you need to
1907
- contact Oracle about a specific request, please provide the request
1908
- ID that you supplied in this header with the request.
1909
-
1910
- :param str opc_retry_token: (optional)
1911
- A token that uniquely identifies a request so it can be retried in case
1912
- of a timeout or server error without risk of executing that same action
1913
- again. Retry tokens expire after 24 hours, but can be invalidated before
1914
- then due to conflicting operations (for example, if a resource has been
1915
- deleted and purged from the system, then a retry of the original
1916
- creation request may be rejected).
1917
-
1918
- :param obj retry_strategy: (optional)
1919
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1920
-
1921
- 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.
1922
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1923
-
1924
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1925
-
1926
- :param bool allow_control_chars: (optional)
1927
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1928
- By default, the response will not allow control characters in strings
1929
-
1930
- :return: A :class:`~oci.response.Response` object with data of type None
1931
- :rtype: :class:`~oci.response.Response`
1932
-
1933
- :example:
1934
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/restart_db_system.py.html>`__ to see an example of how to use restart_db_system API.
1935
- """
1936
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1937
- required_arguments = ['dbSystemId']
1938
- resource_path = "/dbSystems/{dbSystemId}/actions/restart"
1939
- method = "POST"
1940
- operation_name = "restart_db_system"
1941
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/RestartDbSystem"
1942
-
1943
- # Don't accept unknown kwargs
1944
- expected_kwargs = [
1945
- "allow_control_chars",
1946
- "retry_strategy",
1947
- "if_match",
1948
- "opc_request_id",
1949
- "opc_retry_token"
1950
- ]
1951
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1952
- if extra_kwargs:
1953
- raise ValueError(
1954
- "restart_db_system got unknown kwargs: {!r}".format(extra_kwargs))
1955
-
1956
- path_params = {
1957
- "dbSystemId": db_system_id
1958
- }
1959
-
1960
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1961
-
1962
- for (k, v) in six.iteritems(path_params):
1963
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1964
- raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1965
-
1966
- header_params = {
1967
- "accept": "application/json",
1968
- "content-type": "application/json",
1969
- "if-match": kwargs.get("if_match", missing),
1970
- "opc-request-id": kwargs.get("opc_request_id", missing),
1971
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
1972
- }
1973
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1974
-
1975
- retry_strategy = self.base_client.get_preferred_retry_strategy(
1976
- operation_retry_strategy=kwargs.get('retry_strategy'),
1977
- client_retry_strategy=self.retry_strategy
1978
- )
1979
- if retry_strategy is None:
1980
- retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1981
-
1982
- if retry_strategy:
1983
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1984
- self.base_client.add_opc_retry_token_if_needed(header_params)
1985
- self.base_client.add_opc_client_retries_header(header_params)
1986
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1987
- return retry_strategy.make_retrying_call(
1988
- self.base_client.call_api,
1989
- resource_path=resource_path,
1990
- method=method,
1991
- path_params=path_params,
1992
- header_params=header_params,
1993
- body=restart_db_system_details,
1994
- allow_control_chars=kwargs.get('allow_control_chars'),
1995
- operation_name=operation_name,
1996
- api_reference_link=api_reference_link,
1997
- required_arguments=required_arguments)
1998
- else:
1999
- return self.base_client.call_api(
2000
- resource_path=resource_path,
2001
- method=method,
2002
- path_params=path_params,
2003
- header_params=header_params,
2004
- body=restart_db_system_details,
2005
- allow_control_chars=kwargs.get('allow_control_chars'),
2006
- operation_name=operation_name,
2007
- api_reference_link=api_reference_link,
2008
- required_arguments=required_arguments)
2009
-
2010
- def restart_heat_wave_cluster(self, db_system_id, **kwargs):
2011
- """
2012
- Restarts the HeatWave cluster.
2013
-
2014
-
2015
- :param str db_system_id: (required)
2016
- The DB System `OCID`__.
2017
-
2018
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
2019
-
2020
- :param str if_match: (optional)
2021
- For optimistic concurrency control. In the PUT or DELETE call for a
2022
- resource, set the `If-Match` header to the value of the etag from a
2023
- previous GET or POST response for that resource. The resource will be
2024
- updated or deleted only if the etag you provide matches the resource's
2025
- current etag value.
2026
-
2027
- :param str opc_request_id: (optional)
2028
- Customer-defined unique identifier for the request. If you need to
2029
- contact Oracle about a specific request, please provide the request
2030
- ID that you supplied in this header with the request.
2031
-
2032
- :param str opc_retry_token: (optional)
2033
- A token that uniquely identifies a request so it can be retried in case
2034
- of a timeout or server error without risk of executing that same action
2035
- again. Retry tokens expire after 24 hours, but can be invalidated before
2036
- then due to conflicting operations (for example, if a resource has been
2037
- deleted and purged from the system, then a retry of the original
2038
- creation request may be rejected).
2039
-
2040
- :param obj retry_strategy: (optional)
2041
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2042
-
2043
- 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.
2044
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
2045
-
2046
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2047
-
2048
- :param bool allow_control_chars: (optional)
2049
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
2050
- By default, the response will not allow control characters in strings
2051
-
2052
- :return: A :class:`~oci.response.Response` object with data of type None
2053
- :rtype: :class:`~oci.response.Response`
2054
-
2055
- :example:
2056
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/restart_heat_wave_cluster.py.html>`__ to see an example of how to use restart_heat_wave_cluster API.
2057
- """
2058
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2059
- required_arguments = ['dbSystemId']
2060
- resource_path = "/dbSystems/{dbSystemId}/heatWaveCluster/actions/restart"
2061
- method = "POST"
2062
- operation_name = "restart_heat_wave_cluster"
2063
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/RestartHeatWaveCluster"
932
+ required_arguments = ['dbSystemId']
933
+ resource_path = "/dbSystems/{dbSystemId}/heatWaveClusterMemoryEstimate"
934
+ method = "GET"
935
+ operation_name = "get_heat_wave_cluster_memory_estimate"
936
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveClusterMemoryEstimate/GetHeatWaveClusterMemoryEstimate"
2064
937
 
2065
938
  # Don't accept unknown kwargs
2066
939
  expected_kwargs = [
2067
940
  "allow_control_chars",
2068
941
  "retry_strategy",
2069
- "if_match",
2070
- "opc_request_id",
2071
- "opc_retry_token"
942
+ "opc_request_id"
2072
943
  ]
2073
944
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2074
945
  if extra_kwargs:
2075
946
  raise ValueError(
2076
- "restart_heat_wave_cluster got unknown kwargs: {!r}".format(extra_kwargs))
947
+ "get_heat_wave_cluster_memory_estimate got unknown kwargs: {!r}".format(extra_kwargs))
2077
948
 
2078
949
  path_params = {
2079
950
  "dbSystemId": db_system_id
@@ -2088,9 +959,7 @@ class DbSystemClient(object):
2088
959
  header_params = {
2089
960
  "accept": "application/json",
2090
961
  "content-type": "application/json",
2091
- "if-match": kwargs.get("if_match", missing),
2092
- "opc-request-id": kwargs.get("opc_request_id", missing),
2093
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
962
+ "opc-request-id": kwargs.get("opc_request_id", missing)
2094
963
  }
2095
964
  header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2096
965
 
@@ -2103,7 +972,6 @@ class DbSystemClient(object):
2103
972
 
2104
973
  if retry_strategy:
2105
974
  if not isinstance(retry_strategy, retry.NoneRetryStrategy):
2106
- self.base_client.add_opc_retry_token_if_needed(header_params)
2107
975
  self.base_client.add_opc_client_retries_header(header_params)
2108
976
  retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
2109
977
  return retry_strategy.make_retrying_call(
@@ -2112,6 +980,7 @@ class DbSystemClient(object):
2112
980
  method=method,
2113
981
  path_params=path_params,
2114
982
  header_params=header_params,
983
+ response_type="HeatWaveClusterMemoryEstimate",
2115
984
  allow_control_chars=kwargs.get('allow_control_chars'),
2116
985
  operation_name=operation_name,
2117
986
  api_reference_link=api_reference_link,
@@ -2122,41 +991,75 @@ class DbSystemClient(object):
2122
991
  method=method,
2123
992
  path_params=path_params,
2124
993
  header_params=header_params,
994
+ response_type="HeatWaveClusterMemoryEstimate",
2125
995
  allow_control_chars=kwargs.get('allow_control_chars'),
2126
996
  operation_name=operation_name,
2127
997
  api_reference_link=api_reference_link,
2128
998
  required_arguments=required_arguments)
2129
999
 
2130
- def start_analytics_cluster(self, db_system_id, **kwargs):
1000
+ def list_db_systems(self, compartment_id, **kwargs):
2131
1001
  """
2132
- DEPRECATED -- please use HeatWave API instead.
2133
- Starts the Analytics Cluster.
1002
+ Get a list of DB Systems in the specified compartment.
1003
+ The default sort order is by timeUpdated, descending.
2134
1004
 
2135
1005
 
2136
- :param str db_system_id: (required)
2137
- The DB System `OCID`__.
1006
+ :param str compartment_id: (required)
1007
+ The compartment `OCID`__.
2138
1008
 
2139
1009
  __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
2140
1010
 
2141
- :param str if_match: (optional)
2142
- For optimistic concurrency control. In the PUT or DELETE call for a
2143
- resource, set the `If-Match` header to the value of the etag from a
2144
- previous GET or POST response for that resource. The resource will be
2145
- updated or deleted only if the etag you provide matches the resource's
2146
- current etag value.
2147
-
2148
1011
  :param str opc_request_id: (optional)
2149
1012
  Customer-defined unique identifier for the request. If you need to
2150
1013
  contact Oracle about a specific request, please provide the request
2151
1014
  ID that you supplied in this header with the request.
2152
1015
 
2153
- :param str opc_retry_token: (optional)
2154
- A token that uniquely identifies a request so it can be retried in case
2155
- of a timeout or server error without risk of executing that same action
2156
- again. Retry tokens expire after 24 hours, but can be invalidated before
2157
- then due to conflicting operations (for example, if a resource has been
2158
- deleted and purged from the system, then a retry of the original
2159
- creation request may be rejected).
1016
+ :param bool is_heat_wave_cluster_attached: (optional)
1017
+ If true, return only DB Systems with a HeatWave cluster attached, if false
1018
+ return only DB Systems with no HeatWave cluster attached. If not
1019
+ present, return all DB Systems.
1020
+
1021
+ :param str db_system_id: (optional)
1022
+ The DB System `OCID`__.
1023
+
1024
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
1025
+
1026
+ :param str display_name: (optional)
1027
+ A filter to return only the resource matching the given display name exactly.
1028
+
1029
+ :param str lifecycle_state: (optional)
1030
+ DbSystem Lifecycle State
1031
+
1032
+ Allowed values are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"
1033
+
1034
+ :param str configuration_id: (optional)
1035
+ The requested Configuration instance.
1036
+
1037
+ :param bool is_up_to_date: (optional)
1038
+ Filter instances if they are using the latest revision of the
1039
+ Configuration they are associated with.
1040
+
1041
+ :param str sort_by: (optional)
1042
+ The field to sort by. Only one sort order may be provided. Time fields are default ordered as descending. Display name is default ordered as ascending.
1043
+
1044
+ Allowed values are: "displayName", "timeCreated"
1045
+
1046
+ :param str sort_order: (optional)
1047
+ The sort order to use (ASC or DESC).
1048
+
1049
+ Allowed values are: "ASC", "DESC"
1050
+
1051
+ :param int limit: (optional)
1052
+ The maximum number of items to return in a paginated list call. For information about pagination, see
1053
+ `List Pagination`__.
1054
+
1055
+ __ https://docs.cloud.oracle.com/#API/Concepts/usingapi.htm#List_Pagination
1056
+
1057
+ :param str page: (optional)
1058
+ The value of the `opc-next-page` or `opc-prev-page` response header from
1059
+ the previous list call. For information about pagination, see `List
1060
+ Pagination`__.
1061
+
1062
+ __ https://docs.cloud.oracle.com/#API/Concepts/usingapi.htm#List_Pagination
2160
1063
 
2161
1064
  :param obj retry_strategy: (optional)
2162
1065
  A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
@@ -2170,48 +1073,80 @@ class DbSystemClient(object):
2170
1073
  allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
2171
1074
  By default, the response will not allow control characters in strings
2172
1075
 
2173
- :return: A :class:`~oci.response.Response` object with data of type None
1076
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.mysql.models.DbSystemSummary`
2174
1077
  :rtype: :class:`~oci.response.Response`
2175
1078
 
2176
1079
  :example:
2177
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/start_analytics_cluster.py.html>`__ to see an example of how to use start_analytics_cluster API.
1080
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/list_db_systems.py.html>`__ to see an example of how to use list_db_systems API.
2178
1081
  """
2179
1082
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2180
- required_arguments = ['dbSystemId']
2181
- resource_path = "/dbSystems/{dbSystemId}/analyticsCluster/actions/start"
2182
- method = "POST"
2183
- operation_name = "start_analytics_cluster"
2184
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/StartAnalyticsCluster"
1083
+ required_arguments = ['compartmentId']
1084
+ resource_path = "/dbSystems"
1085
+ method = "GET"
1086
+ operation_name = "list_db_systems"
1087
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystemSummary/ListDbSystems"
2185
1088
 
2186
1089
  # Don't accept unknown kwargs
2187
1090
  expected_kwargs = [
2188
1091
  "allow_control_chars",
2189
1092
  "retry_strategy",
2190
- "if_match",
2191
1093
  "opc_request_id",
2192
- "opc_retry_token"
1094
+ "is_heat_wave_cluster_attached",
1095
+ "db_system_id",
1096
+ "display_name",
1097
+ "lifecycle_state",
1098
+ "configuration_id",
1099
+ "is_up_to_date",
1100
+ "sort_by",
1101
+ "sort_order",
1102
+ "limit",
1103
+ "page"
2193
1104
  ]
2194
1105
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2195
1106
  if extra_kwargs:
2196
1107
  raise ValueError(
2197
- "start_analytics_cluster got unknown kwargs: {!r}".format(extra_kwargs))
1108
+ "list_db_systems got unknown kwargs: {!r}".format(extra_kwargs))
2198
1109
 
2199
- path_params = {
2200
- "dbSystemId": db_system_id
2201
- }
1110
+ if 'lifecycle_state' in kwargs:
1111
+ lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"]
1112
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
1113
+ raise ValueError(
1114
+ "Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values)
1115
+ )
2202
1116
 
2203
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1117
+ if 'sort_by' in kwargs:
1118
+ sort_by_allowed_values = ["displayName", "timeCreated"]
1119
+ if kwargs['sort_by'] not in sort_by_allowed_values:
1120
+ raise ValueError(
1121
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
1122
+ )
2204
1123
 
2205
- for (k, v) in six.iteritems(path_params):
2206
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2207
- raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1124
+ if 'sort_order' in kwargs:
1125
+ sort_order_allowed_values = ["ASC", "DESC"]
1126
+ if kwargs['sort_order'] not in sort_order_allowed_values:
1127
+ raise ValueError(
1128
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
1129
+ )
1130
+
1131
+ query_params = {
1132
+ "isHeatWaveClusterAttached": kwargs.get("is_heat_wave_cluster_attached", missing),
1133
+ "compartmentId": compartment_id,
1134
+ "dbSystemId": kwargs.get("db_system_id", missing),
1135
+ "displayName": kwargs.get("display_name", missing),
1136
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
1137
+ "configurationId": kwargs.get("configuration_id", missing),
1138
+ "isUpToDate": kwargs.get("is_up_to_date", missing),
1139
+ "sortBy": kwargs.get("sort_by", missing),
1140
+ "sortOrder": kwargs.get("sort_order", missing),
1141
+ "limit": kwargs.get("limit", missing),
1142
+ "page": kwargs.get("page", missing)
1143
+ }
1144
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
2208
1145
 
2209
1146
  header_params = {
2210
1147
  "accept": "application/json",
2211
1148
  "content-type": "application/json",
2212
- "if-match": kwargs.get("if_match", missing),
2213
- "opc-request-id": kwargs.get("opc_request_id", missing),
2214
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
1149
+ "opc-request-id": kwargs.get("opc_request_id", missing)
2215
1150
  }
2216
1151
  header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2217
1152
 
@@ -2224,15 +1159,15 @@ class DbSystemClient(object):
2224
1159
 
2225
1160
  if retry_strategy:
2226
1161
  if not isinstance(retry_strategy, retry.NoneRetryStrategy):
2227
- self.base_client.add_opc_retry_token_if_needed(header_params)
2228
1162
  self.base_client.add_opc_client_retries_header(header_params)
2229
1163
  retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
2230
1164
  return retry_strategy.make_retrying_call(
2231
1165
  self.base_client.call_api,
2232
1166
  resource_path=resource_path,
2233
1167
  method=method,
2234
- path_params=path_params,
1168
+ query_params=query_params,
2235
1169
  header_params=header_params,
1170
+ response_type="list[DbSystemSummary]",
2236
1171
  allow_control_chars=kwargs.get('allow_control_chars'),
2237
1172
  operation_name=operation_name,
2238
1173
  api_reference_link=api_reference_link,
@@ -2241,16 +1176,17 @@ class DbSystemClient(object):
2241
1176
  return self.base_client.call_api(
2242
1177
  resource_path=resource_path,
2243
1178
  method=method,
2244
- path_params=path_params,
1179
+ query_params=query_params,
2245
1180
  header_params=header_params,
1181
+ response_type="list[DbSystemSummary]",
2246
1182
  allow_control_chars=kwargs.get('allow_control_chars'),
2247
1183
  operation_name=operation_name,
2248
1184
  api_reference_link=api_reference_link,
2249
1185
  required_arguments=required_arguments)
2250
1186
 
2251
- def start_db_system(self, db_system_id, **kwargs):
1187
+ def restart_db_system(self, db_system_id, restart_db_system_details, **kwargs):
2252
1188
  """
2253
- Start the specified DB System.
1189
+ Restarts the specified DB System.
2254
1190
 
2255
1191
 
2256
1192
  :param str db_system_id: (required)
@@ -2258,6 +1194,9 @@ class DbSystemClient(object):
2258
1194
 
2259
1195
  __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
2260
1196
 
1197
+ :param oci.mysql.models.RestartDbSystemDetails restart_db_system_details: (required)
1198
+ Optional parameters for the stop portion of the restart action.
1199
+
2261
1200
  :param str if_match: (optional)
2262
1201
  For optimistic concurrency control. In the PUT or DELETE call for a
2263
1202
  resource, set the `If-Match` header to the value of the etag from a
@@ -2294,14 +1233,14 @@ class DbSystemClient(object):
2294
1233
  :rtype: :class:`~oci.response.Response`
2295
1234
 
2296
1235
  :example:
2297
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/start_db_system.py.html>`__ to see an example of how to use start_db_system API.
1236
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/restart_db_system.py.html>`__ to see an example of how to use restart_db_system API.
2298
1237
  """
2299
1238
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2300
1239
  required_arguments = ['dbSystemId']
2301
- resource_path = "/dbSystems/{dbSystemId}/actions/start"
1240
+ resource_path = "/dbSystems/{dbSystemId}/actions/restart"
2302
1241
  method = "POST"
2303
- operation_name = "start_db_system"
2304
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/StartDbSystem"
1242
+ operation_name = "restart_db_system"
1243
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/RestartDbSystem"
2305
1244
 
2306
1245
  # Don't accept unknown kwargs
2307
1246
  expected_kwargs = [
@@ -2314,7 +1253,7 @@ class DbSystemClient(object):
2314
1253
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2315
1254
  if extra_kwargs:
2316
1255
  raise ValueError(
2317
- "start_db_system got unknown kwargs: {!r}".format(extra_kwargs))
1256
+ "restart_db_system got unknown kwargs: {!r}".format(extra_kwargs))
2318
1257
 
2319
1258
  path_params = {
2320
1259
  "dbSystemId": db_system_id
@@ -2353,6 +1292,7 @@ class DbSystemClient(object):
2353
1292
  method=method,
2354
1293
  path_params=path_params,
2355
1294
  header_params=header_params,
1295
+ body=restart_db_system_details,
2356
1296
  allow_control_chars=kwargs.get('allow_control_chars'),
2357
1297
  operation_name=operation_name,
2358
1298
  api_reference_link=api_reference_link,
@@ -2363,14 +1303,15 @@ class DbSystemClient(object):
2363
1303
  method=method,
2364
1304
  path_params=path_params,
2365
1305
  header_params=header_params,
1306
+ body=restart_db_system_details,
2366
1307
  allow_control_chars=kwargs.get('allow_control_chars'),
2367
1308
  operation_name=operation_name,
2368
1309
  api_reference_link=api_reference_link,
2369
1310
  required_arguments=required_arguments)
2370
1311
 
2371
- def start_heat_wave_cluster(self, db_system_id, **kwargs):
1312
+ def restart_heat_wave_cluster(self, db_system_id, **kwargs):
2372
1313
  """
2373
- Starts the HeatWave cluster.
1314
+ Restarts the HeatWave cluster.
2374
1315
 
2375
1316
 
2376
1317
  :param str db_system_id: (required)
@@ -2414,14 +1355,14 @@ class DbSystemClient(object):
2414
1355
  :rtype: :class:`~oci.response.Response`
2415
1356
 
2416
1357
  :example:
2417
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/start_heat_wave_cluster.py.html>`__ to see an example of how to use start_heat_wave_cluster API.
1358
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/restart_heat_wave_cluster.py.html>`__ to see an example of how to use restart_heat_wave_cluster API.
2418
1359
  """
2419
1360
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2420
1361
  required_arguments = ['dbSystemId']
2421
- resource_path = "/dbSystems/{dbSystemId}/heatWaveCluster/actions/start"
1362
+ resource_path = "/dbSystems/{dbSystemId}/heatWaveCluster/actions/restart"
2422
1363
  method = "POST"
2423
- operation_name = "start_heat_wave_cluster"
2424
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/StartHeatWaveCluster"
1364
+ operation_name = "restart_heat_wave_cluster"
1365
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/RestartHeatWaveCluster"
2425
1366
 
2426
1367
  # Don't accept unknown kwargs
2427
1368
  expected_kwargs = [
@@ -2434,7 +1375,7 @@ class DbSystemClient(object):
2434
1375
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2435
1376
  if extra_kwargs:
2436
1377
  raise ValueError(
2437
- "start_heat_wave_cluster got unknown kwargs: {!r}".format(extra_kwargs))
1378
+ "restart_heat_wave_cluster got unknown kwargs: {!r}".format(extra_kwargs))
2438
1379
 
2439
1380
  path_params = {
2440
1381
  "dbSystemId": db_system_id
@@ -2488,10 +1429,9 @@ class DbSystemClient(object):
2488
1429
  api_reference_link=api_reference_link,
2489
1430
  required_arguments=required_arguments)
2490
1431
 
2491
- def stop_analytics_cluster(self, db_system_id, **kwargs):
1432
+ def start_db_system(self, db_system_id, **kwargs):
2492
1433
  """
2493
- DEPRECATED -- please use HeatWave API instead.
2494
- Stops the Analytics Cluster.
1434
+ Start the specified DB System.
2495
1435
 
2496
1436
 
2497
1437
  :param str db_system_id: (required)
@@ -2535,14 +1475,14 @@ class DbSystemClient(object):
2535
1475
  :rtype: :class:`~oci.response.Response`
2536
1476
 
2537
1477
  :example:
2538
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/stop_analytics_cluster.py.html>`__ to see an example of how to use stop_analytics_cluster API.
1478
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/start_db_system.py.html>`__ to see an example of how to use start_db_system API.
2539
1479
  """
2540
1480
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2541
1481
  required_arguments = ['dbSystemId']
2542
- resource_path = "/dbSystems/{dbSystemId}/analyticsCluster/actions/stop"
1482
+ resource_path = "/dbSystems/{dbSystemId}/actions/start"
2543
1483
  method = "POST"
2544
- operation_name = "stop_analytics_cluster"
2545
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/StopAnalyticsCluster"
1484
+ operation_name = "start_db_system"
1485
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/StartDbSystem"
2546
1486
 
2547
1487
  # Don't accept unknown kwargs
2548
1488
  expected_kwargs = [
@@ -2555,7 +1495,7 @@ class DbSystemClient(object):
2555
1495
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2556
1496
  if extra_kwargs:
2557
1497
  raise ValueError(
2558
- "stop_analytics_cluster got unknown kwargs: {!r}".format(extra_kwargs))
1498
+ "start_db_system got unknown kwargs: {!r}".format(extra_kwargs))
2559
1499
 
2560
1500
  path_params = {
2561
1501
  "dbSystemId": db_system_id
@@ -2609,11 +1549,9 @@ class DbSystemClient(object):
2609
1549
  api_reference_link=api_reference_link,
2610
1550
  required_arguments=required_arguments)
2611
1551
 
2612
- def stop_db_system(self, db_system_id, stop_db_system_details, **kwargs):
1552
+ def start_heat_wave_cluster(self, db_system_id, **kwargs):
2613
1553
  """
2614
- Stops the specified DB System.
2615
-
2616
- A stopped DB System is not billed.
1554
+ Starts the HeatWave cluster.
2617
1555
 
2618
1556
 
2619
1557
  :param str db_system_id: (required)
@@ -2621,9 +1559,6 @@ class DbSystemClient(object):
2621
1559
 
2622
1560
  __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
2623
1561
 
2624
- :param oci.mysql.models.StopDbSystemDetails stop_db_system_details: (required)
2625
- Optional parameters for the stop action.
2626
-
2627
1562
  :param str if_match: (optional)
2628
1563
  For optimistic concurrency control. In the PUT or DELETE call for a
2629
1564
  resource, set the `If-Match` header to the value of the etag from a
@@ -2660,14 +1595,14 @@ class DbSystemClient(object):
2660
1595
  :rtype: :class:`~oci.response.Response`
2661
1596
 
2662
1597
  :example:
2663
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/stop_db_system.py.html>`__ to see an example of how to use stop_db_system API.
1598
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/start_heat_wave_cluster.py.html>`__ to see an example of how to use start_heat_wave_cluster API.
2664
1599
  """
2665
1600
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2666
1601
  required_arguments = ['dbSystemId']
2667
- resource_path = "/dbSystems/{dbSystemId}/actions/stop"
1602
+ resource_path = "/dbSystems/{dbSystemId}/heatWaveCluster/actions/start"
2668
1603
  method = "POST"
2669
- operation_name = "stop_db_system"
2670
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/StopDbSystem"
1604
+ operation_name = "start_heat_wave_cluster"
1605
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/StartHeatWaveCluster"
2671
1606
 
2672
1607
  # Don't accept unknown kwargs
2673
1608
  expected_kwargs = [
@@ -2680,7 +1615,7 @@ class DbSystemClient(object):
2680
1615
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2681
1616
  if extra_kwargs:
2682
1617
  raise ValueError(
2683
- "stop_db_system got unknown kwargs: {!r}".format(extra_kwargs))
1618
+ "start_heat_wave_cluster got unknown kwargs: {!r}".format(extra_kwargs))
2684
1619
 
2685
1620
  path_params = {
2686
1621
  "dbSystemId": db_system_id
@@ -2719,7 +1654,6 @@ class DbSystemClient(object):
2719
1654
  method=method,
2720
1655
  path_params=path_params,
2721
1656
  header_params=header_params,
2722
- body=stop_db_system_details,
2723
1657
  allow_control_chars=kwargs.get('allow_control_chars'),
2724
1658
  operation_name=operation_name,
2725
1659
  api_reference_link=api_reference_link,
@@ -2730,15 +1664,16 @@ class DbSystemClient(object):
2730
1664
  method=method,
2731
1665
  path_params=path_params,
2732
1666
  header_params=header_params,
2733
- body=stop_db_system_details,
2734
1667
  allow_control_chars=kwargs.get('allow_control_chars'),
2735
1668
  operation_name=operation_name,
2736
1669
  api_reference_link=api_reference_link,
2737
1670
  required_arguments=required_arguments)
2738
1671
 
2739
- def stop_heat_wave_cluster(self, db_system_id, **kwargs):
1672
+ def stop_db_system(self, db_system_id, stop_db_system_details, **kwargs):
2740
1673
  """
2741
- Stops the HeatWave cluster.
1674
+ Stops the specified DB System.
1675
+
1676
+ A stopped DB System is not billed.
2742
1677
 
2743
1678
 
2744
1679
  :param str db_system_id: (required)
@@ -2746,6 +1681,9 @@ class DbSystemClient(object):
2746
1681
 
2747
1682
  __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
2748
1683
 
1684
+ :param oci.mysql.models.StopDbSystemDetails stop_db_system_details: (required)
1685
+ Optional parameters for the stop action.
1686
+
2749
1687
  :param str if_match: (optional)
2750
1688
  For optimistic concurrency control. In the PUT or DELETE call for a
2751
1689
  resource, set the `If-Match` header to the value of the etag from a
@@ -2782,14 +1720,14 @@ class DbSystemClient(object):
2782
1720
  :rtype: :class:`~oci.response.Response`
2783
1721
 
2784
1722
  :example:
2785
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/stop_heat_wave_cluster.py.html>`__ to see an example of how to use stop_heat_wave_cluster API.
1723
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/stop_db_system.py.html>`__ to see an example of how to use stop_db_system API.
2786
1724
  """
2787
1725
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2788
1726
  required_arguments = ['dbSystemId']
2789
- resource_path = "/dbSystems/{dbSystemId}/heatWaveCluster/actions/stop"
1727
+ resource_path = "/dbSystems/{dbSystemId}/actions/stop"
2790
1728
  method = "POST"
2791
- operation_name = "stop_heat_wave_cluster"
2792
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/StopHeatWaveCluster"
1729
+ operation_name = "stop_db_system"
1730
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/DbSystem/StopDbSystem"
2793
1731
 
2794
1732
  # Don't accept unknown kwargs
2795
1733
  expected_kwargs = [
@@ -2802,7 +1740,7 @@ class DbSystemClient(object):
2802
1740
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2803
1741
  if extra_kwargs:
2804
1742
  raise ValueError(
2805
- "stop_heat_wave_cluster got unknown kwargs: {!r}".format(extra_kwargs))
1743
+ "stop_db_system got unknown kwargs: {!r}".format(extra_kwargs))
2806
1744
 
2807
1745
  path_params = {
2808
1746
  "dbSystemId": db_system_id
@@ -2841,6 +1779,7 @@ class DbSystemClient(object):
2841
1779
  method=method,
2842
1780
  path_params=path_params,
2843
1781
  header_params=header_params,
1782
+ body=stop_db_system_details,
2844
1783
  allow_control_chars=kwargs.get('allow_control_chars'),
2845
1784
  operation_name=operation_name,
2846
1785
  api_reference_link=api_reference_link,
@@ -2851,15 +1790,15 @@ class DbSystemClient(object):
2851
1790
  method=method,
2852
1791
  path_params=path_params,
2853
1792
  header_params=header_params,
1793
+ body=stop_db_system_details,
2854
1794
  allow_control_chars=kwargs.get('allow_control_chars'),
2855
1795
  operation_name=operation_name,
2856
1796
  api_reference_link=api_reference_link,
2857
1797
  required_arguments=required_arguments)
2858
1798
 
2859
- def update_analytics_cluster(self, db_system_id, update_analytics_cluster_details, **kwargs):
1799
+ def stop_heat_wave_cluster(self, db_system_id, **kwargs):
2860
1800
  """
2861
- DEPRECATED -- please use HeatWave API instead.
2862
- Updates the Analytics Cluster.
1801
+ Stops the HeatWave cluster.
2863
1802
 
2864
1803
 
2865
1804
  :param str db_system_id: (required)
@@ -2867,9 +1806,6 @@ class DbSystemClient(object):
2867
1806
 
2868
1807
  __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
2869
1808
 
2870
- :param oci.mysql.models.UpdateAnalyticsClusterDetails update_analytics_cluster_details: (required)
2871
- Request to update an Analytics Cluster.
2872
-
2873
1809
  :param str if_match: (optional)
2874
1810
  For optimistic concurrency control. In the PUT or DELETE call for a
2875
1811
  resource, set the `If-Match` header to the value of the etag from a
@@ -2882,6 +1818,14 @@ class DbSystemClient(object):
2882
1818
  contact Oracle about a specific request, please provide the request
2883
1819
  ID that you supplied in this header with the request.
2884
1820
 
1821
+ :param str opc_retry_token: (optional)
1822
+ A token that uniquely identifies a request so it can be retried in case
1823
+ of a timeout or server error without risk of executing that same action
1824
+ again. Retry tokens expire after 24 hours, but can be invalidated before
1825
+ then due to conflicting operations (for example, if a resource has been
1826
+ deleted and purged from the system, then a retry of the original
1827
+ creation request may be rejected).
1828
+
2885
1829
  :param obj retry_strategy: (optional)
2886
1830
  A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2887
1831
 
@@ -2898,26 +1842,27 @@ class DbSystemClient(object):
2898
1842
  :rtype: :class:`~oci.response.Response`
2899
1843
 
2900
1844
  :example:
2901
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/update_analytics_cluster.py.html>`__ to see an example of how to use update_analytics_cluster API.
1845
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/stop_heat_wave_cluster.py.html>`__ to see an example of how to use stop_heat_wave_cluster API.
2902
1846
  """
2903
1847
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2904
1848
  required_arguments = ['dbSystemId']
2905
- resource_path = "/dbSystems/{dbSystemId}/analyticsCluster"
2906
- method = "PUT"
2907
- operation_name = "update_analytics_cluster"
2908
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/AnalyticsCluster/UpdateAnalyticsCluster"
1849
+ resource_path = "/dbSystems/{dbSystemId}/heatWaveCluster/actions/stop"
1850
+ method = "POST"
1851
+ operation_name = "stop_heat_wave_cluster"
1852
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/mysql/20190415/HeatWaveCluster/StopHeatWaveCluster"
2909
1853
 
2910
1854
  # Don't accept unknown kwargs
2911
1855
  expected_kwargs = [
2912
1856
  "allow_control_chars",
2913
1857
  "retry_strategy",
2914
1858
  "if_match",
2915
- "opc_request_id"
1859
+ "opc_request_id",
1860
+ "opc_retry_token"
2916
1861
  ]
2917
1862
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2918
1863
  if extra_kwargs:
2919
1864
  raise ValueError(
2920
- "update_analytics_cluster got unknown kwargs: {!r}".format(extra_kwargs))
1865
+ "stop_heat_wave_cluster got unknown kwargs: {!r}".format(extra_kwargs))
2921
1866
 
2922
1867
  path_params = {
2923
1868
  "dbSystemId": db_system_id
@@ -2933,7 +1878,8 @@ class DbSystemClient(object):
2933
1878
  "accept": "application/json",
2934
1879
  "content-type": "application/json",
2935
1880
  "if-match": kwargs.get("if_match", missing),
2936
- "opc-request-id": kwargs.get("opc_request_id", missing)
1881
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1882
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
2937
1883
  }
2938
1884
  header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2939
1885
 
@@ -2946,6 +1892,7 @@ class DbSystemClient(object):
2946
1892
 
2947
1893
  if retry_strategy:
2948
1894
  if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1895
+ self.base_client.add_opc_retry_token_if_needed(header_params)
2949
1896
  self.base_client.add_opc_client_retries_header(header_params)
2950
1897
  retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
2951
1898
  return retry_strategy.make_retrying_call(
@@ -2954,7 +1901,6 @@ class DbSystemClient(object):
2954
1901
  method=method,
2955
1902
  path_params=path_params,
2956
1903
  header_params=header_params,
2957
- body=update_analytics_cluster_details,
2958
1904
  allow_control_chars=kwargs.get('allow_control_chars'),
2959
1905
  operation_name=operation_name,
2960
1906
  api_reference_link=api_reference_link,
@@ -2965,7 +1911,6 @@ class DbSystemClient(object):
2965
1911
  method=method,
2966
1912
  path_params=path_params,
2967
1913
  header_params=header_params,
2968
- body=update_analytics_cluster_details,
2969
1914
  allow_control_chars=kwargs.get('allow_control_chars'),
2970
1915
  operation_name=operation_name,
2971
1916
  api_reference_link=api_reference_link,
@@ -3019,7 +1964,7 @@ class DbSystemClient(object):
3019
1964
  :rtype: :class:`~oci.response.Response`
3020
1965
 
3021
1966
  :example:
3022
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/update_db_system.py.html>`__ to see an example of how to use update_db_system API.
1967
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/update_db_system.py.html>`__ to see an example of how to use update_db_system API.
3023
1968
  """
3024
1969
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3025
1970
  required_arguments = ['dbSystemId']
@@ -3133,7 +2078,7 @@ class DbSystemClient(object):
3133
2078
  :rtype: :class:`~oci.response.Response`
3134
2079
 
3135
2080
  :example:
3136
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/mysql/update_heat_wave_cluster.py.html>`__ to see an example of how to use update_heat_wave_cluster API.
2081
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/mysql/update_heat_wave_cluster.py.html>`__ to see an example of how to use update_heat_wave_cluster API.
3137
2082
  """
3138
2083
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3139
2084
  required_arguments = ['dbSystemId']