oci 2.134.0__py3-none-any.whl → 2.135.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 (703) 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 +26 -26
  6. oci/ai_language/ai_service_language_client.py +44 -44
  7. oci/ai_speech/ai_service_speech_client.py +19 -19
  8. oci/ai_vision/ai_service_vision_client.py +25 -25
  9. oci/analytics/analytics_client.py +24 -24
  10. oci/analytics/models/analytics_instance.py +55 -0
  11. oci/analytics/models/create_analytics_instance_details.py +55 -0
  12. oci/analytics/models/update_analytics_instance_details.py +57 -2
  13. oci/announcements_service/announcement_client.py +5 -5
  14. oci/announcements_service/announcement_subscription_client.py +9 -9
  15. oci/announcements_service/announcements_preferences_client.py +4 -4
  16. oci/announcements_service/models/base_announcement.py +25 -25
  17. oci/announcements_service/models/base_create_announcements_preferences_details.py +5 -5
  18. oci/announcements_service/models/base_service.py +15 -15
  19. oci/announcements_service/service_client.py +1 -1
  20. oci/apigateway/api_gateway_client.py +21 -21
  21. oci/apigateway/deployment_client.py +6 -6
  22. oci/apigateway/gateway_client.py +6 -6
  23. oci/apigateway/models/body_validation_request_policy.py +5 -5
  24. oci/apigateway/models/header_validation_request_policy.py +5 -5
  25. oci/apigateway/models/validation_request_policy.py +5 -5
  26. oci/apigateway/subscribers_client.py +6 -6
  27. oci/apigateway/usage_plans_client.py +6 -6
  28. oci/apigateway/work_requests_client.py +5 -5
  29. oci/apm_config/config_client.py +9 -9
  30. oci/apm_control_plane/apm_domain_client.py +14 -14
  31. oci/apm_control_plane/models/base_domain_details.py +5 -5
  32. oci/apm_control_plane/models/base_key_details.py +5 -5
  33. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  34. oci/apm_traces/attributes_client.py +8 -8
  35. oci/apm_traces/query_client.py +2 -2
  36. oci/apm_traces/trace_client.py +4 -4
  37. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  38. oci/artifacts/artifacts_client.py +32 -32
  39. oci/audit/audit_client.py +3 -3
  40. oci/autoscaling/auto_scaling_client.py +11 -11
  41. oci/bastion/bastion_client.py +15 -15
  42. oci/bds/bds_client.py +72 -72
  43. oci/blockchain/blockchain_platform_client.py +27 -27
  44. oci/blockchain/models/availability_domain.py +5 -5
  45. oci/blockchain/models/peer_role.py +5 -5
  46. oci/budget/budget_client.py +10 -10
  47. oci/capacity_management/capacity_management_client.py +32 -32
  48. oci/certificates/certificates_client.py +5 -5
  49. oci/certificates_management/certificates_management_client.py +32 -32
  50. oci/cims/incident_client.py +8 -8
  51. oci/cims/user_client.py +1 -1
  52. oci/cloud_bridge/common_client.py +5 -5
  53. oci/cloud_bridge/discovery_client.py +14 -14
  54. oci/cloud_bridge/inventory_client.py +16 -16
  55. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  56. oci/cloud_guard/cloud_guard_client.py +155 -155
  57. oci/cloud_migrations/migration_client.py +43 -43
  58. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  59. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  60. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  61. oci/compute_instance_agent/plugin_client.py +2 -2
  62. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  63. oci/container_engine/container_engine_client.py +44 -44
  64. oci/container_instances/container_instance_client.py +18 -18
  65. oci/core/blockstorage_client.py +60 -60
  66. oci/core/compute_client.py +108 -102
  67. oci/core/compute_management_client.py +32 -32
  68. oci/core/models/add_network_security_group_security_rules_details.py +6 -2
  69. oci/core/models/compute_bare_metal_host.py +10 -10
  70. oci/core/models/compute_hpc_island.py +5 -5
  71. oci/core/models/compute_network_block.py +5 -5
  72. oci/core/models/create_service_gateway_details.py +2 -2
  73. oci/core/models/create_vcn_details.py +35 -0
  74. oci/core/models/create_vnic_details.py +35 -0
  75. oci/core/models/instance.py +82 -0
  76. oci/core/models/instance_configuration_create_vnic_details.py +35 -0
  77. oci/core/models/instance_configuration_launch_instance_details.py +35 -0
  78. oci/core/models/launch_instance_details.py +35 -0
  79. oci/core/models/service_gateway.py +4 -4
  80. oci/core/models/topology.py +5 -5
  81. oci/core/models/update_instance_details.py +35 -0
  82. oci/core/models/update_vcn_details.py +37 -2
  83. oci/core/models/update_vnic_details.py +35 -0
  84. oci/core/models/vcn.py +35 -0
  85. oci/core/models/vnic.py +35 -0
  86. oci/core/virtual_network_client.py +256 -253
  87. oci/dashboard_service/dashboard_client.py +6 -6
  88. oci/dashboard_service/dashboard_group_client.py +6 -6
  89. oci/data_catalog/data_catalog_client.py +149 -149
  90. oci/data_catalog/models/base_tag.py +5 -5
  91. oci/data_catalog/models/base_tag_summary.py +5 -5
  92. oci/data_catalog/models/object_lineage.py +5 -5
  93. oci/data_flow/data_flow_client.py +42 -42
  94. oci/data_integration/data_integration_client.py +163 -163
  95. oci/data_integration/models/abstract_call_attribute.py +5 -5
  96. oci/data_integration/models/abstract_data_operation_config.py +5 -5
  97. oci/data_integration/models/cancel_rest_call_config.py +5 -5
  98. oci/data_integration/models/composite_type.py +2 -1
  99. oci/data_integration/models/conditional_composite_field_map.py +2 -1
  100. oci/data_integration/models/connection_details.py +5 -5
  101. oci/data_integration/models/connection_from_adwc_details.py +2 -1
  102. oci/data_integration/models/connection_from_atp_details.py +2 -1
  103. oci/data_integration/models/connection_from_hdfs_details.py +2 -1
  104. oci/data_integration/models/connection_from_jdbc_details.py +2 -1
  105. oci/data_integration/models/connection_from_lake_details.py +2 -1
  106. oci/data_integration/models/connection_from_my_sql_details.py +2 -1
  107. oci/data_integration/models/connection_from_my_sql_heat_wave_details.py +2 -1
  108. oci/data_integration/models/connection_from_o_auth2_details.py +7 -6
  109. oci/data_integration/models/connection_from_object_storage_details.py +2 -1
  110. oci/data_integration/models/connection_from_oracle_ebs_details.py +2 -1
  111. oci/data_integration/models/connection_from_oracle_people_soft_details.py +2 -1
  112. oci/data_integration/models/connection_from_oracle_siebel_details.py +2 -1
  113. oci/data_integration/models/connection_summary_from_adwc.py +2 -1
  114. oci/data_integration/models/connection_summary_from_atp.py +2 -1
  115. oci/data_integration/models/connection_summary_from_hdfs.py +2 -1
  116. oci/data_integration/models/connection_summary_from_jdbc.py +2 -1
  117. oci/data_integration/models/connection_summary_from_lake.py +2 -1
  118. oci/data_integration/models/connection_summary_from_my_sql.py +2 -1
  119. oci/data_integration/models/connection_summary_from_my_sql_heat_wave.py +2 -1
  120. oci/data_integration/models/connection_summary_from_oracle_ebs.py +2 -1
  121. oci/data_integration/models/connection_summary_from_oracle_people_soft.py +2 -1
  122. oci/data_integration/models/connection_summary_from_oracle_siebel.py +2 -1
  123. oci/data_integration/models/connector_attribute.py +5 -5
  124. oci/data_integration/models/derived_type.py +2 -1
  125. oci/data_integration/models/dynamic_proxy_field.py +2 -1
  126. oci/data_integration/models/flow_port_link.py +5 -5
  127. oci/data_integration/models/key.py +5 -5
  128. oci/data_integration/models/materialized_composite_type.py +2 -1
  129. oci/data_integration/models/materialized_dynamic_field.py +2 -1
  130. oci/data_integration/models/output_link.py +2 -1
  131. oci/data_integration/models/poll_rest_call_config.py +5 -5
  132. oci/data_integration/models/rest_call_config.py +5 -5
  133. oci/data_integration/models/shape_field.py +2 -1
  134. oci/data_integration/models/task_run_lineage_details.py +5 -5
  135. oci/data_integration/models/typed_expression.py +2 -1
  136. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  137. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  138. oci/data_safe/data_safe_client.py +781 -287
  139. oci/data_safe/data_safe_client_composite_operations.py +164 -0
  140. oci/data_safe/models/__init__.py +12 -0
  141. oci/data_safe/models/bulk_create_sql_firewall_allowed_sqls_details.py +142 -0
  142. oci/data_safe/models/bulk_delete_sql_firewall_allowed_sqls_details.py +99 -0
  143. oci/data_safe/models/generate_report_details.py +7 -3
  144. oci/data_safe/models/list_selection_mode.py +84 -0
  145. oci/data_safe/models/patch_sql_firewall_allowed_sql_details.py +103 -0
  146. oci/data_safe/models/report.py +7 -3
  147. oci/data_safe/models/report_definition.py +7 -3
  148. oci/data_safe/models/report_summary.py +7 -3
  149. oci/data_safe/models/schedule_report_details.py +7 -3
  150. oci/data_safe/models/scim_query_selection_mode.py +98 -0
  151. oci/data_safe/models/selection_details.py +113 -0
  152. oci/data_safe/models/sql_firewall_allowed_sql.py +10 -10
  153. oci/data_safe/models/work_request.py +15 -3
  154. oci/data_safe/models/work_request_summary.py +15 -3
  155. oci/data_science/data_science_client.py +91 -91
  156. oci/data_science/models/custom_expression_query_scaling_configuration.py +2 -1
  157. oci/data_science/models/scaling_configuration.py +5 -5
  158. oci/database/database_client.py +652 -394
  159. oci/database/database_client_composite_operations.py +176 -0
  160. oci/database/models/__init__.py +6 -0
  161. oci/database/models/autonomous_database.py +70 -0
  162. oci/database/models/autonomous_database_summary.py +70 -0
  163. oci/database/models/cloud_autonomous_vm_cluster.py +39 -0
  164. oci/database/models/cloud_autonomous_vm_cluster_summary.py +39 -0
  165. oci/database/models/cloud_vm_cluster.py +39 -0
  166. oci/database/models/cloud_vm_cluster_summary.py +39 -0
  167. oci/database/models/create_autonomous_database_base.py +50 -3
  168. oci/database/models/create_autonomous_database_clone_details.py +8 -1
  169. oci/database/models/create_autonomous_database_details.py +8 -1
  170. oci/database/models/create_autonomous_database_from_backup_details.py +8 -1
  171. oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +8 -1
  172. oci/database/models/create_cloud_autonomous_vm_cluster_details.py +41 -2
  173. oci/database/models/create_cloud_vm_cluster_details.py +39 -0
  174. oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +8 -1
  175. oci/database/models/create_cross_region_disaster_recovery_details.py +8 -1
  176. oci/database/models/create_cross_tenancy_disaster_recovery_details.py +8 -1
  177. oci/database/models/create_data_guard_association_with_new_db_system_details.py +39 -0
  178. oci/database/models/create_exadb_vm_cluster_details.py +39 -0
  179. oci/database/models/create_refreshable_autonomous_database_clone_details.py +8 -1
  180. oci/database/models/db_system.py +39 -0
  181. oci/database/models/db_system_summary.py +39 -0
  182. oci/database/models/exadb_vm_cluster.py +39 -0
  183. oci/database/models/exadb_vm_cluster_summary.py +39 -0
  184. oci/database/models/external_database_base.py +15 -15
  185. oci/database/models/infrastructure_target_version_summary.py +5 -5
  186. oci/database/models/launch_db_system_base.py +39 -0
  187. oci/database/models/launch_db_system_details.py +7 -0
  188. oci/database/models/launch_db_system_from_backup_details.py +7 -0
  189. oci/database/models/launch_db_system_from_database_details.py +7 -0
  190. oci/database/models/launch_db_system_from_db_system_details.py +7 -0
  191. oci/database/models/oci_provider_set_key_version_details.py +82 -0
  192. oci/database/models/pluggable_database.py +62 -0
  193. oci/database/models/pluggable_database_summary.py +62 -0
  194. oci/database/models/set_key_version_details.py +101 -0
  195. oci/database/models/undelete_autonomous_database_details.py +447 -0
  196. oci/database/models/update_autonomous_database_details.py +39 -0
  197. oci/database/models/update_cloud_autonomous_vm_cluster_details.py +41 -2
  198. oci/database/models/update_cloud_vm_cluster_details.py +39 -0
  199. oci/database/models/update_db_system_details.py +39 -0
  200. oci/database/models/update_exadb_vm_cluster_details.py +39 -0
  201. oci/database_management/db_management_client.py +211 -211
  202. oci/database_management/diagnosability_client.py +4 -4
  203. oci/database_management/managed_my_sql_databases_client.py +7 -7
  204. oci/database_management/models/awr_query_result.py +5 -5
  205. oci/database_management/models/dbm_resource.py +10 -10
  206. oci/database_management/models/discovered_external_asm_instance.py +4 -2
  207. oci/database_management/models/discovered_external_pluggable_database.py +4 -2
  208. oci/database_management/models/entity_discovered.py +10 -10
  209. oci/database_management/models/external_exadata_infrastructure_discovery_summary.py +9 -7
  210. oci/database_management/models/external_exadata_storage_grid_summary.py +4 -2
  211. oci/database_management/models/external_serviced_database.py +10 -10
  212. oci/database_management/models/external_storage_grid_discovery_summary.py +4 -2
  213. oci/database_management/models/external_storage_server_discovery_summary.py +4 -2
  214. oci/database_management/perfhub_client.py +1 -1
  215. oci/database_management/sql_tuning_client.py +17 -17
  216. oci/database_migration/database_migration_client.py +42 -42
  217. oci/database_migration/models/migration_parameter_base.py +5 -5
  218. oci/database_tools/database_tools_client.py +23 -23
  219. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  220. oci/delegate_access_control/work_request_client.py +4 -4
  221. oci/demand_signal/occ_demand_signal_client.py +7 -7
  222. oci/desktops/desktop_service_client.py +21 -21
  223. oci/devops/devops_client.py +141 -141
  224. oci/devops/models/build_run_snapshot.py +5 -5
  225. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  226. oci/dns/dns_client.py +52 -52
  227. oci/dts/appliance_export_job_client.py +6 -6
  228. oci/dts/shipping_vendors_client.py +1 -1
  229. oci/dts/transfer_appliance_client.py +8 -8
  230. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  231. oci/dts/transfer_device_client.py +5 -5
  232. oci/dts/transfer_job_client.py +6 -6
  233. oci/dts/transfer_package_client.py +7 -7
  234. oci/em_warehouse/em_data_lake_client.py +13 -13
  235. oci/em_warehouse/em_warehouse_client.py +13 -13
  236. oci/email/email_client.py +31 -31
  237. oci/email_data_plane/email_dp_client.py +1 -1
  238. oci/events/events_client.py +6 -6
  239. oci/file_storage/file_storage_client.py +54 -54
  240. oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
  241. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  242. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  243. oci/fleet_apps_management/fleet_apps_management_operations_client.py +13 -13
  244. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
  245. oci/fleet_apps_management/models/fleet_target.py +10 -10
  246. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  247. oci/functions/functions_invoke_client.py +1 -1
  248. oci/functions/functions_management_client.py +16 -16
  249. oci/fusion_apps/data_masking_activity_client.py +3 -3
  250. oci/fusion_apps/fusion_applications_client.py +41 -41
  251. oci/fusion_apps/fusion_environment_client.py +15 -15
  252. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  253. oci/fusion_apps/models/allow_rule.py +1 -1
  254. oci/fusion_apps/models/create_refresh_activity_details.py +31 -0
  255. oci/fusion_apps/models/maintenance_policy.py +10 -10
  256. oci/fusion_apps/models/refresh_activity.py +31 -0
  257. oci/fusion_apps/models/refresh_activity_summary.py +31 -0
  258. oci/fusion_apps/refresh_activity_client.py +4 -4
  259. oci/fusion_apps/scheduled_activity_client.py +2 -2
  260. oci/fusion_apps/service_attachment_client.py +2 -2
  261. oci/generative_ai/generative_ai_client.py +22 -22
  262. oci/generative_ai_agent/__init__.py +14 -0
  263. oci/generative_ai_agent/generative_ai_agent_client.py +4245 -0
  264. oci/generative_ai_agent/generative_ai_agent_client_composite_operations.py +774 -0
  265. oci/generative_ai_agent/models/__init__.py +118 -0
  266. oci/generative_ai_agent/models/agent.py +536 -0
  267. oci/generative_ai_agent/models/agent_collection.py +74 -0
  268. oci/generative_ai_agent/models/agent_endpoint.py +648 -0
  269. oci/generative_ai_agent/models/agent_endpoint_collection.py +74 -0
  270. oci/generative_ai_agent/models/agent_endpoint_summary.py +612 -0
  271. oci/generative_ai_agent/models/agent_summary.py +500 -0
  272. oci/generative_ai_agent/models/basic_auth_secret.py +88 -0
  273. oci/generative_ai_agent/models/change_agent_compartment_details.py +78 -0
  274. oci/generative_ai_agent/models/change_agent_endpoint_compartment_details.py +78 -0
  275. oci/generative_ai_agent/models/change_knowledge_base_compartment_details.py +78 -0
  276. oci/generative_ai_agent/models/content_moderation_config.py +103 -0
  277. oci/generative_ai_agent/models/create_agent_details.py +288 -0
  278. oci/generative_ai_agent/models/create_agent_endpoint_details.py +400 -0
  279. oci/generative_ai_agent/models/create_data_ingestion_job_details.py +257 -0
  280. oci/generative_ai_agent/models/create_data_source_details.py +284 -0
  281. oci/generative_ai_agent/models/create_knowledge_base_details.py +249 -0
  282. oci/generative_ai_agent/models/data_ingestion_job.py +536 -0
  283. oci/generative_ai_agent/models/data_ingestion_job_collection.py +74 -0
  284. oci/generative_ai_agent/models/data_ingestion_job_statistics.py +136 -0
  285. oci/generative_ai_agent/models/data_ingestion_job_summary.py +469 -0
  286. oci/generative_ai_agent/models/data_source.py +536 -0
  287. oci/generative_ai_agent/models/data_source_collection.py +74 -0
  288. oci/generative_ai_agent/models/data_source_config.py +107 -0
  289. oci/generative_ai_agent/models/data_source_summary.py +469 -0
  290. oci/generative_ai_agent/models/database_connection.py +107 -0
  291. oci/generative_ai_agent/models/database_function.py +74 -0
  292. oci/generative_ai_agent/models/database_tool_connection.py +88 -0
  293. oci/generative_ai_agent/models/default_index_config.py +84 -0
  294. oci/generative_ai_agent/models/idcs_secret.py +181 -0
  295. oci/generative_ai_agent/models/index.py +101 -0
  296. oci/generative_ai_agent/models/index_config.py +127 -0
  297. oci/generative_ai_agent/models/index_schema.py +167 -0
  298. oci/generative_ai_agent/models/knowledge_base.py +501 -0
  299. oci/generative_ai_agent/models/knowledge_base_collection.py +74 -0
  300. oci/generative_ai_agent/models/knowledge_base_summary.py +434 -0
  301. oci/generative_ai_agent/models/object_storage_prefix.py +136 -0
  302. oci/generative_ai_agent/models/oci_database_config.py +111 -0
  303. oci/generative_ai_agent/models/oci_object_storage_data_source_config.py +84 -0
  304. oci/generative_ai_agent/models/oci_open_search_index_config.py +146 -0
  305. oci/generative_ai_agent/models/secret_detail.py +117 -0
  306. oci/generative_ai_agent/models/session_config.py +74 -0
  307. oci/generative_ai_agent/models/update_agent_details.py +253 -0
  308. oci/generative_ai_agent/models/update_agent_endpoint_details.py +303 -0
  309. oci/generative_ai_agent/models/update_data_source_details.py +214 -0
  310. oci/generative_ai_agent/models/update_knowledge_base_details.py +214 -0
  311. oci/generative_ai_agent/models/work_request.py +505 -0
  312. oci/generative_ai_agent/models/work_request_error.py +148 -0
  313. oci/generative_ai_agent/models/work_request_error_collection.py +74 -0
  314. oci/generative_ai_agent/models/work_request_log_entry.py +111 -0
  315. oci/generative_ai_agent/models/work_request_log_entry_collection.py +74 -0
  316. oci/generative_ai_agent/models/work_request_resource.py +240 -0
  317. oci/generative_ai_agent/models/work_request_summary.py +503 -0
  318. oci/generative_ai_agent/models/work_request_summary_collection.py +74 -0
  319. oci/generative_ai_agent_runtime/__init__.py +14 -0
  320. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +689 -0
  321. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client_composite_operations.py +26 -0
  322. oci/generative_ai_agent_runtime/models/__init__.py +44 -0
  323. oci/generative_ai_agent_runtime/models/chat_details.py +134 -0
  324. oci/generative_ai_agent_runtime/models/chat_result.py +99 -0
  325. oci/generative_ai_agent_runtime/models/citation.py +99 -0
  326. oci/generative_ai_agent_runtime/models/create_session_details.py +103 -0
  327. oci/generative_ai_agent_runtime/models/error_trace.py +89 -0
  328. oci/generative_ai_agent_runtime/models/generation_trace.py +89 -0
  329. oci/generative_ai_agent_runtime/models/message.py +146 -0
  330. oci/generative_ai_agent_runtime/models/message_content.py +103 -0
  331. oci/generative_ai_agent_runtime/models/oci_database_source_location.py +148 -0
  332. oci/generative_ai_agent_runtime/models/oci_object_storage_source_location.py +82 -0
  333. oci/generative_ai_agent_runtime/models/oci_open_search_source_location.py +144 -0
  334. oci/generative_ai_agent_runtime/models/retrieval_trace.py +120 -0
  335. oci/generative_ai_agent_runtime/models/session.py +227 -0
  336. oci/generative_ai_agent_runtime/models/source_location.py +117 -0
  337. oci/generative_ai_agent_runtime/models/trace.py +148 -0
  338. oci/generative_ai_agent_runtime/models/update_session_details.py +103 -0
  339. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  340. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  341. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  342. oci/golden_gate/golden_gate_client.py +68 -68
  343. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  344. oci/governance_rules_control_plane/work_request_client.py +5 -5
  345. oci/healthchecks/health_checks_client.py +17 -17
  346. oci/identity/identity_client.py +145 -145
  347. oci/identity_data_plane/dataplane_client.py +2 -2
  348. oci/identity_domains/identity_domains_client.py +307 -307
  349. oci/integration/integration_instance_client.py +374 -18
  350. oci/integration/integration_instance_client_composite_operations.py +120 -0
  351. oci/integration/models/__init__.py +6 -0
  352. oci/integration/models/add_oracle_managed_custom_endpoint_details.py +146 -0
  353. oci/integration/models/create_integration_instance_details.py +31 -0
  354. oci/integration/models/cross_region_integration_instance_details.py +185 -0
  355. oci/integration/models/custom_endpoint_details.py +121 -0
  356. oci/integration/models/disaster_recovery_details.py +150 -0
  357. oci/integration/models/integration_instance.py +123 -7
  358. oci/integration/models/integration_instance_summary.py +96 -7
  359. oci/integration/models/work_request.py +15 -3
  360. oci/integration/models/work_request_summary.py +15 -3
  361. oci/jms/java_management_service_client.py +75 -75
  362. oci/jms_java_downloads/java_download_client.py +25 -25
  363. oci/key_management/ekm_client.py +5 -5
  364. oci/key_management/kms_crypto_client.py +6 -6
  365. oci/key_management/kms_hsm_cluster_client.py +12 -12
  366. oci/key_management/kms_management_client.py +21 -21
  367. oci/key_management/kms_vault_client.py +14 -14
  368. oci/license_manager/license_manager_client.py +18 -18
  369. oci/limits/limits_client.py +4 -4
  370. oci/limits/quotas_client.py +7 -7
  371. oci/load_balancer/load_balancer_client.py +61 -61
  372. oci/load_balancer/models/create_load_balancer_details.py +35 -0
  373. oci/load_balancer/models/load_balancer.py +35 -0
  374. oci/load_balancer/models/update_load_balancer_details.py +37 -2
  375. oci/lockbox/lockbox_client.py +24 -24
  376. oci/log_analytics/log_analytics_client.py +193 -193
  377. oci/log_analytics/models/chart_data_column.py +6 -3
  378. oci/log_analytics/models/function_field.py +4 -2
  379. oci/log_analytics/models/time_cluster_data_column.py +6 -3
  380. oci/log_analytics/models/time_stats_data_column.py +6 -3
  381. oci/logging/logging_management_client.py +30 -30
  382. oci/logging/models/unified_agent_monitoring_filter.py +5 -5
  383. oci/logging/models/unified_agent_tail_log_source.py +2 -1
  384. oci/logging/models/unified_agent_url_filter.py +2 -1
  385. oci/loggingingestion/logging_client.py +1 -1
  386. oci/loggingsearch/log_search_client.py +1 -1
  387. oci/management_agent/management_agent_client.py +28 -28
  388. oci/management_dashboard/dashx_apis_client.py +14 -14
  389. oci/marketplace/account_client.py +2 -2
  390. oci/marketplace/marketplace_client.py +30 -30
  391. oci/marketplace_private_offer/attachment_client.py +5 -5
  392. oci/marketplace_private_offer/offer_client.py +6 -6
  393. oci/marketplace_publisher/attachment_client.py +5 -5
  394. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  395. oci/marketplace_publisher/offer_client.py +6 -6
  396. oci/media_services/media_services_client.py +60 -60
  397. oci/media_services/media_stream_client.py +2 -2
  398. oci/monitoring/models/__init__.py +6 -0
  399. oci/monitoring/models/alarm_status_summary.py +2 -0
  400. oci/monitoring/models/alarm_suppression.py +94 -2
  401. oci/monitoring/models/alarm_suppression_alarm_target.py +1 -1
  402. oci/monitoring/models/alarm_suppression_collection.py +3 -3
  403. oci/monitoring/models/alarm_suppression_compartment_target.py +127 -0
  404. oci/monitoring/models/alarm_suppression_history_item.py +43 -2
  405. oci/monitoring/models/alarm_suppression_summary.py +78 -2
  406. oci/monitoring/models/alarm_suppression_target.py +11 -3
  407. oci/monitoring/models/create_alarm_suppression_details.py +86 -6
  408. oci/monitoring/models/recurrence.py +127 -0
  409. oci/monitoring/models/suppression.py +1 -0
  410. oci/monitoring/models/suppression_condition.py +101 -0
  411. oci/monitoring/monitoring_client.py +115 -33
  412. oci/mysql/channels_client.py +7 -7
  413. oci/mysql/db_backups_client.py +7 -7
  414. oci/mysql/db_system_client.py +17 -17
  415. oci/mysql/mysqlaas_client.py +7 -7
  416. oci/mysql/replicas_client.py +5 -5
  417. oci/mysql/work_requests_client.py +4 -4
  418. oci/network_firewall/network_firewall_client.py +86 -86
  419. oci/network_load_balancer/models/create_network_load_balancer_details.py +43 -2
  420. oci/network_load_balancer/models/network_load_balancer.py +41 -0
  421. oci/network_load_balancer/models/network_load_balancer_summary.py +41 -0
  422. oci/network_load_balancer/models/update_network_load_balancer_details.py +43 -2
  423. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  424. oci/nosql/nosql_client.py +24 -24
  425. oci/object_storage/object_storage_client.py +55 -55
  426. oci/oce/oce_instance_client.py +10 -10
  427. oci/oci_control_center/occ_metrics_client.py +3 -3
  428. oci/ocvp/cluster_client.py +5 -5
  429. oci/ocvp/esxi_host_client.py +8 -8
  430. oci/ocvp/sddc_client.py +14 -14
  431. oci/ocvp/work_request_client.py +4 -4
  432. oci/oda/management_client.py +59 -59
  433. oci/oda/models/bot.py +15 -15
  434. oci/oda/models/parameter.py +10 -10
  435. oci/oda/oda_client.py +17 -17
  436. oci/oda/odapackage_client.py +7 -7
  437. oci/onesubscription/billing_schedule_client.py +1 -1
  438. oci/onesubscription/commitment_client.py +2 -2
  439. oci/onesubscription/computed_usage_client.py +3 -3
  440. oci/onesubscription/invoice_summary_client.py +2 -2
  441. oci/onesubscription/organization_subscription_client.py +1 -1
  442. oci/onesubscription/ratecard_client.py +1 -1
  443. oci/onesubscription/subscribed_service_client.py +2 -2
  444. oci/onesubscription/subscription_client.py +1 -1
  445. oci/ons/notification_control_plane_client.py +6 -6
  446. oci/ons/notification_data_plane_client.py +10 -10
  447. oci/opa/opa_instance_client.py +13 -13
  448. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  449. oci/opensearch/opensearch_cluster_client.py +14 -14
  450. oci/operator_access_control/access_requests_client.py +10 -10
  451. oci/operator_access_control/operator_actions_client.py +2 -2
  452. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  453. oci/operator_access_control/operator_control_client.py +6 -6
  454. oci/opsi/models/__init__.py +50 -0
  455. oci/opsi/models/add_em_managed_external_exadata_insight_members_details.py +1 -1
  456. oci/opsi/models/add_exadata_insight_members_details.py +11 -3
  457. oci/opsi/models/add_macs_managed_cloud_exadata_insight_members_details.py +78 -0
  458. oci/opsi/models/add_pe_comanaged_exadata_insight_members_details.py +1 -1
  459. oci/opsi/models/autonomous_database_configuration_summary.py +1 -1
  460. oci/opsi/models/autonomous_database_insight.py +1 -1
  461. oci/opsi/models/autonomous_database_insight_summary.py +1 -1
  462. oci/opsi/models/awr_query_result.py +5 -5
  463. oci/opsi/models/change_macs_managed_cloud_database_insight_connection_details.py +130 -0
  464. oci/opsi/models/create_database_insight_details.py +11 -3
  465. oci/opsi/models/create_em_managed_external_database_insight_details.py +1 -1
  466. oci/opsi/models/create_em_managed_external_exadata_insight_details.py +1 -1
  467. oci/opsi/models/create_em_managed_external_host_insight_details.py +1 -1
  468. oci/opsi/models/create_exadata_insight_details.py +11 -3
  469. oci/opsi/models/create_host_insight_details.py +7 -3
  470. oci/opsi/models/create_macs_managed_cloud_database_insight_details.py +315 -0
  471. oci/opsi/models/create_macs_managed_cloud_exadata_cluster_details.py +171 -0
  472. oci/opsi/models/create_macs_managed_cloud_exadata_insight_details.py +134 -0
  473. oci/opsi/models/create_macs_managed_cloud_exadata_vmcluster_details.py +96 -0
  474. oci/opsi/models/create_macs_managed_cloud_host_insight_details.py +1 -1
  475. oci/opsi/models/create_macs_managed_external_host_insight_details.py +1 -1
  476. oci/opsi/models/create_mds_my_sql_database_insight_details.py +1 -1
  477. oci/opsi/models/create_pe_comanaged_database_insight_details.py +1 -1
  478. oci/opsi/models/create_pe_comanaged_exadata_insight_details.py +1 -1
  479. oci/opsi/models/database_configuration_metric_group.py +35 -3
  480. oci/opsi/models/database_configuration_summary.py +11 -3
  481. oci/opsi/models/database_insight.py +11 -3
  482. oci/opsi/models/database_insight_summary.py +11 -3
  483. oci/opsi/models/db_connection_status.py +58 -0
  484. oci/opsi/models/db_external_instance.py +1 -1
  485. oci/opsi/models/db_external_properties.py +1 -1
  486. oci/opsi/models/db_parameters.py +1 -1
  487. oci/opsi/models/dbos_config_instance.py +1 -1
  488. oci/opsi/models/em_managed_external_database_configuration_summary.py +127 -3
  489. oci/opsi/models/em_managed_external_database_insight.py +1 -1
  490. oci/opsi/models/em_managed_external_database_insight_summary.py +1 -1
  491. oci/opsi/models/em_managed_external_exadata_insight.py +2 -2
  492. oci/opsi/models/em_managed_external_exadata_insight_summary.py +2 -2
  493. oci/opsi/models/em_managed_external_host_configuration_summary.py +127 -3
  494. oci/opsi/models/em_managed_external_host_insight.py +1 -1
  495. oci/opsi/models/em_managed_external_host_insight_summary.py +1 -1
  496. oci/opsi/models/enable_database_insight_details.py +11 -3
  497. oci/opsi/models/enable_em_managed_external_database_insight_details.py +1 -1
  498. oci/opsi/models/enable_em_managed_external_exadata_insight_details.py +1 -1
  499. oci/opsi/models/enable_em_managed_external_host_insight_details.py +1 -1
  500. oci/opsi/models/enable_exadata_insight_details.py +11 -3
  501. oci/opsi/models/enable_host_insight_details.py +7 -3
  502. oci/opsi/models/enable_macs_managed_cloud_database_insight_details.py +274 -0
  503. oci/opsi/models/enable_macs_managed_cloud_exadata_insight_details.py +51 -0
  504. oci/opsi/models/enable_macs_managed_cloud_host_insight_details.py +1 -1
  505. oci/opsi/models/enable_macs_managed_external_host_insight_details.py +1 -1
  506. oci/opsi/models/enable_mds_my_sql_database_insight_details.py +1 -1
  507. oci/opsi/models/enable_pe_comanaged_database_insight_details.py +1 -1
  508. oci/opsi/models/enable_pe_comanaged_exadata_insight_details.py +1 -1
  509. oci/opsi/models/exadata_asm_entity.py +151 -0
  510. oci/opsi/models/exadata_cell_config.py +213 -0
  511. oci/opsi/models/exadata_configuration_summary.py +30 -6
  512. oci/opsi/models/exadata_database_machine_configuration_summary.py +128 -4
  513. oci/opsi/models/exadata_exacc_configuration_summary.py +186 -0
  514. oci/opsi/models/exadata_exacs_configuration_summary.py +2 -2
  515. oci/opsi/models/exadata_insight.py +30 -6
  516. oci/opsi/models/exadata_insight_summary.py +30 -6
  517. oci/opsi/models/exadata_member_collection.py +19 -3
  518. oci/opsi/models/host_allocation.py +120 -0
  519. oci/opsi/models/host_configuration_summary.py +11 -3
  520. oci/opsi/models/host_containers.py +2 -2
  521. oci/opsi/models/host_insight.py +11 -3
  522. oci/opsi/models/host_insight_summary.py +11 -3
  523. oci/opsi/models/macs_managed_cloud_database_configuration_summary.py +253 -0
  524. oci/opsi/models/macs_managed_cloud_database_host_insight.py +394 -0
  525. oci/opsi/models/macs_managed_cloud_database_host_insight_summary.py +339 -0
  526. oci/opsi/models/macs_managed_cloud_database_insight.py +469 -0
  527. oci/opsi/models/macs_managed_cloud_database_insight_summary.py +315 -0
  528. oci/opsi/models/macs_managed_cloud_db_host_configuration_summary.py +282 -0
  529. oci/opsi/models/macs_managed_cloud_exadata_insight.py +278 -0
  530. oci/opsi/models/macs_managed_cloud_exadata_insight_summary.py +271 -0
  531. oci/opsi/models/macs_managed_cloud_host_configuration_summary.py +1 -1
  532. oci/opsi/models/macs_managed_cloud_host_insight.py +1 -1
  533. oci/opsi/models/macs_managed_cloud_host_insight_summary.py +1 -1
  534. oci/opsi/models/macs_managed_external_database_configuration_summary.py +1 -1
  535. oci/opsi/models/macs_managed_external_database_insight.py +1 -1
  536. oci/opsi/models/macs_managed_external_database_insight_summary.py +1 -1
  537. oci/opsi/models/macs_managed_external_host_configuration_summary.py +1 -1
  538. oci/opsi/models/macs_managed_external_host_insight.py +1 -1
  539. oci/opsi/models/macs_managed_external_host_insight_summary.py +1 -1
  540. oci/opsi/models/mds_my_sql_database_insight.py +1 -1
  541. oci/opsi/models/mds_my_sql_database_insight_summary.py +1 -1
  542. oci/opsi/models/mds_mysql_database_configuration_summary.py +1 -1
  543. oci/opsi/models/pe_comanaged_database_insight.py +1 -1
  544. oci/opsi/models/pe_comanaged_database_insight_summary.py +1 -1
  545. oci/opsi/models/pe_comanaged_exadata_insight.py +9 -5
  546. oci/opsi/models/pe_comanaged_exadata_insight_summary.py +9 -5
  547. oci/opsi/models/pe_comanaged_host_configuration_summary.py +1 -1
  548. oci/opsi/models/pe_comanaged_host_insight.py +1 -1
  549. oci/opsi/models/pe_comanaged_host_insight_summary.py +1 -1
  550. oci/opsi/models/pe_comanaged_managed_external_database_configuration_summary.py +1 -1
  551. oci/opsi/models/test_macs_managed_cloud_database_insight_connection_details.py +130 -0
  552. oci/opsi/models/update_autonomous_database_insight_details.py +1 -1
  553. oci/opsi/models/update_database_insight_details.py +11 -3
  554. oci/opsi/models/update_em_managed_external_database_insight_details.py +1 -1
  555. oci/opsi/models/update_em_managed_external_exadata_insight_details.py +1 -1
  556. oci/opsi/models/update_em_managed_external_host_insight_details.py +1 -1
  557. oci/opsi/models/update_exadata_insight_details.py +11 -3
  558. oci/opsi/models/update_host_insight_details.py +11 -3
  559. oci/opsi/models/update_macs_managed_cloud_database_host_insight_details.py +65 -0
  560. oci/opsi/models/update_macs_managed_cloud_database_insight_details.py +65 -0
  561. oci/opsi/models/update_macs_managed_cloud_exadata_insight_details.py +65 -0
  562. oci/opsi/models/update_macs_managed_cloud_host_insight_details.py +1 -1
  563. oci/opsi/models/update_macs_managed_external_database_insight_details.py +1 -1
  564. oci/opsi/models/update_macs_managed_external_host_insight_details.py +1 -1
  565. oci/opsi/models/update_mds_my_sql_database_insight.py +1 -1
  566. oci/opsi/models/update_pe_comanaged_database_insight_details.py +1 -1
  567. oci/opsi/models/update_pe_comanaged_exadata_insight_details.py +1 -1
  568. oci/opsi/models/update_pe_comanaged_host_insight_details.py +1 -1
  569. oci/opsi/models/work_request.py +11 -3
  570. oci/opsi/operations_insights_client.py +482 -214
  571. oci/opsi/operations_insights_client_composite_operations.py +81 -0
  572. oci/optimizer/optimizer_client.py +26 -26
  573. oci/os_management/event_client.py +8 -8
  574. oci/os_management/os_management_client.py +69 -69
  575. oci/os_management_hub/event_client.py +8 -8
  576. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  577. oci/os_management_hub/managed_instance_client.py +31 -31
  578. oci/os_management_hub/managed_instance_group_client.py +25 -25
  579. oci/os_management_hub/management_station_client.py +10 -10
  580. oci/os_management_hub/models/event_content.py +5 -5
  581. oci/os_management_hub/models/exploit_attempt_event_content.py +2 -1
  582. oci/os_management_hub/models/package_summary.py +10 -10
  583. oci/os_management_hub/onboarding_client.py +6 -6
  584. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  585. oci/os_management_hub/scheduled_job_client.py +7 -7
  586. oci/os_management_hub/software_source_client.py +27 -27
  587. oci/os_management_hub/work_request_client.py +4 -4
  588. oci/osp_gateway/address_rule_service_client.py +1 -1
  589. oci/osp_gateway/address_service_client.py +2 -2
  590. oci/osp_gateway/invoice_service_client.py +5 -5
  591. oci/osp_gateway/subscription_service_client.py +5 -5
  592. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  593. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  594. oci/osub_subscription/commitment_client.py +2 -2
  595. oci/osub_subscription/ratecard_client.py +1 -1
  596. oci/osub_subscription/subscription_client.py +1 -1
  597. oci/osub_usage/computed_usage_client.py +3 -3
  598. oci/psql/postgresql_client.py +33 -33
  599. oci/queue/queue_admin_client.py +11 -11
  600. oci/queue/queue_client.py +8 -8
  601. oci/recovery/database_recovery_client.py +26 -26
  602. oci/redis/redis_cluster_client.py +12 -12
  603. oci/regions_definitions.py +8 -0
  604. oci/resource_manager/resource_manager_client.py +52 -52
  605. oci/resource_scheduler/schedule_client.py +13 -13
  606. oci/resource_search/resource_search_client.py +3 -3
  607. oci/rover/rover_bundle_client.py +8 -8
  608. oci/rover/rover_cluster_client.py +8 -8
  609. oci/rover/rover_entitlement_client.py +6 -6
  610. oci/rover/rover_node_client.py +15 -15
  611. oci/rover/shape_client.py +1 -1
  612. oci/rover/work_requests_client.py +5 -5
  613. oci/sch/connector_plugins_client.py +2 -2
  614. oci/sch/service_connector_client.py +12 -12
  615. oci/secrets/secrets_client.py +3 -3
  616. oci/security_attribute/__init__.py +14 -0
  617. oci/security_attribute/models/__init__.py +54 -0
  618. oci/security_attribute/models/base_security_attribute_validator.py +122 -0
  619. oci/security_attribute/models/bulk_delete_security_attributes_details.py +72 -0
  620. oci/security_attribute/models/bulk_edit_resource.py +134 -0
  621. oci/security_attribute/models/bulk_edit_security_attribute_details.py +134 -0
  622. oci/security_attribute/models/bulk_edit_security_attribute_operation_details.py +147 -0
  623. oci/security_attribute/models/change_security_attribute_namespace_compartment_details.py +72 -0
  624. oci/security_attribute/models/create_security_attribute_details.py +132 -0
  625. oci/security_attribute/models/create_security_attribute_namespace_details.py +216 -0
  626. oci/security_attribute/models/default_security_attribute_validator.py +53 -0
  627. oci/security_attribute/models/enum_security_attribute_validator.py +85 -0
  628. oci/security_attribute/models/security_attribute.py +421 -0
  629. oci/security_attribute/models/security_attribute_namespace.py +446 -0
  630. oci/security_attribute/models/security_attribute_namespace_summary.py +410 -0
  631. oci/security_attribute/models/security_attribute_summary.py +361 -0
  632. oci/security_attribute/models/security_attribute_work_request.py +387 -0
  633. oci/security_attribute/models/security_attribute_work_request_error_summary.py +136 -0
  634. oci/security_attribute/models/security_attribute_work_request_log_summary.py +105 -0
  635. oci/security_attribute/models/security_attribute_work_request_summary.py +386 -0
  636. oci/security_attribute/models/update_security_attribute_details.py +136 -0
  637. oci/security_attribute/models/update_security_attribute_namespace_details.py +191 -0
  638. oci/security_attribute/models/work_request_resource.py +197 -0
  639. oci/security_attribute/security_attribute_client.py +2321 -0
  640. oci/security_attribute/security_attribute_client_composite_operations.py +265 -0
  641. oci/service_catalog/service_catalog_client.py +26 -26
  642. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  643. oci/service_mesh/models/traffic_rule_target.py +5 -5
  644. oci/service_mesh/service_mesh_client.py +48 -48
  645. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  646. oci/streaming/stream_admin_client.py +18 -18
  647. oci/streaming/stream_client.py +8 -8
  648. oci/tenant_manager_control_plane/domain_client.py +5 -5
  649. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  650. oci/tenant_manager_control_plane/governance_client.py +2 -2
  651. oci/tenant_manager_control_plane/link_client.py +3 -3
  652. oci/tenant_manager_control_plane/orders_client.py +2 -2
  653. oci/tenant_manager_control_plane/organization_client.py +10 -10
  654. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  655. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  656. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  657. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  658. oci/threat_intelligence/threatintel_client.py +5 -5
  659. oci/usage/resources_client.py +2 -2
  660. oci/usage/rewards_client.py +6 -6
  661. oci/usage/usagelimits_client.py +1 -1
  662. oci/usage_api/usageapi_client.py +33 -33
  663. oci/vault/vaults_client.py +13 -13
  664. oci/vbs_inst/vbs_instance_client.py +10 -10
  665. oci/version.py +1 -1
  666. oci/visual_builder/vb_instance_client.py +13 -13
  667. oci/vn_monitoring/models/topology.py +5 -5
  668. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  669. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  670. oci/waa/waa_client.py +13 -13
  671. oci/waa/work_request_client.py +4 -4
  672. oci/waas/redirect_client.py +6 -6
  673. oci/waas/waas_client.py +66 -66
  674. oci/waf/models/protection_rule.py +4 -2
  675. oci/waf/models/request_rate_limiting_rule.py +4 -2
  676. oci/waf/models/web_app_firewall_policy_rule.py +10 -10
  677. oci/waf/waf_client.py +24 -24
  678. oci/work_requests/work_request_client.py +4 -4
  679. oci/zpr/__init__.py +14 -0
  680. oci/zpr/models/__init__.py +42 -0
  681. oci/zpr/models/configuration.py +449 -0
  682. oci/zpr/models/create_configuration_details.py +189 -0
  683. oci/zpr/models/create_zpr_policy_details.py +251 -0
  684. oci/zpr/models/update_zpr_policy_details.py +185 -0
  685. oci/zpr/models/work_request.py +459 -0
  686. oci/zpr/models/work_request_error.py +146 -0
  687. oci/zpr/models/work_request_error_collection.py +72 -0
  688. oci/zpr/models/work_request_log_entry.py +109 -0
  689. oci/zpr/models/work_request_log_entry_collection.py +72 -0
  690. oci/zpr/models/work_request_resource.py +238 -0
  691. oci/zpr/models/work_request_summary.py +457 -0
  692. oci/zpr/models/work_request_summary_collection.py +72 -0
  693. oci/zpr/models/zpr_policy.py +505 -0
  694. oci/zpr/models/zpr_policy_collection.py +72 -0
  695. oci/zpr/models/zpr_policy_summary.py +463 -0
  696. oci/zpr/zpr_client.py +2124 -0
  697. oci/zpr/zpr_client_composite_operations.py +197 -0
  698. {oci-2.134.0.dist-info → oci-2.135.1.dist-info}/METADATA +1 -1
  699. {oci-2.134.0.dist-info → oci-2.135.1.dist-info}/RECORD +703 -542
  700. {oci-2.134.0.dist-info → oci-2.135.1.dist-info}/LICENSE.txt +0 -0
  701. {oci-2.134.0.dist-info → oci-2.135.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  702. {oci-2.134.0.dist-info → oci-2.135.1.dist-info}/WHEEL +0 -0
  703. {oci-2.134.0.dist-info → oci-2.135.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,774 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, 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: 20240531
6
+
7
+ import oci # noqa: F401
8
+ from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
9
+
10
+
11
+ class GenerativeAiAgentClientCompositeOperations(object):
12
+ """
13
+ This class provides a wrapper around :py:class:`~oci.generative_ai_agent.GenerativeAiAgentClient` and offers convenience methods
14
+ for operations that would otherwise need to be chained together. For example, instead of performing an action
15
+ on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
16
+ to enter a given state, you can call a single method in this class to accomplish the same functionality
17
+ """
18
+
19
+ def __init__(self, client, **kwargs):
20
+ """
21
+ Creates a new GenerativeAiAgentClientCompositeOperations object
22
+
23
+ :param GenerativeAiAgentClient client:
24
+ The service client which will be wrapped by this object
25
+ """
26
+ self.client = client
27
+
28
+ def change_agent_compartment_and_wait_for_state(self, agent_id, change_agent_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
29
+ """
30
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.change_agent_compartment` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
31
+ to enter the given state(s).
32
+
33
+ :param str agent_id: (required)
34
+ The `OCID`__ of the agent.
35
+
36
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
37
+
38
+ :param oci.generative_ai_agent.models.ChangeAgentCompartmentDetails change_agent_compartment_details: (required)
39
+ The information to be updated.
40
+
41
+ :param list[str] wait_for_states:
42
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.generative_ai_agent.models.WorkRequest.status`
43
+
44
+ :param dict operation_kwargs:
45
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.change_agent_compartment`
46
+
47
+ :param dict waiter_kwargs:
48
+ 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``
49
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
50
+ """
51
+ operation_result = self.client.change_agent_compartment(agent_id, change_agent_compartment_details, **operation_kwargs)
52
+ if not wait_for_states:
53
+ return operation_result
54
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
55
+ if 'opc-work-request-id' not in operation_result.headers:
56
+ return operation_result
57
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
58
+
59
+ try:
60
+ waiter_result = oci.wait_until(
61
+ self.client,
62
+ self.client.get_work_request(wait_for_resource_id),
63
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
64
+ **waiter_kwargs
65
+ )
66
+ result_to_return = waiter_result
67
+
68
+ return result_to_return
69
+ except Exception as e:
70
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
71
+
72
+ def change_agent_endpoint_compartment_and_wait_for_state(self, agent_endpoint_id, change_agent_endpoint_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
73
+ """
74
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.change_agent_endpoint_compartment` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
75
+ to enter the given state(s).
76
+
77
+ :param str agent_endpoint_id: (required)
78
+ The `OCID`__ of the endpoint.
79
+
80
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
81
+
82
+ :param oci.generative_ai_agent.models.ChangeAgentEndpointCompartmentDetails change_agent_endpoint_compartment_details: (required)
83
+ The information to be updated.
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.generative_ai_agent.models.WorkRequest.status`
87
+
88
+ :param dict operation_kwargs:
89
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.change_agent_endpoint_compartment`
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.change_agent_endpoint_compartment(agent_endpoint_id, change_agent_endpoint_compartment_details, **operation_kwargs)
96
+ if not wait_for_states:
97
+ return operation_result
98
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
99
+ if 'opc-work-request-id' not in operation_result.headers:
100
+ return operation_result
101
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
102
+
103
+ try:
104
+ waiter_result = oci.wait_until(
105
+ self.client,
106
+ self.client.get_work_request(wait_for_resource_id),
107
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
108
+ **waiter_kwargs
109
+ )
110
+ result_to_return = waiter_result
111
+
112
+ return result_to_return
113
+ except Exception as e:
114
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
115
+
116
+ def change_knowledge_base_compartment_and_wait_for_state(self, knowledge_base_id, change_knowledge_base_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
117
+ """
118
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.change_knowledge_base_compartment` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
119
+ to enter the given state(s).
120
+
121
+ :param str knowledge_base_id: (required)
122
+ The `OCID`__ of the knowledge base.
123
+
124
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
125
+
126
+ :param oci.generative_ai_agent.models.ChangeKnowledgeBaseCompartmentDetails change_knowledge_base_compartment_details: (required)
127
+ The information to be updated.
128
+
129
+ :param list[str] wait_for_states:
130
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.generative_ai_agent.models.WorkRequest.status`
131
+
132
+ :param dict operation_kwargs:
133
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.change_knowledge_base_compartment`
134
+
135
+ :param dict waiter_kwargs:
136
+ 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``
137
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
138
+ """
139
+ operation_result = self.client.change_knowledge_base_compartment(knowledge_base_id, change_knowledge_base_compartment_details, **operation_kwargs)
140
+ if not wait_for_states:
141
+ return operation_result
142
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
143
+ if 'opc-work-request-id' not in operation_result.headers:
144
+ return operation_result
145
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
146
+
147
+ try:
148
+ waiter_result = oci.wait_until(
149
+ self.client,
150
+ self.client.get_work_request(wait_for_resource_id),
151
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
152
+ **waiter_kwargs
153
+ )
154
+ result_to_return = waiter_result
155
+
156
+ return result_to_return
157
+ except Exception as e:
158
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
159
+
160
+ def create_agent_and_wait_for_state(self, create_agent_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
161
+ """
162
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.create_agent` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
163
+ to enter the given state(s).
164
+
165
+ :param oci.generative_ai_agent.models.CreateAgentDetails create_agent_details: (required)
166
+ Details for the new agent.
167
+
168
+ :param list[str] wait_for_states:
169
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.generative_ai_agent.models.WorkRequest.status`
170
+
171
+ :param dict operation_kwargs:
172
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.create_agent`
173
+
174
+ :param dict waiter_kwargs:
175
+ 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``
176
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
177
+ """
178
+ operation_result = self.client.create_agent(create_agent_details, **operation_kwargs)
179
+ if not wait_for_states:
180
+ return operation_result
181
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
182
+ if 'opc-work-request-id' not in operation_result.headers:
183
+ return operation_result
184
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
185
+
186
+ try:
187
+ waiter_result = oci.wait_until(
188
+ self.client,
189
+ self.client.get_work_request(wait_for_resource_id),
190
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
191
+ **waiter_kwargs
192
+ )
193
+ result_to_return = waiter_result
194
+
195
+ return result_to_return
196
+ except Exception as e:
197
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
198
+
199
+ def create_agent_endpoint_and_wait_for_state(self, create_agent_endpoint_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
200
+ """
201
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.create_agent_endpoint` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
202
+ to enter the given state(s).
203
+
204
+ :param oci.generative_ai_agent.models.CreateAgentEndpointDetails create_agent_endpoint_details: (required)
205
+ Details for the new endpoint.
206
+
207
+ :param list[str] wait_for_states:
208
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.generative_ai_agent.models.WorkRequest.status`
209
+
210
+ :param dict operation_kwargs:
211
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.create_agent_endpoint`
212
+
213
+ :param dict waiter_kwargs:
214
+ 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``
215
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
216
+ """
217
+ operation_result = self.client.create_agent_endpoint(create_agent_endpoint_details, **operation_kwargs)
218
+ if not wait_for_states:
219
+ return operation_result
220
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
221
+ if 'opc-work-request-id' not in operation_result.headers:
222
+ return operation_result
223
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
224
+
225
+ try:
226
+ waiter_result = oci.wait_until(
227
+ self.client,
228
+ self.client.get_work_request(wait_for_resource_id),
229
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
230
+ **waiter_kwargs
231
+ )
232
+ result_to_return = waiter_result
233
+
234
+ return result_to_return
235
+ except Exception as e:
236
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
237
+
238
+ def create_data_ingestion_job_and_wait_for_state(self, create_data_ingestion_job_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
239
+ """
240
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.create_data_ingestion_job` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
241
+ to enter the given state(s).
242
+
243
+ :param oci.generative_ai_agent.models.CreateDataIngestionJobDetails create_data_ingestion_job_details: (required)
244
+ Details for the new data ingestion job.
245
+
246
+ :param list[str] wait_for_states:
247
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.generative_ai_agent.models.WorkRequest.status`
248
+
249
+ :param dict operation_kwargs:
250
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.create_data_ingestion_job`
251
+
252
+ :param dict waiter_kwargs:
253
+ 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``
254
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
255
+ """
256
+ operation_result = self.client.create_data_ingestion_job(create_data_ingestion_job_details, **operation_kwargs)
257
+ if not wait_for_states:
258
+ return operation_result
259
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
260
+ if 'opc-work-request-id' not in operation_result.headers:
261
+ return operation_result
262
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
263
+
264
+ try:
265
+ waiter_result = oci.wait_until(
266
+ self.client,
267
+ self.client.get_work_request(wait_for_resource_id),
268
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
269
+ **waiter_kwargs
270
+ )
271
+ result_to_return = waiter_result
272
+
273
+ return result_to_return
274
+ except Exception as e:
275
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
276
+
277
+ def create_data_source_and_wait_for_state(self, create_data_source_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
278
+ """
279
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.create_data_source` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
280
+ to enter the given state(s).
281
+
282
+ :param oci.generative_ai_agent.models.CreateDataSourceDetails create_data_source_details: (required)
283
+ Details for the new data source.
284
+
285
+ :param list[str] wait_for_states:
286
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.generative_ai_agent.models.WorkRequest.status`
287
+
288
+ :param dict operation_kwargs:
289
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.create_data_source`
290
+
291
+ :param dict waiter_kwargs:
292
+ 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``
293
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
294
+ """
295
+ operation_result = self.client.create_data_source(create_data_source_details, **operation_kwargs)
296
+ if not wait_for_states:
297
+ return operation_result
298
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
299
+ if 'opc-work-request-id' not in operation_result.headers:
300
+ return operation_result
301
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
302
+
303
+ try:
304
+ waiter_result = oci.wait_until(
305
+ self.client,
306
+ self.client.get_work_request(wait_for_resource_id),
307
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
308
+ **waiter_kwargs
309
+ )
310
+ result_to_return = waiter_result
311
+
312
+ return result_to_return
313
+ except Exception as e:
314
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
315
+
316
+ def create_knowledge_base_and_wait_for_state(self, create_knowledge_base_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
317
+ """
318
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.create_knowledge_base` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
319
+ to enter the given state(s).
320
+
321
+ :param oci.generative_ai_agent.models.CreateKnowledgeBaseDetails create_knowledge_base_details: (required)
322
+ Details for the new knowledge base.
323
+
324
+ :param list[str] wait_for_states:
325
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.generative_ai_agent.models.WorkRequest.status`
326
+
327
+ :param dict operation_kwargs:
328
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.create_knowledge_base`
329
+
330
+ :param dict waiter_kwargs:
331
+ 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``
332
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
333
+ """
334
+ operation_result = self.client.create_knowledge_base(create_knowledge_base_details, **operation_kwargs)
335
+ if not wait_for_states:
336
+ return operation_result
337
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
338
+ if 'opc-work-request-id' not in operation_result.headers:
339
+ return operation_result
340
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
341
+
342
+ try:
343
+ waiter_result = oci.wait_until(
344
+ self.client,
345
+ self.client.get_work_request(wait_for_resource_id),
346
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
347
+ **waiter_kwargs
348
+ )
349
+ result_to_return = waiter_result
350
+
351
+ return result_to_return
352
+ except Exception as e:
353
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
354
+
355
+ def delete_agent_and_wait_for_state(self, agent_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
356
+ """
357
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.delete_agent` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
358
+ to enter the given state(s).
359
+
360
+ :param str agent_id: (required)
361
+ The `OCID`__ of the agent.
362
+
363
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
364
+
365
+ :param list[str] wait_for_states:
366
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.generative_ai_agent.models.WorkRequest.status`
367
+
368
+ :param dict operation_kwargs:
369
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.delete_agent`
370
+
371
+ :param dict waiter_kwargs:
372
+ 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``
373
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
374
+ """
375
+ operation_result = None
376
+ try:
377
+ operation_result = self.client.delete_agent(agent_id, **operation_kwargs)
378
+ except oci.exceptions.ServiceError as e:
379
+ if e.status == 404:
380
+ return WAIT_RESOURCE_NOT_FOUND
381
+ else:
382
+ raise e
383
+
384
+ if not wait_for_states:
385
+ return operation_result
386
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
387
+ if 'opc-work-request-id' not in operation_result.headers:
388
+ return operation_result
389
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
390
+
391
+ try:
392
+ waiter_result = oci.wait_until(
393
+ self.client,
394
+ self.client.get_work_request(wait_for_resource_id),
395
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
396
+ **waiter_kwargs
397
+ )
398
+ result_to_return = waiter_result
399
+
400
+ return result_to_return
401
+ except Exception as e:
402
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
403
+
404
+ def delete_agent_endpoint_and_wait_for_state(self, agent_endpoint_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
405
+ """
406
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.delete_agent_endpoint` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
407
+ to enter the given state(s).
408
+
409
+ :param str agent_endpoint_id: (required)
410
+ The `OCID`__ of the endpoint.
411
+
412
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
413
+
414
+ :param list[str] wait_for_states:
415
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.generative_ai_agent.models.WorkRequest.status`
416
+
417
+ :param dict operation_kwargs:
418
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.delete_agent_endpoint`
419
+
420
+ :param dict waiter_kwargs:
421
+ 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``
422
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
423
+ """
424
+ operation_result = None
425
+ try:
426
+ operation_result = self.client.delete_agent_endpoint(agent_endpoint_id, **operation_kwargs)
427
+ except oci.exceptions.ServiceError as e:
428
+ if e.status == 404:
429
+ return WAIT_RESOURCE_NOT_FOUND
430
+ else:
431
+ raise e
432
+
433
+ if not wait_for_states:
434
+ return operation_result
435
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
436
+ if 'opc-work-request-id' not in operation_result.headers:
437
+ return operation_result
438
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
439
+
440
+ try:
441
+ waiter_result = oci.wait_until(
442
+ self.client,
443
+ self.client.get_work_request(wait_for_resource_id),
444
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
445
+ **waiter_kwargs
446
+ )
447
+ result_to_return = waiter_result
448
+
449
+ return result_to_return
450
+ except Exception as e:
451
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
452
+
453
+ def delete_data_ingestion_job_and_wait_for_state(self, data_ingestion_job_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
454
+ """
455
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.delete_data_ingestion_job` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
456
+ to enter the given state(s).
457
+
458
+ :param str data_ingestion_job_id: (required)
459
+ The `OCID`__ of the data ingestion job.
460
+
461
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
462
+
463
+ :param list[str] wait_for_states:
464
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.generative_ai_agent.models.WorkRequest.status`
465
+
466
+ :param dict operation_kwargs:
467
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.delete_data_ingestion_job`
468
+
469
+ :param dict waiter_kwargs:
470
+ 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``
471
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
472
+ """
473
+ operation_result = None
474
+ try:
475
+ operation_result = self.client.delete_data_ingestion_job(data_ingestion_job_id, **operation_kwargs)
476
+ except oci.exceptions.ServiceError as e:
477
+ if e.status == 404:
478
+ return WAIT_RESOURCE_NOT_FOUND
479
+ else:
480
+ raise e
481
+
482
+ if not wait_for_states:
483
+ return operation_result
484
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
485
+ if 'opc-work-request-id' not in operation_result.headers:
486
+ return operation_result
487
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
488
+
489
+ try:
490
+ waiter_result = oci.wait_until(
491
+ self.client,
492
+ self.client.get_work_request(wait_for_resource_id),
493
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
494
+ **waiter_kwargs
495
+ )
496
+ result_to_return = waiter_result
497
+
498
+ return result_to_return
499
+ except Exception as e:
500
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
501
+
502
+ def delete_data_source_and_wait_for_state(self, data_source_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
503
+ """
504
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.delete_data_source` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
505
+ to enter the given state(s).
506
+
507
+ :param str data_source_id: (required)
508
+ The `OCID`__ of the data source.
509
+
510
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
511
+
512
+ :param list[str] wait_for_states:
513
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.generative_ai_agent.models.WorkRequest.status`
514
+
515
+ :param dict operation_kwargs:
516
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.delete_data_source`
517
+
518
+ :param dict waiter_kwargs:
519
+ 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``
520
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
521
+ """
522
+ operation_result = None
523
+ try:
524
+ operation_result = self.client.delete_data_source(data_source_id, **operation_kwargs)
525
+ except oci.exceptions.ServiceError as e:
526
+ if e.status == 404:
527
+ return WAIT_RESOURCE_NOT_FOUND
528
+ else:
529
+ raise e
530
+
531
+ if not wait_for_states:
532
+ return operation_result
533
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
534
+ if 'opc-work-request-id' not in operation_result.headers:
535
+ return operation_result
536
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
537
+
538
+ try:
539
+ waiter_result = oci.wait_until(
540
+ self.client,
541
+ self.client.get_work_request(wait_for_resource_id),
542
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
543
+ **waiter_kwargs
544
+ )
545
+ result_to_return = waiter_result
546
+
547
+ return result_to_return
548
+ except Exception as e:
549
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
550
+
551
+ def delete_knowledge_base_and_wait_for_state(self, knowledge_base_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
552
+ """
553
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.delete_knowledge_base` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
554
+ to enter the given state(s).
555
+
556
+ :param str knowledge_base_id: (required)
557
+ The `OCID`__ of the knowledge base.
558
+
559
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
560
+
561
+ :param list[str] wait_for_states:
562
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.generative_ai_agent.models.WorkRequest.status`
563
+
564
+ :param dict operation_kwargs:
565
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.delete_knowledge_base`
566
+
567
+ :param dict waiter_kwargs:
568
+ 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``
569
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
570
+ """
571
+ operation_result = None
572
+ try:
573
+ operation_result = self.client.delete_knowledge_base(knowledge_base_id, **operation_kwargs)
574
+ except oci.exceptions.ServiceError as e:
575
+ if e.status == 404:
576
+ return WAIT_RESOURCE_NOT_FOUND
577
+ else:
578
+ raise e
579
+
580
+ if not wait_for_states:
581
+ return operation_result
582
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
583
+ if 'opc-work-request-id' not in operation_result.headers:
584
+ return operation_result
585
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
586
+
587
+ try:
588
+ waiter_result = oci.wait_until(
589
+ self.client,
590
+ self.client.get_work_request(wait_for_resource_id),
591
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
592
+ **waiter_kwargs
593
+ )
594
+ result_to_return = waiter_result
595
+
596
+ return result_to_return
597
+ except Exception as e:
598
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
599
+
600
+ def update_agent_and_wait_for_state(self, agent_id, update_agent_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
601
+ """
602
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.update_agent` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
603
+ to enter the given state(s).
604
+
605
+ :param str agent_id: (required)
606
+ The `OCID`__ of the agent.
607
+
608
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
609
+
610
+ :param oci.generative_ai_agent.models.UpdateAgentDetails update_agent_details: (required)
611
+ The information to be updated.
612
+
613
+ :param list[str] wait_for_states:
614
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.generative_ai_agent.models.WorkRequest.status`
615
+
616
+ :param dict operation_kwargs:
617
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.update_agent`
618
+
619
+ :param dict waiter_kwargs:
620
+ 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``
621
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
622
+ """
623
+ operation_result = self.client.update_agent(agent_id, update_agent_details, **operation_kwargs)
624
+ if not wait_for_states:
625
+ return operation_result
626
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
627
+ if 'opc-work-request-id' not in operation_result.headers:
628
+ return operation_result
629
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
630
+
631
+ try:
632
+ waiter_result = oci.wait_until(
633
+ self.client,
634
+ self.client.get_work_request(wait_for_resource_id),
635
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
636
+ **waiter_kwargs
637
+ )
638
+ result_to_return = waiter_result
639
+
640
+ return result_to_return
641
+ except Exception as e:
642
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
643
+
644
+ def update_agent_endpoint_and_wait_for_state(self, agent_endpoint_id, update_agent_endpoint_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
645
+ """
646
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.update_agent_endpoint` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
647
+ to enter the given state(s).
648
+
649
+ :param str agent_endpoint_id: (required)
650
+ The `OCID`__ of the endpoint.
651
+
652
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
653
+
654
+ :param oci.generative_ai_agent.models.UpdateAgentEndpointDetails update_agent_endpoint_details: (required)
655
+ The information to be updated.
656
+
657
+ :param list[str] wait_for_states:
658
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.generative_ai_agent.models.WorkRequest.status`
659
+
660
+ :param dict operation_kwargs:
661
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.update_agent_endpoint`
662
+
663
+ :param dict waiter_kwargs:
664
+ 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``
665
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
666
+ """
667
+ operation_result = self.client.update_agent_endpoint(agent_endpoint_id, update_agent_endpoint_details, **operation_kwargs)
668
+ if not wait_for_states:
669
+ return operation_result
670
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
671
+ if 'opc-work-request-id' not in operation_result.headers:
672
+ return operation_result
673
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
674
+
675
+ try:
676
+ waiter_result = oci.wait_until(
677
+ self.client,
678
+ self.client.get_work_request(wait_for_resource_id),
679
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
680
+ **waiter_kwargs
681
+ )
682
+ result_to_return = waiter_result
683
+
684
+ return result_to_return
685
+ except Exception as e:
686
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
687
+
688
+ def update_data_source_and_wait_for_state(self, data_source_id, update_data_source_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
689
+ """
690
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.update_data_source` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
691
+ to enter the given state(s).
692
+
693
+ :param str data_source_id: (required)
694
+ The `OCID`__ of the data source.
695
+
696
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
697
+
698
+ :param oci.generative_ai_agent.models.UpdateDataSourceDetails update_data_source_details: (required)
699
+ The data source information to be updated.
700
+
701
+ :param list[str] wait_for_states:
702
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.generative_ai_agent.models.WorkRequest.status`
703
+
704
+ :param dict operation_kwargs:
705
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.update_data_source`
706
+
707
+ :param dict waiter_kwargs:
708
+ 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``
709
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
710
+ """
711
+ operation_result = self.client.update_data_source(data_source_id, update_data_source_details, **operation_kwargs)
712
+ if not wait_for_states:
713
+ return operation_result
714
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
715
+ if 'opc-work-request-id' not in operation_result.headers:
716
+ return operation_result
717
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
718
+
719
+ try:
720
+ waiter_result = oci.wait_until(
721
+ self.client,
722
+ self.client.get_work_request(wait_for_resource_id),
723
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
724
+ **waiter_kwargs
725
+ )
726
+ result_to_return = waiter_result
727
+
728
+ return result_to_return
729
+ except Exception as e:
730
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
731
+
732
+ def update_knowledge_base_and_wait_for_state(self, knowledge_base_id, update_knowledge_base_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
733
+ """
734
+ Calls :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.update_knowledge_base` and waits for the :py:class:`~oci.generative_ai_agent.models.WorkRequest`
735
+ to enter the given state(s).
736
+
737
+ :param str knowledge_base_id: (required)
738
+ The `OCID`__ of the knowledge base.
739
+
740
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
741
+
742
+ :param oci.generative_ai_agent.models.UpdateKnowledgeBaseDetails update_knowledge_base_details: (required)
743
+ The information to be updated.
744
+
745
+ :param list[str] wait_for_states:
746
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.generative_ai_agent.models.WorkRequest.status`
747
+
748
+ :param dict operation_kwargs:
749
+ A dictionary of keyword arguments to pass to :py:func:`~oci.generative_ai_agent.GenerativeAiAgentClient.update_knowledge_base`
750
+
751
+ :param dict waiter_kwargs:
752
+ 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``
753
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
754
+ """
755
+ operation_result = self.client.update_knowledge_base(knowledge_base_id, update_knowledge_base_details, **operation_kwargs)
756
+ if not wait_for_states:
757
+ return operation_result
758
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
759
+ if 'opc-work-request-id' not in operation_result.headers:
760
+ return operation_result
761
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
762
+
763
+ try:
764
+ waiter_result = oci.wait_until(
765
+ self.client,
766
+ self.client.get_work_request(wait_for_resource_id),
767
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
768
+ **waiter_kwargs
769
+ )
770
+ result_to_return = waiter_result
771
+
772
+ return result_to_return
773
+ except Exception as e:
774
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)