oci 2.117.0__py3-none-any.whl → 2.118.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (560) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +36 -36
  3. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  4. oci/ai_document/ai_service_document_client.py +22 -22
  5. oci/ai_language/ai_service_language_client.py +36 -36
  6. oci/ai_speech/ai_service_speech_client.py +9 -9
  7. oci/ai_vision/ai_service_vision_client.py +25 -25
  8. oci/analytics/analytics_client.py +23 -23
  9. oci/announcements_service/announcement_client.py +4 -4
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/apigateway/api_gateway_client.py +21 -21
  13. oci/apigateway/deployment_client.py +6 -6
  14. oci/apigateway/gateway_client.py +6 -6
  15. oci/apigateway/subscribers_client.py +6 -6
  16. oci/apigateway/usage_plans_client.py +6 -6
  17. oci/apigateway/work_requests_client.py +5 -5
  18. oci/apm_config/config_client.py +8 -8
  19. oci/apm_control_plane/apm_domain_client.py +14 -14
  20. oci/apm_synthetics/apm_synthetic_client.py +18 -18
  21. oci/apm_traces/query_client.py +2 -2
  22. oci/apm_traces/trace_client.py +4 -4
  23. oci/application_migration/application_migration_client.py +19 -19
  24. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  25. oci/artifacts/artifacts_client.py +32 -32
  26. oci/audit/audit_client.py +3 -3
  27. oci/autoscaling/auto_scaling_client.py +11 -11
  28. oci/bastion/bastion_client.py +15 -15
  29. oci/bds/bds_client.py +51 -51
  30. oci/blockchain/blockchain_platform_client.py +27 -27
  31. oci/budget/budget_client.py +10 -10
  32. oci/certificates/certificates_client.py +5 -5
  33. oci/certificates_management/certificates_management_client.py +32 -32
  34. oci/cims/incident_client.py +8 -8
  35. oci/cims/user_client.py +1 -1
  36. oci/cloud_bridge/common_client.py +5 -5
  37. oci/cloud_bridge/discovery_client.py +14 -14
  38. oci/cloud_bridge/inventory_client.py +16 -16
  39. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  40. oci/cloud_guard/cloud_guard_client.py +133 -133
  41. oci/cloud_migrations/migration_client.py +43 -43
  42. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  43. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  44. oci/compute_instance_agent/plugin_client.py +2 -2
  45. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  46. oci/container_engine/container_engine_client.py +44 -44
  47. oci/container_instances/container_instance_client.py +18 -18
  48. oci/core/blockstorage_client.py +60 -60
  49. oci/core/compute_client.py +99 -99
  50. oci/core/compute_management_client.py +32 -32
  51. oci/core/models/update_instance_details.py +39 -2
  52. oci/core/virtual_network_client.py +242 -242
  53. oci/dashboard_service/dashboard_client.py +6 -6
  54. oci/dashboard_service/dashboard_group_client.py +6 -6
  55. oci/data_catalog/data_catalog_client.py +1027 -252
  56. oci/data_catalog/data_catalog_client_composite_operations.py +276 -0
  57. oci/data_catalog/models/__init__.py +6 -0
  58. oci/data_catalog/models/add_resource_lock_details.py +183 -0
  59. oci/data_catalog/models/catalog.py +76 -2
  60. oci/data_catalog/models/catalog_private_endpoint.py +76 -2
  61. oci/data_catalog/models/catalog_private_endpoint_summary.py +76 -2
  62. oci/data_catalog/models/catalog_summary.py +76 -2
  63. oci/data_catalog/models/metastore.py +76 -2
  64. oci/data_catalog/models/metastore_summary.py +76 -2
  65. oci/data_catalog/models/remove_resource_lock_details.py +183 -0
  66. oci/data_catalog/models/resource_lock.py +185 -0
  67. oci/data_flow/data_flow_client.py +42 -42
  68. oci/data_integration/data_integration_client.py +163 -163
  69. oci/data_integration/models/__init__.py +8 -0
  70. oci/data_integration/models/create_task_details.py +31 -0
  71. oci/data_integration/models/create_task_from_data_loader_task.py +7 -0
  72. oci/data_integration/models/create_task_from_integration_task.py +7 -0
  73. oci/data_integration/models/create_task_from_oci_dataflow_task.py +63 -2
  74. oci/data_integration/models/create_task_from_pipeline_task.py +7 -0
  75. oci/data_integration/models/create_task_from_rest_task.py +7 -0
  76. oci/data_integration/models/create_task_from_sql_task.py +7 -0
  77. oci/data_integration/models/incremental_data_entity_clause.py +170 -0
  78. oci/data_integration/models/incremental_field_clause.py +170 -0
  79. oci/data_integration/models/incremental_read_config.py +103 -0
  80. oci/data_integration/models/json_format_attribute.py +33 -2
  81. oci/data_integration/models/read_operation_config.py +27 -0
  82. oci/data_integration/models/runtime_operator.py +2 -2
  83. oci/data_integration/models/runtime_operator_summary.py +2 -2
  84. oci/data_integration/models/shape_details.py +68 -0
  85. oci/data_integration/models/task.py +31 -0
  86. oci/data_integration/models/task_from_data_loader_task_details.py +7 -0
  87. oci/data_integration/models/task_from_integration_task_details.py +7 -0
  88. oci/data_integration/models/task_from_oci_dataflow_task_details.py +63 -2
  89. oci/data_integration/models/task_from_pipeline_task_details.py +7 -0
  90. oci/data_integration/models/task_from_rest_task_details.py +7 -0
  91. oci/data_integration/models/task_from_sql_task_details.py +7 -0
  92. oci/data_integration/models/task_summary.py +31 -0
  93. oci/data_integration/models/task_summary_from_data_loader_task.py +7 -0
  94. oci/data_integration/models/task_summary_from_integration_task.py +7 -0
  95. oci/data_integration/models/task_summary_from_oci_dataflow_task.py +63 -2
  96. oci/data_integration/models/task_summary_from_pipeline_task.py +7 -0
  97. oci/data_integration/models/task_summary_from_rest_task.py +7 -0
  98. oci/data_integration/models/task_summary_from_sql_task.py +7 -0
  99. oci/data_integration/models/update_task_details.py +31 -0
  100. oci/data_integration/models/update_task_from_data_loader_task.py +7 -0
  101. oci/data_integration/models/update_task_from_integration_task.py +7 -0
  102. oci/data_integration/models/update_task_from_oci_dataflow_task.py +63 -2
  103. oci/data_integration/models/update_task_from_pipeline_task.py +7 -0
  104. oci/data_integration/models/update_task_from_rest_task.py +7 -0
  105. oci/data_integration/models/update_task_from_sql_task.py +7 -0
  106. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  107. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  108. oci/data_safe/data_safe_client.py +307 -290
  109. oci/data_safe/data_safe_client_composite_operations.py +5 -5
  110. oci/data_safe/models/__init__.py +2 -0
  111. oci/data_safe/models/audit_event_aggregation_dimensions.py +6 -6
  112. oci/data_safe/models/audit_event_summary.py +14 -14
  113. oci/data_safe/models/audit_policy_dimensions.py +2 -2
  114. oci/data_safe/models/change_report_compartment_details.py +1 -1
  115. oci/data_safe/models/change_sql_firewall_policy_compartment_details.py +2 -2
  116. oci/data_safe/models/database_security_config.py +1 -1
  117. oci/data_safe/models/database_security_config_summary.py +1 -1
  118. oci/data_safe/models/delete_rows_format_entry.py +1 -1
  119. oci/data_safe/models/deterministic_encryption_date_format_entry.py +1 -1
  120. oci/data_safe/models/deterministic_encryption_format_entry.py +1 -1
  121. oci/data_safe/models/deterministic_substitution_format_entry.py +1 -1
  122. oci/data_safe/models/dimensions.py +33 -2
  123. oci/data_safe/models/discovery_analytics_summary.py +7 -3
  124. oci/data_safe/models/entry_details.py +2 -2
  125. oci/data_safe/models/finding_summary.py +2 -2
  126. oci/data_safe/models/firewall_policy_entry_details.py +5 -5
  127. oci/data_safe/models/fixed_number_format_entry.py +1 -1
  128. oci/data_safe/models/fixed_string_format_entry.py +1 -1
  129. oci/data_safe/models/format_entry.py +11 -3
  130. oci/data_safe/models/generate_report_details.py +2 -2
  131. oci/data_safe/models/library_masking_format_entry.py +1 -1
  132. oci/data_safe/models/mask_data_details.py +4 -2
  133. oci/data_safe/models/null_value_format_entry.py +1 -1
  134. oci/data_safe/models/patch_alerts_details.py +1 -1
  135. oci/data_safe/models/pattern_format_entry.py +104 -0
  136. oci/data_safe/models/ppf_format_entry.py +1 -1
  137. oci/data_safe/models/preserve_original_data_format_entry.py +1 -1
  138. oci/data_safe/models/random_date_format_entry.py +1 -1
  139. oci/data_safe/models/random_decimal_number_format_entry.py +1 -1
  140. oci/data_safe/models/random_digits_format_entry.py +1 -1
  141. oci/data_safe/models/random_list_format_entry.py +1 -1
  142. oci/data_safe/models/random_number_format_entry.py +1 -1
  143. oci/data_safe/models/random_string_format_entry.py +1 -1
  144. oci/data_safe/models/random_substitution_format_entry.py +1 -1
  145. oci/data_safe/models/regular_expression_format_entry.py +1 -1
  146. oci/data_safe/models/report.py +2 -2
  147. oci/data_safe/models/report_definition.py +8 -8
  148. oci/data_safe/models/report_summary.py +2 -2
  149. oci/data_safe/models/schedule_report_details.py +2 -2
  150. oci/data_safe/models/sdm_masking_policy_difference.py +5 -5
  151. oci/data_safe/models/sensitive_category.py +7 -0
  152. oci/data_safe/models/sensitive_type.py +33 -0
  153. oci/data_safe/models/sensitive_type_pattern.py +7 -0
  154. oci/data_safe/models/sensitive_type_summary.py +33 -0
  155. oci/data_safe/models/shuffle_format_entry.py +1 -1
  156. oci/data_safe/models/sql_expression_format_entry.py +1 -1
  157. oci/data_safe/models/sql_firewall_allowed_sql_aggregation.py +1 -1
  158. oci/data_safe/models/sql_firewall_allowed_sql_analytics_collection.py +1 -1
  159. oci/data_safe/models/sql_firewall_allowed_sql_collection.py +3 -3
  160. oci/data_safe/models/sql_firewall_allowed_sql_dimensions.py +7 -7
  161. oci/data_safe/models/sql_firewall_allowed_sql_summary.py +23 -23
  162. oci/data_safe/models/sql_firewall_config.py +1 -1
  163. oci/data_safe/models/sql_firewall_policy.py +35 -35
  164. oci/data_safe/models/sql_firewall_policy_aggregation.py +1 -1
  165. oci/data_safe/models/sql_firewall_policy_analytics_collection.py +1 -1
  166. oci/data_safe/models/sql_firewall_policy_collection.py +3 -3
  167. oci/data_safe/models/sql_firewall_policy_dimensions.py +9 -9
  168. oci/data_safe/models/sql_firewall_policy_summary.py +29 -29
  169. oci/data_safe/models/sql_firewall_violation_aggregation_dimensions.py +2 -2
  170. oci/data_safe/models/substring_format_entry.py +1 -1
  171. oci/data_safe/models/truncate_table_format_entry.py +1 -1
  172. oci/data_safe/models/udf_format_entry.py +1 -1
  173. oci/data_safe/models/update_sql_firewall_config_details.py +1 -1
  174. oci/data_safe/models/update_sql_firewall_policy_details.py +19 -19
  175. oci/data_safe/models/work_request.py +11 -3
  176. oci/data_safe/models/work_request_summary.py +11 -3
  177. oci/data_science/data_science_client.py +91 -91
  178. oci/database/database_client.py +327 -327
  179. oci/database_management/db_management_client.py +182 -182
  180. oci/database_management/diagnosability_client.py +4 -4
  181. oci/database_management/managed_my_sql_databases_client.py +6 -6
  182. oci/database_management/perfhub_client.py +1 -1
  183. oci/database_management/sql_tuning_client.py +17 -17
  184. oci/database_migration/database_migration_client.py +41 -41
  185. oci/database_tools/database_tools_client.py +23 -23
  186. oci/devops/devops_client.py +89 -89
  187. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  188. oci/dns/dns_client.py +52 -52
  189. oci/dts/appliance_export_job_client.py +6 -6
  190. oci/dts/shipping_vendors_client.py +1 -1
  191. oci/dts/transfer_appliance_client.py +8 -8
  192. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  193. oci/dts/transfer_device_client.py +5 -5
  194. oci/dts/transfer_job_client.py +6 -6
  195. oci/dts/transfer_package_client.py +7 -7
  196. oci/em_warehouse/em_data_lake_client.py +13 -13
  197. oci/em_warehouse/em_warehouse_client.py +13 -13
  198. oci/email/email_client.py +25 -25
  199. oci/events/events_client.py +6 -6
  200. oci/file_storage/file_storage_client.py +50 -50
  201. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  202. oci/functions/functions_invoke_client.py +1 -1
  203. oci/functions/functions_management_client.py +16 -16
  204. oci/fusion_apps/data_masking_activity_client.py +3 -3
  205. oci/fusion_apps/fusion_applications_client.py +39 -39
  206. oci/fusion_apps/fusion_environment_client.py +15 -15
  207. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  208. oci/fusion_apps/refresh_activity_client.py +4 -4
  209. oci/fusion_apps/scheduled_activity_client.py +2 -2
  210. oci/fusion_apps/service_attachment_client.py +2 -2
  211. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  212. oci/golden_gate/golden_gate_client.py +61 -61
  213. oci/golden_gate/models/amazon_kinesis_connection.py +9 -0
  214. oci/golden_gate/models/amazon_kinesis_connection_summary.py +8 -0
  215. oci/golden_gate/models/amazon_redshift_connection.py +9 -0
  216. oci/golden_gate/models/amazon_redshift_connection_summary.py +8 -0
  217. oci/golden_gate/models/amazon_s3_connection.py +9 -0
  218. oci/golden_gate/models/amazon_s3_connection_summary.py +8 -0
  219. oci/golden_gate/models/azure_data_lake_storage_connection.py +9 -0
  220. oci/golden_gate/models/azure_data_lake_storage_connection_summary.py +8 -0
  221. oci/golden_gate/models/azure_synapse_connection.py +9 -0
  222. oci/golden_gate/models/azure_synapse_connection_summary.py +8 -0
  223. oci/golden_gate/models/connection.py +61 -4
  224. oci/golden_gate/models/connection_summary.py +61 -4
  225. oci/golden_gate/models/create_amazon_kinesis_connection_details.py +8 -0
  226. oci/golden_gate/models/create_amazon_redshift_connection_details.py +8 -0
  227. oci/golden_gate/models/create_amazon_s3_connection_details.py +8 -0
  228. oci/golden_gate/models/create_azure_data_lake_storage_connection_details.py +8 -0
  229. oci/golden_gate/models/create_azure_synapse_connection_details.py +8 -0
  230. oci/golden_gate/models/create_connection_details.py +61 -4
  231. oci/golden_gate/models/create_database_registration_details.py +2 -2
  232. oci/golden_gate/models/create_deployment_details.py +41 -2
  233. oci/golden_gate/models/create_elasticsearch_connection_details.py +8 -0
  234. oci/golden_gate/models/create_generic_connection_details.py +8 -0
  235. oci/golden_gate/models/create_golden_gate_connection_details.py +14 -0
  236. oci/golden_gate/models/create_google_big_query_connection_details.py +8 -0
  237. oci/golden_gate/models/create_google_cloud_storage_connection_details.py +8 -0
  238. oci/golden_gate/models/create_hdfs_connection_details.py +8 -0
  239. oci/golden_gate/models/create_java_message_service_connection_details.py +14 -0
  240. oci/golden_gate/models/create_kafka_connection_details.py +8 -0
  241. oci/golden_gate/models/create_kafka_schema_registry_connection_details.py +14 -0
  242. oci/golden_gate/models/create_microsoft_sqlserver_connection_details.py +14 -0
  243. oci/golden_gate/models/create_mongo_db_connection_details.py +8 -0
  244. oci/golden_gate/models/create_mysql_connection_details.py +14 -0
  245. oci/golden_gate/models/create_oci_object_storage_connection_details.py +8 -0
  246. oci/golden_gate/models/create_oracle_connection_details.py +14 -0
  247. oci/golden_gate/models/create_oracle_nosql_connection_details.py +8 -0
  248. oci/golden_gate/models/create_postgresql_connection_details.py +14 -0
  249. oci/golden_gate/models/create_redis_connection_details.py +8 -0
  250. oci/golden_gate/models/create_snowflake_connection_details.py +8 -0
  251. oci/golden_gate/models/database_registration.py +2 -2
  252. oci/golden_gate/models/database_registration_summary.py +2 -2
  253. oci/golden_gate/models/deployment.py +113 -4
  254. oci/golden_gate/models/deployment_summary.py +78 -2
  255. oci/golden_gate/models/elasticsearch_connection.py +9 -0
  256. oci/golden_gate/models/elasticsearch_connection_summary.py +8 -0
  257. oci/golden_gate/models/generic_connection.py +9 -0
  258. oci/golden_gate/models/generic_connection_summary.py +8 -0
  259. oci/golden_gate/models/golden_gate_connection.py +15 -0
  260. oci/golden_gate/models/golden_gate_connection_summary.py +14 -0
  261. oci/golden_gate/models/google_big_query_connection.py +9 -0
  262. oci/golden_gate/models/google_big_query_connection_summary.py +8 -0
  263. oci/golden_gate/models/google_cloud_storage_connection.py +9 -0
  264. oci/golden_gate/models/google_cloud_storage_connection_summary.py +8 -0
  265. oci/golden_gate/models/hdfs_connection.py +9 -0
  266. oci/golden_gate/models/hdfs_connection_summary.py +8 -0
  267. oci/golden_gate/models/java_message_service_connection.py +15 -0
  268. oci/golden_gate/models/java_message_service_connection_summary.py +14 -0
  269. oci/golden_gate/models/kafka_bootstrap_server.py +6 -0
  270. oci/golden_gate/models/kafka_connection.py +9 -0
  271. oci/golden_gate/models/kafka_connection_summary.py +8 -0
  272. oci/golden_gate/models/kafka_schema_registry_connection.py +15 -0
  273. oci/golden_gate/models/kafka_schema_registry_connection_summary.py +14 -0
  274. oci/golden_gate/models/microsoft_sqlserver_connection.py +15 -0
  275. oci/golden_gate/models/microsoft_sqlserver_connection_summary.py +14 -0
  276. oci/golden_gate/models/mongo_db_connection.py +9 -0
  277. oci/golden_gate/models/mongo_db_connection_summary.py +8 -0
  278. oci/golden_gate/models/mysql_connection.py +15 -0
  279. oci/golden_gate/models/mysql_connection_summary.py +14 -0
  280. oci/golden_gate/models/oci_object_storage_connection.py +9 -0
  281. oci/golden_gate/models/oci_object_storage_connection_summary.py +8 -0
  282. oci/golden_gate/models/oracle_connection.py +15 -0
  283. oci/golden_gate/models/oracle_connection_summary.py +14 -0
  284. oci/golden_gate/models/oracle_nosql_connection.py +9 -0
  285. oci/golden_gate/models/oracle_nosql_connection_summary.py +8 -0
  286. oci/golden_gate/models/postgresql_connection.py +15 -0
  287. oci/golden_gate/models/postgresql_connection_summary.py +14 -0
  288. oci/golden_gate/models/redis_connection.py +9 -0
  289. oci/golden_gate/models/redis_connection_summary.py +8 -0
  290. oci/golden_gate/models/snowflake_connection.py +9 -0
  291. oci/golden_gate/models/snowflake_connection_summary.py +8 -0
  292. oci/golden_gate/models/update_amazon_kinesis_connection_details.py +15 -0
  293. oci/golden_gate/models/update_amazon_redshift_connection_details.py +15 -0
  294. oci/golden_gate/models/update_amazon_s3_connection_details.py +15 -0
  295. oci/golden_gate/models/update_azure_data_lake_storage_connection_details.py +15 -0
  296. oci/golden_gate/models/update_azure_synapse_connection_details.py +15 -0
  297. oci/golden_gate/models/update_connection_details.py +94 -2
  298. oci/golden_gate/models/update_deployment_details.py +2 -2
  299. oci/golden_gate/models/update_elasticsearch_connection_details.py +15 -0
  300. oci/golden_gate/models/update_generic_connection_details.py +15 -0
  301. oci/golden_gate/models/update_golden_gate_connection_details.py +21 -0
  302. oci/golden_gate/models/update_google_big_query_connection_details.py +15 -0
  303. oci/golden_gate/models/update_google_cloud_storage_connection_details.py +15 -0
  304. oci/golden_gate/models/update_hdfs_connection_details.py +15 -0
  305. oci/golden_gate/models/update_java_message_service_connection_details.py +21 -0
  306. oci/golden_gate/models/update_kafka_connection_details.py +15 -0
  307. oci/golden_gate/models/update_kafka_schema_registry_connection_details.py +21 -0
  308. oci/golden_gate/models/update_microsoft_sqlserver_connection_details.py +21 -0
  309. oci/golden_gate/models/update_mongo_db_connection_details.py +15 -0
  310. oci/golden_gate/models/update_mysql_connection_details.py +21 -0
  311. oci/golden_gate/models/update_oci_object_storage_connection_details.py +15 -0
  312. oci/golden_gate/models/update_oracle_connection_details.py +21 -0
  313. oci/golden_gate/models/update_oracle_nosql_connection_details.py +15 -0
  314. oci/golden_gate/models/update_postgresql_connection_details.py +21 -0
  315. oci/golden_gate/models/update_redis_connection_details.py +15 -0
  316. oci/golden_gate/models/update_snowflake_connection_details.py +15 -0
  317. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  318. oci/governance_rules_control_plane/work_request_client.py +5 -5
  319. oci/healthchecks/health_checks_client.py +17 -17
  320. oci/identity/identity_client.py +145 -145
  321. oci/identity_data_plane/dataplane_client.py +2 -2
  322. oci/identity_domains/identity_domains_client.py +1901 -1029
  323. oci/identity_domains/models/__init__.py +8 -0
  324. oci/identity_domains/models/extension_user_user.py +59 -0
  325. oci/identity_domains/models/identity_propagation_trust.py +1623 -0
  326. oci/identity_domains/models/identity_propagation_trust_impersonation_service_users.py +243 -0
  327. oci/identity_domains/models/identity_propagation_trust_keytab.py +153 -0
  328. oci/identity_domains/models/identity_propagation_trusts.py +196 -0
  329. oci/identity_domains/models/me.py +1 -1
  330. oci/identity_domains/models/me_name.py +4 -4
  331. oci/identity_domains/models/user.py +1 -1
  332. oci/identity_domains/models/user_name.py +4 -4
  333. oci/integration/integration_instance_client.py +15 -15
  334. oci/jms/java_management_service_client.py +66 -66
  335. oci/jms_java_downloads/java_download_client.py +25 -25
  336. oci/key_management/ekm_client.py +5 -5
  337. oci/key_management/kms_crypto_client.py +6 -6
  338. oci/key_management/kms_management_client.py +21 -21
  339. oci/key_management/kms_vault_client.py +14 -14
  340. oci/license_manager/license_manager_client.py +18 -18
  341. oci/limits/limits_client.py +4 -4
  342. oci/limits/quotas_client.py +7 -7
  343. oci/load_balancer/load_balancer_client.py +61 -61
  344. oci/lockbox/lockbox_client.py +23 -23
  345. oci/log_analytics/log_analytics_client.py +193 -193
  346. oci/logging/logging_management_client.py +30 -30
  347. oci/loggingingestion/logging_client.py +1 -1
  348. oci/loggingsearch/log_search_client.py +1 -1
  349. oci/management_agent/management_agent_client.py +23 -23
  350. oci/management_dashboard/dashx_apis_client.py +14 -14
  351. oci/marketplace/account_client.py +2 -2
  352. oci/marketplace/marketplace_client.py +30 -30
  353. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  354. oci/media_services/media_services_client.py +48 -48
  355. oci/media_services/media_stream_client.py +2 -2
  356. oci/monitoring/monitoring_client.py +13 -13
  357. oci/mysql/channels_client.py +7 -7
  358. oci/mysql/db_backups_client.py +6 -6
  359. oci/mysql/db_system_client.py +17 -17
  360. oci/mysql/mysqlaas_client.py +7 -7
  361. oci/mysql/replicas_client.py +5 -5
  362. oci/mysql/work_requests_client.py +4 -4
  363. oci/network_firewall/network_firewall_client.py +80 -80
  364. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  365. oci/nosql/nosql_client.py +24 -24
  366. oci/object_storage/object_storage_client.py +50 -50
  367. oci/oce/oce_instance_client.py +10 -10
  368. oci/oci_control_center/occ_metrics_client.py +3 -3
  369. oci/ocvp/cluster_client.py +5 -5
  370. oci/ocvp/esxi_host_client.py +8 -8
  371. oci/ocvp/sddc_client.py +14 -14
  372. oci/ocvp/work_request_client.py +4 -4
  373. oci/oda/management_client.py +56 -56
  374. oci/oda/oda_client.py +17 -17
  375. oci/oda/odapackage_client.py +7 -7
  376. oci/onesubscription/billing_schedule_client.py +1 -1
  377. oci/onesubscription/commitment_client.py +2 -2
  378. oci/onesubscription/computed_usage_client.py +3 -3
  379. oci/onesubscription/invoice_summary_client.py +2 -2
  380. oci/onesubscription/organization_subscription_client.py +1 -1
  381. oci/onesubscription/ratecard_client.py +1 -1
  382. oci/onesubscription/subscribed_service_client.py +2 -2
  383. oci/onesubscription/subscription_client.py +1 -1
  384. oci/ons/notification_control_plane_client.py +6 -6
  385. oci/ons/notification_data_plane_client.py +10 -10
  386. oci/opa/opa_instance_client.py +11 -11
  387. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  388. oci/opensearch/opensearch_cluster_client.py +14 -14
  389. oci/operator_access_control/access_requests_client.py +9 -9
  390. oci/operator_access_control/operator_actions_client.py +2 -2
  391. oci/operator_access_control/operator_control_assignment_client.py +6 -6
  392. oci/operator_access_control/operator_control_client.py +6 -6
  393. oci/opsi/operations_insights_client.py +173 -173
  394. oci/optimizer/models/create_profile_details.py +33 -0
  395. oci/optimizer/models/profile.py +33 -0
  396. oci/optimizer/models/profile_summary.py +33 -0
  397. oci/optimizer/models/update_profile_details.py +33 -0
  398. oci/optimizer/optimizer_client.py +129 -53
  399. oci/os_management/event_client.py +8 -8
  400. oci/os_management/os_management_client.py +69 -69
  401. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  402. oci/os_management_hub/managed_instance_client.py +22 -22
  403. oci/os_management_hub/managed_instance_group_client.py +22 -22
  404. oci/os_management_hub/management_station_client.py +8 -8
  405. oci/os_management_hub/onboarding_client.py +5 -5
  406. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  407. oci/os_management_hub/scheduled_job_client.py +6 -6
  408. oci/os_management_hub/software_source_client.py +22 -22
  409. oci/os_management_hub/work_request_client.py +4 -4
  410. oci/osp_gateway/address_rule_service_client.py +1 -1
  411. oci/osp_gateway/address_service_client.py +2 -2
  412. oci/osp_gateway/invoice_service_client.py +5 -5
  413. oci/osp_gateway/subscription_service_client.py +5 -5
  414. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  415. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  416. oci/osub_subscription/commitment_client.py +2 -2
  417. oci/osub_subscription/ratecard_client.py +1 -1
  418. oci/osub_subscription/subscription_client.py +1 -1
  419. oci/osub_usage/computed_usage_client.py +3 -3
  420. oci/psql/models/backup.py +53 -21
  421. oci/psql/models/backup_policy.py +5 -5
  422. oci/psql/models/backup_source_details.py +10 -5
  423. oci/psql/models/backup_summary.py +47 -19
  424. oci/psql/models/change_backup_compartment_details.py +7 -5
  425. oci/psql/models/change_configuration_compartment_details.py +7 -5
  426. oci/psql/models/change_db_system_compartment_details.py +3 -3
  427. oci/psql/models/config_overrides.py +5 -5
  428. oci/psql/models/config_params.py +17 -17
  429. oci/psql/models/configuration.py +37 -21
  430. oci/psql/models/configuration_collection.py +2 -2
  431. oci/psql/models/configuration_details.py +1 -1
  432. oci/psql/models/configuration_summary.py +39 -19
  433. oci/psql/models/connection_details.py +5 -5
  434. oci/psql/models/create_backup_details.py +13 -9
  435. oci/psql/models/create_configuration_details.py +21 -15
  436. oci/psql/models/create_db_instance_details.py +9 -9
  437. oci/psql/models/create_db_system_details.py +35 -25
  438. oci/psql/models/credentials.py +3 -3
  439. oci/psql/models/daily_backup_policy.py +3 -3
  440. oci/psql/models/db_configuration_override_collection.py +3 -3
  441. oci/psql/models/db_instance.py +35 -15
  442. oci/psql/models/db_instance_endpoint.py +3 -3
  443. oci/psql/models/db_system.py +63 -33
  444. oci/psql/models/db_system_collection.py +3 -3
  445. oci/psql/models/db_system_details.py +5 -5
  446. oci/psql/models/db_system_summary.py +57 -27
  447. oci/psql/models/default_config_params.py +15 -15
  448. oci/psql/models/default_configuration.py +31 -19
  449. oci/psql/models/default_configuration_collection.py +2 -2
  450. oci/psql/models/default_configuration_details.py +1 -1
  451. oci/psql/models/default_configuration_summary.py +29 -17
  452. oci/psql/models/endpoint.py +7 -7
  453. oci/psql/models/failover_db_system_details.py +13 -9
  454. oci/psql/models/management_policy.py +1 -1
  455. oci/psql/models/management_policy_details.py +1 -1
  456. oci/psql/models/monthly_backup_policy.py +5 -5
  457. oci/psql/models/network_details.py +15 -7
  458. oci/psql/models/none_backup_policy.py +1 -1
  459. oci/psql/models/none_source_details.py +1 -1
  460. oci/psql/models/oci_optimized_storage_details.py +3 -3
  461. oci/psql/models/password_details.py +4 -4
  462. oci/psql/models/patch_db_system_details.py +2 -2
  463. oci/psql/models/plain_text_password_details.py +3 -3
  464. oci/psql/models/primary_db_instance_details.py +3 -3
  465. oci/psql/models/reset_master_user_password_details.py +2 -2
  466. oci/psql/models/restart_db_instance_in_db_system_details.py +5 -5
  467. oci/psql/models/restore_db_system_details.py +11 -7
  468. oci/psql/models/shape_collection.py +3 -3
  469. oci/psql/models/shape_summary.py +11 -9
  470. oci/psql/models/source_details.py +1 -1
  471. oci/psql/models/storage_details.py +13 -13
  472. oci/psql/models/update_backup_details.py +4 -4
  473. oci/psql/models/update_configuration_details.py +73 -7
  474. oci/psql/models/update_db_config_params.py +11 -7
  475. oci/psql/models/update_db_system_db_instance_details.py +5 -5
  476. oci/psql/models/update_db_system_details.py +4 -4
  477. oci/psql/models/update_storage_details_params.py +5 -5
  478. oci/psql/models/vault_secret_password_details.py +9 -5
  479. oci/psql/models/weekly_backup_policy.py +5 -5
  480. oci/psql/models/work_request.py +19 -9
  481. oci/psql/models/work_request_error.py +12 -6
  482. oci/psql/models/work_request_error_collection.py +2 -2
  483. oci/psql/models/work_request_log_entry.py +6 -2
  484. oci/psql/models/work_request_log_entry_collection.py +2 -2
  485. oci/psql/models/work_request_resource.py +4 -4
  486. oci/psql/models/work_request_summary.py +18 -8
  487. oci/psql/models/work_request_summary_collection.py +2 -2
  488. oci/psql/postgresql_client.py +186 -127
  489. oci/psql/postgresql_client_composite_operations.py +23 -69
  490. oci/queue/queue_admin_client.py +11 -11
  491. oci/queue/queue_client.py +8 -8
  492. oci/recovery/database_recovery_client.py +23 -23
  493. oci/redis/redis_cluster_client.py +11 -11
  494. oci/resource_manager/resource_manager_client.py +52 -52
  495. oci/resource_search/resource_search_client.py +3 -3
  496. oci/rover/rover_bundle_client.py +8 -8
  497. oci/rover/rover_cluster_client.py +8 -8
  498. oci/rover/rover_entitlement_client.py +6 -6
  499. oci/rover/rover_node_client.py +15 -15
  500. oci/rover/shape_client.py +1 -1
  501. oci/rover/work_requests_client.py +5 -5
  502. oci/sch/service_connector_client.py +12 -12
  503. oci/secrets/secrets_client.py +3 -3
  504. oci/service_catalog/service_catalog_client.py +26 -26
  505. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  506. oci/service_mesh/service_mesh_client.py +48 -48
  507. oci/stack_monitoring/models/discovery_details.py +7 -3
  508. oci/stack_monitoring/models/discovery_job_summary.py +7 -3
  509. oci/stack_monitoring/stack_monitoring_client.py +58 -58
  510. oci/streaming/stream_admin_client.py +18 -18
  511. oci/streaming/stream_client.py +8 -8
  512. oci/tenant_manager_control_plane/domain_client.py +5 -5
  513. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  514. oci/tenant_manager_control_plane/governance_client.py +2 -2
  515. oci/tenant_manager_control_plane/link_client.py +3 -3
  516. oci/tenant_manager_control_plane/orders_client.py +2 -2
  517. oci/tenant_manager_control_plane/organization_client.py +10 -10
  518. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  519. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  520. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  521. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  522. oci/threat_intelligence/threatintel_client.py +5 -5
  523. oci/usage/resources_client.py +2 -2
  524. oci/usage/rewards_client.py +6 -6
  525. oci/usage/usagelimits_client.py +1 -1
  526. oci/usage_api/models/__init__.py +24 -0
  527. oci/usage_api/models/average_carbon_emission.py +103 -0
  528. oci/usage_api/models/clean_energy_usage.py +134 -0
  529. oci/usage_api/models/create_schedule_details.py +4 -4
  530. oci/usage_api/models/create_usage_carbon_emissions_query_details.py +99 -0
  531. oci/usage_api/models/request_usage_carbon_emissions_details.py +297 -0
  532. oci/usage_api/models/schedule.py +4 -4
  533. oci/usage_api/models/update_schedule_details.py +2 -2
  534. oci/usage_api/models/update_usage_carbon_emissions_query_details.py +68 -0
  535. oci/usage_api/models/usage_carbon_emission_aggregation.py +103 -0
  536. oci/usage_api/models/usage_carbon_emission_summary.py +630 -0
  537. oci/usage_api/models/usage_carbon_emissions_query.py +130 -0
  538. oci/usage_api/models/usage_carbon_emissions_query_collection.py +72 -0
  539. oci/usage_api/models/usage_carbon_emissions_query_definition.py +157 -0
  540. oci/usage_api/models/usage_carbon_emissions_query_summary.py +99 -0
  541. oci/usage_api/models/usage_carbon_emissions_report_query.py +356 -0
  542. oci/usage_api/usageapi_client.py +1151 -210
  543. oci/vault/vaults_client.py +11 -11
  544. oci/vbs_inst/vbs_instance_client.py +10 -10
  545. oci/version.py +1 -1
  546. oci/visual_builder/vb_instance_client.py +13 -13
  547. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  548. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  549. oci/waa/waa_client.py +13 -13
  550. oci/waa/work_request_client.py +4 -4
  551. oci/waas/redirect_client.py +6 -6
  552. oci/waas/waas_client.py +66 -66
  553. oci/waf/waf_client.py +24 -24
  554. oci/work_requests/work_request_client.py +4 -4
  555. {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/METADATA +1 -1
  556. {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/RECORD +560 -536
  557. {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/LICENSE.txt +0 -0
  558. {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  559. {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/WHEEL +0 -0
  560. {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,98 @@ class DataCatalogClientCompositeOperations(object):
25
25
  """
26
26
  self.client = client
27
27
 
28
+ def add_catalog_lock_and_wait_for_state(self, catalog_id, add_resource_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
29
+ """
30
+ Calls :py:func:`~oci.data_catalog.DataCatalogClient.add_catalog_lock` and waits for the :py:class:`~oci.data_catalog.models.Catalog` acted upon
31
+ to enter the given state(s).
32
+
33
+ :param str catalog_id: (required)
34
+ Unique catalog identifier.
35
+
36
+ :param oci.data_catalog.models.AddResourceLockDetails add_resource_lock_details: (required)
37
+ AddResourceLockDetails body parameter
38
+
39
+ :param list[str] wait_for_states:
40
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_catalog.models.Catalog.lifecycle_state`
41
+
42
+ :param dict operation_kwargs:
43
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_catalog.DataCatalogClient.add_catalog_lock`
44
+
45
+ :param dict waiter_kwargs:
46
+ 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``
47
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
48
+ """
49
+ operation_result = self.client.add_catalog_lock(catalog_id, add_resource_lock_details, **operation_kwargs)
50
+ if not wait_for_states:
51
+ return operation_result
52
+
53
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
54
+ catalog_id = operation_result.data.id
55
+
56
+ try:
57
+ waiter_result = oci.wait_until(
58
+ self.client,
59
+ self.client.get_catalog(catalog_id), # noqa: F821
60
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
61
+ **waiter_kwargs
62
+ )
63
+ result_to_return = waiter_result
64
+
65
+ return result_to_return
66
+ except (NameError, TypeError) as e:
67
+ if not e.args:
68
+ e.args = ('',)
69
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
70
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
71
+ except Exception as e:
72
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
73
+
74
+ def add_catalog_private_endpoint_lock_and_wait_for_state(self, catalog_private_endpoint_id, add_resource_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
75
+ """
76
+ Calls :py:func:`~oci.data_catalog.DataCatalogClient.add_catalog_private_endpoint_lock` and waits for the :py:class:`~oci.data_catalog.models.CatalogPrivateEndpoint` acted upon
77
+ to enter the given state(s).
78
+
79
+ :param str catalog_private_endpoint_id: (required)
80
+ Unique private reverse connection identifier.
81
+
82
+ :param oci.data_catalog.models.AddResourceLockDetails add_resource_lock_details: (required)
83
+ AddResourceLockDetails body parameter
84
+
85
+ :param list[str] wait_for_states:
86
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_catalog.models.CatalogPrivateEndpoint.lifecycle_state`
87
+
88
+ :param dict operation_kwargs:
89
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_catalog.DataCatalogClient.add_catalog_private_endpoint_lock`
90
+
91
+ :param dict waiter_kwargs:
92
+ 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``
93
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
94
+ """
95
+ operation_result = self.client.add_catalog_private_endpoint_lock(catalog_private_endpoint_id, add_resource_lock_details, **operation_kwargs)
96
+ if not wait_for_states:
97
+ return operation_result
98
+
99
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
100
+ catalog_private_endpoint_id = operation_result.data.id
101
+
102
+ try:
103
+ waiter_result = oci.wait_until(
104
+ self.client,
105
+ self.client.get_catalog_private_endpoint(catalog_private_endpoint_id), # noqa: F821
106
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
107
+ **waiter_kwargs
108
+ )
109
+ result_to_return = waiter_result
110
+
111
+ return result_to_return
112
+ except (NameError, TypeError) as e:
113
+ if not e.args:
114
+ e.args = ('',)
115
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
116
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
117
+ except Exception as e:
118
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
119
+
28
120
  def add_data_selector_patterns_and_wait_for_state(self, catalog_id, data_asset_key, data_selector_pattern_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
29
121
  """
30
122
  Calls :py:func:`~oci.data_catalog.DataCatalogClient.add_data_selector_patterns` and waits for the :py:class:`~oci.data_catalog.models.DataAsset` acted upon
@@ -74,6 +166,52 @@ class DataCatalogClientCompositeOperations(object):
74
166
  except Exception as e:
75
167
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
76
168
 
169
+ def add_metastore_lock_and_wait_for_state(self, metastore_id, add_resource_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
170
+ """
171
+ Calls :py:func:`~oci.data_catalog.DataCatalogClient.add_metastore_lock` and waits for the :py:class:`~oci.data_catalog.models.Metastore` acted upon
172
+ to enter the given state(s).
173
+
174
+ :param str metastore_id: (required)
175
+ The metastore's OCID.
176
+
177
+ :param oci.data_catalog.models.AddResourceLockDetails add_resource_lock_details: (required)
178
+ AddResourceLockDetails body parameter
179
+
180
+ :param list[str] wait_for_states:
181
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_catalog.models.Metastore.lifecycle_state`
182
+
183
+ :param dict operation_kwargs:
184
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_catalog.DataCatalogClient.add_metastore_lock`
185
+
186
+ :param dict waiter_kwargs:
187
+ 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``
188
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
189
+ """
190
+ operation_result = self.client.add_metastore_lock(metastore_id, add_resource_lock_details, **operation_kwargs)
191
+ if not wait_for_states:
192
+ return operation_result
193
+
194
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
195
+ metastore_id = operation_result.data.id
196
+
197
+ try:
198
+ waiter_result = oci.wait_until(
199
+ self.client,
200
+ self.client.get_metastore(metastore_id), # noqa: F821
201
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
202
+ **waiter_kwargs
203
+ )
204
+ result_to_return = waiter_result
205
+
206
+ return result_to_return
207
+ except (NameError, TypeError) as e:
208
+ if not e.args:
209
+ e.args = ('',)
210
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
211
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
212
+ except Exception as e:
213
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
214
+
77
215
  def associate_custom_property_and_wait_for_state(self, catalog_id, type_key, associate_custom_property_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
78
216
  """
79
217
  Calls :py:func:`~oci.data_catalog.DataCatalogClient.associate_custom_property` and waits for the :py:class:`~oci.data_catalog.models.Type` acted upon
@@ -1511,6 +1649,98 @@ class DataCatalogClientCompositeOperations(object):
1511
1649
  except Exception as e:
1512
1650
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1513
1651
 
1652
+ def remove_catalog_lock_and_wait_for_state(self, catalog_id, remove_resource_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1653
+ """
1654
+ Calls :py:func:`~oci.data_catalog.DataCatalogClient.remove_catalog_lock` and waits for the :py:class:`~oci.data_catalog.models.Catalog` acted upon
1655
+ to enter the given state(s).
1656
+
1657
+ :param str catalog_id: (required)
1658
+ Unique catalog identifier.
1659
+
1660
+ :param oci.data_catalog.models.RemoveResourceLockDetails remove_resource_lock_details: (required)
1661
+ RemoveResourceLockDetails body parameter
1662
+
1663
+ :param list[str] wait_for_states:
1664
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_catalog.models.Catalog.lifecycle_state`
1665
+
1666
+ :param dict operation_kwargs:
1667
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_catalog.DataCatalogClient.remove_catalog_lock`
1668
+
1669
+ :param dict waiter_kwargs:
1670
+ 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``
1671
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1672
+ """
1673
+ operation_result = self.client.remove_catalog_lock(catalog_id, remove_resource_lock_details, **operation_kwargs)
1674
+ if not wait_for_states:
1675
+ return operation_result
1676
+
1677
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1678
+ catalog_id = operation_result.data.id
1679
+
1680
+ try:
1681
+ waiter_result = oci.wait_until(
1682
+ self.client,
1683
+ self.client.get_catalog(catalog_id), # noqa: F821
1684
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
1685
+ **waiter_kwargs
1686
+ )
1687
+ result_to_return = waiter_result
1688
+
1689
+ return result_to_return
1690
+ except (NameError, TypeError) as e:
1691
+ if not e.args:
1692
+ e.args = ('',)
1693
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
1694
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1695
+ except Exception as e:
1696
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1697
+
1698
+ def remove_catalog_private_endpoint_lock_and_wait_for_state(self, catalog_private_endpoint_id, remove_resource_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1699
+ """
1700
+ Calls :py:func:`~oci.data_catalog.DataCatalogClient.remove_catalog_private_endpoint_lock` and waits for the :py:class:`~oci.data_catalog.models.CatalogPrivateEndpoint` acted upon
1701
+ to enter the given state(s).
1702
+
1703
+ :param str catalog_private_endpoint_id: (required)
1704
+ Unique private reverse connection identifier.
1705
+
1706
+ :param oci.data_catalog.models.RemoveResourceLockDetails remove_resource_lock_details: (required)
1707
+ RemoveResourceLockDetails body parameter
1708
+
1709
+ :param list[str] wait_for_states:
1710
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_catalog.models.CatalogPrivateEndpoint.lifecycle_state`
1711
+
1712
+ :param dict operation_kwargs:
1713
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_catalog.DataCatalogClient.remove_catalog_private_endpoint_lock`
1714
+
1715
+ :param dict waiter_kwargs:
1716
+ 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``
1717
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1718
+ """
1719
+ operation_result = self.client.remove_catalog_private_endpoint_lock(catalog_private_endpoint_id, remove_resource_lock_details, **operation_kwargs)
1720
+ if not wait_for_states:
1721
+ return operation_result
1722
+
1723
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1724
+ catalog_private_endpoint_id = operation_result.data.id
1725
+
1726
+ try:
1727
+ waiter_result = oci.wait_until(
1728
+ self.client,
1729
+ self.client.get_catalog_private_endpoint(catalog_private_endpoint_id), # noqa: F821
1730
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
1731
+ **waiter_kwargs
1732
+ )
1733
+ result_to_return = waiter_result
1734
+
1735
+ return result_to_return
1736
+ except (NameError, TypeError) as e:
1737
+ if not e.args:
1738
+ e.args = ('',)
1739
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
1740
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1741
+ except Exception as e:
1742
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1743
+
1514
1744
  def remove_data_selector_patterns_and_wait_for_state(self, catalog_id, data_asset_key, data_selector_pattern_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1515
1745
  """
1516
1746
  Calls :py:func:`~oci.data_catalog.DataCatalogClient.remove_data_selector_patterns` and waits for the :py:class:`~oci.data_catalog.models.DataAsset` acted upon
@@ -1560,6 +1790,52 @@ class DataCatalogClientCompositeOperations(object):
1560
1790
  except Exception as e:
1561
1791
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1562
1792
 
1793
+ def remove_metastore_lock_and_wait_for_state(self, metastore_id, remove_resource_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1794
+ """
1795
+ Calls :py:func:`~oci.data_catalog.DataCatalogClient.remove_metastore_lock` and waits for the :py:class:`~oci.data_catalog.models.Metastore` acted upon
1796
+ to enter the given state(s).
1797
+
1798
+ :param str metastore_id: (required)
1799
+ The metastore's OCID.
1800
+
1801
+ :param oci.data_catalog.models.RemoveResourceLockDetails remove_resource_lock_details: (required)
1802
+ RemoveResourceLockDetails body parameter
1803
+
1804
+ :param list[str] wait_for_states:
1805
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_catalog.models.Metastore.lifecycle_state`
1806
+
1807
+ :param dict operation_kwargs:
1808
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_catalog.DataCatalogClient.remove_metastore_lock`
1809
+
1810
+ :param dict waiter_kwargs:
1811
+ 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``
1812
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
1813
+ """
1814
+ operation_result = self.client.remove_metastore_lock(metastore_id, remove_resource_lock_details, **operation_kwargs)
1815
+ if not wait_for_states:
1816
+ return operation_result
1817
+
1818
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
1819
+ metastore_id = operation_result.data.id
1820
+
1821
+ try:
1822
+ waiter_result = oci.wait_until(
1823
+ self.client,
1824
+ self.client.get_metastore(metastore_id), # noqa: F821
1825
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
1826
+ **waiter_kwargs
1827
+ )
1828
+ result_to_return = waiter_result
1829
+
1830
+ return result_to_return
1831
+ except (NameError, TypeError) as e:
1832
+ if not e.args:
1833
+ e.args = ('',)
1834
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
1835
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1836
+ except Exception as e:
1837
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
1838
+
1563
1839
  def update_attribute_and_wait_for_state(self, catalog_id, data_asset_key, entity_key, attribute_key, update_attribute_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
1564
1840
  """
1565
1841
  Calls :py:func:`~oci.data_catalog.DataCatalogClient.update_attribute` and waits for the :py:class:`~oci.data_catalog.models.Attribute` acted upon
@@ -6,6 +6,7 @@
6
6
 
7
7
  from __future__ import absolute_import
8
8
 
9
+ from .add_resource_lock_details import AddResourceLockDetails
9
10
  from .asynchronous_export_glossary_details import AsynchronousExportGlossaryDetails
10
11
  from .asynchronous_export_glossary_result import AsynchronousExportGlossaryResult
11
12
  from .asynchronous_export_request_details import AsynchronousExportRequestDetails
@@ -134,6 +135,8 @@ from .process_recommendation_details import ProcessRecommendationDetails
134
135
  from .property_definition import PropertyDefinition
135
136
  from .recommendation_collection import RecommendationCollection
136
137
  from .recommendation_details import RecommendationDetails
138
+ from .remove_resource_lock_details import RemoveResourceLockDetails
139
+ from .resource_lock import ResourceLock
137
140
  from .rule_attribute import RuleAttribute
138
141
  from .rule_collection import RuleCollection
139
142
  from .rule_summary import RuleSummary
@@ -183,6 +186,7 @@ from .work_request_resource import WorkRequestResource
183
186
 
184
187
  # Maps type names to classes for data_catalog services.
185
188
  data_catalog_type_mapping = {
189
+ "AddResourceLockDetails": AddResourceLockDetails,
186
190
  "AsynchronousExportGlossaryDetails": AsynchronousExportGlossaryDetails,
187
191
  "AsynchronousExportGlossaryResult": AsynchronousExportGlossaryResult,
188
192
  "AsynchronousExportRequestDetails": AsynchronousExportRequestDetails,
@@ -311,6 +315,8 @@ data_catalog_type_mapping = {
311
315
  "PropertyDefinition": PropertyDefinition,
312
316
  "RecommendationCollection": RecommendationCollection,
313
317
  "RecommendationDetails": RecommendationDetails,
318
+ "RemoveResourceLockDetails": RemoveResourceLockDetails,
319
+ "ResourceLock": ResourceLock,
314
320
  "RuleAttribute": RuleAttribute,
315
321
  "RuleCollection": RuleCollection,
316
322
  "RuleSummary": RuleSummary,
@@ -0,0 +1,183 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190325
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class AddResourceLockDetails(object):
14
+ """
15
+ AddResourceLockDetails model.
16
+ """
17
+
18
+ #: A constant which can be used with the type property of a AddResourceLockDetails.
19
+ #: This constant has a value of "FULL"
20
+ TYPE_FULL = "FULL"
21
+
22
+ #: A constant which can be used with the type property of a AddResourceLockDetails.
23
+ #: This constant has a value of "DELETE"
24
+ TYPE_DELETE = "DELETE"
25
+
26
+ def __init__(self, **kwargs):
27
+ """
28
+ Initializes a new AddResourceLockDetails object with values from keyword arguments.
29
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
30
+
31
+ :param type:
32
+ The value to assign to the type property of this AddResourceLockDetails.
33
+ Allowed values for this property are: "FULL", "DELETE"
34
+ :type type: str
35
+
36
+ :param related_resource_id:
37
+ The value to assign to the related_resource_id property of this AddResourceLockDetails.
38
+ :type related_resource_id: str
39
+
40
+ :param message:
41
+ The value to assign to the message property of this AddResourceLockDetails.
42
+ :type message: str
43
+
44
+ :param time_created:
45
+ The value to assign to the time_created property of this AddResourceLockDetails.
46
+ :type time_created: datetime
47
+
48
+ """
49
+ self.swagger_types = {
50
+ 'type': 'str',
51
+ 'related_resource_id': 'str',
52
+ 'message': 'str',
53
+ 'time_created': 'datetime'
54
+ }
55
+
56
+ self.attribute_map = {
57
+ 'type': 'type',
58
+ 'related_resource_id': 'relatedResourceId',
59
+ 'message': 'message',
60
+ 'time_created': 'timeCreated'
61
+ }
62
+
63
+ self._type = None
64
+ self._related_resource_id = None
65
+ self._message = None
66
+ self._time_created = None
67
+
68
+ @property
69
+ def type(self):
70
+ """
71
+ **[Required]** Gets the type of this AddResourceLockDetails.
72
+ Type of the lock.
73
+
74
+ Allowed values for this property are: "FULL", "DELETE"
75
+
76
+
77
+ :return: The type of this AddResourceLockDetails.
78
+ :rtype: str
79
+ """
80
+ return self._type
81
+
82
+ @type.setter
83
+ def type(self, type):
84
+ """
85
+ Sets the type of this AddResourceLockDetails.
86
+ Type of the lock.
87
+
88
+
89
+ :param type: The type of this AddResourceLockDetails.
90
+ :type: str
91
+ """
92
+ allowed_values = ["FULL", "DELETE"]
93
+ if not value_allowed_none_or_none_sentinel(type, allowed_values):
94
+ raise ValueError(
95
+ f"Invalid value for `type`, must be None or one of {allowed_values}"
96
+ )
97
+ self._type = type
98
+
99
+ @property
100
+ def related_resource_id(self):
101
+ """
102
+ Gets the related_resource_id of this AddResourceLockDetails.
103
+ The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
104
+
105
+
106
+ :return: The related_resource_id of this AddResourceLockDetails.
107
+ :rtype: str
108
+ """
109
+ return self._related_resource_id
110
+
111
+ @related_resource_id.setter
112
+ def related_resource_id(self, related_resource_id):
113
+ """
114
+ Sets the related_resource_id of this AddResourceLockDetails.
115
+ The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
116
+
117
+
118
+ :param related_resource_id: The related_resource_id of this AddResourceLockDetails.
119
+ :type: str
120
+ """
121
+ self._related_resource_id = related_resource_id
122
+
123
+ @property
124
+ def message(self):
125
+ """
126
+ Gets the message of this AddResourceLockDetails.
127
+ A message added by the creator of the lock. This is typically used to give an
128
+ indication of why the resource is locked.
129
+
130
+
131
+ :return: The message of this AddResourceLockDetails.
132
+ :rtype: str
133
+ """
134
+ return self._message
135
+
136
+ @message.setter
137
+ def message(self, message):
138
+ """
139
+ Sets the message of this AddResourceLockDetails.
140
+ A message added by the creator of the lock. This is typically used to give an
141
+ indication of why the resource is locked.
142
+
143
+
144
+ :param message: The message of this AddResourceLockDetails.
145
+ :type: str
146
+ """
147
+ self._message = message
148
+
149
+ @property
150
+ def time_created(self):
151
+ """
152
+ Gets the time_created of this AddResourceLockDetails.
153
+ When the lock was created.
154
+
155
+
156
+ :return: The time_created of this AddResourceLockDetails.
157
+ :rtype: datetime
158
+ """
159
+ return self._time_created
160
+
161
+ @time_created.setter
162
+ def time_created(self, time_created):
163
+ """
164
+ Sets the time_created of this AddResourceLockDetails.
165
+ When the lock was created.
166
+
167
+
168
+ :param time_created: The time_created of this AddResourceLockDetails.
169
+ :type: datetime
170
+ """
171
+ self._time_created = time_created
172
+
173
+ def __repr__(self):
174
+ return formatted_flat_dict(self)
175
+
176
+ def __eq__(self, other):
177
+ if other is None:
178
+ return False
179
+
180
+ return self.__dict__ == other.__dict__
181
+
182
+ def __ne__(self, other):
183
+ return not self == other
@@ -98,6 +98,10 @@ class Catalog(object):
98
98
  The value to assign to the freeform_tags property of this Catalog.
99
99
  :type freeform_tags: dict(str, str)
100
100
 
101
+ :param system_tags:
102
+ The value to assign to the system_tags property of this Catalog.
103
+ :type system_tags: dict(str, dict(str, object))
104
+
101
105
  :param defined_tags:
102
106
  The value to assign to the defined_tags property of this Catalog.
103
107
  :type defined_tags: dict(str, dict(str, object))
@@ -106,6 +110,10 @@ class Catalog(object):
106
110
  The value to assign to the attached_catalog_private_endpoints property of this Catalog.
107
111
  :type attached_catalog_private_endpoints: list[str]
108
112
 
113
+ :param locks:
114
+ The value to assign to the locks property of this Catalog.
115
+ :type locks: list[oci.data_catalog.models.ResourceLock]
116
+
109
117
  """
110
118
  self.swagger_types = {
111
119
  'id': 'str',
@@ -119,8 +127,10 @@ class Catalog(object):
119
127
  'lifecycle_state': 'str',
120
128
  'lifecycle_details': 'str',
121
129
  'freeform_tags': 'dict(str, str)',
130
+ 'system_tags': 'dict(str, dict(str, object))',
122
131
  'defined_tags': 'dict(str, dict(str, object))',
123
- 'attached_catalog_private_endpoints': 'list[str]'
132
+ 'attached_catalog_private_endpoints': 'list[str]',
133
+ 'locks': 'list[ResourceLock]'
124
134
  }
125
135
 
126
136
  self.attribute_map = {
@@ -135,8 +145,10 @@ class Catalog(object):
135
145
  'lifecycle_state': 'lifecycleState',
136
146
  'lifecycle_details': 'lifecycleDetails',
137
147
  'freeform_tags': 'freeformTags',
148
+ 'system_tags': 'systemTags',
138
149
  'defined_tags': 'definedTags',
139
- 'attached_catalog_private_endpoints': 'attachedCatalogPrivateEndpoints'
150
+ 'attached_catalog_private_endpoints': 'attachedCatalogPrivateEndpoints',
151
+ 'locks': 'locks'
140
152
  }
141
153
 
142
154
  self._id = None
@@ -150,8 +162,10 @@ class Catalog(object):
150
162
  self._lifecycle_state = None
151
163
  self._lifecycle_details = None
152
164
  self._freeform_tags = None
165
+ self._system_tags = None
153
166
  self._defined_tags = None
154
167
  self._attached_catalog_private_endpoints = None
168
+ self._locks = None
155
169
 
156
170
  @property
157
171
  def id(self):
@@ -437,6 +451,42 @@ class Catalog(object):
437
451
  """
438
452
  self._freeform_tags = freeform_tags
439
453
 
454
+ @property
455
+ def system_tags(self):
456
+ """
457
+ Gets the system_tags of this Catalog.
458
+ System tags for this resource. Each key is predefined and scoped to a namespace.
459
+ For more information, see `Resource Tags`__.
460
+ System tags can be viewed by users, but can only be created by the system.
461
+
462
+ Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
463
+
464
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
465
+
466
+
467
+ :return: The system_tags of this Catalog.
468
+ :rtype: dict(str, dict(str, object))
469
+ """
470
+ return self._system_tags
471
+
472
+ @system_tags.setter
473
+ def system_tags(self, system_tags):
474
+ """
475
+ Sets the system_tags of this Catalog.
476
+ System tags for this resource. Each key is predefined and scoped to a namespace.
477
+ For more information, see `Resource Tags`__.
478
+ System tags can be viewed by users, but can only be created by the system.
479
+
480
+ Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
481
+
482
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
483
+
484
+
485
+ :param system_tags: The system_tags of this Catalog.
486
+ :type: dict(str, dict(str, object))
487
+ """
488
+ self._system_tags = system_tags
489
+
440
490
  @property
441
491
  def defined_tags(self):
442
492
  """
@@ -487,6 +537,30 @@ class Catalog(object):
487
537
  """
488
538
  self._attached_catalog_private_endpoints = attached_catalog_private_endpoints
489
539
 
540
+ @property
541
+ def locks(self):
542
+ """
543
+ Gets the locks of this Catalog.
544
+ Locks associated with this resource.
545
+
546
+
547
+ :return: The locks of this Catalog.
548
+ :rtype: list[oci.data_catalog.models.ResourceLock]
549
+ """
550
+ return self._locks
551
+
552
+ @locks.setter
553
+ def locks(self, locks):
554
+ """
555
+ Sets the locks of this Catalog.
556
+ Locks associated with this resource.
557
+
558
+
559
+ :param locks: The locks of this Catalog.
560
+ :type: list[oci.data_catalog.models.ResourceLock]
561
+ """
562
+ self._locks = locks
563
+
490
564
  def __repr__(self):
491
565
  return formatted_flat_dict(self)
492
566