oci 2.101.0__py3-none-any.whl → 2.103.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 (341) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/access_governance_cp/access_governance_cp_client_composite_operations.py +9 -1
  3. oci/adm/application_dependency_management_client.py +18 -18
  4. oci/adm/application_dependency_management_client_composite_operations.py +9 -1
  5. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  6. oci/ai_anomaly_detection/anomaly_detection_client_composite_operations.py +18 -2
  7. oci/ai_document/ai_service_document_client.py +3 -3
  8. oci/ai_language/ai_service_language_client.py +35 -35
  9. oci/ai_speech/ai_service_speech_client.py +9 -9
  10. oci/ai_vision/ai_service_vision_client.py +25 -25
  11. oci/analytics/analytics_client.py +23 -23
  12. oci/announcements_service/announcement_client.py +4 -4
  13. oci/announcements_service/announcement_subscription_client.py +9 -9
  14. oci/announcements_service/announcement_subscription_client_composite_operations.py +9 -1
  15. oci/announcements_service/announcements_preferences_client.py +4 -4
  16. oci/apigateway/api_gateway_client.py +21 -21
  17. oci/apigateway/deployment_client.py +6 -6
  18. oci/apigateway/gateway_client.py +6 -6
  19. oci/apigateway/subscribers_client.py +6 -6
  20. oci/apigateway/usage_plans_client.py +6 -6
  21. oci/apigateway/work_requests_client.py +5 -5
  22. oci/apm_config/config_client.py +8 -8
  23. oci/apm_control_plane/apm_domain_client.py +14 -14
  24. oci/apm_synthetics/apm_synthetic_client.py +18 -18
  25. oci/apm_traces/query_client.py +2 -2
  26. oci/apm_traces/trace_client.py +4 -4
  27. oci/application_migration/application_migration_client.py +19 -19
  28. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  29. oci/artifacts/artifacts_client.py +30 -30
  30. oci/artifacts/artifacts_client_composite_operations.py +36 -4
  31. oci/audit/audit_client.py +3 -3
  32. oci/auth/signers/instance_principals_security_token_signer.py +9 -3
  33. oci/autoscaling/auto_scaling_client.py +11 -11
  34. oci/bastion/bastion_client.py +15 -15
  35. oci/bds/bds_client.py +40 -40
  36. oci/blockchain/blockchain_platform_client.py +27 -27
  37. oci/budget/budget_client.py +10 -10
  38. oci/budget/budget_client_composite_operations.py +9 -1
  39. oci/certificates/certificates_client.py +5 -5
  40. oci/certificates_management/certificates_management_client.py +32 -32
  41. oci/certificates_management/certificates_management_client_composite_operations.py +9 -1
  42. oci/cims/incident_client.py +7 -7
  43. oci/cims/user_client.py +1 -1
  44. oci/cloud_bridge/common_client.py +5 -5
  45. oci/cloud_bridge/discovery_client.py +14 -14
  46. oci/cloud_bridge/discovery_client_composite_operations.py +9 -1
  47. oci/cloud_bridge/inventory_client.py +16 -16
  48. oci/cloud_bridge/inventory_client_composite_operations.py +9 -1
  49. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  50. oci/cloud_bridge/ocb_agent_svc_client_composite_operations.py +27 -3
  51. oci/cloud_guard/cloud_guard_client.py +133 -133
  52. oci/cloud_guard/cloud_guard_client_composite_operations.py +63 -7
  53. oci/cloud_migrations/migration_client.py +43 -43
  54. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  55. oci/compute_instance_agent/plugin_client.py +2 -2
  56. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  57. oci/container_engine/container_engine_client.py +36 -36
  58. oci/container_instances/container_instance_client.py +18 -18
  59. oci/core/blockstorage_client.py +60 -60
  60. oci/core/blockstorage_client_composite_operations.py +54 -6
  61. oci/core/compute_client.py +89 -89
  62. oci/core/compute_client_composite_operations.py +72 -8
  63. oci/core/compute_management_client.py +32 -32
  64. oci/core/compute_management_client_composite_operations.py +9 -1
  65. oci/core/virtual_network_client.py +241 -241
  66. oci/core/virtual_network_client_composite_operations.py +216 -24
  67. oci/dashboard_service/dashboard_client.py +6 -6
  68. oci/dashboard_service/dashboard_client_composite_operations.py +9 -1
  69. oci/dashboard_service/dashboard_group_client.py +6 -6
  70. oci/dashboard_service/dashboard_group_client_composite_operations.py +9 -1
  71. oci/data_catalog/data_catalog_client.py +139 -139
  72. oci/data_flow/data_flow_client.py +28 -28
  73. oci/data_flow/data_flow_client_composite_operations.py +18 -2
  74. oci/data_integration/data_integration_client.py +152 -152
  75. oci/data_labeling_service/data_labeling_management_client.py +16 -16
  76. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  77. oci/data_labeling_service_dataplane/data_labeling_client_composite_operations.py +18 -2
  78. oci/data_safe/data_safe_client.py +214 -214
  79. oci/data_safe/data_safe_client_composite_operations.py +18 -2
  80. oci/data_science/data_science_client.py +85 -85
  81. oci/data_science/data_science_client_composite_operations.py +27 -3
  82. oci/database/database_client.py +428 -304
  83. oci/database/database_client_composite_operations.py +18 -2
  84. oci/database/models/__init__.py +4 -0
  85. oci/database/models/autonomous_container_database.py +2 -2
  86. oci/database/models/autonomous_container_database_summary.py +2 -2
  87. oci/database/models/autonomous_database.py +6 -2
  88. oci/database/models/autonomous_database_summary.py +6 -2
  89. oci/database/models/autonomous_virtual_machine.py +37 -2
  90. oci/database/models/autonomous_virtual_machine_summary.py +37 -2
  91. oci/database/models/autonomous_vm_cluster.py +10 -6
  92. oci/database/models/autonomous_vm_cluster_resource_details.py +105 -0
  93. oci/database/models/autonomous_vm_cluster_summary.py +10 -6
  94. oci/database/models/cloud_autonomous_vm_cluster.py +43 -4
  95. oci/database/models/cloud_autonomous_vm_cluster_summary.py +43 -4
  96. oci/database/models/create_autonomous_container_database_details.py +2 -2
  97. oci/database/models/create_autonomous_vm_cluster_details.py +6 -2
  98. oci/database/models/create_cloud_autonomous_vm_cluster_details.py +6 -2
  99. oci/database/models/exadata_infrastructure.py +31 -0
  100. oci/database/models/exadata_infrastructure_summary.py +31 -0
  101. oci/database/models/exadata_infrastructure_un_allocated_resources.py +260 -0
  102. oci/database/models/rotate_autonomous_vm_cluster_ords_certs_details.py +2 -2
  103. oci/database/models/rotate_autonomous_vm_cluster_ssl_certs_details.py +3 -3
  104. oci/database/models/rotate_cloud_autonomous_vm_cluster_ords_certs_details.py +2 -2
  105. oci/database/models/rotate_cloud_autonomous_vm_cluster_ssl_certs_details.py +2 -2
  106. oci/database/models/vm_cluster.py +31 -0
  107. oci/database/models/vm_cluster_summary.py +31 -0
  108. oci/database_management/db_management_client.py +157 -157
  109. oci/database_management/db_management_client_composite_operations.py +45 -5
  110. oci/database_management/diagnosability_client.py +4 -4
  111. oci/database_management/sql_tuning_client.py +10 -10
  112. oci/database_migration/database_migration_client.py +41 -41
  113. oci/database_migration/database_migration_client_composite_operations.py +9 -1
  114. oci/database_tools/database_tools_client.py +19 -19
  115. oci/devops/devops_client.py +89 -89
  116. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  117. oci/disaster_recovery/disaster_recovery_client_composite_operations.py +9 -1
  118. oci/dns/dns_client.py +197 -51
  119. oci/dns/dns_client_composite_operations.py +45 -5
  120. oci/dns/models/__init__.py +2 -0
  121. oci/dns/models/create_zone_details.py +35 -2
  122. oci/dns/models/external_downstream.py +137 -0
  123. oci/dns/models/update_zone_details.py +35 -2
  124. oci/dns/models/zone.py +33 -0
  125. oci/dts/appliance_export_job_client.py +6 -6
  126. oci/dts/appliance_export_job_client_composite_operations.py +9 -1
  127. oci/dts/shipping_vendors_client.py +1 -1
  128. oci/dts/transfer_appliance_client.py +8 -8
  129. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  130. oci/dts/transfer_device_client.py +5 -5
  131. oci/dts/transfer_job_client.py +6 -6
  132. oci/dts/transfer_job_client_composite_operations.py +9 -1
  133. oci/dts/transfer_package_client.py +7 -7
  134. oci/em_warehouse/em_data_lake_client.py +13 -13
  135. oci/em_warehouse/em_warehouse_client.py +13 -13
  136. oci/email/email_client.py +25 -25
  137. oci/email/email_client_composite_operations.py +9 -1
  138. oci/events/events_client.py +6 -6
  139. oci/events/events_client_composite_operations.py +9 -1
  140. oci/file_storage/file_storage_client.py +35 -35
  141. oci/file_storage/file_storage_client_composite_operations.py +54 -6
  142. oci/functions/functions_invoke_client.py +1 -1
  143. oci/functions/functions_management_client.py +16 -16
  144. oci/functions/functions_management_client_composite_operations.py +18 -2
  145. oci/fusion_apps/data_masking_activity_client.py +3 -3
  146. oci/fusion_apps/fusion_applications_client.py +357 -36
  147. oci/fusion_apps/fusion_applications_client_composite_operations.py +90 -0
  148. oci/fusion_apps/fusion_environment_client.py +15 -15
  149. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  150. oci/fusion_apps/models/__init__.py +2 -12
  151. oci/fusion_apps/models/create_service_attachment_details.py +45 -52
  152. oci/fusion_apps/models/service_attachment.py +0 -31
  153. oci/fusion_apps/models/verify_service_attachment_details.py +101 -0
  154. oci/fusion_apps/refresh_activity_client.py +4 -4
  155. oci/fusion_apps/scheduled_activity_client.py +2 -2
  156. oci/fusion_apps/service_attachment_client.py +2 -2
  157. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  158. oci/golden_gate/golden_gate_client.py +53 -53
  159. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  160. oci/governance_rules_control_plane/work_request_client.py +5 -5
  161. oci/healthchecks/health_checks_client.py +17 -17
  162. oci/identity/identity_client.py +145 -145
  163. oci/identity/identity_client_composite_operations.py +63 -7
  164. oci/identity_data_plane/dataplane_client.py +1 -1
  165. oci/identity_domains/identity_domains_client.py +134 -134
  166. oci/integration/integration_instance_client.py +15 -15
  167. oci/jms/java_management_service_client.py +44 -44
  168. oci/key_management/kms_crypto_client.py +6 -6
  169. oci/key_management/kms_management_client.py +21 -21
  170. oci/key_management/kms_vault_client.py +14 -14
  171. oci/license_manager/license_manager_client.py +18 -18
  172. oci/license_manager/license_manager_client_composite_operations.py +18 -2
  173. oci/limits/limits_client.py +4 -4
  174. oci/limits/quotas_client.py +7 -7
  175. oci/limits/quotas_client_composite_operations.py +9 -1
  176. oci/load_balancer/load_balancer_client.py +61 -61
  177. oci/lockbox/lockbox_client.py +22 -22
  178. oci/lockbox/lockbox_client_composite_operations.py +18 -2
  179. oci/log_analytics/log_analytics_client.py +184 -184
  180. oci/logging/logging_management_client.py +62 -300
  181. oci/logging/logging_management_client_composite_operations.py +12 -4
  182. oci/logging/models/__init__.py +2 -6
  183. oci/logging/models/archiving.py +2 -2
  184. oci/logging/models/category.py +2 -2
  185. oci/logging/models/change_log_saved_search_compartment_details.py +1 -1
  186. oci/logging/models/create_log_details.py +2 -2
  187. oci/logging/models/create_log_saved_search_details.py +1 -1
  188. oci/logging/models/log.py +2 -2
  189. oci/logging/models/log_saved_search.py +1 -1
  190. oci/logging/models/log_saved_search_summary.py +1 -1
  191. oci/logging/models/log_summary.py +2 -2
  192. oci/logging/models/parameter.py +77 -5
  193. oci/logging/models/unified_agent_apache2_parser.py +1 -1
  194. oci/logging/models/unified_agent_apache_error_parser.py +1 -1
  195. oci/logging/models/unified_agent_auditd_parser.py +1 -1
  196. oci/logging/models/unified_agent_cri_parser.py +160 -0
  197. oci/logging/models/unified_agent_csv_parser.py +10 -2
  198. oci/logging/models/unified_agent_grok_parser.py +14 -2
  199. oci/logging/models/unified_agent_logging_configuration.py +6 -2
  200. oci/logging/models/unified_agent_msgpack_parser.py +1 -1
  201. oci/logging/models/unified_agent_multiline_grok_parser.py +18 -2
  202. oci/logging/models/unified_agent_multiline_parser.py +10 -2
  203. oci/logging/models/unified_agent_none_parser.py +5 -1
  204. oci/logging/models/unified_agent_parser.py +51 -3
  205. oci/logging/models/unified_agent_regex_parser.py +10 -2
  206. oci/logging/models/unified_agent_syslog_parser.py +25 -1
  207. oci/logging/models/unified_agent_tail_log_source.py +5 -1
  208. oci/logging/models/unified_agent_tsv_parser.py +10 -2
  209. oci/logging/models/unified_agent_windows_event_source.py +5 -1
  210. oci/logging/models/unified_json_parser.py +9 -1
  211. oci/logging/models/update_log_details.py +2 -2
  212. oci/logging/models/update_log_saved_search_details.py +1 -1
  213. oci/logging/models/work_request.py +2 -2
  214. oci/logging/models/work_request_summary.py +2 -2
  215. oci/loggingingestion/logging_client.py +1 -1
  216. oci/loggingsearch/log_search_client.py +1 -1
  217. oci/management_agent/management_agent_client.py +23 -23
  218. oci/management_agent/management_agent_client_composite_operations.py +18 -2
  219. oci/management_dashboard/dashx_apis_client.py +14 -14
  220. oci/management_dashboard/dashx_apis_client_composite_operations.py +18 -2
  221. oci/marketplace/account_client.py +2 -2
  222. oci/marketplace/marketplace_client.py +25 -25
  223. oci/marketplace/marketplace_client_composite_operations.py +9 -1
  224. oci/media_services/media_services_client.py +48 -48
  225. oci/media_services/media_services_client_composite_operations.py +63 -7
  226. oci/media_services/media_stream_client.py +2 -2
  227. oci/monitoring/monitoring_client.py +13 -13
  228. oci/monitoring/monitoring_client_composite_operations.py +9 -1
  229. oci/mysql/channels_client.py +7 -7
  230. oci/mysql/db_backups_client.py +6 -6
  231. oci/mysql/db_system_client.py +26 -26
  232. oci/mysql/mysqlaas_client.py +7 -7
  233. oci/mysql/mysqlaas_client_composite_operations.py +9 -1
  234. oci/mysql/replicas_client.py +5 -5
  235. oci/mysql/work_requests_client.py +4 -4
  236. oci/network_firewall/network_firewall_client.py +17 -17
  237. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  238. oci/nosql/nosql_client.py +22 -22
  239. oci/object_storage/object_storage_client.py +50 -50
  240. oci/oce/oce_instance_client.py +10 -10
  241. oci/ocvp/esxi_host_client.py +5 -5
  242. oci/ocvp/sddc_client.py +13 -13
  243. oci/ocvp/work_request_client.py +4 -4
  244. oci/oda/management_client.py +56 -56
  245. oci/oda/oda_client.py +17 -17
  246. oci/oda/odapackage_client.py +7 -7
  247. oci/onesubscription/billing_schedule_client.py +1 -1
  248. oci/onesubscription/commitment_client.py +2 -2
  249. oci/onesubscription/computed_usage_client.py +3 -3
  250. oci/onesubscription/invoice_summary_client.py +2 -2
  251. oci/onesubscription/organization_subscription_client.py +1 -1
  252. oci/onesubscription/ratecard_client.py +1 -1
  253. oci/onesubscription/subscribed_service_client.py +2 -2
  254. oci/onesubscription/subscription_client.py +1 -1
  255. oci/ons/notification_control_plane_client.py +6 -6
  256. oci/ons/notification_data_plane_client.py +10 -10
  257. oci/ons/notification_data_plane_client_composite_operations.py +9 -1
  258. oci/opa/opa_instance_client.py +11 -11
  259. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  260. oci/opensearch/opensearch_cluster_client.py +14 -14
  261. oci/operator_access_control/access_requests_client.py +9 -9
  262. oci/operator_access_control/operator_actions_client.py +2 -2
  263. oci/operator_access_control/operator_control_assignment_client.py +6 -6
  264. oci/operator_access_control/operator_control_assignment_client_composite_operations.py +9 -1
  265. oci/operator_access_control/operator_control_client.py +6 -6
  266. oci/operator_access_control/operator_control_client_composite_operations.py +9 -1
  267. oci/opsi/operations_insights_client.py +151 -151
  268. oci/optimizer/optimizer_client.py +26 -26
  269. oci/optimizer/optimizer_client_composite_operations.py +9 -1
  270. oci/os_management/event_client.py +8 -8
  271. oci/os_management/os_management_client.py +69 -69
  272. oci/os_management/os_management_client_composite_operations.py +27 -3
  273. oci/osp_gateway/invoice_service_client.py +5 -5
  274. oci/osp_gateway/subscription_service_client.py +5 -5
  275. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  276. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  277. oci/osub_subscription/commitment_client.py +2 -2
  278. oci/osub_subscription/ratecard_client.py +1 -1
  279. oci/osub_subscription/subscription_client.py +1 -1
  280. oci/osub_usage/computed_usage_client.py +3 -3
  281. oci/queue/queue_admin_client.py +11 -11
  282. oci/queue/queue_client.py +7 -7
  283. oci/recovery/database_recovery_client.py +23 -23
  284. oci/resource_manager/resource_manager_client.py +52 -52
  285. oci/resource_manager/resource_manager_client_composite_operations.py +45 -5
  286. oci/resource_search/resource_search_client.py +3 -3
  287. oci/rover/rover_cluster_client.py +7 -7
  288. oci/rover/rover_cluster_client_composite_operations.py +9 -1
  289. oci/rover/rover_entitlement_client.py +6 -6
  290. oci/rover/rover_entitlement_client_composite_operations.py +9 -1
  291. oci/rover/rover_node_client.py +10 -10
  292. oci/rover/rover_node_client_composite_operations.py +9 -1
  293. oci/rover/shape_client.py +1 -1
  294. oci/sch/service_connector_client.py +12 -12
  295. oci/secrets/secrets_client.py +3 -3
  296. oci/service_catalog/service_catalog_client.py +26 -26
  297. oci/service_catalog/service_catalog_client_composite_operations.py +9 -1
  298. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  299. oci/service_mesh/service_mesh_client.py +48 -48
  300. oci/stack_monitoring/stack_monitoring_client.py +22 -22
  301. oci/stack_monitoring/stack_monitoring_client_composite_operations.py +9 -1
  302. oci/streaming/stream_admin_client.py +18 -18
  303. oci/streaming/stream_admin_client_composite_operations.py +27 -3
  304. oci/streaming/stream_client.py +8 -8
  305. oci/tenant_manager_control_plane/domain_client.py +5 -5
  306. oci/tenant_manager_control_plane/domain_client_composite_operations.py +9 -1
  307. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  308. oci/tenant_manager_control_plane/domain_governance_client_composite_operations.py +9 -1
  309. oci/tenant_manager_control_plane/governance_client.py +2 -2
  310. oci/tenant_manager_control_plane/link_client.py +3 -3
  311. oci/tenant_manager_control_plane/orders_client.py +2 -2
  312. oci/tenant_manager_control_plane/organization_client.py +10 -10
  313. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  314. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  315. oci/tenant_manager_control_plane/subscription_client.py +9 -9
  316. oci/tenant_manager_control_plane/subscription_client_composite_operations.py +9 -1
  317. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  318. oci/threat_intelligence/threatintel_client.py +5 -5
  319. oci/usage/rewards_client.py +6 -6
  320. oci/usage_api/usageapi_client.py +19 -19
  321. oci/usage_api/usageapi_client_composite_operations.py +9 -1
  322. oci/vault/vaults_client.py +11 -11
  323. oci/vbs_inst/vbs_instance_client.py +10 -10
  324. oci/version.py +1 -1
  325. oci/visual_builder/vb_instance_client.py +13 -13
  326. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  327. oci/vn_monitoring/vn_monitoring_client_composite_operations.py +9 -1
  328. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  329. oci/waa/waa_client.py +13 -13
  330. oci/waa/work_request_client.py +4 -4
  331. oci/waas/redirect_client.py +6 -6
  332. oci/waas/waas_client.py +66 -66
  333. oci/waas/waas_client_composite_operations.py +27 -3
  334. oci/waf/waf_client.py +24 -24
  335. oci/work_requests/work_request_client.py +4 -4
  336. {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/METADATA +1 -1
  337. {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/RECORD +341 -336
  338. {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/LICENSE.txt +0 -0
  339. {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  340. {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/WHEEL +0 -0
  341. {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/top_level.txt +0 -0
@@ -268,11 +268,19 @@ class WaasClientCompositeOperations(object):
268
268
  lowered_wait_for_states = [w.lower() for w in wait_for_states]
269
269
 
270
270
  try:
271
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
272
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_address_list, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
273
+ else:
274
+ """
275
+ If the user does not send in this value, we set it to True by default.
276
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
277
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
278
+ """
279
+ waiter_kwargs["succeed_on_not_found"] = True
271
280
  waiter_result = oci.wait_until(
272
281
  self.client,
273
282
  initial_get_result, # noqa: F821
274
283
  evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
275
- succeed_on_not_found=True,
276
284
  **waiter_kwargs
277
285
  )
278
286
  result_to_return = waiter_result
@@ -322,11 +330,19 @@ class WaasClientCompositeOperations(object):
322
330
  lowered_wait_for_states = [w.lower() for w in wait_for_states]
323
331
 
324
332
  try:
333
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
334
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_certificate, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
335
+ else:
336
+ """
337
+ If the user does not send in this value, we set it to True by default.
338
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
339
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
340
+ """
341
+ waiter_kwargs["succeed_on_not_found"] = True
325
342
  waiter_result = oci.wait_until(
326
343
  self.client,
327
344
  initial_get_result, # noqa: F821
328
345
  evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
329
- succeed_on_not_found=True,
330
346
  **waiter_kwargs
331
347
  )
332
348
  result_to_return = waiter_result
@@ -376,11 +392,19 @@ class WaasClientCompositeOperations(object):
376
392
  lowered_wait_for_states = [w.lower() for w in wait_for_states]
377
393
 
378
394
  try:
395
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
396
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_custom_protection_rule, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
397
+ else:
398
+ """
399
+ If the user does not send in this value, we set it to True by default.
400
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
401
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
402
+ """
403
+ waiter_kwargs["succeed_on_not_found"] = True
379
404
  waiter_result = oci.wait_until(
380
405
  self.client,
381
406
  initial_get_result, # noqa: F821
382
407
  evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
383
- succeed_on_not_found=True,
384
408
  **waiter_kwargs
385
409
  )
386
410
  result_to_return = waiter_result
oci/waf/waf_client.py CHANGED
@@ -148,7 +148,7 @@ class WafClient(object):
148
148
  :rtype: :class:`~oci.response.Response`
149
149
 
150
150
  :example:
151
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/change_network_address_list_compartment.py.html>`__ to see an example of how to use change_network_address_list_compartment API.
151
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/change_network_address_list_compartment.py.html>`__ to see an example of how to use change_network_address_list_compartment API.
152
152
  """
153
153
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
154
154
  required_arguments = ['networkAddressListId']
@@ -259,7 +259,7 @@ class WafClient(object):
259
259
  :rtype: :class:`~oci.response.Response`
260
260
 
261
261
  :example:
262
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/change_web_app_firewall_compartment.py.html>`__ to see an example of how to use change_web_app_firewall_compartment API.
262
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/change_web_app_firewall_compartment.py.html>`__ to see an example of how to use change_web_app_firewall_compartment API.
263
263
  """
264
264
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
265
265
  required_arguments = ['webAppFirewallId']
@@ -370,7 +370,7 @@ class WafClient(object):
370
370
  :rtype: :class:`~oci.response.Response`
371
371
 
372
372
  :example:
373
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/change_web_app_firewall_policy_compartment.py.html>`__ to see an example of how to use change_web_app_firewall_policy_compartment API.
373
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/change_web_app_firewall_policy_compartment.py.html>`__ to see an example of how to use change_web_app_firewall_policy_compartment API.
374
374
  """
375
375
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
376
376
  required_arguments = ['webAppFirewallPolicyId']
@@ -476,7 +476,7 @@ class WafClient(object):
476
476
  :rtype: :class:`~oci.response.Response`
477
477
 
478
478
  :example:
479
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/create_network_address_list.py.html>`__ to see an example of how to use create_network_address_list API.
479
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/create_network_address_list.py.html>`__ to see an example of how to use create_network_address_list API.
480
480
  """
481
481
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
482
482
  required_arguments = []
@@ -573,7 +573,7 @@ class WafClient(object):
573
573
  :rtype: :class:`~oci.response.Response`
574
574
 
575
575
  :example:
576
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/create_web_app_firewall.py.html>`__ to see an example of how to use create_web_app_firewall API.
576
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/create_web_app_firewall.py.html>`__ to see an example of how to use create_web_app_firewall API.
577
577
  """
578
578
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
579
579
  required_arguments = []
@@ -670,7 +670,7 @@ class WafClient(object):
670
670
  :rtype: :class:`~oci.response.Response`
671
671
 
672
672
  :example:
673
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/create_web_app_firewall_policy.py.html>`__ to see an example of how to use create_web_app_firewall_policy API.
673
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/create_web_app_firewall_policy.py.html>`__ to see an example of how to use create_web_app_firewall_policy API.
674
674
  """
675
675
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
676
676
  required_arguments = []
@@ -768,7 +768,7 @@ class WafClient(object):
768
768
  :rtype: :class:`~oci.response.Response`
769
769
 
770
770
  :example:
771
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/delete_network_address_list.py.html>`__ to see an example of how to use delete_network_address_list API.
771
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/delete_network_address_list.py.html>`__ to see an example of how to use delete_network_address_list API.
772
772
  """
773
773
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
774
774
  required_arguments = ['networkAddressListId']
@@ -873,7 +873,7 @@ class WafClient(object):
873
873
  :rtype: :class:`~oci.response.Response`
874
874
 
875
875
  :example:
876
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/delete_web_app_firewall.py.html>`__ to see an example of how to use delete_web_app_firewall API.
876
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/delete_web_app_firewall.py.html>`__ to see an example of how to use delete_web_app_firewall API.
877
877
  """
878
878
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
879
879
  required_arguments = ['webAppFirewallId']
@@ -978,7 +978,7 @@ class WafClient(object):
978
978
  :rtype: :class:`~oci.response.Response`
979
979
 
980
980
  :example:
981
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/delete_web_app_firewall_policy.py.html>`__ to see an example of how to use delete_web_app_firewall_policy API.
981
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/delete_web_app_firewall_policy.py.html>`__ to see an example of how to use delete_web_app_firewall_policy API.
982
982
  """
983
983
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
984
984
  required_arguments = ['webAppFirewallPolicyId']
@@ -1078,7 +1078,7 @@ class WafClient(object):
1078
1078
  :rtype: :class:`~oci.response.Response`
1079
1079
 
1080
1080
  :example:
1081
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/get_network_address_list.py.html>`__ to see an example of how to use get_network_address_list API.
1081
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/get_network_address_list.py.html>`__ to see an example of how to use get_network_address_list API.
1082
1082
  """
1083
1083
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1084
1084
  required_arguments = ['networkAddressListId']
@@ -1178,7 +1178,7 @@ class WafClient(object):
1178
1178
  :rtype: :class:`~oci.response.Response`
1179
1179
 
1180
1180
  :example:
1181
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/get_web_app_firewall.py.html>`__ to see an example of how to use get_web_app_firewall API.
1181
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/get_web_app_firewall.py.html>`__ to see an example of how to use get_web_app_firewall API.
1182
1182
  """
1183
1183
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1184
1184
  required_arguments = ['webAppFirewallId']
@@ -1278,7 +1278,7 @@ class WafClient(object):
1278
1278
  :rtype: :class:`~oci.response.Response`
1279
1279
 
1280
1280
  :example:
1281
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/get_web_app_firewall_policy.py.html>`__ to see an example of how to use get_web_app_firewall_policy API.
1281
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/get_web_app_firewall_policy.py.html>`__ to see an example of how to use get_web_app_firewall_policy API.
1282
1282
  """
1283
1283
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1284
1284
  required_arguments = ['webAppFirewallPolicyId']
@@ -1378,7 +1378,7 @@ class WafClient(object):
1378
1378
  :rtype: :class:`~oci.response.Response`
1379
1379
 
1380
1380
  :example:
1381
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
1381
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
1382
1382
  """
1383
1383
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1384
1384
  required_arguments = ['workRequestId']
@@ -1509,7 +1509,7 @@ class WafClient(object):
1509
1509
  :rtype: :class:`~oci.response.Response`
1510
1510
 
1511
1511
  :example:
1512
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/list_network_address_lists.py.html>`__ to see an example of how to use list_network_address_lists API.
1512
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/list_network_address_lists.py.html>`__ to see an example of how to use list_network_address_lists API.
1513
1513
  """
1514
1514
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1515
1515
  required_arguments = ['compartmentId']
@@ -1670,7 +1670,7 @@ class WafClient(object):
1670
1670
  :rtype: :class:`~oci.response.Response`
1671
1671
 
1672
1672
  :example:
1673
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/list_protection_capabilities.py.html>`__ to see an example of how to use list_protection_capabilities API.
1673
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/list_protection_capabilities.py.html>`__ to see an example of how to use list_protection_capabilities API.
1674
1674
  """
1675
1675
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1676
1676
  required_arguments = ['compartmentId']
@@ -1831,7 +1831,7 @@ class WafClient(object):
1831
1831
  :rtype: :class:`~oci.response.Response`
1832
1832
 
1833
1833
  :example:
1834
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/list_protection_capability_group_tags.py.html>`__ to see an example of how to use list_protection_capability_group_tags API.
1834
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/list_protection_capability_group_tags.py.html>`__ to see an example of how to use list_protection_capability_group_tags API.
1835
1835
  """
1836
1836
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1837
1837
  required_arguments = ['compartmentId']
@@ -1990,7 +1990,7 @@ class WafClient(object):
1990
1990
  :rtype: :class:`~oci.response.Response`
1991
1991
 
1992
1992
  :example:
1993
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/list_web_app_firewall_policies.py.html>`__ to see an example of how to use list_web_app_firewall_policies API.
1993
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/list_web_app_firewall_policies.py.html>`__ to see an example of how to use list_web_app_firewall_policies API.
1994
1994
  """
1995
1995
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1996
1996
  required_arguments = ['compartmentId']
@@ -2149,7 +2149,7 @@ class WafClient(object):
2149
2149
  :rtype: :class:`~oci.response.Response`
2150
2150
 
2151
2151
  :example:
2152
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/list_web_app_firewalls.py.html>`__ to see an example of how to use list_web_app_firewalls API.
2152
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/list_web_app_firewalls.py.html>`__ to see an example of how to use list_web_app_firewalls API.
2153
2153
  """
2154
2154
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2155
2155
  required_arguments = ['compartmentId']
@@ -2281,7 +2281,7 @@ class WafClient(object):
2281
2281
  :rtype: :class:`~oci.response.Response`
2282
2282
 
2283
2283
  :example:
2284
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
2284
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
2285
2285
  """
2286
2286
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2287
2287
  required_arguments = ['workRequestId']
@@ -2398,7 +2398,7 @@ class WafClient(object):
2398
2398
  :rtype: :class:`~oci.response.Response`
2399
2399
 
2400
2400
  :example:
2401
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
2401
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
2402
2402
  """
2403
2403
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2404
2404
  required_arguments = ['workRequestId']
@@ -2520,7 +2520,7 @@ class WafClient(object):
2520
2520
  :rtype: :class:`~oci.response.Response`
2521
2521
 
2522
2522
  :example:
2523
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
2523
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
2524
2524
  """
2525
2525
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2526
2526
  required_arguments = ['compartmentId']
@@ -2629,7 +2629,7 @@ class WafClient(object):
2629
2629
  :rtype: :class:`~oci.response.Response`
2630
2630
 
2631
2631
  :example:
2632
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/update_network_address_list.py.html>`__ to see an example of how to use update_network_address_list API.
2632
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/update_network_address_list.py.html>`__ to see an example of how to use update_network_address_list API.
2633
2633
  """
2634
2634
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2635
2635
  required_arguments = ['networkAddressListId']
@@ -2739,7 +2739,7 @@ class WafClient(object):
2739
2739
  :rtype: :class:`~oci.response.Response`
2740
2740
 
2741
2741
  :example:
2742
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/update_web_app_firewall.py.html>`__ to see an example of how to use update_web_app_firewall API.
2742
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/update_web_app_firewall.py.html>`__ to see an example of how to use update_web_app_firewall API.
2743
2743
  """
2744
2744
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2745
2745
  required_arguments = ['webAppFirewallId']
@@ -2849,7 +2849,7 @@ class WafClient(object):
2849
2849
  :rtype: :class:`~oci.response.Response`
2850
2850
 
2851
2851
  :example:
2852
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/waf/update_web_app_firewall_policy.py.html>`__ to see an example of how to use update_web_app_firewall_policy API.
2852
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/waf/update_web_app_firewall_policy.py.html>`__ to see an example of how to use update_web_app_firewall_policy API.
2853
2853
  """
2854
2854
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2855
2855
  required_arguments = ['webAppFirewallPolicyId']
@@ -144,7 +144,7 @@ class WorkRequestClient(object):
144
144
  :rtype: :class:`~oci.response.Response`
145
145
 
146
146
  :example:
147
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/workrequests/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
147
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/workrequests/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
148
148
  """
149
149
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
150
150
  required_arguments = ['workRequestId']
@@ -262,7 +262,7 @@ class WorkRequestClient(object):
262
262
  :rtype: :class:`~oci.response.Response`
263
263
 
264
264
  :example:
265
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/workrequests/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
265
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/workrequests/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
266
266
  """
267
267
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
268
268
  required_arguments = ['workRequestId']
@@ -399,7 +399,7 @@ class WorkRequestClient(object):
399
399
  :rtype: :class:`~oci.response.Response`
400
400
 
401
401
  :example:
402
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/workrequests/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
402
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/workrequests/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
403
403
  """
404
404
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
405
405
  required_arguments = ['workRequestId']
@@ -536,7 +536,7 @@ class WorkRequestClient(object):
536
536
  :rtype: :class:`~oci.response.Response`
537
537
 
538
538
  :example:
539
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.101.0/workrequests/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
539
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/workrequests/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
540
540
  """
541
541
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
542
542
  required_arguments = ['compartmentId']
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: oci
3
- Version: 2.101.0
3
+ Version: 2.103.0
4
4
  Summary: Oracle Cloud Infrastructure Python SDK
5
5
  Home-page: https://docs.oracle.com/en-us/iaas/tools/python/latest/index.html
6
6
  Author: Oracle