oci 2.114.0__py3-none-any.whl → 2.115.1__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 (659) hide show
  1. oci/__init__.py +2 -2
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/adm/application_dependency_management_client.py +36 -36
  4. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  5. oci/ai_document/ai_service_document_client.py +22 -22
  6. oci/ai_language/ai_service_language_client.py +36 -36
  7. oci/ai_speech/ai_service_speech_client.py +9 -9
  8. oci/ai_vision/ai_service_vision_client.py +25 -25
  9. oci/analytics/analytics_client.py +23 -23
  10. oci/announcements_service/announcement_client.py +4 -4
  11. oci/announcements_service/announcement_subscription_client.py +9 -9
  12. oci/announcements_service/announcements_preferences_client.py +4 -4
  13. oci/apigateway/api_gateway_client.py +21 -21
  14. oci/apigateway/deployment_client.py +6 -6
  15. oci/apigateway/gateway_client.py +6 -6
  16. oci/apigateway/subscribers_client.py +6 -6
  17. oci/apigateway/usage_plans_client.py +6 -6
  18. oci/apigateway/work_requests_client.py +5 -5
  19. oci/apm_config/config_client.py +8 -8
  20. oci/apm_control_plane/apm_domain_client.py +14 -14
  21. oci/apm_synthetics/apm_synthetic_client.py +18 -18
  22. oci/apm_traces/query_client.py +2 -2
  23. oci/apm_traces/trace_client.py +4 -4
  24. oci/application_migration/application_migration_client.py +19 -19
  25. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  26. oci/artifacts/artifacts_client.py +32 -32
  27. oci/audit/audit_client.py +3 -3
  28. oci/auth/signers/ephemeral_resource_principals_v21_signer.py +3 -17
  29. oci/autoscaling/auto_scaling_client.py +11 -11
  30. oci/bastion/bastion_client.py +15 -15
  31. oci/bds/bds_client.py +47 -47
  32. oci/blockchain/blockchain_platform_client.py +27 -27
  33. oci/budget/budget_client.py +10 -10
  34. oci/certificates/certificates_client.py +5 -5
  35. oci/certificates_management/certificates_management_client.py +32 -32
  36. oci/cims/incident_client.py +8 -8
  37. oci/cims/user_client.py +1 -1
  38. oci/cloud_bridge/common_client.py +5 -5
  39. oci/cloud_bridge/discovery_client.py +14 -14
  40. oci/cloud_bridge/inventory_client.py +16 -16
  41. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  42. oci/cloud_guard/cloud_guard_client.py +133 -133
  43. oci/cloud_migrations/migration_client.py +43 -43
  44. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  45. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  46. oci/compute_instance_agent/plugin_client.py +2 -2
  47. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  48. oci/container_engine/container_engine_client.py +44 -44
  49. oci/container_instances/container_instance_client.py +18 -18
  50. oci/core/blockstorage_client.py +60 -60
  51. oci/core/compute_client.py +90 -90
  52. oci/core/compute_management_client.py +32 -32
  53. oci/core/virtual_network_client.py +242 -242
  54. oci/dashboard_service/dashboard_client.py +6 -6
  55. oci/dashboard_service/dashboard_group_client.py +6 -6
  56. oci/data_catalog/data_catalog_client.py +141 -141
  57. oci/data_flow/data_flow_client.py +42 -42
  58. oci/data_integration/data_integration_client.py +163 -163
  59. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  60. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  61. oci/data_safe/data_safe_client.py +12749 -7471
  62. oci/data_safe/data_safe_client_composite_operations.py +797 -29
  63. oci/data_safe/models/__init__.py +104 -0
  64. oci/data_safe/models/apply_sdm_masking_policy_difference_details.py +1 -1
  65. oci/data_safe/models/audit_policy_dimensions.py +7 -3
  66. oci/data_safe/models/audit_specification.py +7 -3
  67. oci/data_safe/models/autonomous_database_details.py +3 -3
  68. oci/data_safe/models/change_database_security_config_compartment_details.py +72 -0
  69. oci/data_safe/models/change_security_policy_compartment_details.py +72 -0
  70. oci/data_safe/models/change_security_policy_deployment_compartment_details.py +72 -0
  71. oci/data_safe/models/change_sql_collection_compartment_details.py +72 -0
  72. oci/data_safe/models/change_sql_firewall_policy_compartment_details.py +72 -0
  73. oci/data_safe/models/change_target_database_compartment_details.py +2 -2
  74. oci/data_safe/models/column_summary.py +1 -1
  75. oci/data_safe/models/create_data_safe_private_endpoint_details.py +1 -1
  76. oci/data_safe/models/create_discovery_job_details.py +4 -4
  77. oci/data_safe/models/create_masking_column_details.py +2 -2
  78. oci/data_safe/models/create_masking_policy_details.py +2 -4
  79. oci/data_safe/models/create_sensitive_data_model_details.py +2 -2
  80. oci/data_safe/models/create_sql_collection_details.py +372 -0
  81. oci/data_safe/models/create_target_alert_policy_association_details.py +2 -2
  82. oci/data_safe/models/database_cloud_service_details.py +3 -3
  83. oci/data_safe/models/database_security_config.py +527 -0
  84. oci/data_safe/models/database_security_config_collection.py +72 -0
  85. oci/data_safe/models/database_security_config_summary.py +494 -0
  86. oci/data_safe/models/discovery_job.py +2 -2
  87. oci/data_safe/models/discovery_job_result.py +2 -2
  88. oci/data_safe/models/discovery_job_result_summary.py +2 -2
  89. oci/data_safe/models/download_masking_log_details.py +1 -1
  90. oci/data_safe/models/entry_details.py +103 -0
  91. oci/data_safe/models/firewall_policy_entry_details.py +113 -0
  92. oci/data_safe/models/mask_data_details.py +2 -4
  93. oci/data_safe/models/masking_column.py +2 -2
  94. oci/data_safe/models/masking_column_summary.py +2 -2
  95. oci/data_safe/models/masking_policy.py +2 -4
  96. oci/data_safe/models/profile.py +2 -2
  97. oci/data_safe/models/profile_aggregation.py +1 -65
  98. oci/data_safe/models/profile_summary.py +2 -2
  99. oci/data_safe/models/report_definition.py +22 -6
  100. oci/data_safe/models/report_definition_summary.py +22 -6
  101. oci/data_safe/models/role_summary.py +3 -3
  102. oci/data_safe/models/schema_summary.py +1 -1
  103. oci/data_safe/models/security_assessment.py +6 -6
  104. oci/data_safe/models/security_assessment_base_line_details.py +3 -3
  105. oci/data_safe/models/security_assessment_summary.py +6 -6
  106. oci/data_safe/models/security_policy.py +432 -0
  107. oci/data_safe/models/security_policy_collection.py +72 -0
  108. oci/data_safe/models/security_policy_deployment.py +498 -0
  109. oci/data_safe/models/security_policy_deployment_collection.py +72 -0
  110. oci/data_safe/models/security_policy_deployment_summary.py +498 -0
  111. oci/data_safe/models/security_policy_entry_state.py +220 -0
  112. oci/data_safe/models/security_policy_entry_state_collection.py +72 -0
  113. oci/data_safe/models/security_policy_entry_state_summary.py +193 -0
  114. oci/data_safe/models/security_policy_summary.py +432 -0
  115. oci/data_safe/models/sensitive_data_model.py +2 -2
  116. oci/data_safe/models/sql_collection.py +667 -0
  117. oci/data_safe/models/sql_collection_aggregation.py +99 -0
  118. oci/data_safe/models/sql_collection_analytics_collection.py +72 -0
  119. oci/data_safe/models/sql_collection_collection.py +72 -0
  120. oci/data_safe/models/sql_collection_dimensions.py +147 -0
  121. oci/data_safe/models/sql_collection_log_aggregation.py +192 -0
  122. oci/data_safe/models/sql_collection_log_dimensions.py +134 -0
  123. oci/data_safe/models/sql_collection_log_insights_collection.py +72 -0
  124. oci/data_safe/models/sql_collection_summary.py +634 -0
  125. oci/data_safe/models/sql_firewall_allowed_sql_aggregation.py +99 -0
  126. oci/data_safe/models/sql_firewall_allowed_sql_analytics_collection.py +72 -0
  127. oci/data_safe/models/sql_firewall_allowed_sql_collection.py +72 -0
  128. oci/data_safe/models/sql_firewall_allowed_sql_dimensions.py +201 -0
  129. oci/data_safe/models/sql_firewall_allowed_sql_summary.py +622 -0
  130. oci/data_safe/models/sql_firewall_config.py +215 -0
  131. oci/data_safe/models/sql_firewall_policy.py +838 -0
  132. oci/data_safe/models/sql_firewall_policy_aggregation.py +99 -0
  133. oci/data_safe/models/sql_firewall_policy_analytics_collection.py +72 -0
  134. oci/data_safe/models/sql_firewall_policy_collection.py +72 -0
  135. oci/data_safe/models/sql_firewall_policy_dimensions.py +241 -0
  136. oci/data_safe/models/sql_firewall_policy_summary.py +712 -0
  137. oci/data_safe/models/sql_firewall_violation_aggregation.py +223 -0
  138. oci/data_safe/models/sql_firewall_violation_aggregation_dimensions.py +402 -0
  139. oci/data_safe/models/sql_firewall_violation_analytics_collection.py +72 -0
  140. oci/data_safe/models/sql_firewall_violation_summary.py +604 -0
  141. oci/data_safe/models/sql_firewall_violations_collection.py +72 -0
  142. oci/data_safe/models/table_summary.py +1 -1
  143. oci/data_safe/models/target_alert_policy_association.py +2 -2
  144. oci/data_safe/models/target_alert_policy_association_summary.py +2 -2
  145. oci/data_safe/models/target_database.py +4 -4
  146. oci/data_safe/models/target_database_summary.py +2 -2
  147. oci/data_safe/models/update_data_safe_private_endpoint_details.py +1 -1
  148. oci/data_safe/models/update_database_security_config_details.py +208 -0
  149. oci/data_safe/models/update_masking_column_details.py +2 -2
  150. oci/data_safe/models/update_masking_policy_details.py +2 -4
  151. oci/data_safe/models/update_security_policy_deployment_details.py +181 -0
  152. oci/data_safe/models/update_security_policy_details.py +181 -0
  153. oci/data_safe/models/update_sql_collection_details.py +181 -0
  154. oci/data_safe/models/update_sql_firewall_config_details.py +184 -0
  155. oci/data_safe/models/update_sql_firewall_policy_details.py +466 -0
  156. oci/data_safe/models/update_target_alert_policy_association_details.py +2 -2
  157. oci/data_safe/models/user_assessment.py +14 -14
  158. oci/data_safe/models/user_assessment_base_line_details.py +3 -3
  159. oci/data_safe/models/user_assessment_summary.py +18 -18
  160. oci/data_safe/models/user_summary.py +8 -8
  161. oci/data_safe/models/work_request.py +83 -3
  162. oci/data_safe/models/work_request_summary.py +83 -3
  163. oci/data_science/data_science_client.py +91 -91
  164. oci/database/database_client.py +645 -319
  165. oci/database/database_client_composite_operations.py +176 -0
  166. oci/database/models/__init__.py +8 -0
  167. oci/database/models/autonomous_container_database.py +7 -3
  168. oci/database/models/autonomous_container_database_summary.py +7 -3
  169. oci/database/models/configure_saas_admin_user_details.py +284 -0
  170. oci/database/models/create_autonomous_container_database_dataguard_association_details.py +321 -0
  171. oci/database/models/database_connection_string_profile.py +33 -2
  172. oci/database/models/generate_autonomous_database_wallet_details.py +33 -2
  173. oci/database/models/saas_admin_user_configuration.py +284 -0
  174. oci/database/models/saas_admin_user_status.py +154 -0
  175. oci/database_management/__init__.py +3 -1
  176. oci/database_management/db_management_client.py +182 -182
  177. oci/database_management/diagnosability_client.py +4 -4
  178. oci/database_management/managed_my_sql_databases_client.py +945 -0
  179. oci/database_management/managed_my_sql_databases_client_composite_operations.py +26 -0
  180. oci/database_management/models/__init__.py +26 -0
  181. oci/database_management/models/managed_my_sql_database.py +227 -0
  182. oci/database_management/models/managed_my_sql_database_collection.py +72 -0
  183. oci/database_management/models/managed_my_sql_database_summary.py +227 -0
  184. oci/database_management/models/my_sql_configuration_data_collection.py +72 -0
  185. oci/database_management/models/my_sql_configuration_data_summary.py +616 -0
  186. oci/database_management/models/my_sql_data_collection.py +72 -0
  187. oci/database_management/models/my_sql_data_summary.py +1033 -0
  188. oci/database_management/models/my_sql_database_usage_metrics.py +342 -0
  189. oci/database_management/models/my_sql_fleet_by_category.py +134 -0
  190. oci/database_management/models/my_sql_fleet_metric_definition.py +196 -0
  191. oci/database_management/models/my_sql_fleet_metric_summary_definition.py +165 -0
  192. oci/database_management/models/my_sql_fleet_metrics.py +165 -0
  193. oci/database_management/models/my_sql_fleet_summary.py +103 -0
  194. oci/database_management/perfhub_client.py +1 -1
  195. oci/database_management/sql_tuning_client.py +17 -17
  196. oci/database_migration/database_migration_client.py +41 -41
  197. oci/database_tools/database_tools_client.py +23 -23
  198. oci/devops/devops_client.py +89 -89
  199. oci/disaster_recovery/disaster_recovery_client.py +168 -152
  200. oci/disaster_recovery/disaster_recovery_client_composite_operations.py +45 -45
  201. oci/disaster_recovery/models/__init__.py +88 -0
  202. oci/disaster_recovery/models/associate_dr_protection_group_details.py +13 -9
  203. oci/disaster_recovery/models/block_volume_attachment_details.py +78 -0
  204. oci/disaster_recovery/models/block_volume_mount_details.py +76 -0
  205. oci/disaster_recovery/models/cancel_dr_plan_execution_details.py +1 -1
  206. oci/disaster_recovery/models/change_dr_protection_group_compartment_details.py +5 -5
  207. oci/disaster_recovery/models/compute_instance_movable_file_system_operation.py +165 -0
  208. oci/disaster_recovery/models/compute_instance_movable_vnic_mapping.py +27 -23
  209. oci/disaster_recovery/models/compute_instance_movable_vnic_mapping_details.py +27 -23
  210. oci/disaster_recovery/models/compute_instance_non_movable_block_volume_operation.py +130 -0
  211. oci/disaster_recovery/models/compute_instance_non_movable_file_system_operation.py +146 -0
  212. oci/disaster_recovery/models/compute_instance_vnic_mapping.py +13 -11
  213. oci/disaster_recovery/models/compute_instance_vnic_mapping_details.py +25 -21
  214. oci/disaster_recovery/models/create_block_volume_attachment_details.py +78 -0
  215. oci/disaster_recovery/models/create_block_volume_mount_details.py +76 -0
  216. oci/disaster_recovery/models/create_compute_instance_movable_file_system_operation_details.py +165 -0
  217. oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_operation_details.py +130 -0
  218. oci/disaster_recovery/models/create_compute_instance_non_movable_file_system_operation_details.py +146 -0
  219. oci/disaster_recovery/models/create_dr_plan_details.py +24 -12
  220. oci/disaster_recovery/models/create_dr_plan_execution_details.py +11 -7
  221. oci/disaster_recovery/models/create_dr_protection_group_details.py +15 -11
  222. oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_database_details.py +2 -2
  223. oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_details.py +18 -16
  224. oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_movable_details.py +61 -26
  225. oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_non_movable_details.py +99 -4
  226. oci/disaster_recovery/models/create_dr_protection_group_member_database_details.py +5 -5
  227. oci/disaster_recovery/models/create_dr_protection_group_member_details.py +30 -6
  228. oci/disaster_recovery/models/create_dr_protection_group_member_file_system_details.py +124 -0
  229. oci/disaster_recovery/models/create_dr_protection_group_member_load_balancer_details.py +124 -0
  230. oci/disaster_recovery/models/create_dr_protection_group_member_network_load_balancer_details.py +124 -0
  231. oci/disaster_recovery/models/create_dr_protection_group_member_volume_group_details.py +2 -2
  232. oci/disaster_recovery/models/create_file_system_mount_details.py +76 -0
  233. oci/disaster_recovery/models/create_file_system_unmount_details.py +76 -0
  234. oci/disaster_recovery/models/create_object_storage_log_location_details.py +5 -5
  235. oci/disaster_recovery/models/disassociate_dr_protection_group_default_details.py +1 -1
  236. oci/disaster_recovery/models/disassociate_dr_protection_group_details.py +3 -3
  237. oci/disaster_recovery/models/dr_plan.py +56 -42
  238. oci/disaster_recovery/models/dr_plan_collection.py +3 -3
  239. oci/disaster_recovery/models/dr_plan_execution.py +72 -52
  240. oci/disaster_recovery/models/dr_plan_execution_collection.py +3 -4
  241. oci/disaster_recovery/models/dr_plan_execution_option_details.py +35 -3
  242. oci/disaster_recovery/models/dr_plan_execution_options.py +35 -3
  243. oci/disaster_recovery/models/dr_plan_execution_summary.py +68 -48
  244. oci/disaster_recovery/models/dr_plan_group.py +15 -11
  245. oci/disaster_recovery/models/dr_plan_group_execution.py +21 -17
  246. oci/disaster_recovery/models/dr_plan_step.py +170 -14
  247. oci/disaster_recovery/models/dr_plan_step_execution.py +178 -22
  248. oci/disaster_recovery/models/dr_plan_summary.py +62 -38
  249. oci/disaster_recovery/models/dr_plan_user_defined_step.py +19 -23
  250. oci/disaster_recovery/models/dr_protection_group.py +87 -34
  251. oci/disaster_recovery/models/dr_protection_group_collection.py +3 -3
  252. oci/disaster_recovery/models/dr_protection_group_member.py +30 -6
  253. oci/disaster_recovery/models/dr_protection_group_member_autonomous_database.py +2 -2
  254. oci/disaster_recovery/models/dr_protection_group_member_compute_instance.py +16 -12
  255. oci/disaster_recovery/models/dr_protection_group_member_compute_instance_movable.py +59 -22
  256. oci/disaster_recovery/models/dr_protection_group_member_compute_instance_non_movable.py +97 -4
  257. oci/disaster_recovery/models/dr_protection_group_member_database.py +8 -6
  258. oci/disaster_recovery/models/dr_protection_group_member_file_system.py +124 -0
  259. oci/disaster_recovery/models/dr_protection_group_member_load_balancer.py +126 -0
  260. oci/disaster_recovery/models/dr_protection_group_member_network_load_balancer.py +126 -0
  261. oci/disaster_recovery/models/dr_protection_group_member_volume_group.py +2 -2
  262. oci/disaster_recovery/models/dr_protection_group_summary.py +85 -32
  263. oci/disaster_recovery/models/failover_execution_option_details.py +1 -1
  264. oci/disaster_recovery/models/failover_execution_options.py +1 -1
  265. oci/disaster_recovery/models/failover_precheck_execution_option_details.py +1 -1
  266. oci/disaster_recovery/models/failover_precheck_execution_options.py +1 -1
  267. oci/disaster_recovery/models/file_system_export_mapping.py +111 -0
  268. oci/disaster_recovery/models/file_system_export_mapping_details.py +111 -0
  269. oci/disaster_recovery/models/file_system_mount_details.py +76 -0
  270. oci/disaster_recovery/models/file_system_unmount_details.py +76 -0
  271. oci/disaster_recovery/models/ignore_dr_plan_execution_details.py +4 -4
  272. oci/disaster_recovery/models/invoke_function_step.py +2 -2
  273. oci/disaster_recovery/models/load_balancer_backend_set_mapping.py +150 -0
  274. oci/disaster_recovery/models/load_balancer_backend_set_mapping_details.py +154 -0
  275. oci/disaster_recovery/models/network_load_balancer_backend_set_mapping.py +150 -0
  276. oci/disaster_recovery/models/network_load_balancer_backend_set_mapping_details.py +154 -0
  277. oci/disaster_recovery/models/object_storage_log_location.py +7 -7
  278. oci/disaster_recovery/models/object_storage_script_location.py +7 -7
  279. oci/disaster_recovery/models/pause_dr_plan_execution_details.py +1 -1
  280. oci/disaster_recovery/models/resume_dr_plan_execution_details.py +1 -1
  281. oci/disaster_recovery/models/retry_dr_plan_execution_details.py +4 -4
  282. oci/disaster_recovery/models/run_local_script_user_defined_step.py +16 -6
  283. oci/disaster_recovery/models/run_object_store_script_user_defined_step.py +16 -6
  284. oci/disaster_recovery/models/start_drill_execution_option_details.py +121 -0
  285. oci/disaster_recovery/models/start_drill_execution_options.py +121 -0
  286. oci/disaster_recovery/models/start_drill_precheck_execution_option_details.py +86 -0
  287. oci/disaster_recovery/models/start_drill_precheck_execution_options.py +86 -0
  288. oci/disaster_recovery/models/stop_drill_execution_option_details.py +121 -0
  289. oci/disaster_recovery/models/stop_drill_execution_options.py +121 -0
  290. oci/disaster_recovery/models/stop_drill_precheck_execution_option_details.py +86 -0
  291. oci/disaster_recovery/models/stop_drill_precheck_execution_options.py +86 -0
  292. oci/disaster_recovery/models/switchover_execution_option_details.py +1 -1
  293. oci/disaster_recovery/models/switchover_execution_options.py +1 -1
  294. oci/disaster_recovery/models/switchover_precheck_execution_option_details.py +1 -1
  295. oci/disaster_recovery/models/switchover_precheck_execution_options.py +1 -1
  296. oci/disaster_recovery/models/update_block_volume_attachment_details.py +78 -0
  297. oci/disaster_recovery/models/update_block_volume_mount_details.py +76 -0
  298. oci/disaster_recovery/models/update_compute_instance_movable_file_system_operation_details.py +165 -0
  299. oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_operation_details.py +130 -0
  300. oci/disaster_recovery/models/update_compute_instance_non_movable_file_system_operation_details.py +146 -0
  301. oci/disaster_recovery/models/update_dr_plan_details.py +9 -5
  302. oci/disaster_recovery/models/update_dr_plan_execution_details.py +9 -5
  303. oci/disaster_recovery/models/update_dr_plan_group_details.py +11 -7
  304. oci/disaster_recovery/models/update_dr_plan_step_details.py +7 -7
  305. oci/disaster_recovery/models/update_dr_plan_user_defined_step_details.py +27 -9
  306. oci/disaster_recovery/models/update_dr_protection_group_details.py +13 -7
  307. oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_database_details.py +2 -2
  308. oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_details.py +18 -16
  309. oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_movable_details.py +61 -26
  310. oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_non_movable_details.py +99 -4
  311. oci/disaster_recovery/models/update_dr_protection_group_member_database_details.py +5 -5
  312. oci/disaster_recovery/models/update_dr_protection_group_member_details.py +30 -6
  313. oci/disaster_recovery/models/update_dr_protection_group_member_file_system_details.py +124 -0
  314. oci/disaster_recovery/models/update_dr_protection_group_member_load_balancer_details.py +124 -0
  315. oci/disaster_recovery/models/update_dr_protection_group_member_network_load_balancer_details.py +124 -0
  316. oci/disaster_recovery/models/update_dr_protection_group_member_volume_group_details.py +2 -2
  317. oci/disaster_recovery/models/update_dr_protection_group_role_details.py +3 -3
  318. oci/disaster_recovery/models/update_file_system_mount_details.py +76 -0
  319. oci/disaster_recovery/models/update_file_system_unmount_details.py +76 -0
  320. oci/disaster_recovery/models/update_invoke_function_user_defined_step_details.py +2 -2
  321. oci/disaster_recovery/models/update_object_storage_log_location_details.py +5 -5
  322. oci/disaster_recovery/models/update_object_storage_script_location_details.py +7 -7
  323. oci/disaster_recovery/models/update_run_local_script_user_defined_step_details.py +14 -4
  324. oci/disaster_recovery/models/update_run_object_store_script_user_defined_step_details.py +16 -2
  325. oci/disaster_recovery/models/work_request.py +6 -6
  326. oci/disaster_recovery/models/work_request_error_collection.py +2 -2
  327. oci/disaster_recovery/models/work_request_log_entry.py +2 -2
  328. oci/disaster_recovery/models/work_request_resource.py +2 -2
  329. oci/disaster_recovery/models/work_request_summary.py +7 -7
  330. oci/disaster_recovery/models/work_request_summary_collection.py +2 -2
  331. oci/dns/dns_client.py +52 -52
  332. oci/dts/appliance_export_job_client.py +6 -6
  333. oci/dts/shipping_vendors_client.py +1 -1
  334. oci/dts/transfer_appliance_client.py +8 -8
  335. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  336. oci/dts/transfer_device_client.py +5 -5
  337. oci/dts/transfer_job_client.py +6 -6
  338. oci/dts/transfer_package_client.py +7 -7
  339. oci/em_warehouse/em_data_lake_client.py +13 -13
  340. oci/em_warehouse/em_warehouse_client.py +13 -13
  341. oci/email/email_client.py +25 -25
  342. oci/events/events_client.py +6 -6
  343. oci/file_storage/file_storage_client.py +50 -50
  344. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  345. oci/functions/functions_invoke_client.py +1 -1
  346. oci/functions/functions_management_client.py +16 -16
  347. oci/fusion_apps/data_masking_activity_client.py +3 -3
  348. oci/fusion_apps/fusion_applications_client.py +39 -39
  349. oci/fusion_apps/fusion_environment_client.py +15 -15
  350. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  351. oci/fusion_apps/refresh_activity_client.py +4 -4
  352. oci/fusion_apps/scheduled_activity_client.py +2 -2
  353. oci/fusion_apps/service_attachment_client.py +2 -2
  354. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  355. oci/golden_gate/golden_gate_client.py +57 -57
  356. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  357. oci/governance_rules_control_plane/work_request_client.py +5 -5
  358. oci/healthchecks/health_checks_client.py +17 -17
  359. oci/identity/identity_client.py +145 -145
  360. oci/identity_data_plane/dataplane_client.py +2 -2
  361. oci/identity_domains/identity_domains_client.py +190 -190
  362. oci/integration/integration_instance_client.py +15 -15
  363. oci/jms/java_management_service_client.py +1352 -164
  364. oci/jms/java_management_service_client_composite_operations.py +226 -0
  365. oci/jms/models/__init__.py +32 -0
  366. oci/jms/models/agent.py +240 -0
  367. oci/jms/models/announcement_summary.py +1 -1
  368. oci/jms/models/application_work_item_details.py +2 -2
  369. oci/jms/models/basic_work_item_details.py +2 -2
  370. oci/jms/models/blocklist.py +31 -3
  371. oci/jms/models/blocklist_entry.py +31 -3
  372. oci/jms/models/create_blocklist_details.py +31 -3
  373. oci/jms/models/create_drs_file_details.py +134 -0
  374. oci/jms/models/disable_drs_details.py +69 -0
  375. oci/jms/models/drs_file.py +272 -0
  376. oci/jms/models/drs_file_collection.py +72 -0
  377. oci/jms/models/drs_file_summary.py +272 -0
  378. oci/jms/models/drs_target.py +72 -0
  379. oci/jms/models/enable_drs_details.py +69 -0
  380. oci/jms/models/export_setting.py +485 -0
  381. oci/jms/models/export_status.py +201 -0
  382. oci/jms/models/fleet.py +31 -0
  383. oci/jms/models/fleet_agent_configuration.py +27 -0
  384. oci/jms/models/fleet_summary.py +31 -0
  385. oci/jms/models/java_artifact.py +262 -2
  386. oci/jms/models/java_family.py +103 -2
  387. oci/jms/models/java_family_summary.py +70 -2
  388. oci/jms/models/java_migration_analysis_result.py +31 -0
  389. oci/jms/models/java_migration_analysis_result_summary.py +31 -0
  390. oci/jms/models/java_release.py +66 -2
  391. oci/jms/models/java_release_summary.py +66 -2
  392. oci/jms/models/lcm_work_item_details.py +86 -0
  393. oci/jms/models/manage_drs_details.py +73 -0
  394. oci/jms/models/managed_instance_usage.py +82 -0
  395. oci/jms/models/patch_detail.py +103 -0
  396. oci/jms/models/performance_tuning_analysis.py +2 -2
  397. oci/jms/models/plugin.py +103 -0
  398. oci/jms/models/request_crypto_analyses_details.py +2 -2
  399. oci/jms/models/update_drs_file_details.py +134 -0
  400. oci/jms/models/update_export_setting_details.py +349 -0
  401. oci/jms/models/update_fleet_agent_configuration_details.py +29 -2
  402. oci/jms/models/work_item_details.py +34 -6
  403. oci/jms/models/work_request.py +31 -3
  404. oci/jms_java_downloads/__init__.py +14 -0
  405. oci/jms_java_downloads/java_download_client.py +3088 -0
  406. oci/jms_java_downloads/java_download_client_composite_operations.py +384 -0
  407. oci/jms_java_downloads/models/__init__.py +80 -0
  408. oci/jms_java_downloads/models/create_java_download_report_details.py +289 -0
  409. oci/jms_java_downloads/models/create_java_download_token_details.py +336 -0
  410. oci/jms_java_downloads/models/create_java_license_acceptance_record_details.py +174 -0
  411. oci/jms_java_downloads/models/download_url.py +119 -0
  412. oci/jms_java_downloads/models/generate_artifact_download_url_details.py +72 -0
  413. oci/jms_java_downloads/models/java_download_count_aggregation.py +289 -0
  414. oci/jms_java_downloads/models/java_download_count_aggregation_collection.py +123 -0
  415. oci/jms_java_downloads/models/java_download_record.py +351 -0
  416. oci/jms_java_downloads/models/java_download_record_collection.py +72 -0
  417. oci/jms_java_downloads/models/java_download_record_summary.py +351 -0
  418. oci/jms_java_downloads/models/java_download_report.py +533 -0
  419. oci/jms_java_downloads/models/java_download_report_collection.py +72 -0
  420. oci/jms_java_downloads/models/java_download_report_summary.py +532 -0
  421. oci/jms_java_downloads/models/java_download_token.py +710 -0
  422. oci/jms_java_downloads/models/java_download_token_collection.py +72 -0
  423. oci/jms_java_downloads/models/java_download_token_summary.py +710 -0
  424. oci/jms_java_downloads/models/java_license.py +154 -0
  425. oci/jms_java_downloads/models/java_license_acceptance_record.py +513 -0
  426. oci/jms_java_downloads/models/java_license_acceptance_record_collection.py +72 -0
  427. oci/jms_java_downloads/models/java_license_acceptance_record_summary.py +513 -0
  428. oci/jms_java_downloads/models/java_license_collection.py +72 -0
  429. oci/jms_java_downloads/models/java_license_summary.py +154 -0
  430. oci/jms_java_downloads/models/principal.py +138 -0
  431. oci/jms_java_downloads/models/request_summarized_java_download_counts_details.py +415 -0
  432. oci/jms_java_downloads/models/update_java_download_token_details.py +270 -0
  433. oci/jms_java_downloads/models/update_java_license_acceptance_record_details.py +88 -0
  434. oci/jms_java_downloads/models/work_request.py +412 -0
  435. oci/jms_java_downloads/models/work_request_error.py +136 -0
  436. oci/jms_java_downloads/models/work_request_error_collection.py +72 -0
  437. oci/jms_java_downloads/models/work_request_log_entry.py +103 -0
  438. oci/jms_java_downloads/models/work_request_log_entry_collection.py +72 -0
  439. oci/jms_java_downloads/models/work_request_resource.py +203 -0
  440. oci/jms_java_downloads/models/work_request_summary.py +412 -0
  441. oci/jms_java_downloads/models/work_request_summary_collection.py +72 -0
  442. oci/key_management/ekm_client.py +5 -5
  443. oci/key_management/kms_crypto_client.py +6 -6
  444. oci/key_management/kms_management_client.py +21 -21
  445. oci/key_management/kms_vault_client.py +14 -14
  446. oci/license_manager/license_manager_client.py +18 -18
  447. oci/limits/limits_client.py +4 -4
  448. oci/limits/quotas_client.py +7 -7
  449. oci/load_balancer/load_balancer_client.py +61 -61
  450. oci/lockbox/lockbox_client.py +23 -23
  451. oci/log_analytics/log_analytics_client.py +192 -192
  452. oci/logging/logging_management_client.py +30 -30
  453. oci/loggingingestion/logging_client.py +1 -1
  454. oci/loggingsearch/log_search_client.py +1 -1
  455. oci/management_agent/management_agent_client.py +23 -23
  456. oci/management_dashboard/dashx_apis_client.py +14 -14
  457. oci/marketplace/account_client.py +2 -2
  458. oci/marketplace/marketplace_client.py +30 -30
  459. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  460. oci/media_services/media_services_client.py +48 -48
  461. oci/media_services/media_stream_client.py +2 -2
  462. oci/monitoring/monitoring_client.py +13 -13
  463. oci/mysql/channels_client.py +7 -7
  464. oci/mysql/db_backups_client.py +6 -6
  465. oci/mysql/db_system_client.py +32 -17
  466. oci/mysql/models/create_db_system_details.py +49 -2
  467. oci/mysql/models/db_system.py +49 -2
  468. oci/mysql/models/db_system_snapshot.py +49 -2
  469. oci/mysql/models/db_system_summary.py +49 -2
  470. oci/mysql/models/update_db_system_details.py +49 -2
  471. oci/mysql/mysqlaas_client.py +7 -7
  472. oci/mysql/replicas_client.py +5 -5
  473. oci/mysql/work_requests_client.py +4 -4
  474. oci/network_firewall/network_firewall_client.py +80 -80
  475. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  476. oci/nosql/nosql_client.py +24 -24
  477. oci/object_storage/object_storage_client.py +50 -50
  478. oci/oce/oce_instance_client.py +10 -10
  479. oci/oci_control_center/occ_metrics_client.py +3 -3
  480. oci/ocvp/esxi_host_client.py +6 -6
  481. oci/ocvp/sddc_client.py +13 -13
  482. oci/ocvp/work_request_client.py +4 -4
  483. oci/oda/management_client.py +56 -56
  484. oci/oda/oda_client.py +17 -17
  485. oci/oda/odapackage_client.py +7 -7
  486. oci/onesubscription/billing_schedule_client.py +1 -1
  487. oci/onesubscription/commitment_client.py +2 -2
  488. oci/onesubscription/computed_usage_client.py +3 -3
  489. oci/onesubscription/invoice_summary_client.py +2 -2
  490. oci/onesubscription/organization_subscription_client.py +1 -1
  491. oci/onesubscription/ratecard_client.py +1 -1
  492. oci/onesubscription/subscribed_service_client.py +2 -2
  493. oci/onesubscription/subscription_client.py +1 -1
  494. oci/ons/notification_control_plane_client.py +6 -6
  495. oci/ons/notification_data_plane_client.py +10 -10
  496. oci/opa/opa_instance_client.py +11 -11
  497. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  498. oci/opensearch/opensearch_cluster_client.py +14 -14
  499. oci/operator_access_control/access_requests_client.py +9 -9
  500. oci/operator_access_control/operator_actions_client.py +2 -2
  501. oci/operator_access_control/operator_control_assignment_client.py +6 -6
  502. oci/operator_access_control/operator_control_client.py +6 -6
  503. oci/opsi/operations_insights_client.py +159 -159
  504. oci/optimizer/optimizer_client.py +26 -26
  505. oci/os_management/event_client.py +8 -8
  506. oci/os_management/os_management_client.py +69 -69
  507. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  508. oci/os_management_hub/managed_instance_client.py +22 -22
  509. oci/os_management_hub/managed_instance_group_client.py +22 -22
  510. oci/os_management_hub/management_station_client.py +8 -8
  511. oci/os_management_hub/onboarding_client.py +5 -5
  512. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  513. oci/os_management_hub/scheduled_job_client.py +6 -6
  514. oci/os_management_hub/software_source_client.py +22 -22
  515. oci/os_management_hub/work_request_client.py +4 -4
  516. oci/osp_gateway/address_rule_service_client.py +1 -1
  517. oci/osp_gateway/address_service_client.py +2 -2
  518. oci/osp_gateway/invoice_service_client.py +5 -5
  519. oci/osp_gateway/subscription_service_client.py +5 -5
  520. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  521. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  522. oci/osub_subscription/commitment_client.py +2 -2
  523. oci/osub_subscription/ratecard_client.py +1 -1
  524. oci/osub_subscription/subscription_client.py +1 -1
  525. oci/osub_usage/computed_usage_client.py +3 -3
  526. oci/queue/queue_admin_client.py +11 -11
  527. oci/queue/queue_client.py +8 -8
  528. oci/recovery/database_recovery_client.py +23 -23
  529. oci/redis/redis_cluster_client.py +11 -11
  530. oci/regions_definitions.py +3 -0
  531. oci/resource_manager/resource_manager_client.py +52 -52
  532. oci/resource_search/resource_search_client.py +3 -3
  533. oci/rover/rover_bundle_client.py +8 -8
  534. oci/rover/rover_cluster_client.py +8 -8
  535. oci/rover/rover_entitlement_client.py +6 -6
  536. oci/rover/rover_node_client.py +15 -15
  537. oci/rover/shape_client.py +1 -1
  538. oci/rover/work_requests_client.py +5 -5
  539. oci/sch/service_connector_client.py +12 -12
  540. oci/secrets/secrets_client.py +3 -3
  541. oci/service_catalog/service_catalog_client.py +26 -26
  542. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  543. oci/service_mesh/service_mesh_client.py +48 -48
  544. oci/stack_monitoring/models/__init__.py +124 -0
  545. oci/stack_monitoring/models/anomaly_data_point.py +196 -0
  546. oci/stack_monitoring/models/anomaly_metric_data.py +103 -0
  547. oci/stack_monitoring/models/associated_monitored_resource.py +47 -0
  548. oci/stack_monitoring/models/associated_resources_summary.py +47 -0
  549. oci/stack_monitoring/models/auto_promote_config_details.py +1 -1
  550. oci/stack_monitoring/models/baselineable_metric.py +559 -0
  551. oci/stack_monitoring/models/baselineable_metric_summary.py +435 -0
  552. oci/stack_monitoring/models/baselineable_metric_summary_collection.py +72 -0
  553. oci/stack_monitoring/models/change_metric_extension_compartment_details.py +78 -0
  554. oci/stack_monitoring/models/change_monitored_resource_task_compartment_details.py +78 -0
  555. oci/stack_monitoring/models/config.py +19 -3
  556. oci/stack_monitoring/models/config_summary.py +8 -0
  557. oci/stack_monitoring/models/create_baselineable_metric_details.py +196 -0
  558. oci/stack_monitoring/models/create_config_details.py +8 -0
  559. oci/stack_monitoring/models/create_license_auto_assign_config_details.py +125 -0
  560. oci/stack_monitoring/models/create_license_enterprise_extensibility_config_details.py +109 -0
  561. oci/stack_monitoring/models/create_metric_extension_details.py +289 -0
  562. oci/stack_monitoring/models/create_monitored_resource_details.py +49 -0
  563. oci/stack_monitoring/models/create_monitored_resource_task_details.py +202 -0
  564. oci/stack_monitoring/models/create_monitored_resource_type_details.py +297 -0
  565. oci/stack_monitoring/models/data_point.py +103 -0
  566. oci/stack_monitoring/models/disable_metric_extension_details.py +72 -0
  567. oci/stack_monitoring/models/discovery_details.py +47 -0
  568. oci/stack_monitoring/models/discovery_job_summary.py +47 -0
  569. oci/stack_monitoring/models/enable_metric_extension_details.py +72 -0
  570. oci/stack_monitoring/models/enabled_resource_details.py +72 -0
  571. oci/stack_monitoring/models/evaluate_baselineable_metric_details.py +103 -0
  572. oci/stack_monitoring/models/evaluate_baselineable_metric_result.py +103 -0
  573. oci/stack_monitoring/models/import_oci_telemetry_resources_task_details.py +241 -0
  574. oci/stack_monitoring/models/jmx_query_properties.py +206 -0
  575. oci/stack_monitoring/models/jmx_update_query_properties.py +206 -0
  576. oci/stack_monitoring/models/license_auto_assign_config_details.py +165 -0
  577. oci/stack_monitoring/models/license_auto_assign_config_summary.py +160 -0
  578. oci/stack_monitoring/models/license_enterprise_extensibility_config_details.py +147 -0
  579. oci/stack_monitoring/models/license_enterprise_extensibility_config_summary.py +144 -0
  580. oci/stack_monitoring/models/manage_license_details.py +88 -0
  581. oci/stack_monitoring/models/metric.py +329 -0
  582. oci/stack_monitoring/models/metric_data.py +134 -0
  583. oci/stack_monitoring/models/metric_extension.py +701 -0
  584. oci/stack_monitoring/models/metric_extension_collection.py +72 -0
  585. oci/stack_monitoring/models/metric_extension_query_properties.py +117 -0
  586. oci/stack_monitoring/models/metric_extension_summary.py +504 -0
  587. oci/stack_monitoring/models/metric_extension_update_query_properties.py +117 -0
  588. oci/stack_monitoring/models/monitored_resource.py +47 -0
  589. oci/stack_monitoring/models/monitored_resource_member_summary.py +47 -0
  590. oci/stack_monitoring/models/monitored_resource_summary.py +82 -0
  591. oci/stack_monitoring/models/monitored_resource_task.py +483 -0
  592. oci/stack_monitoring/models/monitored_resource_task_details.py +101 -0
  593. oci/stack_monitoring/models/monitored_resource_task_summary.py +413 -0
  594. oci/stack_monitoring/models/monitored_resource_tasks_collection.py +72 -0
  595. oci/stack_monitoring/models/monitored_resource_type.py +504 -0
  596. oci/stack_monitoring/models/monitored_resource_type_summary.py +504 -0
  597. oci/stack_monitoring/models/monitored_resource_types_collection.py +72 -0
  598. oci/stack_monitoring/models/monitored_resources_count_aggregation.py +111 -0
  599. oci/stack_monitoring/models/monitored_resources_count_aggregation_collection.py +72 -0
  600. oci/stack_monitoring/models/os_command_query_properties.py +202 -0
  601. oci/stack_monitoring/models/os_command_update_query_properties.py +202 -0
  602. oci/stack_monitoring/models/resource_type_metadata_details.py +105 -0
  603. oci/stack_monitoring/models/script_file_details.py +103 -0
  604. oci/stack_monitoring/models/search_monitored_resources_details.py +47 -0
  605. oci/stack_monitoring/models/sql_details.py +103 -0
  606. oci/stack_monitoring/models/sql_in_param_details.py +103 -0
  607. oci/stack_monitoring/models/sql_out_param_details.py +119 -0
  608. oci/stack_monitoring/models/sql_query_properties.py +184 -0
  609. oci/stack_monitoring/models/sql_update_query_properties.py +183 -0
  610. oci/stack_monitoring/models/system_format_resource_type_metadata_details.py +263 -0
  611. oci/stack_monitoring/models/test_metric_extension_data.py +165 -0
  612. oci/stack_monitoring/models/test_metric_extension_details.py +72 -0
  613. oci/stack_monitoring/models/unique_property_set.py +72 -0
  614. oci/stack_monitoring/models/update_baselineable_metric_details.py +435 -0
  615. oci/stack_monitoring/models/update_config_details.py +8 -0
  616. oci/stack_monitoring/models/update_license_auto_assign_config_details.py +118 -0
  617. oci/stack_monitoring/models/update_license_enterprise_extensibility_config_details.py +102 -0
  618. oci/stack_monitoring/models/update_metric_extension_details.py +192 -0
  619. oci/stack_monitoring/models/update_monitored_resource_task_details.py +107 -0
  620. oci/stack_monitoring/models/update_monitored_resource_type_details.py +227 -0
  621. oci/stack_monitoring/models/work_request.py +19 -3
  622. oci/stack_monitoring/models/work_request_summary.py +19 -3
  623. oci/stack_monitoring/stack_monitoring_client.py +4906 -1196
  624. oci/stack_monitoring/stack_monitoring_client_composite_operations.py +743 -28
  625. oci/streaming/stream_admin_client.py +18 -18
  626. oci/streaming/stream_client.py +8 -8
  627. oci/tenant_manager_control_plane/domain_client.py +5 -5
  628. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  629. oci/tenant_manager_control_plane/governance_client.py +2 -2
  630. oci/tenant_manager_control_plane/link_client.py +3 -3
  631. oci/tenant_manager_control_plane/orders_client.py +2 -2
  632. oci/tenant_manager_control_plane/organization_client.py +10 -10
  633. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  634. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  635. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  636. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  637. oci/threat_intelligence/threatintel_client.py +5 -5
  638. oci/usage/resources_client.py +2 -2
  639. oci/usage/rewards_client.py +6 -6
  640. oci/usage/usagelimits_client.py +1 -1
  641. oci/usage_api/usageapi_client.py +19 -19
  642. oci/vault/vaults_client.py +11 -11
  643. oci/vbs_inst/vbs_instance_client.py +10 -10
  644. oci/version.py +1 -1
  645. oci/visual_builder/vb_instance_client.py +13 -13
  646. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  647. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  648. oci/waa/waa_client.py +13 -13
  649. oci/waa/work_request_client.py +4 -4
  650. oci/waas/redirect_client.py +6 -6
  651. oci/waas/waas_client.py +66 -66
  652. oci/waf/waf_client.py +24 -24
  653. oci/work_requests/work_request_client.py +4 -4
  654. {oci-2.114.0.dist-info → oci-2.115.1.dist-info}/METADATA +1 -1
  655. {oci-2.114.0.dist-info → oci-2.115.1.dist-info}/RECORD +659 -428
  656. {oci-2.114.0.dist-info → oci-2.115.1.dist-info}/LICENSE.txt +0 -0
  657. {oci-2.114.0.dist-info → oci-2.115.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  658. {oci-2.114.0.dist-info → oci-2.115.1.dist-info}/WHEEL +0 -0
  659. {oci-2.114.0.dist-info → oci-2.115.1.dist-info}/top_level.txt +0 -0
@@ -470,6 +470,47 @@ class DataSafeClientCompositeOperations(object):
470
470
  except Exception as e:
471
471
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
472
472
 
473
+ def change_database_security_config_compartment_and_wait_for_state(self, database_security_config_id, change_database_security_config_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
474
+ """
475
+ Calls :py:func:`~oci.data_safe.DataSafeClient.change_database_security_config_compartment` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
476
+ to enter the given state(s).
477
+
478
+ :param str database_security_config_id: (required)
479
+ The OCID of the database security configuration resource.
480
+
481
+ :param oci.data_safe.models.ChangeDatabaseSecurityConfigCompartmentDetails change_database_security_config_compartment_details: (required)
482
+ Details for the compartment move.
483
+
484
+ :param list[str] wait_for_states:
485
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
486
+
487
+ :param dict operation_kwargs:
488
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.change_database_security_config_compartment`
489
+
490
+ :param dict waiter_kwargs:
491
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
492
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
493
+ """
494
+ operation_result = self.client.change_database_security_config_compartment(database_security_config_id, change_database_security_config_compartment_details, **operation_kwargs)
495
+ if not wait_for_states:
496
+ return operation_result
497
+
498
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
499
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
500
+
501
+ try:
502
+ waiter_result = oci.wait_until(
503
+ self.client,
504
+ self.client.get_work_request(wait_for_resource_id),
505
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
506
+ **waiter_kwargs
507
+ )
508
+ result_to_return = waiter_result
509
+
510
+ return result_to_return
511
+ except Exception as e:
512
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
513
+
473
514
  def change_report_compartment_and_wait_for_state(self, report_id, change_report_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
474
515
  """
475
516
  Calls :py:func:`~oci.data_safe.DataSafeClient.change_report_compartment` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
@@ -593,6 +634,170 @@ class DataSafeClientCompositeOperations(object):
593
634
  except Exception as e:
594
635
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
595
636
 
637
+ def change_security_policy_compartment_and_wait_for_state(self, security_policy_id, change_security_policy_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
638
+ """
639
+ Calls :py:func:`~oci.data_safe.DataSafeClient.change_security_policy_compartment` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
640
+ to enter the given state(s).
641
+
642
+ :param str security_policy_id: (required)
643
+ The OCID of the security policy resource.
644
+
645
+ :param oci.data_safe.models.ChangeSecurityPolicyCompartmentDetails change_security_policy_compartment_details: (required)
646
+ Details for the compartment move.
647
+
648
+ :param list[str] wait_for_states:
649
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
650
+
651
+ :param dict operation_kwargs:
652
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.change_security_policy_compartment`
653
+
654
+ :param dict waiter_kwargs:
655
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
656
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
657
+ """
658
+ operation_result = self.client.change_security_policy_compartment(security_policy_id, change_security_policy_compartment_details, **operation_kwargs)
659
+ if not wait_for_states:
660
+ return operation_result
661
+
662
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
663
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
664
+
665
+ try:
666
+ waiter_result = oci.wait_until(
667
+ self.client,
668
+ self.client.get_work_request(wait_for_resource_id),
669
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
670
+ **waiter_kwargs
671
+ )
672
+ result_to_return = waiter_result
673
+
674
+ return result_to_return
675
+ except Exception as e:
676
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
677
+
678
+ def change_security_policy_deployment_compartment_and_wait_for_state(self, security_policy_deployment_id, change_security_policy_deployment_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
679
+ """
680
+ Calls :py:func:`~oci.data_safe.DataSafeClient.change_security_policy_deployment_compartment` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
681
+ to enter the given state(s).
682
+
683
+ :param str security_policy_deployment_id: (required)
684
+ The OCID of the security policy deployment resource.
685
+
686
+ :param oci.data_safe.models.ChangeSecurityPolicyDeploymentCompartmentDetails change_security_policy_deployment_compartment_details: (required)
687
+ Details for the compartment move.
688
+
689
+ :param list[str] wait_for_states:
690
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
691
+
692
+ :param dict operation_kwargs:
693
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.change_security_policy_deployment_compartment`
694
+
695
+ :param dict waiter_kwargs:
696
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
697
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
698
+ """
699
+ operation_result = self.client.change_security_policy_deployment_compartment(security_policy_deployment_id, change_security_policy_deployment_compartment_details, **operation_kwargs)
700
+ if not wait_for_states:
701
+ return operation_result
702
+
703
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
704
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
705
+
706
+ try:
707
+ waiter_result = oci.wait_until(
708
+ self.client,
709
+ self.client.get_work_request(wait_for_resource_id),
710
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
711
+ **waiter_kwargs
712
+ )
713
+ result_to_return = waiter_result
714
+
715
+ return result_to_return
716
+ except Exception as e:
717
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
718
+
719
+ def change_sql_collection_compartment_and_wait_for_state(self, sql_collection_id, change_sql_collection_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
720
+ """
721
+ Calls :py:func:`~oci.data_safe.DataSafeClient.change_sql_collection_compartment` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
722
+ to enter the given state(s).
723
+
724
+ :param str sql_collection_id: (required)
725
+ The OCID of the SQL collection resource.
726
+
727
+ :param oci.data_safe.models.ChangeSqlCollectionCompartmentDetails change_sql_collection_compartment_details: (required)
728
+ Details for the compartment move.
729
+
730
+ :param list[str] wait_for_states:
731
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
732
+
733
+ :param dict operation_kwargs:
734
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.change_sql_collection_compartment`
735
+
736
+ :param dict waiter_kwargs:
737
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
738
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
739
+ """
740
+ operation_result = self.client.change_sql_collection_compartment(sql_collection_id, change_sql_collection_compartment_details, **operation_kwargs)
741
+ if not wait_for_states:
742
+ return operation_result
743
+
744
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
745
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
746
+
747
+ try:
748
+ waiter_result = oci.wait_until(
749
+ self.client,
750
+ self.client.get_work_request(wait_for_resource_id),
751
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
752
+ **waiter_kwargs
753
+ )
754
+ result_to_return = waiter_result
755
+
756
+ return result_to_return
757
+ except Exception as e:
758
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
759
+
760
+ def change_sql_firewall_policy_compartment_and_wait_for_state(self, sql_firewall_policy_id, change_sql_firewall_policy_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
761
+ """
762
+ Calls :py:func:`~oci.data_safe.DataSafeClient.change_sql_firewall_policy_compartment` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
763
+ to enter the given state(s).
764
+
765
+ :param str sql_firewall_policy_id: (required)
766
+ The OCID of the SQL firewall policy resource.
767
+
768
+ :param oci.data_safe.models.ChangeSqlFirewallPolicyCompartmentDetails change_sql_firewall_policy_compartment_details: (required)
769
+ Details for the compartment move.
770
+
771
+ :param list[str] wait_for_states:
772
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
773
+
774
+ :param dict operation_kwargs:
775
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.change_sql_firewall_policy_compartment`
776
+
777
+ :param dict waiter_kwargs:
778
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
779
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
780
+ """
781
+ operation_result = self.client.change_sql_firewall_policy_compartment(sql_firewall_policy_id, change_sql_firewall_policy_compartment_details, **operation_kwargs)
782
+ if not wait_for_states:
783
+ return operation_result
784
+
785
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
786
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
787
+
788
+ try:
789
+ waiter_result = oci.wait_until(
790
+ self.client,
791
+ self.client.get_work_request(wait_for_resource_id),
792
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
793
+ **waiter_kwargs
794
+ )
795
+ result_to_return = waiter_result
796
+
797
+ return result_to_return
798
+ except Exception as e:
799
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
800
+
596
801
  def compare_security_assessment_and_wait_for_state(self, security_assessment_id, compare_security_assessment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
597
802
  """
598
803
  Calls :py:func:`~oci.data_safe.DataSafeClient.compare_security_assessment` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
@@ -1175,6 +1380,44 @@ class DataSafeClientCompositeOperations(object):
1175
1380
  except Exception as e:
1176
1381
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1177
1382
 
1383
+ def create_sql_collection_and_wait_for_state(self, create_sql_collection_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1384
+ """
1385
+ Calls :py:func:`~oci.data_safe.DataSafeClient.create_sql_collection` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
1386
+ to enter the given state(s).
1387
+
1388
+ :param oci.data_safe.models.CreateSqlCollectionDetails create_sql_collection_details: (required)
1389
+ Details of the SQL collection.
1390
+
1391
+ :param list[str] wait_for_states:
1392
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
1393
+
1394
+ :param dict operation_kwargs:
1395
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.create_sql_collection`
1396
+
1397
+ :param dict waiter_kwargs:
1398
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
1399
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1400
+ """
1401
+ operation_result = self.client.create_sql_collection(create_sql_collection_details, **operation_kwargs)
1402
+ if not wait_for_states:
1403
+ return operation_result
1404
+
1405
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1406
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
1407
+
1408
+ try:
1409
+ waiter_result = oci.wait_until(
1410
+ self.client,
1411
+ self.client.get_work_request(wait_for_resource_id),
1412
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
1413
+ **waiter_kwargs
1414
+ )
1415
+ result_to_return = waiter_result
1416
+
1417
+ return result_to_return
1418
+ except Exception as e:
1419
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1420
+
1178
1421
  def create_target_alert_policy_association_and_wait_for_state(self, create_target_alert_policy_association_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1179
1422
  """
1180
1423
  Calls :py:func:`~oci.data_safe.DataSafeClient.create_target_alert_policy_association` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
@@ -1907,19 +2150,19 @@ class DataSafeClientCompositeOperations(object):
1907
2150
  except Exception as e:
1908
2151
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1909
2152
 
1910
- def delete_target_alert_policy_association_and_wait_for_state(self, target_alert_policy_association_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2153
+ def delete_sql_collection_and_wait_for_state(self, sql_collection_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1911
2154
  """
1912
- Calls :py:func:`~oci.data_safe.DataSafeClient.delete_target_alert_policy_association` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
2155
+ Calls :py:func:`~oci.data_safe.DataSafeClient.delete_sql_collection` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
1913
2156
  to enter the given state(s).
1914
2157
 
1915
- :param str target_alert_policy_association_id: (required)
1916
- The OCID of the target-alert policy association.
2158
+ :param str sql_collection_id: (required)
2159
+ The OCID of the SQL collection resource.
1917
2160
 
1918
2161
  :param list[str] wait_for_states:
1919
2162
  An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
1920
2163
 
1921
2164
  :param dict operation_kwargs:
1922
- A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.delete_target_alert_policy_association`
2165
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.delete_sql_collection`
1923
2166
 
1924
2167
  :param dict waiter_kwargs:
1925
2168
  A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
@@ -1927,7 +2170,7 @@ class DataSafeClientCompositeOperations(object):
1927
2170
  """
1928
2171
  operation_result = None
1929
2172
  try:
1930
- operation_result = self.client.delete_target_alert_policy_association(target_alert_policy_association_id, **operation_kwargs)
2173
+ operation_result = self.client.delete_sql_collection(sql_collection_id, **operation_kwargs)
1931
2174
  except oci.exceptions.ServiceError as e:
1932
2175
  if e.status == 404:
1933
2176
  return WAIT_RESOURCE_NOT_FOUND
@@ -1953,19 +2196,19 @@ class DataSafeClientCompositeOperations(object):
1953
2196
  except Exception as e:
1954
2197
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1955
2198
 
1956
- def delete_target_database_and_wait_for_state(self, target_database_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2199
+ def delete_sql_firewall_policy_and_wait_for_state(self, sql_firewall_policy_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1957
2200
  """
1958
- Calls :py:func:`~oci.data_safe.DataSafeClient.delete_target_database` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
2201
+ Calls :py:func:`~oci.data_safe.DataSafeClient.delete_sql_firewall_policy` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
1959
2202
  to enter the given state(s).
1960
2203
 
1961
- :param str target_database_id: (required)
1962
- The OCID of the Data Safe target database.
2204
+ :param str sql_firewall_policy_id: (required)
2205
+ The OCID of the SQL firewall policy resource.
1963
2206
 
1964
2207
  :param list[str] wait_for_states:
1965
2208
  An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
1966
2209
 
1967
2210
  :param dict operation_kwargs:
1968
- A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.delete_target_database`
2211
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.delete_sql_firewall_policy`
1969
2212
 
1970
2213
  :param dict waiter_kwargs:
1971
2214
  A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
@@ -1973,7 +2216,7 @@ class DataSafeClientCompositeOperations(object):
1973
2216
  """
1974
2217
  operation_result = None
1975
2218
  try:
1976
- operation_result = self.client.delete_target_database(target_database_id, **operation_kwargs)
2219
+ operation_result = self.client.delete_sql_firewall_policy(sql_firewall_policy_id, **operation_kwargs)
1977
2220
  except oci.exceptions.ServiceError as e:
1978
2221
  if e.status == 404:
1979
2222
  return WAIT_RESOURCE_NOT_FOUND
@@ -1999,19 +2242,19 @@ class DataSafeClientCompositeOperations(object):
1999
2242
  except Exception as e:
2000
2243
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
2001
2244
 
2002
- def delete_user_assessment_and_wait_for_state(self, user_assessment_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2245
+ def delete_target_alert_policy_association_and_wait_for_state(self, target_alert_policy_association_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2003
2246
  """
2004
- Calls :py:func:`~oci.data_safe.DataSafeClient.delete_user_assessment` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
2247
+ Calls :py:func:`~oci.data_safe.DataSafeClient.delete_target_alert_policy_association` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
2005
2248
  to enter the given state(s).
2006
2249
 
2007
- :param str user_assessment_id: (required)
2008
- The OCID of the user assessment.
2250
+ :param str target_alert_policy_association_id: (required)
2251
+ The OCID of the target-alert policy association.
2009
2252
 
2010
2253
  :param list[str] wait_for_states:
2011
2254
  An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
2012
2255
 
2013
2256
  :param dict operation_kwargs:
2014
- A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.delete_user_assessment`
2257
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.delete_target_alert_policy_association`
2015
2258
 
2016
2259
  :param dict waiter_kwargs:
2017
2260
  A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
@@ -2019,7 +2262,7 @@ class DataSafeClientCompositeOperations(object):
2019
2262
  """
2020
2263
  operation_result = None
2021
2264
  try:
2022
- operation_result = self.client.delete_user_assessment(user_assessment_id, **operation_kwargs)
2265
+ operation_result = self.client.delete_target_alert_policy_association(target_alert_policy_association_id, **operation_kwargs)
2023
2266
  except oci.exceptions.ServiceError as e:
2024
2267
  if e.status == 404:
2025
2268
  return WAIT_RESOURCE_NOT_FOUND
@@ -2045,25 +2288,33 @@ class DataSafeClientCompositeOperations(object):
2045
2288
  except Exception as e:
2046
2289
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
2047
2290
 
2048
- def discover_audit_trails_and_wait_for_state(self, audit_profile_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2291
+ def delete_target_database_and_wait_for_state(self, target_database_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2049
2292
  """
2050
- Calls :py:func:`~oci.data_safe.DataSafeClient.discover_audit_trails` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
2293
+ Calls :py:func:`~oci.data_safe.DataSafeClient.delete_target_database` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
2051
2294
  to enter the given state(s).
2052
2295
 
2053
- :param str audit_profile_id: (required)
2054
- The OCID of the audit.
2296
+ :param str target_database_id: (required)
2297
+ The OCID of the Data Safe target database.
2055
2298
 
2056
2299
  :param list[str] wait_for_states:
2057
2300
  An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
2058
2301
 
2059
2302
  :param dict operation_kwargs:
2060
- A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.discover_audit_trails`
2303
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.delete_target_database`
2061
2304
 
2062
2305
  :param dict waiter_kwargs:
2063
2306
  A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
2064
2307
  as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
2065
2308
  """
2066
- operation_result = self.client.discover_audit_trails(audit_profile_id, **operation_kwargs)
2309
+ operation_result = None
2310
+ try:
2311
+ operation_result = self.client.delete_target_database(target_database_id, **operation_kwargs)
2312
+ except oci.exceptions.ServiceError as e:
2313
+ if e.status == 404:
2314
+ return WAIT_RESOURCE_NOT_FOUND
2315
+ else:
2316
+ raise e
2317
+
2067
2318
  if not wait_for_states:
2068
2319
  return operation_result
2069
2320
 
@@ -2083,19 +2334,103 @@ class DataSafeClientCompositeOperations(object):
2083
2334
  except Exception as e:
2084
2335
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
2085
2336
 
2086
- def enable_data_safe_configuration_and_wait_for_state(self, enable_data_safe_configuration_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2337
+ def delete_user_assessment_and_wait_for_state(self, user_assessment_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2087
2338
  """
2088
- Calls :py:func:`~oci.data_safe.DataSafeClient.enable_data_safe_configuration` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
2339
+ Calls :py:func:`~oci.data_safe.DataSafeClient.delete_user_assessment` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
2089
2340
  to enter the given state(s).
2090
2341
 
2091
- :param oci.data_safe.models.EnableDataSafeConfigurationDetails enable_data_safe_configuration_details: (required)
2092
- The details used to enable Data Safe.
2342
+ :param str user_assessment_id: (required)
2343
+ The OCID of the user assessment.
2093
2344
 
2094
2345
  :param list[str] wait_for_states:
2095
2346
  An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
2096
2347
 
2097
2348
  :param dict operation_kwargs:
2098
- A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.enable_data_safe_configuration`
2349
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.delete_user_assessment`
2350
+
2351
+ :param dict waiter_kwargs:
2352
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
2353
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
2354
+ """
2355
+ operation_result = None
2356
+ try:
2357
+ operation_result = self.client.delete_user_assessment(user_assessment_id, **operation_kwargs)
2358
+ except oci.exceptions.ServiceError as e:
2359
+ if e.status == 404:
2360
+ return WAIT_RESOURCE_NOT_FOUND
2361
+ else:
2362
+ raise e
2363
+
2364
+ if not wait_for_states:
2365
+ return operation_result
2366
+
2367
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
2368
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
2369
+
2370
+ try:
2371
+ waiter_result = oci.wait_until(
2372
+ self.client,
2373
+ self.client.get_work_request(wait_for_resource_id),
2374
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
2375
+ **waiter_kwargs
2376
+ )
2377
+ result_to_return = waiter_result
2378
+
2379
+ return result_to_return
2380
+ except Exception as e:
2381
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
2382
+
2383
+ def discover_audit_trails_and_wait_for_state(self, audit_profile_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2384
+ """
2385
+ Calls :py:func:`~oci.data_safe.DataSafeClient.discover_audit_trails` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
2386
+ to enter the given state(s).
2387
+
2388
+ :param str audit_profile_id: (required)
2389
+ The OCID of the audit.
2390
+
2391
+ :param list[str] wait_for_states:
2392
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
2393
+
2394
+ :param dict operation_kwargs:
2395
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.discover_audit_trails`
2396
+
2397
+ :param dict waiter_kwargs:
2398
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
2399
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
2400
+ """
2401
+ operation_result = self.client.discover_audit_trails(audit_profile_id, **operation_kwargs)
2402
+ if not wait_for_states:
2403
+ return operation_result
2404
+
2405
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
2406
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
2407
+
2408
+ try:
2409
+ waiter_result = oci.wait_until(
2410
+ self.client,
2411
+ self.client.get_work_request(wait_for_resource_id),
2412
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
2413
+ **waiter_kwargs
2414
+ )
2415
+ result_to_return = waiter_result
2416
+
2417
+ return result_to_return
2418
+ except Exception as e:
2419
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
2420
+
2421
+ def enable_data_safe_configuration_and_wait_for_state(self, enable_data_safe_configuration_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2422
+ """
2423
+ Calls :py:func:`~oci.data_safe.DataSafeClient.enable_data_safe_configuration` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
2424
+ to enter the given state(s).
2425
+
2426
+ :param oci.data_safe.models.EnableDataSafeConfigurationDetails enable_data_safe_configuration_details: (required)
2427
+ The details used to enable Data Safe.
2428
+
2429
+ :param list[str] wait_for_states:
2430
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
2431
+
2432
+ :param dict operation_kwargs:
2433
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.enable_data_safe_configuration`
2099
2434
 
2100
2435
  :param dict waiter_kwargs:
2101
2436
  A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
@@ -2367,6 +2702,44 @@ class DataSafeClientCompositeOperations(object):
2367
2702
  except Exception as e:
2368
2703
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
2369
2704
 
2705
+ def generate_sql_firewall_policy_and_wait_for_state(self, sql_collection_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2706
+ """
2707
+ Calls :py:func:`~oci.data_safe.DataSafeClient.generate_sql_firewall_policy` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
2708
+ to enter the given state(s).
2709
+
2710
+ :param str sql_collection_id: (required)
2711
+ The OCID of the SQL collection resource.
2712
+
2713
+ :param list[str] wait_for_states:
2714
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
2715
+
2716
+ :param dict operation_kwargs:
2717
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.generate_sql_firewall_policy`
2718
+
2719
+ :param dict waiter_kwargs:
2720
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
2721
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
2722
+ """
2723
+ operation_result = self.client.generate_sql_firewall_policy(sql_collection_id, **operation_kwargs)
2724
+ if not wait_for_states:
2725
+ return operation_result
2726
+
2727
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
2728
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
2729
+
2730
+ try:
2731
+ waiter_result = oci.wait_until(
2732
+ self.client,
2733
+ self.client.get_work_request(wait_for_resource_id),
2734
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
2735
+ **waiter_kwargs
2736
+ )
2737
+ result_to_return = waiter_result
2738
+
2739
+ return result_to_return
2740
+ except Exception as e:
2741
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
2742
+
2370
2743
  def generate_user_assessment_report_and_wait_for_state(self, user_assessment_id, generate_user_assessment_report_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2371
2744
  """
2372
2745
  Calls :py:func:`~oci.data_safe.DataSafeClient.generate_user_assessment_report` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
@@ -2771,6 +3144,82 @@ class DataSafeClientCompositeOperations(object):
2771
3144
  except Exception as e:
2772
3145
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
2773
3146
 
3147
+ def purge_sql_collection_logs_and_wait_for_state(self, sql_collection_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
3148
+ """
3149
+ Calls :py:func:`~oci.data_safe.DataSafeClient.purge_sql_collection_logs` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
3150
+ to enter the given state(s).
3151
+
3152
+ :param str sql_collection_id: (required)
3153
+ The OCID of the SQL collection resource.
3154
+
3155
+ :param list[str] wait_for_states:
3156
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
3157
+
3158
+ :param dict operation_kwargs:
3159
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.purge_sql_collection_logs`
3160
+
3161
+ :param dict waiter_kwargs:
3162
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
3163
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
3164
+ """
3165
+ operation_result = self.client.purge_sql_collection_logs(sql_collection_id, **operation_kwargs)
3166
+ if not wait_for_states:
3167
+ return operation_result
3168
+
3169
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
3170
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
3171
+
3172
+ try:
3173
+ waiter_result = oci.wait_until(
3174
+ self.client,
3175
+ self.client.get_work_request(wait_for_resource_id),
3176
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
3177
+ **waiter_kwargs
3178
+ )
3179
+ result_to_return = waiter_result
3180
+
3181
+ return result_to_return
3182
+ except Exception as e:
3183
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
3184
+
3185
+ def refresh_database_security_configuration_and_wait_for_state(self, database_security_config_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
3186
+ """
3187
+ Calls :py:func:`~oci.data_safe.DataSafeClient.refresh_database_security_configuration` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
3188
+ to enter the given state(s).
3189
+
3190
+ :param str database_security_config_id: (required)
3191
+ The OCID of the database security configuration resource.
3192
+
3193
+ :param list[str] wait_for_states:
3194
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
3195
+
3196
+ :param dict operation_kwargs:
3197
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.refresh_database_security_configuration`
3198
+
3199
+ :param dict waiter_kwargs:
3200
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
3201
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
3202
+ """
3203
+ operation_result = self.client.refresh_database_security_configuration(database_security_config_id, **operation_kwargs)
3204
+ if not wait_for_states:
3205
+ return operation_result
3206
+
3207
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
3208
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
3209
+
3210
+ try:
3211
+ waiter_result = oci.wait_until(
3212
+ self.client,
3213
+ self.client.get_work_request(wait_for_resource_id),
3214
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
3215
+ **waiter_kwargs
3216
+ )
3217
+ result_to_return = waiter_result
3218
+
3219
+ return result_to_return
3220
+ except Exception as e:
3221
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
3222
+
2774
3223
  def refresh_security_assessment_and_wait_for_state(self, security_assessment_id, run_security_assessment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2775
3224
  """
2776
3225
  Calls :py:func:`~oci.data_safe.DataSafeClient.refresh_security_assessment` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
@@ -2812,6 +3261,44 @@ class DataSafeClientCompositeOperations(object):
2812
3261
  except Exception as e:
2813
3262
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
2814
3263
 
3264
+ def refresh_sql_collection_log_insights_and_wait_for_state(self, sql_collection_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
3265
+ """
3266
+ Calls :py:func:`~oci.data_safe.DataSafeClient.refresh_sql_collection_log_insights` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
3267
+ to enter the given state(s).
3268
+
3269
+ :param str sql_collection_id: (required)
3270
+ The OCID of the SQL collection resource.
3271
+
3272
+ :param list[str] wait_for_states:
3273
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
3274
+
3275
+ :param dict operation_kwargs:
3276
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.refresh_sql_collection_log_insights`
3277
+
3278
+ :param dict waiter_kwargs:
3279
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
3280
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
3281
+ """
3282
+ operation_result = self.client.refresh_sql_collection_log_insights(sql_collection_id, **operation_kwargs)
3283
+ if not wait_for_states:
3284
+ return operation_result
3285
+
3286
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
3287
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
3288
+
3289
+ try:
3290
+ waiter_result = oci.wait_until(
3291
+ self.client,
3292
+ self.client.get_work_request(wait_for_resource_id),
3293
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
3294
+ **waiter_kwargs
3295
+ )
3296
+ result_to_return = waiter_result
3297
+
3298
+ return result_to_return
3299
+ except Exception as e:
3300
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
3301
+
2815
3302
  def refresh_user_assessment_and_wait_for_state(self, user_assessment_id, run_user_assessment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
2816
3303
  """
2817
3304
  Calls :py:func:`~oci.data_safe.DataSafeClient.refresh_user_assessment` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
@@ -3125,6 +3612,44 @@ class DataSafeClientCompositeOperations(object):
3125
3612
  except Exception as e:
3126
3613
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
3127
3614
 
3615
+ def start_sql_collection_and_wait_for_state(self, sql_collection_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
3616
+ """
3617
+ Calls :py:func:`~oci.data_safe.DataSafeClient.start_sql_collection` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
3618
+ to enter the given state(s).
3619
+
3620
+ :param str sql_collection_id: (required)
3621
+ The OCID of the SQL collection resource.
3622
+
3623
+ :param list[str] wait_for_states:
3624
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
3625
+
3626
+ :param dict operation_kwargs:
3627
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.start_sql_collection`
3628
+
3629
+ :param dict waiter_kwargs:
3630
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
3631
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
3632
+ """
3633
+ operation_result = self.client.start_sql_collection(sql_collection_id, **operation_kwargs)
3634
+ if not wait_for_states:
3635
+ return operation_result
3636
+
3637
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
3638
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
3639
+
3640
+ try:
3641
+ waiter_result = oci.wait_until(
3642
+ self.client,
3643
+ self.client.get_work_request(wait_for_resource_id),
3644
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
3645
+ **waiter_kwargs
3646
+ )
3647
+ result_to_return = waiter_result
3648
+
3649
+ return result_to_return
3650
+ except Exception as e:
3651
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
3652
+
3128
3653
  def stop_audit_trail_and_wait_for_state(self, audit_trail_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
3129
3654
  """
3130
3655
  Calls :py:func:`~oci.data_safe.DataSafeClient.stop_audit_trail` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
@@ -3163,6 +3688,44 @@ class DataSafeClientCompositeOperations(object):
3163
3688
  except Exception as e:
3164
3689
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
3165
3690
 
3691
+ def stop_sql_collection_and_wait_for_state(self, sql_collection_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
3692
+ """
3693
+ Calls :py:func:`~oci.data_safe.DataSafeClient.stop_sql_collection` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
3694
+ to enter the given state(s).
3695
+
3696
+ :param str sql_collection_id: (required)
3697
+ The OCID of the SQL collection resource.
3698
+
3699
+ :param list[str] wait_for_states:
3700
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
3701
+
3702
+ :param dict operation_kwargs:
3703
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.stop_sql_collection`
3704
+
3705
+ :param dict waiter_kwargs:
3706
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
3707
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
3708
+ """
3709
+ operation_result = self.client.stop_sql_collection(sql_collection_id, **operation_kwargs)
3710
+ if not wait_for_states:
3711
+ return operation_result
3712
+
3713
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
3714
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
3715
+
3716
+ try:
3717
+ waiter_result = oci.wait_until(
3718
+ self.client,
3719
+ self.client.get_work_request(wait_for_resource_id),
3720
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
3721
+ **waiter_kwargs
3722
+ )
3723
+ result_to_return = waiter_result
3724
+
3725
+ return result_to_return
3726
+ except Exception as e:
3727
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
3728
+
3166
3729
  def unset_security_assessment_baseline_and_wait_for_state(self, security_assessment_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
3167
3730
  """
3168
3731
  Calls :py:func:`~oci.data_safe.DataSafeClient.unset_security_assessment_baseline` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
@@ -3490,6 +4053,47 @@ class DataSafeClientCompositeOperations(object):
3490
4053
  except Exception as e:
3491
4054
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
3492
4055
 
4056
+ def update_database_security_config_and_wait_for_state(self, database_security_config_id, update_database_security_config_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
4057
+ """
4058
+ Calls :py:func:`~oci.data_safe.DataSafeClient.update_database_security_config` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
4059
+ to enter the given state(s).
4060
+
4061
+ :param str database_security_config_id: (required)
4062
+ The OCID of the database security configuration resource.
4063
+
4064
+ :param oci.data_safe.models.UpdateDatabaseSecurityConfigDetails update_database_security_config_details: (required)
4065
+ Details to update the database security configuration.
4066
+
4067
+ :param list[str] wait_for_states:
4068
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
4069
+
4070
+ :param dict operation_kwargs:
4071
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.update_database_security_config`
4072
+
4073
+ :param dict waiter_kwargs:
4074
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
4075
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
4076
+ """
4077
+ operation_result = self.client.update_database_security_config(database_security_config_id, update_database_security_config_details, **operation_kwargs)
4078
+ if not wait_for_states:
4079
+ return operation_result
4080
+
4081
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
4082
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
4083
+
4084
+ try:
4085
+ waiter_result = oci.wait_until(
4086
+ self.client,
4087
+ self.client.get_work_request(wait_for_resource_id),
4088
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
4089
+ **waiter_kwargs
4090
+ )
4091
+ result_to_return = waiter_result
4092
+
4093
+ return result_to_return
4094
+ except Exception as e:
4095
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
4096
+
3493
4097
  def update_library_masking_format_and_wait_for_state(self, library_masking_format_id, update_library_masking_format_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
3494
4098
  """
3495
4099
  Calls :py:func:`~oci.data_safe.DataSafeClient.update_library_masking_format` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
@@ -3821,6 +4425,88 @@ class DataSafeClientCompositeOperations(object):
3821
4425
  except Exception as e:
3822
4426
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
3823
4427
 
4428
+ def update_security_policy_and_wait_for_state(self, security_policy_id, update_security_policy_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
4429
+ """
4430
+ Calls :py:func:`~oci.data_safe.DataSafeClient.update_security_policy` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
4431
+ to enter the given state(s).
4432
+
4433
+ :param str security_policy_id: (required)
4434
+ The OCID of the security policy resource.
4435
+
4436
+ :param oci.data_safe.models.UpdateSecurityPolicyDetails update_security_policy_details: (required)
4437
+ Details to update the security policy.
4438
+
4439
+ :param list[str] wait_for_states:
4440
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
4441
+
4442
+ :param dict operation_kwargs:
4443
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.update_security_policy`
4444
+
4445
+ :param dict waiter_kwargs:
4446
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
4447
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
4448
+ """
4449
+ operation_result = self.client.update_security_policy(security_policy_id, update_security_policy_details, **operation_kwargs)
4450
+ if not wait_for_states:
4451
+ return operation_result
4452
+
4453
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
4454
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
4455
+
4456
+ try:
4457
+ waiter_result = oci.wait_until(
4458
+ self.client,
4459
+ self.client.get_work_request(wait_for_resource_id),
4460
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
4461
+ **waiter_kwargs
4462
+ )
4463
+ result_to_return = waiter_result
4464
+
4465
+ return result_to_return
4466
+ except Exception as e:
4467
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
4468
+
4469
+ def update_security_policy_deployment_and_wait_for_state(self, security_policy_deployment_id, update_security_policy_deployment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
4470
+ """
4471
+ Calls :py:func:`~oci.data_safe.DataSafeClient.update_security_policy_deployment` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
4472
+ to enter the given state(s).
4473
+
4474
+ :param str security_policy_deployment_id: (required)
4475
+ The OCID of the security policy deployment resource.
4476
+
4477
+ :param oci.data_safe.models.UpdateSecurityPolicyDeploymentDetails update_security_policy_deployment_details: (required)
4478
+ Details to update the security policy deployment.
4479
+
4480
+ :param list[str] wait_for_states:
4481
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
4482
+
4483
+ :param dict operation_kwargs:
4484
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.update_security_policy_deployment`
4485
+
4486
+ :param dict waiter_kwargs:
4487
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
4488
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
4489
+ """
4490
+ operation_result = self.client.update_security_policy_deployment(security_policy_deployment_id, update_security_policy_deployment_details, **operation_kwargs)
4491
+ if not wait_for_states:
4492
+ return operation_result
4493
+
4494
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
4495
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
4496
+
4497
+ try:
4498
+ waiter_result = oci.wait_until(
4499
+ self.client,
4500
+ self.client.get_work_request(wait_for_resource_id),
4501
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
4502
+ **waiter_kwargs
4503
+ )
4504
+ result_to_return = waiter_result
4505
+
4506
+ return result_to_return
4507
+ except Exception as e:
4508
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
4509
+
3824
4510
  def update_sensitive_column_and_wait_for_state(self, sensitive_data_model_id, sensitive_column_key, update_sensitive_column_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
3825
4511
  """
3826
4512
  Calls :py:func:`~oci.data_safe.DataSafeClient.update_sensitive_column` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
@@ -3947,6 +4633,88 @@ class DataSafeClientCompositeOperations(object):
3947
4633
  except Exception as e:
3948
4634
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
3949
4635
 
4636
+ def update_sql_collection_and_wait_for_state(self, sql_collection_id, update_sql_collection_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
4637
+ """
4638
+ Calls :py:func:`~oci.data_safe.DataSafeClient.update_sql_collection` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
4639
+ to enter the given state(s).
4640
+
4641
+ :param str sql_collection_id: (required)
4642
+ The OCID of the SQL collection resource.
4643
+
4644
+ :param oci.data_safe.models.UpdateSqlCollectionDetails update_sql_collection_details: (required)
4645
+ Details to update the SQL collection.
4646
+
4647
+ :param list[str] wait_for_states:
4648
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
4649
+
4650
+ :param dict operation_kwargs:
4651
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.update_sql_collection`
4652
+
4653
+ :param dict waiter_kwargs:
4654
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
4655
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
4656
+ """
4657
+ operation_result = self.client.update_sql_collection(sql_collection_id, update_sql_collection_details, **operation_kwargs)
4658
+ if not wait_for_states:
4659
+ return operation_result
4660
+
4661
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
4662
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
4663
+
4664
+ try:
4665
+ waiter_result = oci.wait_until(
4666
+ self.client,
4667
+ self.client.get_work_request(wait_for_resource_id),
4668
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
4669
+ **waiter_kwargs
4670
+ )
4671
+ result_to_return = waiter_result
4672
+
4673
+ return result_to_return
4674
+ except Exception as e:
4675
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
4676
+
4677
+ def update_sql_firewall_policy_and_wait_for_state(self, sql_firewall_policy_id, update_sql_firewall_policy_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
4678
+ """
4679
+ Calls :py:func:`~oci.data_safe.DataSafeClient.update_sql_firewall_policy` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
4680
+ to enter the given state(s).
4681
+
4682
+ :param str sql_firewall_policy_id: (required)
4683
+ The OCID of the SQL firewall policy resource.
4684
+
4685
+ :param oci.data_safe.models.UpdateSqlFirewallPolicyDetails update_sql_firewall_policy_details: (required)
4686
+ Details to update the SQL firewall policy.
4687
+
4688
+ :param list[str] wait_for_states:
4689
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
4690
+
4691
+ :param dict operation_kwargs:
4692
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.update_sql_firewall_policy`
4693
+
4694
+ :param dict waiter_kwargs:
4695
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
4696
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
4697
+ """
4698
+ operation_result = self.client.update_sql_firewall_policy(sql_firewall_policy_id, update_sql_firewall_policy_details, **operation_kwargs)
4699
+ if not wait_for_states:
4700
+ return operation_result
4701
+
4702
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
4703
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
4704
+
4705
+ try:
4706
+ waiter_result = oci.wait_until(
4707
+ self.client,
4708
+ self.client.get_work_request(wait_for_resource_id),
4709
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
4710
+ **waiter_kwargs
4711
+ )
4712
+ result_to_return = waiter_result
4713
+
4714
+ return result_to_return
4715
+ except Exception as e:
4716
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
4717
+
3950
4718
  def update_target_alert_policy_association_and_wait_for_state(self, target_alert_policy_association_id, update_target_alert_policy_association_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
3951
4719
  """
3952
4720
  Calls :py:func:`~oci.data_safe.DataSafeClient.update_target_alert_policy_association` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`