oci 2.132.0__py3-none-any.whl → 2.134.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 (533) 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 +626 -28
  6. oci/ai_document/ai_service_document_client_composite_operations.py +180 -0
  7. oci/ai_document/models/__init__.py +10 -0
  8. oci/ai_document/models/add_model_lock_details.py +150 -0
  9. oci/ai_document/models/add_project_lock_details.py +150 -0
  10. oci/ai_document/models/analyze_document_details.py +5 -5
  11. oci/ai_document/models/detected_document_type.py +0 -35
  12. oci/ai_document/models/document_classification_feature.py +2 -33
  13. oci/ai_document/models/document_key_value_extraction_feature.py +2 -33
  14. oci/ai_document/models/general_processor_config.py +5 -5
  15. oci/ai_document/models/model.py +33 -2
  16. oci/ai_document/models/model_summary.py +33 -2
  17. oci/ai_document/models/output_location.py +1 -1
  18. oci/ai_document/models/project.py +33 -2
  19. oci/ai_document/models/remove_model_lock_details.py +88 -0
  20. oci/ai_document/models/remove_project_lock_details.py +88 -0
  21. oci/ai_document/models/resource_lock.py +216 -0
  22. oci/ai_language/ai_service_language_client.py +44 -44
  23. oci/ai_speech/ai_service_speech_client.py +214 -17
  24. oci/ai_speech/models/__init__.py +23 -1
  25. oci/ai_speech/models/synthesize_speech_details.py +196 -0
  26. oci/ai_speech/models/tts_audio_config.py +106 -0
  27. oci/ai_speech/models/tts_base_audio_config.py +82 -0
  28. oci/ai_speech/models/tts_configuration.py +103 -0
  29. oci/ai_speech/models/tts_oracle_configuration.py +105 -0
  30. oci/ai_speech/models/tts_oracle_model_details.py +113 -0
  31. oci/ai_speech/models/tts_oracle_speech_settings.py +246 -0
  32. oci/ai_speech/models/tts_oracle_tts1_standard_model_details.py +84 -0
  33. oci/ai_speech/models/tts_oracle_tts2_natural_model_details.py +84 -0
  34. oci/ai_speech/models/voice_collection.py +72 -0
  35. oci/ai_speech/models/voice_summary.py +379 -0
  36. oci/ai_vision/ai_service_vision_client.py +25 -25
  37. oci/analytics/analytics_client.py +24 -24
  38. oci/announcements_service/__init__.py +3 -1
  39. oci/announcements_service/announcement_client.py +103 -6
  40. oci/announcements_service/announcement_subscription_client.py +9 -9
  41. oci/announcements_service/announcements_preferences_client.py +4 -4
  42. oci/announcements_service/models/__init__.py +12 -0
  43. oci/announcements_service/models/announcement.py +1 -1
  44. oci/announcements_service/models/announcement_compartment.py +72 -0
  45. oci/announcements_service/models/announcement_summary.py +1 -1
  46. oci/announcements_service/models/base_announcement.py +7 -3
  47. oci/announcements_service/models/base_service.py +498 -0
  48. oci/announcements_service/models/notifications_summary.py +130 -0
  49. oci/announcements_service/models/service.py +130 -0
  50. oci/announcements_service/models/service_summary.py +133 -0
  51. oci/announcements_service/models/services_collection.py +72 -0
  52. oci/announcements_service/service_client.py +275 -0
  53. oci/announcements_service/service_client_composite_operations.py +26 -0
  54. oci/apigateway/api_gateway_client.py +21 -21
  55. oci/apigateway/deployment_client.py +6 -6
  56. oci/apigateway/gateway_client.py +6 -6
  57. oci/apigateway/subscribers_client.py +6 -6
  58. oci/apigateway/usage_plans_client.py +6 -6
  59. oci/apigateway/work_requests_client.py +5 -5
  60. oci/apm_config/config_client.py +9 -9
  61. oci/apm_control_plane/apm_domain_client.py +14 -14
  62. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  63. oci/apm_traces/attributes_client.py +8 -8
  64. oci/apm_traces/query_client.py +2 -2
  65. oci/apm_traces/trace_client.py +4 -4
  66. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  67. oci/artifacts/artifacts_client.py +32 -32
  68. oci/audit/audit_client.py +3 -3
  69. oci/autoscaling/auto_scaling_client.py +11 -11
  70. oci/bastion/bastion_client.py +15 -15
  71. oci/bds/bds_client.py +72 -72
  72. oci/blockchain/blockchain_platform_client.py +27 -27
  73. oci/budget/budget_client.py +10 -10
  74. oci/capacity_management/capacity_management_client.py +1692 -423
  75. oci/capacity_management/capacity_management_client_composite_operations.py +146 -0
  76. oci/capacity_management/models/__init__.py +23 -1
  77. oci/capacity_management/models/associated_capacity_request_details.py +103 -0
  78. oci/capacity_management/models/associated_occ_handover_resource_block.py +103 -0
  79. oci/capacity_management/models/create_occ_capacity_request_details.py +3 -3
  80. oci/capacity_management/models/create_occ_customer_details.py +181 -0
  81. oci/capacity_management/models/create_occ_customer_group_details.py +309 -0
  82. oci/capacity_management/models/occ_capacity_request_base_details.py +62 -0
  83. oci/capacity_management/models/occ_handover_resource_block_collection.py +72 -0
  84. oci/capacity_management/models/occ_handover_resource_block_detail_collection.py +72 -0
  85. oci/capacity_management/models/occ_handover_resource_block_detail_summary.py +104 -0
  86. oci/capacity_management/models/occ_handover_resource_block_summary.py +332 -0
  87. oci/capacity_management/models/placement_details.py +227 -0
  88. oci/capacity_management/models/update_occ_customer_details.py +150 -0
  89. oci/capacity_management/models/update_occ_customer_group_details.py +216 -0
  90. oci/certificates/certificates_client.py +5 -5
  91. oci/certificates_management/certificates_management_client.py +32 -32
  92. oci/cims/incident_client.py +8 -8
  93. oci/cims/user_client.py +1 -1
  94. oci/cloud_bridge/common_client.py +5 -5
  95. oci/cloud_bridge/discovery_client.py +14 -14
  96. oci/cloud_bridge/inventory_client.py +16 -16
  97. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  98. oci/cloud_guard/cloud_guard_client.py +155 -155
  99. oci/cloud_migrations/migration_client.py +43 -43
  100. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  101. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  102. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  103. oci/compute_instance_agent/plugin_client.py +2 -2
  104. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  105. oci/container_engine/container_engine_client.py +44 -44
  106. oci/container_instances/container_instance_client.py +18 -18
  107. oci/core/blockstorage_client.py +60 -60
  108. oci/core/compute_client.py +102 -102
  109. oci/core/compute_management_client.py +32 -32
  110. oci/core/virtual_network_client.py +247 -247
  111. oci/dashboard_service/dashboard_client.py +6 -6
  112. oci/dashboard_service/dashboard_group_client.py +6 -6
  113. oci/data_catalog/data_catalog_client.py +149 -149
  114. oci/data_flow/data_flow_client.py +42 -42
  115. oci/data_integration/data_integration_client.py +163 -163
  116. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  117. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  118. oci/data_safe/data_safe_client.py +287 -287
  119. oci/data_science/data_science_client.py +91 -91
  120. oci/database/database_client.py +13862 -9467
  121. oci/database/database_client_composite_operations.py +1868 -232
  122. oci/database/models/__init__.py +80 -0
  123. oci/database/models/action_member.py +134 -0
  124. oci/database/models/action_order_details.py +107 -0
  125. oci/database/models/action_param_values_collection.py +72 -0
  126. oci/database/models/action_param_values_summary.py +216 -0
  127. oci/database/models/autonomous_database.py +33 -6
  128. oci/database/models/autonomous_database_standby_summary.py +33 -2
  129. oci/database/models/autonomous_database_summary.py +33 -6
  130. oci/database/models/cancel_execution_window_details.py +134 -0
  131. oci/database/models/change_scheduling_plan_compartment_details.py +76 -0
  132. oci/database/models/change_scheduling_policy_compartment_details.py +76 -0
  133. oci/database/models/cloud_exadata_infrastructure.py +33 -2
  134. oci/database/models/cloud_exadata_infrastructure_summary.py +33 -2
  135. oci/database/models/create_autonomous_database_base.py +2 -6
  136. oci/database/models/create_data_guard_association_with_new_db_system_details.py +35 -0
  137. oci/database/models/create_exadb_vm_cluster_details.py +12 -2
  138. oci/database/models/create_execution_action_details.py +304 -0
  139. oci/database/models/create_execution_window_details.py +282 -0
  140. oci/database/models/create_pluggable_database_creation_type_details.py +0 -2
  141. oci/database/models/create_scheduled_action_details.py +339 -0
  142. oci/database/models/create_scheduling_plan_details.py +306 -0
  143. oci/database/models/create_scheduling_policy_details.py +267 -0
  144. oci/database/models/create_scheduling_window_details.py +181 -0
  145. oci/database/models/exadata_infrastructure.py +33 -2
  146. oci/database/models/exadata_infrastructure_summary.py +33 -2
  147. oci/database/models/exadb_vm_cluster.py +12 -2
  148. oci/database/models/exadb_vm_cluster_summary.py +12 -2
  149. oci/database/models/execution_action.py +715 -0
  150. oci/database/models/execution_action_member.py +216 -0
  151. oci/database/models/execution_action_summary.py +715 -0
  152. oci/database/models/execution_window.py +783 -0
  153. oci/database/models/execution_window_summary.py +783 -0
  154. oci/database/models/granular_maintenance_history_details.py +99 -0
  155. oci/database/models/maintenance_run.py +62 -0
  156. oci/database/models/maintenance_run_history.py +64 -2
  157. oci/database/models/maintenance_run_history_summary.py +64 -2
  158. oci/database/models/maintenance_run_summary.py +62 -0
  159. oci/database/models/move_execution_action_member_details.py +220 -0
  160. oci/database/models/recommended_scheduled_action_summary.py +280 -0
  161. oci/database/models/recommended_scheduled_actions_collection.py +72 -0
  162. oci/database/models/reorder_execution_action_details.py +152 -0
  163. oci/database/models/reorder_scheduled_actions_details.py +109 -0
  164. oci/database/models/scheduled_action.py +633 -0
  165. oci/database/models/scheduled_action_collection.py +72 -0
  166. oci/database/models/scheduled_action_summary.py +633 -0
  167. oci/database/models/scheduling_plan.py +643 -0
  168. oci/database/models/scheduling_plan_collection.py +72 -0
  169. oci/database/models/scheduling_plan_summary.py +643 -0
  170. oci/database/models/scheduling_policy.py +493 -0
  171. oci/database/models/scheduling_policy_summary.py +493 -0
  172. oci/database/models/scheduling_window.py +469 -0
  173. oci/database/models/scheduling_window_summary.py +469 -0
  174. oci/database/models/update_autonomous_database_details.py +2 -6
  175. oci/database/models/update_exadb_vm_cluster_details.py +12 -2
  176. oci/database/models/update_execution_action_details.py +218 -0
  177. oci/database/models/update_execution_window_details.py +212 -0
  178. oci/database/models/update_scheduled_action_details.py +140 -0
  179. oci/database/models/update_scheduling_policy_details.py +232 -0
  180. oci/database/models/update_scheduling_window_details.py +146 -0
  181. oci/database/models/window_preference_detail.py +231 -0
  182. oci/database_management/db_management_client.py +580 -208
  183. oci/database_management/db_management_client_composite_operations.py +132 -0
  184. oci/database_management/diagnosability_client.py +4 -4
  185. oci/database_management/managed_my_sql_databases_client.py +7 -7
  186. oci/database_management/models/__init__.py +14 -0
  187. oci/database_management/models/autonomous_database_diagnostics_and_management_feature_details.py +65 -0
  188. oci/database_management/models/autonomous_database_feature_details.py +167 -0
  189. oci/database_management/models/autonomous_database_sql_watch_feature_details.py +65 -0
  190. oci/database_management/models/connector_details.py +15 -3
  191. oci/database_management/models/create_db_management_private_endpoint_details.py +31 -0
  192. oci/database_management/models/db_management_private_endpoint.py +31 -0
  193. oci/database_management/models/direct_connector_details.py +51 -0
  194. oci/database_management/models/disable_autonomous_database_management_feature_details.py +92 -0
  195. oci/database_management/models/enable_autonomous_database_management_feature_details.py +68 -0
  196. oci/database_management/models/external_connector_details.py +1 -1
  197. oci/database_management/models/macs_connector_details.py +1 -1
  198. oci/database_management/models/modify_autonomous_database_management_feature_details.py +68 -0
  199. oci/database_management/models/optimizer_statistics_collection_operation.py +7 -3
  200. oci/database_management/models/optimizer_statistics_collection_operation_summary.py +7 -3
  201. oci/database_management/models/private_end_point_connector_details.py +1 -1
  202. oci/database_management/perfhub_client.py +1 -1
  203. oci/database_management/sql_tuning_client.py +17 -17
  204. oci/database_migration/database_migration_client.py +42 -42
  205. oci/database_tools/database_tools_client.py +23 -23
  206. oci/delegate_access_control/__init__.py +16 -0
  207. oci/delegate_access_control/delegate_access_control_client.py +3324 -0
  208. oci/delegate_access_control/delegate_access_control_client_composite_operations.py +492 -0
  209. oci/delegate_access_control/models/__init__.py +96 -0
  210. oci/delegate_access_control/models/approve_delegated_resource_access_request_details.py +138 -0
  211. oci/delegate_access_control/models/change_delegation_control_compartment_details.py +72 -0
  212. oci/delegate_access_control/models/change_delegation_subscription_compartment_details.py +72 -0
  213. oci/delegate_access_control/models/create_delegation_control_details.py +548 -0
  214. oci/delegate_access_control/models/create_delegation_subscription_details.py +263 -0
  215. oci/delegate_access_control/models/delegated_resource_access_request.py +1373 -0
  216. oci/delegate_access_control/models/delegated_resource_access_request_approval_details.py +263 -0
  217. oci/delegate_access_control/models/delegated_resource_access_request_audit_log_report.py +193 -0
  218. oci/delegate_access_control/models/delegated_resource_access_request_history_collection.py +72 -0
  219. oci/delegate_access_control/models/delegated_resource_access_request_history_summary.py +300 -0
  220. oci/delegate_access_control/models/delegated_resource_access_request_summary.py +981 -0
  221. oci/delegate_access_control/models/delegated_resource_access_request_summary_collection.py +72 -0
  222. oci/delegate_access_control/models/delegation_control.py +833 -0
  223. oci/delegate_access_control/models/delegation_control_resource_collection.py +72 -0
  224. oci/delegate_access_control/models/delegation_control_resource_summary.py +147 -0
  225. oci/delegate_access_control/models/delegation_control_summary.py +465 -0
  226. oci/delegate_access_control/models/delegation_control_summary_collection.py +72 -0
  227. oci/delegate_access_control/models/delegation_subscription.py +524 -0
  228. oci/delegate_access_control/models/delegation_subscription_summary.py +461 -0
  229. oci/delegate_access_control/models/delegation_subscription_summary_collection.py +72 -0
  230. oci/delegate_access_control/models/reject_delegated_resource_access_request_details.py +72 -0
  231. oci/delegate_access_control/models/revoke_delegated_resource_access_request_details.py +72 -0
  232. oci/delegate_access_control/models/service_provider.py +583 -0
  233. oci/delegate_access_control/models/service_provider_action.py +371 -0
  234. oci/delegate_access_control/models/service_provider_action_properties.py +103 -0
  235. oci/delegate_access_control/models/service_provider_action_summary.py +323 -0
  236. oci/delegate_access_control/models/service_provider_action_summary_collection.py +72 -0
  237. oci/delegate_access_control/models/service_provider_interaction_collection.py +72 -0
  238. oci/delegate_access_control/models/service_provider_interaction_request_details.py +72 -0
  239. oci/delegate_access_control/models/service_provider_interaction_summary.py +247 -0
  240. oci/delegate_access_control/models/service_provider_summary.py +508 -0
  241. oci/delegate_access_control/models/service_provider_summary_collection.py +72 -0
  242. oci/delegate_access_control/models/update_delegation_control_details.py +404 -0
  243. oci/delegate_access_control/models/update_delegation_subscription_details.py +154 -0
  244. oci/delegate_access_control/models/work_request.py +438 -0
  245. oci/delegate_access_control/models/work_request_error.py +136 -0
  246. oci/delegate_access_control/models/work_request_error_collection.py +72 -0
  247. oci/delegate_access_control/models/work_request_log_entry.py +103 -0
  248. oci/delegate_access_control/models/work_request_log_entry_collection.py +72 -0
  249. oci/delegate_access_control/models/work_request_resource.py +234 -0
  250. oci/delegate_access_control/models/work_request_summary.py +438 -0
  251. oci/delegate_access_control/models/work_request_summary_collection.py +72 -0
  252. oci/delegate_access_control/work_request_client.py +660 -0
  253. oci/delegate_access_control/work_request_client_composite_operations.py +26 -0
  254. oci/demand_signal/occ_demand_signal_client.py +7 -7
  255. oci/desktops/desktop_service_client.py +21 -21
  256. oci/devops/devops_client.py +141 -141
  257. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  258. oci/dns/dns_client.py +52 -52
  259. oci/dts/appliance_export_job_client.py +6 -6
  260. oci/dts/shipping_vendors_client.py +1 -1
  261. oci/dts/transfer_appliance_client.py +8 -8
  262. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  263. oci/dts/transfer_device_client.py +5 -5
  264. oci/dts/transfer_job_client.py +6 -6
  265. oci/dts/transfer_package_client.py +7 -7
  266. oci/em_warehouse/em_data_lake_client.py +13 -13
  267. oci/em_warehouse/em_warehouse_client.py +13 -13
  268. oci/email/email_client.py +31 -31
  269. oci/email_data_plane/email_dp_client.py +1 -1
  270. oci/events/events_client.py +6 -6
  271. oci/file_storage/file_storage_client.py +393 -59
  272. oci/file_storage/file_storage_client_composite_operations.py +138 -0
  273. oci/file_storage/models/__init__.py +4 -0
  274. oci/file_storage/models/create_mount_target_details.py +39 -26
  275. oci/file_storage/models/mount_target.py +153 -3
  276. oci/file_storage/models/mount_target_summary.py +155 -3
  277. oci/file_storage/models/schedule_downgrade_shape_mount_target_details.py +78 -0
  278. oci/file_storage/models/upgrade_shape_mount_target_details.py +78 -0
  279. oci/fleet_apps_management/fleet_apps_management_admin_client.py +16 -16
  280. oci/fleet_apps_management/fleet_apps_management_client.py +70 -70
  281. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +10 -10
  282. oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
  283. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +8 -8
  284. oci/fleet_software_update/fleet_software_update_client.py +48 -48
  285. oci/fleet_software_update/models/create_db_fsu_collection_details.py +7 -3
  286. oci/fleet_software_update/models/create_gi_fsu_collection_details.py +7 -3
  287. oci/fleet_software_update/models/db_collection.py +7 -3
  288. oci/fleet_software_update/models/db_discovery_details.py +7 -3
  289. oci/fleet_software_update/models/db_fsu_collection_summary.py +7 -3
  290. oci/fleet_software_update/models/gi_collection.py +7 -3
  291. oci/fleet_software_update/models/gi_discovery_details.py +7 -3
  292. oci/fleet_software_update/models/gi_fsu_collection_summary.py +7 -3
  293. oci/fleet_software_update/models/work_request.py +7 -3
  294. oci/fleet_software_update/models/work_request_summary.py +7 -3
  295. oci/functions/functions_invoke_client.py +1 -1
  296. oci/functions/functions_management_client.py +16 -16
  297. oci/fusion_apps/data_masking_activity_client.py +3 -3
  298. oci/fusion_apps/fusion_applications_client.py +41 -41
  299. oci/fusion_apps/fusion_environment_client.py +15 -15
  300. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  301. oci/fusion_apps/models/fusion_environment_family.py +33 -2
  302. oci/fusion_apps/refresh_activity_client.py +4 -4
  303. oci/fusion_apps/scheduled_activity_client.py +2 -2
  304. oci/fusion_apps/service_attachment_client.py +2 -2
  305. oci/generative_ai/generative_ai_client.py +23 -23
  306. oci/generative_ai/models/create_endpoint_details.py +2 -2
  307. oci/generative_ai/models/dedicated_ai_cluster.py +7 -3
  308. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  309. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  310. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  311. oci/golden_gate/golden_gate_client.py +68 -68
  312. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  313. oci/governance_rules_control_plane/work_request_client.py +5 -5
  314. oci/healthchecks/health_checks_client.py +17 -17
  315. oci/identity/identity_client.py +145 -145
  316. oci/identity_data_plane/dataplane_client.py +2 -2
  317. oci/identity_domains/identity_domains_client.py +307 -307
  318. oci/integration/integration_instance_client.py +16 -16
  319. oci/jms/java_management_service_client.py +75 -75
  320. oci/jms_java_downloads/java_download_client.py +25 -25
  321. oci/key_management/ekm_client.py +5 -5
  322. oci/key_management/kms_crypto_client.py +6 -6
  323. oci/key_management/kms_hsm_cluster_client.py +25 -25
  324. oci/key_management/kms_hsm_cluster_client_composite_operations.py +3 -3
  325. oci/key_management/kms_management_client.py +21 -21
  326. oci/key_management/kms_vault_client.py +14 -14
  327. oci/key_management/models/auto_key_rotation_details.py +10 -10
  328. oci/key_management/models/change_hsm_cluster_compartment_details.py +3 -3
  329. oci/key_management/models/create_hsm_cluster_details.py +5 -5
  330. oci/key_management/models/hsm_cluster.py +4 -4
  331. oci/key_management/models/hsm_cluster_collection.py +2 -2
  332. oci/key_management/models/hsm_cluster_summary.py +3 -3
  333. oci/key_management/models/hsm_partition.py +29 -9
  334. oci/key_management/models/hsm_partition_collection.py +1 -1
  335. oci/key_management/models/hsm_partition_summary.py +11 -7
  336. oci/key_management/models/port_information.py +5 -5
  337. oci/key_management/models/pre_co_user_credentials.py +2 -2
  338. oci/key_management/models/upload_partition_certificates_details.py +5 -5
  339. oci/key_management/models/vault.py +31 -0
  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/load_balancer/models/backend.py +4 -0
  345. oci/load_balancer/models/backend_details.py +4 -0
  346. oci/load_balancer/models/backend_set.py +6 -2
  347. oci/load_balancer/models/backend_set_details.py +6 -2
  348. oci/load_balancer/models/create_backend_details.py +4 -0
  349. oci/load_balancer/models/create_backend_set_details.py +6 -2
  350. oci/load_balancer/models/create_load_balancer_details.py +116 -0
  351. oci/load_balancer/models/ip_max_connections.py +8 -2
  352. oci/load_balancer/models/load_balancer.py +100 -0
  353. oci/load_balancer/models/update_backend_details.py +4 -0
  354. oci/load_balancer/models/update_backend_set_details.py +6 -2
  355. oci/load_balancer/models/update_load_balancer_details.py +112 -0
  356. oci/lockbox/lockbox_client.py +24 -24
  357. oci/lockbox/models/access_request.py +35 -2
  358. oci/lockbox/models/access_request_ext.py +35 -2
  359. oci/lockbox/models/access_request_summary.py +33 -0
  360. oci/lockbox/models/create_access_request_details.py +35 -2
  361. oci/log_analytics/log_analytics_client.py +193 -193
  362. oci/logging/logging_management_client.py +30 -30
  363. oci/loggingingestion/logging_client.py +1 -1
  364. oci/loggingsearch/log_search_client.py +1 -1
  365. oci/management_agent/management_agent_client.py +28 -28
  366. oci/management_dashboard/dashx_apis_client.py +14 -14
  367. oci/marketplace/account_client.py +2 -2
  368. oci/marketplace/marketplace_client.py +30 -30
  369. oci/marketplace_private_offer/attachment_client.py +5 -5
  370. oci/marketplace_private_offer/offer_client.py +6 -6
  371. oci/marketplace_publisher/attachment_client.py +5 -5
  372. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  373. oci/marketplace_publisher/offer_client.py +6 -6
  374. oci/media_services/media_services_client.py +60 -60
  375. oci/media_services/media_stream_client.py +2 -2
  376. oci/monitoring/monitoring_client.py +18 -18
  377. oci/mysql/channels_client.py +7 -7
  378. oci/mysql/db_backups_client.py +7 -7
  379. oci/mysql/db_system_client.py +17 -17
  380. oci/mysql/models/__init__.py +2 -0
  381. oci/mysql/models/create_db_system_details.py +37 -2
  382. oci/mysql/models/customer_contact.py +72 -0
  383. oci/mysql/models/db_system.py +37 -2
  384. oci/mysql/models/update_db_system_details.py +37 -2
  385. oci/mysql/mysqlaas_client.py +7 -7
  386. oci/mysql/replicas_client.py +5 -5
  387. oci/mysql/work_requests_client.py +4 -4
  388. oci/network_firewall/network_firewall_client.py +86 -86
  389. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  390. oci/nosql/nosql_client.py +24 -24
  391. oci/object_storage/models/__init__.py +14 -0
  392. oci/object_storage/models/access_target_details.py +136 -0
  393. oci/object_storage/models/create_private_endpoint_details.py +389 -0
  394. oci/object_storage/models/fqdns.py +99 -0
  395. oci/object_storage/models/prefix_fqdns.py +134 -0
  396. oci/object_storage/models/private_endpoint.py +685 -0
  397. oci/object_storage/models/private_endpoint_summary.py +369 -0
  398. oci/object_storage/models/update_private_endpoint_details.py +216 -0
  399. oci/object_storage/models/work_request.py +15 -3
  400. oci/object_storage/models/work_request_summary.py +15 -3
  401. oci/object_storage/object_storage_client.py +686 -71
  402. oci/object_storage/object_storage_client_composite_operations.py +139 -0
  403. oci/oce/oce_instance_client.py +10 -10
  404. oci/oci_control_center/occ_metrics_client.py +3 -3
  405. oci/ocvp/cluster_client.py +8 -8
  406. oci/ocvp/cluster_client_composite_operations.py +2 -2
  407. oci/ocvp/esxi_host_client.py +9 -9
  408. oci/ocvp/models/cluster.py +35 -2
  409. oci/ocvp/models/cluster_summary.py +35 -2
  410. oci/ocvp/models/datastore_details.py +1 -1
  411. oci/ocvp/models/esxi_host.py +35 -2
  412. oci/ocvp/models/esxi_host_summary.py +35 -2
  413. oci/ocvp/models/sddc.py +35 -2
  414. oci/ocvp/models/sddc_summary.py +35 -2
  415. oci/ocvp/models/supported_host_shape_summary.py +55 -3
  416. oci/ocvp/models/work_request.py +55 -3
  417. oci/ocvp/sddc_client.py +21 -16
  418. oci/ocvp/work_request_client.py +4 -4
  419. oci/oda/management_client.py +59 -59
  420. oci/oda/oda_client.py +17 -17
  421. oci/oda/odapackage_client.py +7 -7
  422. oci/onesubscription/billing_schedule_client.py +1 -1
  423. oci/onesubscription/commitment_client.py +2 -2
  424. oci/onesubscription/computed_usage_client.py +3 -3
  425. oci/onesubscription/invoice_summary_client.py +2 -2
  426. oci/onesubscription/organization_subscription_client.py +1 -1
  427. oci/onesubscription/ratecard_client.py +1 -1
  428. oci/onesubscription/subscribed_service_client.py +2 -2
  429. oci/onesubscription/subscription_client.py +1 -1
  430. oci/ons/notification_control_plane_client.py +6 -6
  431. oci/ons/notification_data_plane_client.py +10 -10
  432. oci/opa/opa_instance_client.py +13 -13
  433. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  434. oci/opensearch/opensearch_cluster_client.py +14 -14
  435. oci/operator_access_control/access_requests_client.py +10 -10
  436. oci/operator_access_control/operator_actions_client.py +2 -2
  437. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  438. oci/operator_access_control/operator_control_client.py +6 -6
  439. oci/opsi/operations_insights_client.py +177 -177
  440. oci/optimizer/optimizer_client.py +26 -26
  441. oci/os_management/event_client.py +8 -8
  442. oci/os_management/os_management_client.py +69 -69
  443. oci/os_management_hub/event_client.py +8 -8
  444. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  445. oci/os_management_hub/managed_instance_client.py +31 -31
  446. oci/os_management_hub/managed_instance_group_client.py +25 -25
  447. oci/os_management_hub/management_station_client.py +10 -10
  448. oci/os_management_hub/onboarding_client.py +6 -6
  449. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  450. oci/os_management_hub/scheduled_job_client.py +7 -7
  451. oci/os_management_hub/software_source_client.py +27 -27
  452. oci/os_management_hub/work_request_client.py +4 -4
  453. oci/osp_gateway/address_rule_service_client.py +1 -1
  454. oci/osp_gateway/address_service_client.py +2 -2
  455. oci/osp_gateway/invoice_service_client.py +5 -5
  456. oci/osp_gateway/subscription_service_client.py +5 -5
  457. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  458. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  459. oci/osub_subscription/commitment_client.py +2 -2
  460. oci/osub_subscription/ratecard_client.py +1 -1
  461. oci/osub_subscription/subscription_client.py +1 -1
  462. oci/osub_usage/computed_usage_client.py +3 -3
  463. oci/psql/postgresql_client.py +33 -33
  464. oci/queue/queue_admin_client.py +11 -11
  465. oci/queue/queue_client.py +8 -8
  466. oci/recovery/database_recovery_client.py +135 -25
  467. oci/recovery/database_recovery_client_composite_operations.py +42 -0
  468. oci/recovery/models/__init__.py +2 -0
  469. oci/recovery/models/change_protected_database_subscription_details.py +103 -0
  470. oci/recovery/models/create_protected_database_details.py +33 -0
  471. oci/recovery/models/create_protection_policy_details.py +39 -0
  472. oci/recovery/models/protected_database.py +31 -0
  473. oci/recovery/models/protected_database_summary.py +31 -0
  474. oci/recovery/models/protection_policy.py +31 -0
  475. oci/recovery/models/protection_policy_summary.py +31 -0
  476. oci/redis/redis_cluster_client.py +12 -12
  477. oci/regions_definitions.py +3 -0
  478. oci/resource_manager/resource_manager_client.py +52 -52
  479. oci/resource_scheduler/schedule_client.py +13 -13
  480. oci/resource_search/resource_search_client.py +3 -3
  481. oci/rover/rover_bundle_client.py +8 -8
  482. oci/rover/rover_cluster_client.py +8 -8
  483. oci/rover/rover_entitlement_client.py +6 -6
  484. oci/rover/rover_node_client.py +15 -15
  485. oci/rover/shape_client.py +1 -1
  486. oci/rover/work_requests_client.py +5 -5
  487. oci/sch/connector_plugins_client.py +2 -2
  488. oci/sch/service_connector_client.py +12 -12
  489. oci/secrets/secrets_client.py +3 -3
  490. oci/service_catalog/service_catalog_client.py +26 -26
  491. oci/service_endpoints.py +1 -0
  492. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  493. oci/service_mesh/service_mesh_client.py +48 -48
  494. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  495. oci/streaming/stream_admin_client.py +18 -18
  496. oci/streaming/stream_client.py +8 -8
  497. oci/tenant_manager_control_plane/domain_client.py +5 -5
  498. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  499. oci/tenant_manager_control_plane/governance_client.py +2 -2
  500. oci/tenant_manager_control_plane/link_client.py +3 -3
  501. oci/tenant_manager_control_plane/orders_client.py +2 -2
  502. oci/tenant_manager_control_plane/organization_client.py +10 -10
  503. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  504. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  505. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  506. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  507. oci/threat_intelligence/threatintel_client.py +5 -5
  508. oci/usage/resources_client.py +2 -2
  509. oci/usage/rewards_client.py +6 -6
  510. oci/usage/usagelimits_client.py +1 -1
  511. oci/usage_api/usageapi_client.py +33 -33
  512. oci/vault/vaults_client.py +13 -13
  513. oci/vbs_inst/vbs_instance_client.py +10 -10
  514. oci/version.py +1 -1
  515. oci/visual_builder/vb_instance_client.py +13 -13
  516. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  517. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  518. oci/waa/waa_client.py +13 -13
  519. oci/waa/work_request_client.py +4 -4
  520. oci/waas/redirect_client.py +6 -6
  521. oci/waas/waas_client.py +66 -66
  522. oci/waf/models/__init__.py +2 -0
  523. oci/waf/models/dynamic_http_response_body.py +104 -0
  524. oci/waf/models/http_response_body.py +11 -3
  525. oci/waf/models/static_text_http_response_body.py +1 -1
  526. oci/waf/waf_client.py +24 -24
  527. oci/work_requests/work_request_client.py +4 -4
  528. {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/METADATA +1 -1
  529. {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/RECORD +533 -391
  530. {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/LICENSE.txt +0 -0
  531. {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  532. {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/WHEEL +0 -0
  533. {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,492 @@
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: 20230801
6
+
7
+ import oci # noqa: F401
8
+ from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
9
+
10
+
11
+ class DelegateAccessControlClientCompositeOperations(object):
12
+ """
13
+ This class provides a wrapper around :py:class:`~oci.delegate_access_control.DelegateAccessControlClient` 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 DelegateAccessControlClientCompositeOperations object
22
+
23
+ :param DelegateAccessControlClient client:
24
+ The service client which will be wrapped by this object
25
+ """
26
+ self.client = client
27
+
28
+ def approve_delegated_resource_access_request_and_wait_for_state(self, delegated_resource_access_request_id, approve_delegated_resource_access_request_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
29
+ """
30
+ Calls :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.approve_delegated_resource_access_request` and waits for the :py:class:`~oci.delegate_access_control.models.WorkRequest`
31
+ to enter the given state(s).
32
+
33
+ :param str delegated_resource_access_request_id: (required)
34
+ Unique Delegated Resource Access Request identifier
35
+
36
+ :param oci.delegate_access_control.models.ApproveDelegatedResourceAccessRequestDetails approve_delegated_resource_access_request_details: (required)
37
+ Details regarding the approval of a Delegated Resource Access Request created by the support operator.
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.delegate_access_control.models.WorkRequest.status`
41
+
42
+ :param dict operation_kwargs:
43
+ A dictionary of keyword arguments to pass to :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.approve_delegated_resource_access_request`
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.approve_delegated_resource_access_request(delegated_resource_access_request_id, approve_delegated_resource_access_request_details, **operation_kwargs)
50
+ if not wait_for_states:
51
+ return operation_result
52
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
53
+ if 'opc-work-request-id' not in operation_result.headers:
54
+ return operation_result
55
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
56
+
57
+ try:
58
+ waiter_result = oci.wait_until(
59
+ self.client,
60
+ self.client.get_work_request(wait_for_resource_id),
61
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
62
+ **waiter_kwargs
63
+ )
64
+ result_to_return = waiter_result
65
+
66
+ return result_to_return
67
+ except Exception as e:
68
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
69
+
70
+ def change_delegation_control_compartment_and_wait_for_state(self, delegation_control_id, change_delegation_control_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
71
+ """
72
+ Calls :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.change_delegation_control_compartment` and waits for the :py:class:`~oci.delegate_access_control.models.WorkRequest`
73
+ to enter the given state(s).
74
+
75
+ :param str delegation_control_id: (required)
76
+ unique Delegation Control identifier
77
+
78
+ :param oci.delegate_access_control.models.ChangeDelegationControlCompartmentDetails change_delegation_control_compartment_details: (required)
79
+ Moves the Delegation Control resource into a different compartment.
80
+
81
+ :param list[str] wait_for_states:
82
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.delegate_access_control.models.WorkRequest.status`
83
+
84
+ :param dict operation_kwargs:
85
+ A dictionary of keyword arguments to pass to :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.change_delegation_control_compartment`
86
+
87
+ :param dict waiter_kwargs:
88
+ 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``
89
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
90
+ """
91
+ operation_result = self.client.change_delegation_control_compartment(delegation_control_id, change_delegation_control_compartment_details, **operation_kwargs)
92
+ if not wait_for_states:
93
+ return operation_result
94
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
95
+ if 'opc-work-request-id' not in operation_result.headers:
96
+ return operation_result
97
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
98
+
99
+ try:
100
+ waiter_result = oci.wait_until(
101
+ self.client,
102
+ self.client.get_work_request(wait_for_resource_id),
103
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
104
+ **waiter_kwargs
105
+ )
106
+ result_to_return = waiter_result
107
+
108
+ return result_to_return
109
+ except Exception as e:
110
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
111
+
112
+ def change_delegation_subscription_compartment_and_wait_for_state(self, delegation_subscription_id, change_delegation_subscription_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
113
+ """
114
+ Calls :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.change_delegation_subscription_compartment` and waits for the :py:class:`~oci.delegate_access_control.models.WorkRequest`
115
+ to enter the given state(s).
116
+
117
+ :param str delegation_subscription_id: (required)
118
+ unique Delegation Subscription identifier
119
+
120
+ :param oci.delegate_access_control.models.ChangeDelegationSubscriptionCompartmentDetails change_delegation_subscription_compartment_details: (required)
121
+ Moves the Delegation Subscription resource into a different compartment.
122
+
123
+ :param list[str] wait_for_states:
124
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.delegate_access_control.models.WorkRequest.status`
125
+
126
+ :param dict operation_kwargs:
127
+ A dictionary of keyword arguments to pass to :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.change_delegation_subscription_compartment`
128
+
129
+ :param dict waiter_kwargs:
130
+ 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``
131
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
132
+ """
133
+ operation_result = self.client.change_delegation_subscription_compartment(delegation_subscription_id, change_delegation_subscription_compartment_details, **operation_kwargs)
134
+ if not wait_for_states:
135
+ return operation_result
136
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
137
+ if 'opc-work-request-id' not in operation_result.headers:
138
+ return operation_result
139
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
140
+
141
+ try:
142
+ waiter_result = oci.wait_until(
143
+ self.client,
144
+ self.client.get_work_request(wait_for_resource_id),
145
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
146
+ **waiter_kwargs
147
+ )
148
+ result_to_return = waiter_result
149
+
150
+ return result_to_return
151
+ except Exception as e:
152
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
153
+
154
+ def create_delegation_control_and_wait_for_state(self, create_delegation_control_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
155
+ """
156
+ Calls :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.create_delegation_control` and waits for the :py:class:`~oci.delegate_access_control.models.WorkRequest`
157
+ to enter the given state(s).
158
+
159
+ :param oci.delegate_access_control.models.CreateDelegationControlDetails create_delegation_control_details: (required)
160
+ Details for the new Delegation Control.
161
+
162
+ :param list[str] wait_for_states:
163
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.delegate_access_control.models.WorkRequest.status`
164
+
165
+ :param dict operation_kwargs:
166
+ A dictionary of keyword arguments to pass to :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.create_delegation_control`
167
+
168
+ :param dict waiter_kwargs:
169
+ 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``
170
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
171
+ """
172
+ operation_result = self.client.create_delegation_control(create_delegation_control_details, **operation_kwargs)
173
+ if not wait_for_states:
174
+ return operation_result
175
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
176
+ if 'opc-work-request-id' not in operation_result.headers:
177
+ return operation_result
178
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
179
+
180
+ try:
181
+ waiter_result = oci.wait_until(
182
+ self.client,
183
+ self.client.get_work_request(wait_for_resource_id),
184
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
185
+ **waiter_kwargs
186
+ )
187
+ result_to_return = waiter_result
188
+
189
+ return result_to_return
190
+ except Exception as e:
191
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
192
+
193
+ def create_delegation_subscription_and_wait_for_state(self, create_delegation_subscription_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
194
+ """
195
+ Calls :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.create_delegation_subscription` and waits for the :py:class:`~oci.delegate_access_control.models.WorkRequest`
196
+ to enter the given state(s).
197
+
198
+ :param oci.delegate_access_control.models.CreateDelegationSubscriptionDetails create_delegation_subscription_details: (required)
199
+ Details for creating Delegation Subscription in Delegation Control.
200
+
201
+ :param list[str] wait_for_states:
202
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.delegate_access_control.models.WorkRequest.status`
203
+
204
+ :param dict operation_kwargs:
205
+ A dictionary of keyword arguments to pass to :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.create_delegation_subscription`
206
+
207
+ :param dict waiter_kwargs:
208
+ 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``
209
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
210
+ """
211
+ operation_result = self.client.create_delegation_subscription(create_delegation_subscription_details, **operation_kwargs)
212
+ if not wait_for_states:
213
+ return operation_result
214
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
215
+ if 'opc-work-request-id' not in operation_result.headers:
216
+ return operation_result
217
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
218
+
219
+ try:
220
+ waiter_result = oci.wait_until(
221
+ self.client,
222
+ self.client.get_work_request(wait_for_resource_id),
223
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
224
+ **waiter_kwargs
225
+ )
226
+ result_to_return = waiter_result
227
+
228
+ return result_to_return
229
+ except Exception as e:
230
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
231
+
232
+ def delete_delegation_control_and_wait_for_state(self, delegation_control_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
233
+ """
234
+ Calls :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.delete_delegation_control` and waits for the :py:class:`~oci.delegate_access_control.models.WorkRequest`
235
+ to enter the given state(s).
236
+
237
+ :param str delegation_control_id: (required)
238
+ unique Delegation Control identifier
239
+
240
+ :param list[str] wait_for_states:
241
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.delegate_access_control.models.WorkRequest.status`
242
+
243
+ :param dict operation_kwargs:
244
+ A dictionary of keyword arguments to pass to :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.delete_delegation_control`
245
+
246
+ :param dict waiter_kwargs:
247
+ 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``
248
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
249
+ """
250
+ operation_result = None
251
+ try:
252
+ operation_result = self.client.delete_delegation_control(delegation_control_id, **operation_kwargs)
253
+ except oci.exceptions.ServiceError as e:
254
+ if e.status == 404:
255
+ return WAIT_RESOURCE_NOT_FOUND
256
+ else:
257
+ raise e
258
+
259
+ if not wait_for_states:
260
+ return operation_result
261
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
262
+ if 'opc-work-request-id' not in operation_result.headers:
263
+ return operation_result
264
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
265
+
266
+ try:
267
+ waiter_result = oci.wait_until(
268
+ self.client,
269
+ self.client.get_work_request(wait_for_resource_id),
270
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
271
+ **waiter_kwargs
272
+ )
273
+ result_to_return = waiter_result
274
+
275
+ return result_to_return
276
+ except Exception as e:
277
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
278
+
279
+ def delete_delegation_subscription_and_wait_for_state(self, delegation_subscription_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
280
+ """
281
+ Calls :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.delete_delegation_subscription` and waits for the :py:class:`~oci.delegate_access_control.models.WorkRequest`
282
+ to enter the given state(s).
283
+
284
+ :param str delegation_subscription_id: (required)
285
+ unique Delegation Subscription identifier
286
+
287
+ :param list[str] wait_for_states:
288
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.delegate_access_control.models.WorkRequest.status`
289
+
290
+ :param dict operation_kwargs:
291
+ A dictionary of keyword arguments to pass to :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.delete_delegation_subscription`
292
+
293
+ :param dict waiter_kwargs:
294
+ 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``
295
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
296
+ """
297
+ operation_result = None
298
+ try:
299
+ operation_result = self.client.delete_delegation_subscription(delegation_subscription_id, **operation_kwargs)
300
+ except oci.exceptions.ServiceError as e:
301
+ if e.status == 404:
302
+ return WAIT_RESOURCE_NOT_FOUND
303
+ else:
304
+ raise e
305
+
306
+ if not wait_for_states:
307
+ return operation_result
308
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
309
+ if 'opc-work-request-id' not in operation_result.headers:
310
+ return operation_result
311
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
312
+
313
+ try:
314
+ waiter_result = oci.wait_until(
315
+ self.client,
316
+ self.client.get_work_request(wait_for_resource_id),
317
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
318
+ **waiter_kwargs
319
+ )
320
+ result_to_return = waiter_result
321
+
322
+ return result_to_return
323
+ except Exception as e:
324
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
325
+
326
+ def reject_delegated_resource_access_request_and_wait_for_state(self, delegated_resource_access_request_id, reject_delegated_resource_access_request_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
327
+ """
328
+ Calls :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.reject_delegated_resource_access_request` and waits for the :py:class:`~oci.delegate_access_control.models.WorkRequest`
329
+ to enter the given state(s).
330
+
331
+ :param str delegated_resource_access_request_id: (required)
332
+ Unique Delegated Resource Access Request identifier
333
+
334
+ :param oci.delegate_access_control.models.RejectDelegatedResourceAccessRequestDetails reject_delegated_resource_access_request_details: (required)
335
+ Details regarding the rejection of a Delegated Resource Access Request created by the support operator.
336
+
337
+ :param list[str] wait_for_states:
338
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.delegate_access_control.models.WorkRequest.status`
339
+
340
+ :param dict operation_kwargs:
341
+ A dictionary of keyword arguments to pass to :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.reject_delegated_resource_access_request`
342
+
343
+ :param dict waiter_kwargs:
344
+ 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``
345
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
346
+ """
347
+ operation_result = self.client.reject_delegated_resource_access_request(delegated_resource_access_request_id, reject_delegated_resource_access_request_details, **operation_kwargs)
348
+ if not wait_for_states:
349
+ return operation_result
350
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
351
+ if 'opc-work-request-id' not in operation_result.headers:
352
+ return operation_result
353
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
354
+
355
+ try:
356
+ waiter_result = oci.wait_until(
357
+ self.client,
358
+ self.client.get_work_request(wait_for_resource_id),
359
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
360
+ **waiter_kwargs
361
+ )
362
+ result_to_return = waiter_result
363
+
364
+ return result_to_return
365
+ except Exception as e:
366
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
367
+
368
+ def revoke_delegated_resource_access_request_and_wait_for_state(self, delegated_resource_access_request_id, revoke_delegated_resource_access_request_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
369
+ """
370
+ Calls :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.revoke_delegated_resource_access_request` and waits for the :py:class:`~oci.delegate_access_control.models.WorkRequest`
371
+ to enter the given state(s).
372
+
373
+ :param str delegated_resource_access_request_id: (required)
374
+ Unique Delegated Resource Access Request identifier
375
+
376
+ :param oci.delegate_access_control.models.RevokeDelegatedResourceAccessRequestDetails revoke_delegated_resource_access_request_details: (required)
377
+ Details regarding the revocation of a Delegated Resource Access Request created by the support operator.
378
+
379
+ :param list[str] wait_for_states:
380
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.delegate_access_control.models.WorkRequest.status`
381
+
382
+ :param dict operation_kwargs:
383
+ A dictionary of keyword arguments to pass to :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.revoke_delegated_resource_access_request`
384
+
385
+ :param dict waiter_kwargs:
386
+ 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``
387
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
388
+ """
389
+ operation_result = self.client.revoke_delegated_resource_access_request(delegated_resource_access_request_id, revoke_delegated_resource_access_request_details, **operation_kwargs)
390
+ if not wait_for_states:
391
+ return operation_result
392
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
393
+ if 'opc-work-request-id' not in operation_result.headers:
394
+ return operation_result
395
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
396
+
397
+ try:
398
+ waiter_result = oci.wait_until(
399
+ self.client,
400
+ self.client.get_work_request(wait_for_resource_id),
401
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
402
+ **waiter_kwargs
403
+ )
404
+ result_to_return = waiter_result
405
+
406
+ return result_to_return
407
+ except Exception as e:
408
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
409
+
410
+ def update_delegation_control_and_wait_for_state(self, delegation_control_id, update_delegation_control_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
411
+ """
412
+ Calls :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.update_delegation_control` and waits for the :py:class:`~oci.delegate_access_control.models.WorkRequest`
413
+ to enter the given state(s).
414
+
415
+ :param str delegation_control_id: (required)
416
+ unique Delegation Control identifier
417
+
418
+ :param oci.delegate_access_control.models.UpdateDelegationControlDetails update_delegation_control_details: (required)
419
+ Details for the new DelegationControl.
420
+
421
+ :param list[str] wait_for_states:
422
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.delegate_access_control.models.WorkRequest.status`
423
+
424
+ :param dict operation_kwargs:
425
+ A dictionary of keyword arguments to pass to :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.update_delegation_control`
426
+
427
+ :param dict waiter_kwargs:
428
+ 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``
429
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
430
+ """
431
+ operation_result = self.client.update_delegation_control(delegation_control_id, update_delegation_control_details, **operation_kwargs)
432
+ if not wait_for_states:
433
+ return operation_result
434
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
435
+ if 'opc-work-request-id' not in operation_result.headers:
436
+ return operation_result
437
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
438
+
439
+ try:
440
+ waiter_result = oci.wait_until(
441
+ self.client,
442
+ self.client.get_work_request(wait_for_resource_id),
443
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
444
+ **waiter_kwargs
445
+ )
446
+ result_to_return = waiter_result
447
+
448
+ return result_to_return
449
+ except Exception as e:
450
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
451
+
452
+ def update_delegation_subscription_and_wait_for_state(self, delegation_subscription_id, update_delegation_subscription_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
453
+ """
454
+ Calls :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.update_delegation_subscription` and waits for the :py:class:`~oci.delegate_access_control.models.WorkRequest`
455
+ to enter the given state(s).
456
+
457
+ :param str delegation_subscription_id: (required)
458
+ unique Delegation Subscription identifier
459
+
460
+ :param oci.delegate_access_control.models.UpdateDelegationSubscriptionDetails update_delegation_subscription_details: (required)
461
+ Details for the DelegationSubscription to be updated.
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.delegate_access_control.models.WorkRequest.status`
465
+
466
+ :param dict operation_kwargs:
467
+ A dictionary of keyword arguments to pass to :py:func:`~oci.delegate_access_control.DelegateAccessControlClient.update_delegation_subscription`
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 = self.client.update_delegation_subscription(delegation_subscription_id, update_delegation_subscription_details, **operation_kwargs)
474
+ if not wait_for_states:
475
+ return operation_result
476
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
477
+ if 'opc-work-request-id' not in operation_result.headers:
478
+ return operation_result
479
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
480
+
481
+ try:
482
+ waiter_result = oci.wait_until(
483
+ self.client,
484
+ self.client.get_work_request(wait_for_resource_id),
485
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
486
+ **waiter_kwargs
487
+ )
488
+ result_to_return = waiter_result
489
+
490
+ return result_to_return
491
+ except Exception as e:
492
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
@@ -0,0 +1,96 @@
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: 20230801
6
+
7
+ from __future__ import absolute_import
8
+
9
+ from .approve_delegated_resource_access_request_details import ApproveDelegatedResourceAccessRequestDetails
10
+ from .change_delegation_control_compartment_details import ChangeDelegationControlCompartmentDetails
11
+ from .change_delegation_subscription_compartment_details import ChangeDelegationSubscriptionCompartmentDetails
12
+ from .create_delegation_control_details import CreateDelegationControlDetails
13
+ from .create_delegation_subscription_details import CreateDelegationSubscriptionDetails
14
+ from .delegated_resource_access_request import DelegatedResourceAccessRequest
15
+ from .delegated_resource_access_request_approval_details import DelegatedResourceAccessRequestApprovalDetails
16
+ from .delegated_resource_access_request_audit_log_report import DelegatedResourceAccessRequestAuditLogReport
17
+ from .delegated_resource_access_request_history_collection import DelegatedResourceAccessRequestHistoryCollection
18
+ from .delegated_resource_access_request_history_summary import DelegatedResourceAccessRequestHistorySummary
19
+ from .delegated_resource_access_request_summary import DelegatedResourceAccessRequestSummary
20
+ from .delegated_resource_access_request_summary_collection import DelegatedResourceAccessRequestSummaryCollection
21
+ from .delegation_control import DelegationControl
22
+ from .delegation_control_resource_collection import DelegationControlResourceCollection
23
+ from .delegation_control_resource_summary import DelegationControlResourceSummary
24
+ from .delegation_control_summary import DelegationControlSummary
25
+ from .delegation_control_summary_collection import DelegationControlSummaryCollection
26
+ from .delegation_subscription import DelegationSubscription
27
+ from .delegation_subscription_summary import DelegationSubscriptionSummary
28
+ from .delegation_subscription_summary_collection import DelegationSubscriptionSummaryCollection
29
+ from .reject_delegated_resource_access_request_details import RejectDelegatedResourceAccessRequestDetails
30
+ from .revoke_delegated_resource_access_request_details import RevokeDelegatedResourceAccessRequestDetails
31
+ from .service_provider import ServiceProvider
32
+ from .service_provider_action import ServiceProviderAction
33
+ from .service_provider_action_properties import ServiceProviderActionProperties
34
+ from .service_provider_action_summary import ServiceProviderActionSummary
35
+ from .service_provider_action_summary_collection import ServiceProviderActionSummaryCollection
36
+ from .service_provider_interaction_collection import ServiceProviderInteractionCollection
37
+ from .service_provider_interaction_request_details import ServiceProviderInteractionRequestDetails
38
+ from .service_provider_interaction_summary import ServiceProviderInteractionSummary
39
+ from .service_provider_summary import ServiceProviderSummary
40
+ from .service_provider_summary_collection import ServiceProviderSummaryCollection
41
+ from .update_delegation_control_details import UpdateDelegationControlDetails
42
+ from .update_delegation_subscription_details import UpdateDelegationSubscriptionDetails
43
+ from .work_request import WorkRequest
44
+ from .work_request_error import WorkRequestError
45
+ from .work_request_error_collection import WorkRequestErrorCollection
46
+ from .work_request_log_entry import WorkRequestLogEntry
47
+ from .work_request_log_entry_collection import WorkRequestLogEntryCollection
48
+ from .work_request_resource import WorkRequestResource
49
+ from .work_request_summary import WorkRequestSummary
50
+ from .work_request_summary_collection import WorkRequestSummaryCollection
51
+
52
+ # Maps type names to classes for delegate_access_control services.
53
+ delegate_access_control_type_mapping = {
54
+ "ApproveDelegatedResourceAccessRequestDetails": ApproveDelegatedResourceAccessRequestDetails,
55
+ "ChangeDelegationControlCompartmentDetails": ChangeDelegationControlCompartmentDetails,
56
+ "ChangeDelegationSubscriptionCompartmentDetails": ChangeDelegationSubscriptionCompartmentDetails,
57
+ "CreateDelegationControlDetails": CreateDelegationControlDetails,
58
+ "CreateDelegationSubscriptionDetails": CreateDelegationSubscriptionDetails,
59
+ "DelegatedResourceAccessRequest": DelegatedResourceAccessRequest,
60
+ "DelegatedResourceAccessRequestApprovalDetails": DelegatedResourceAccessRequestApprovalDetails,
61
+ "DelegatedResourceAccessRequestAuditLogReport": DelegatedResourceAccessRequestAuditLogReport,
62
+ "DelegatedResourceAccessRequestHistoryCollection": DelegatedResourceAccessRequestHistoryCollection,
63
+ "DelegatedResourceAccessRequestHistorySummary": DelegatedResourceAccessRequestHistorySummary,
64
+ "DelegatedResourceAccessRequestSummary": DelegatedResourceAccessRequestSummary,
65
+ "DelegatedResourceAccessRequestSummaryCollection": DelegatedResourceAccessRequestSummaryCollection,
66
+ "DelegationControl": DelegationControl,
67
+ "DelegationControlResourceCollection": DelegationControlResourceCollection,
68
+ "DelegationControlResourceSummary": DelegationControlResourceSummary,
69
+ "DelegationControlSummary": DelegationControlSummary,
70
+ "DelegationControlSummaryCollection": DelegationControlSummaryCollection,
71
+ "DelegationSubscription": DelegationSubscription,
72
+ "DelegationSubscriptionSummary": DelegationSubscriptionSummary,
73
+ "DelegationSubscriptionSummaryCollection": DelegationSubscriptionSummaryCollection,
74
+ "RejectDelegatedResourceAccessRequestDetails": RejectDelegatedResourceAccessRequestDetails,
75
+ "RevokeDelegatedResourceAccessRequestDetails": RevokeDelegatedResourceAccessRequestDetails,
76
+ "ServiceProvider": ServiceProvider,
77
+ "ServiceProviderAction": ServiceProviderAction,
78
+ "ServiceProviderActionProperties": ServiceProviderActionProperties,
79
+ "ServiceProviderActionSummary": ServiceProviderActionSummary,
80
+ "ServiceProviderActionSummaryCollection": ServiceProviderActionSummaryCollection,
81
+ "ServiceProviderInteractionCollection": ServiceProviderInteractionCollection,
82
+ "ServiceProviderInteractionRequestDetails": ServiceProviderInteractionRequestDetails,
83
+ "ServiceProviderInteractionSummary": ServiceProviderInteractionSummary,
84
+ "ServiceProviderSummary": ServiceProviderSummary,
85
+ "ServiceProviderSummaryCollection": ServiceProviderSummaryCollection,
86
+ "UpdateDelegationControlDetails": UpdateDelegationControlDetails,
87
+ "UpdateDelegationSubscriptionDetails": UpdateDelegationSubscriptionDetails,
88
+ "WorkRequest": WorkRequest,
89
+ "WorkRequestError": WorkRequestError,
90
+ "WorkRequestErrorCollection": WorkRequestErrorCollection,
91
+ "WorkRequestLogEntry": WorkRequestLogEntry,
92
+ "WorkRequestLogEntryCollection": WorkRequestLogEntryCollection,
93
+ "WorkRequestResource": WorkRequestResource,
94
+ "WorkRequestSummary": WorkRequestSummary,
95
+ "WorkRequestSummaryCollection": WorkRequestSummaryCollection
96
+ }