oci 2.132.0__py3-none-any.whl → 2.133.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 (489) 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 +17 -17
  24. oci/ai_vision/ai_service_vision_client.py +25 -25
  25. oci/analytics/analytics_client.py +24 -24
  26. oci/announcements_service/__init__.py +3 -1
  27. oci/announcements_service/announcement_client.py +103 -6
  28. oci/announcements_service/announcement_subscription_client.py +9 -9
  29. oci/announcements_service/announcements_preferences_client.py +4 -4
  30. oci/announcements_service/models/__init__.py +12 -0
  31. oci/announcements_service/models/announcement.py +1 -1
  32. oci/announcements_service/models/announcement_compartment.py +72 -0
  33. oci/announcements_service/models/announcement_summary.py +1 -1
  34. oci/announcements_service/models/base_announcement.py +7 -3
  35. oci/announcements_service/models/base_service.py +498 -0
  36. oci/announcements_service/models/notifications_summary.py +130 -0
  37. oci/announcements_service/models/service.py +130 -0
  38. oci/announcements_service/models/service_summary.py +133 -0
  39. oci/announcements_service/models/services_collection.py +72 -0
  40. oci/announcements_service/service_client.py +275 -0
  41. oci/announcements_service/service_client_composite_operations.py +26 -0
  42. oci/apigateway/api_gateway_client.py +21 -21
  43. oci/apigateway/deployment_client.py +6 -6
  44. oci/apigateway/gateway_client.py +6 -6
  45. oci/apigateway/subscribers_client.py +6 -6
  46. oci/apigateway/usage_plans_client.py +6 -6
  47. oci/apigateway/work_requests_client.py +5 -5
  48. oci/apm_config/config_client.py +9 -9
  49. oci/apm_control_plane/apm_domain_client.py +14 -14
  50. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  51. oci/apm_traces/attributes_client.py +8 -8
  52. oci/apm_traces/query_client.py +2 -2
  53. oci/apm_traces/trace_client.py +4 -4
  54. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  55. oci/artifacts/artifacts_client.py +32 -32
  56. oci/audit/audit_client.py +3 -3
  57. oci/autoscaling/auto_scaling_client.py +11 -11
  58. oci/bastion/bastion_client.py +15 -15
  59. oci/bds/bds_client.py +72 -72
  60. oci/blockchain/blockchain_platform_client.py +27 -27
  61. oci/budget/budget_client.py +10 -10
  62. oci/capacity_management/capacity_management_client.py +22 -22
  63. oci/certificates/certificates_client.py +5 -5
  64. oci/certificates_management/certificates_management_client.py +32 -32
  65. oci/cims/incident_client.py +8 -8
  66. oci/cims/user_client.py +1 -1
  67. oci/cloud_bridge/common_client.py +5 -5
  68. oci/cloud_bridge/discovery_client.py +14 -14
  69. oci/cloud_bridge/inventory_client.py +16 -16
  70. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  71. oci/cloud_guard/cloud_guard_client.py +155 -155
  72. oci/cloud_migrations/migration_client.py +43 -43
  73. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  74. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  75. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  76. oci/compute_instance_agent/plugin_client.py +2 -2
  77. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  78. oci/container_engine/container_engine_client.py +44 -44
  79. oci/container_instances/container_instance_client.py +18 -18
  80. oci/core/blockstorage_client.py +60 -60
  81. oci/core/compute_client.py +102 -102
  82. oci/core/compute_management_client.py +32 -32
  83. oci/core/virtual_network_client.py +247 -247
  84. oci/dashboard_service/dashboard_client.py +6 -6
  85. oci/dashboard_service/dashboard_group_client.py +6 -6
  86. oci/data_catalog/data_catalog_client.py +149 -149
  87. oci/data_flow/data_flow_client.py +42 -42
  88. oci/data_integration/data_integration_client.py +163 -163
  89. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  90. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  91. oci/data_safe/data_safe_client.py +287 -287
  92. oci/data_science/data_science_client.py +91 -91
  93. oci/database/database_client.py +13862 -9467
  94. oci/database/database_client_composite_operations.py +1868 -232
  95. oci/database/models/__init__.py +80 -0
  96. oci/database/models/action_member.py +134 -0
  97. oci/database/models/action_order_details.py +107 -0
  98. oci/database/models/action_param_values_collection.py +72 -0
  99. oci/database/models/action_param_values_summary.py +216 -0
  100. oci/database/models/autonomous_database.py +33 -6
  101. oci/database/models/autonomous_database_standby_summary.py +33 -2
  102. oci/database/models/autonomous_database_summary.py +33 -6
  103. oci/database/models/cancel_execution_window_details.py +134 -0
  104. oci/database/models/change_scheduling_plan_compartment_details.py +76 -0
  105. oci/database/models/change_scheduling_policy_compartment_details.py +76 -0
  106. oci/database/models/cloud_exadata_infrastructure.py +33 -2
  107. oci/database/models/cloud_exadata_infrastructure_summary.py +33 -2
  108. oci/database/models/create_autonomous_database_base.py +2 -6
  109. oci/database/models/create_data_guard_association_with_new_db_system_details.py +35 -0
  110. oci/database/models/create_exadb_vm_cluster_details.py +12 -2
  111. oci/database/models/create_execution_action_details.py +304 -0
  112. oci/database/models/create_execution_window_details.py +282 -0
  113. oci/database/models/create_pluggable_database_creation_type_details.py +0 -2
  114. oci/database/models/create_scheduled_action_details.py +339 -0
  115. oci/database/models/create_scheduling_plan_details.py +306 -0
  116. oci/database/models/create_scheduling_policy_details.py +267 -0
  117. oci/database/models/create_scheduling_window_details.py +181 -0
  118. oci/database/models/exadata_infrastructure.py +33 -2
  119. oci/database/models/exadata_infrastructure_summary.py +33 -2
  120. oci/database/models/exadb_vm_cluster.py +12 -2
  121. oci/database/models/exadb_vm_cluster_summary.py +12 -2
  122. oci/database/models/execution_action.py +715 -0
  123. oci/database/models/execution_action_member.py +216 -0
  124. oci/database/models/execution_action_summary.py +715 -0
  125. oci/database/models/execution_window.py +783 -0
  126. oci/database/models/execution_window_summary.py +783 -0
  127. oci/database/models/granular_maintenance_history_details.py +99 -0
  128. oci/database/models/maintenance_run.py +62 -0
  129. oci/database/models/maintenance_run_history.py +64 -2
  130. oci/database/models/maintenance_run_history_summary.py +64 -2
  131. oci/database/models/maintenance_run_summary.py +62 -0
  132. oci/database/models/move_execution_action_member_details.py +220 -0
  133. oci/database/models/recommended_scheduled_action_summary.py +280 -0
  134. oci/database/models/recommended_scheduled_actions_collection.py +72 -0
  135. oci/database/models/reorder_execution_action_details.py +152 -0
  136. oci/database/models/reorder_scheduled_actions_details.py +109 -0
  137. oci/database/models/scheduled_action.py +633 -0
  138. oci/database/models/scheduled_action_collection.py +72 -0
  139. oci/database/models/scheduled_action_summary.py +633 -0
  140. oci/database/models/scheduling_plan.py +643 -0
  141. oci/database/models/scheduling_plan_collection.py +72 -0
  142. oci/database/models/scheduling_plan_summary.py +643 -0
  143. oci/database/models/scheduling_policy.py +493 -0
  144. oci/database/models/scheduling_policy_summary.py +493 -0
  145. oci/database/models/scheduling_window.py +469 -0
  146. oci/database/models/scheduling_window_summary.py +469 -0
  147. oci/database/models/update_autonomous_database_details.py +2 -6
  148. oci/database/models/update_exadb_vm_cluster_details.py +12 -2
  149. oci/database/models/update_execution_action_details.py +218 -0
  150. oci/database/models/update_execution_window_details.py +212 -0
  151. oci/database/models/update_scheduled_action_details.py +140 -0
  152. oci/database/models/update_scheduling_policy_details.py +232 -0
  153. oci/database/models/update_scheduling_window_details.py +146 -0
  154. oci/database/models/window_preference_detail.py +231 -0
  155. oci/database_management/db_management_client.py +580 -208
  156. oci/database_management/db_management_client_composite_operations.py +132 -0
  157. oci/database_management/diagnosability_client.py +4 -4
  158. oci/database_management/managed_my_sql_databases_client.py +7 -7
  159. oci/database_management/models/__init__.py +14 -0
  160. oci/database_management/models/autonomous_database_diagnostics_and_management_feature_details.py +65 -0
  161. oci/database_management/models/autonomous_database_feature_details.py +167 -0
  162. oci/database_management/models/autonomous_database_sql_watch_feature_details.py +65 -0
  163. oci/database_management/models/connector_details.py +15 -3
  164. oci/database_management/models/create_db_management_private_endpoint_details.py +31 -0
  165. oci/database_management/models/db_management_private_endpoint.py +31 -0
  166. oci/database_management/models/direct_connector_details.py +51 -0
  167. oci/database_management/models/disable_autonomous_database_management_feature_details.py +92 -0
  168. oci/database_management/models/enable_autonomous_database_management_feature_details.py +68 -0
  169. oci/database_management/models/external_connector_details.py +1 -1
  170. oci/database_management/models/macs_connector_details.py +1 -1
  171. oci/database_management/models/modify_autonomous_database_management_feature_details.py +68 -0
  172. oci/database_management/models/optimizer_statistics_collection_operation.py +7 -3
  173. oci/database_management/models/optimizer_statistics_collection_operation_summary.py +7 -3
  174. oci/database_management/models/private_end_point_connector_details.py +1 -1
  175. oci/database_management/perfhub_client.py +1 -1
  176. oci/database_management/sql_tuning_client.py +17 -17
  177. oci/database_migration/database_migration_client.py +42 -42
  178. oci/database_tools/database_tools_client.py +23 -23
  179. oci/delegate_access_control/__init__.py +16 -0
  180. oci/delegate_access_control/delegate_access_control_client.py +3324 -0
  181. oci/delegate_access_control/delegate_access_control_client_composite_operations.py +492 -0
  182. oci/delegate_access_control/models/__init__.py +96 -0
  183. oci/delegate_access_control/models/approve_delegated_resource_access_request_details.py +138 -0
  184. oci/delegate_access_control/models/change_delegation_control_compartment_details.py +72 -0
  185. oci/delegate_access_control/models/change_delegation_subscription_compartment_details.py +72 -0
  186. oci/delegate_access_control/models/create_delegation_control_details.py +548 -0
  187. oci/delegate_access_control/models/create_delegation_subscription_details.py +263 -0
  188. oci/delegate_access_control/models/delegated_resource_access_request.py +1373 -0
  189. oci/delegate_access_control/models/delegated_resource_access_request_approval_details.py +263 -0
  190. oci/delegate_access_control/models/delegated_resource_access_request_audit_log_report.py +193 -0
  191. oci/delegate_access_control/models/delegated_resource_access_request_history_collection.py +72 -0
  192. oci/delegate_access_control/models/delegated_resource_access_request_history_summary.py +300 -0
  193. oci/delegate_access_control/models/delegated_resource_access_request_summary.py +981 -0
  194. oci/delegate_access_control/models/delegated_resource_access_request_summary_collection.py +72 -0
  195. oci/delegate_access_control/models/delegation_control.py +833 -0
  196. oci/delegate_access_control/models/delegation_control_resource_collection.py +72 -0
  197. oci/delegate_access_control/models/delegation_control_resource_summary.py +147 -0
  198. oci/delegate_access_control/models/delegation_control_summary.py +465 -0
  199. oci/delegate_access_control/models/delegation_control_summary_collection.py +72 -0
  200. oci/delegate_access_control/models/delegation_subscription.py +524 -0
  201. oci/delegate_access_control/models/delegation_subscription_summary.py +461 -0
  202. oci/delegate_access_control/models/delegation_subscription_summary_collection.py +72 -0
  203. oci/delegate_access_control/models/reject_delegated_resource_access_request_details.py +72 -0
  204. oci/delegate_access_control/models/revoke_delegated_resource_access_request_details.py +72 -0
  205. oci/delegate_access_control/models/service_provider.py +583 -0
  206. oci/delegate_access_control/models/service_provider_action.py +371 -0
  207. oci/delegate_access_control/models/service_provider_action_properties.py +103 -0
  208. oci/delegate_access_control/models/service_provider_action_summary.py +323 -0
  209. oci/delegate_access_control/models/service_provider_action_summary_collection.py +72 -0
  210. oci/delegate_access_control/models/service_provider_interaction_collection.py +72 -0
  211. oci/delegate_access_control/models/service_provider_interaction_request_details.py +72 -0
  212. oci/delegate_access_control/models/service_provider_interaction_summary.py +247 -0
  213. oci/delegate_access_control/models/service_provider_summary.py +508 -0
  214. oci/delegate_access_control/models/service_provider_summary_collection.py +72 -0
  215. oci/delegate_access_control/models/update_delegation_control_details.py +404 -0
  216. oci/delegate_access_control/models/update_delegation_subscription_details.py +154 -0
  217. oci/delegate_access_control/models/work_request.py +438 -0
  218. oci/delegate_access_control/models/work_request_error.py +136 -0
  219. oci/delegate_access_control/models/work_request_error_collection.py +72 -0
  220. oci/delegate_access_control/models/work_request_log_entry.py +103 -0
  221. oci/delegate_access_control/models/work_request_log_entry_collection.py +72 -0
  222. oci/delegate_access_control/models/work_request_resource.py +234 -0
  223. oci/delegate_access_control/models/work_request_summary.py +438 -0
  224. oci/delegate_access_control/models/work_request_summary_collection.py +72 -0
  225. oci/delegate_access_control/work_request_client.py +660 -0
  226. oci/delegate_access_control/work_request_client_composite_operations.py +26 -0
  227. oci/demand_signal/occ_demand_signal_client.py +7 -7
  228. oci/desktops/desktop_service_client.py +21 -21
  229. oci/devops/devops_client.py +141 -141
  230. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  231. oci/dns/dns_client.py +52 -52
  232. oci/dts/appliance_export_job_client.py +6 -6
  233. oci/dts/shipping_vendors_client.py +1 -1
  234. oci/dts/transfer_appliance_client.py +8 -8
  235. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  236. oci/dts/transfer_device_client.py +5 -5
  237. oci/dts/transfer_job_client.py +6 -6
  238. oci/dts/transfer_package_client.py +7 -7
  239. oci/em_warehouse/em_data_lake_client.py +13 -13
  240. oci/em_warehouse/em_warehouse_client.py +13 -13
  241. oci/email/email_client.py +31 -31
  242. oci/email_data_plane/email_dp_client.py +1 -1
  243. oci/events/events_client.py +6 -6
  244. oci/file_storage/file_storage_client.py +393 -59
  245. oci/file_storage/file_storage_client_composite_operations.py +138 -0
  246. oci/file_storage/models/__init__.py +4 -0
  247. oci/file_storage/models/create_mount_target_details.py +39 -26
  248. oci/file_storage/models/mount_target.py +153 -3
  249. oci/file_storage/models/mount_target_summary.py +155 -3
  250. oci/file_storage/models/schedule_downgrade_shape_mount_target_details.py +78 -0
  251. oci/file_storage/models/upgrade_shape_mount_target_details.py +78 -0
  252. oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
  253. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  254. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  255. oci/fleet_apps_management/fleet_apps_management_operations_client.py +13 -13
  256. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
  257. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  258. oci/functions/functions_invoke_client.py +1 -1
  259. oci/functions/functions_management_client.py +16 -16
  260. oci/fusion_apps/data_masking_activity_client.py +3 -3
  261. oci/fusion_apps/fusion_applications_client.py +41 -41
  262. oci/fusion_apps/fusion_environment_client.py +15 -15
  263. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  264. oci/fusion_apps/models/fusion_environment_family.py +33 -2
  265. oci/fusion_apps/refresh_activity_client.py +4 -4
  266. oci/fusion_apps/scheduled_activity_client.py +2 -2
  267. oci/fusion_apps/service_attachment_client.py +2 -2
  268. oci/generative_ai/generative_ai_client.py +22 -22
  269. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  270. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  271. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  272. oci/golden_gate/golden_gate_client.py +68 -68
  273. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  274. oci/governance_rules_control_plane/work_request_client.py +5 -5
  275. oci/healthchecks/health_checks_client.py +17 -17
  276. oci/identity/identity_client.py +145 -145
  277. oci/identity_data_plane/dataplane_client.py +2 -2
  278. oci/identity_domains/identity_domains_client.py +307 -307
  279. oci/integration/integration_instance_client.py +16 -16
  280. oci/jms/java_management_service_client.py +75 -75
  281. oci/jms_java_downloads/java_download_client.py +25 -25
  282. oci/key_management/ekm_client.py +5 -5
  283. oci/key_management/kms_crypto_client.py +6 -6
  284. oci/key_management/kms_hsm_cluster_client.py +25 -25
  285. oci/key_management/kms_hsm_cluster_client_composite_operations.py +3 -3
  286. oci/key_management/kms_management_client.py +21 -21
  287. oci/key_management/kms_vault_client.py +14 -14
  288. oci/key_management/models/auto_key_rotation_details.py +10 -10
  289. oci/key_management/models/change_hsm_cluster_compartment_details.py +3 -3
  290. oci/key_management/models/create_hsm_cluster_details.py +5 -5
  291. oci/key_management/models/hsm_cluster.py +4 -4
  292. oci/key_management/models/hsm_cluster_collection.py +2 -2
  293. oci/key_management/models/hsm_cluster_summary.py +3 -3
  294. oci/key_management/models/hsm_partition.py +29 -9
  295. oci/key_management/models/hsm_partition_collection.py +1 -1
  296. oci/key_management/models/hsm_partition_summary.py +11 -7
  297. oci/key_management/models/port_information.py +5 -5
  298. oci/key_management/models/pre_co_user_credentials.py +2 -2
  299. oci/key_management/models/upload_partition_certificates_details.py +5 -5
  300. oci/key_management/models/vault.py +31 -0
  301. oci/license_manager/license_manager_client.py +18 -18
  302. oci/limits/limits_client.py +4 -4
  303. oci/limits/quotas_client.py +7 -7
  304. oci/load_balancer/load_balancer_client.py +61 -61
  305. oci/load_balancer/models/backend.py +4 -0
  306. oci/load_balancer/models/backend_details.py +4 -0
  307. oci/load_balancer/models/backend_set.py +6 -2
  308. oci/load_balancer/models/backend_set_details.py +6 -2
  309. oci/load_balancer/models/create_backend_details.py +4 -0
  310. oci/load_balancer/models/create_backend_set_details.py +6 -2
  311. oci/load_balancer/models/create_load_balancer_details.py +116 -0
  312. oci/load_balancer/models/ip_max_connections.py +8 -2
  313. oci/load_balancer/models/load_balancer.py +100 -0
  314. oci/load_balancer/models/update_backend_details.py +4 -0
  315. oci/load_balancer/models/update_backend_set_details.py +6 -2
  316. oci/load_balancer/models/update_load_balancer_details.py +112 -0
  317. oci/lockbox/lockbox_client.py +24 -24
  318. oci/log_analytics/log_analytics_client.py +193 -193
  319. oci/logging/logging_management_client.py +30 -30
  320. oci/loggingingestion/logging_client.py +1 -1
  321. oci/loggingsearch/log_search_client.py +1 -1
  322. oci/management_agent/management_agent_client.py +28 -28
  323. oci/management_dashboard/dashx_apis_client.py +14 -14
  324. oci/marketplace/account_client.py +2 -2
  325. oci/marketplace/marketplace_client.py +30 -30
  326. oci/marketplace_private_offer/attachment_client.py +5 -5
  327. oci/marketplace_private_offer/offer_client.py +6 -6
  328. oci/marketplace_publisher/attachment_client.py +5 -5
  329. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  330. oci/marketplace_publisher/offer_client.py +6 -6
  331. oci/media_services/media_services_client.py +60 -60
  332. oci/media_services/media_stream_client.py +2 -2
  333. oci/monitoring/monitoring_client.py +18 -18
  334. oci/mysql/channels_client.py +7 -7
  335. oci/mysql/db_backups_client.py +7 -7
  336. oci/mysql/db_system_client.py +17 -17
  337. oci/mysql/models/__init__.py +2 -0
  338. oci/mysql/models/create_db_system_details.py +37 -2
  339. oci/mysql/models/customer_contact.py +72 -0
  340. oci/mysql/models/db_system.py +37 -2
  341. oci/mysql/models/update_db_system_details.py +37 -2
  342. oci/mysql/mysqlaas_client.py +7 -7
  343. oci/mysql/replicas_client.py +5 -5
  344. oci/mysql/work_requests_client.py +4 -4
  345. oci/network_firewall/network_firewall_client.py +86 -86
  346. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  347. oci/nosql/nosql_client.py +24 -24
  348. oci/object_storage/models/__init__.py +14 -0
  349. oci/object_storage/models/access_target_details.py +136 -0
  350. oci/object_storage/models/create_private_endpoint_details.py +389 -0
  351. oci/object_storage/models/fqdns.py +99 -0
  352. oci/object_storage/models/prefix_fqdns.py +134 -0
  353. oci/object_storage/models/private_endpoint.py +685 -0
  354. oci/object_storage/models/private_endpoint_summary.py +369 -0
  355. oci/object_storage/models/update_private_endpoint_details.py +216 -0
  356. oci/object_storage/models/work_request.py +15 -3
  357. oci/object_storage/models/work_request_summary.py +15 -3
  358. oci/object_storage/object_storage_client.py +686 -71
  359. oci/object_storage/object_storage_client_composite_operations.py +139 -0
  360. oci/oce/oce_instance_client.py +10 -10
  361. oci/oci_control_center/occ_metrics_client.py +3 -3
  362. oci/ocvp/cluster_client.py +8 -8
  363. oci/ocvp/cluster_client_composite_operations.py +2 -2
  364. oci/ocvp/esxi_host_client.py +9 -9
  365. oci/ocvp/models/cluster.py +35 -2
  366. oci/ocvp/models/cluster_summary.py +35 -2
  367. oci/ocvp/models/datastore_details.py +1 -1
  368. oci/ocvp/models/esxi_host.py +35 -2
  369. oci/ocvp/models/esxi_host_summary.py +35 -2
  370. oci/ocvp/models/sddc.py +35 -2
  371. oci/ocvp/models/sddc_summary.py +35 -2
  372. oci/ocvp/models/supported_host_shape_summary.py +55 -3
  373. oci/ocvp/models/work_request.py +55 -3
  374. oci/ocvp/sddc_client.py +21 -16
  375. oci/ocvp/work_request_client.py +4 -4
  376. oci/oda/management_client.py +59 -59
  377. oci/oda/oda_client.py +17 -17
  378. oci/oda/odapackage_client.py +7 -7
  379. oci/onesubscription/billing_schedule_client.py +1 -1
  380. oci/onesubscription/commitment_client.py +2 -2
  381. oci/onesubscription/computed_usage_client.py +3 -3
  382. oci/onesubscription/invoice_summary_client.py +2 -2
  383. oci/onesubscription/organization_subscription_client.py +1 -1
  384. oci/onesubscription/ratecard_client.py +1 -1
  385. oci/onesubscription/subscribed_service_client.py +2 -2
  386. oci/onesubscription/subscription_client.py +1 -1
  387. oci/ons/notification_control_plane_client.py +6 -6
  388. oci/ons/notification_data_plane_client.py +10 -10
  389. oci/opa/opa_instance_client.py +13 -13
  390. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  391. oci/opensearch/opensearch_cluster_client.py +14 -14
  392. oci/operator_access_control/access_requests_client.py +10 -10
  393. oci/operator_access_control/operator_actions_client.py +2 -2
  394. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  395. oci/operator_access_control/operator_control_client.py +6 -6
  396. oci/opsi/operations_insights_client.py +177 -177
  397. oci/optimizer/optimizer_client.py +26 -26
  398. oci/os_management/event_client.py +8 -8
  399. oci/os_management/os_management_client.py +69 -69
  400. oci/os_management_hub/event_client.py +8 -8
  401. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  402. oci/os_management_hub/managed_instance_client.py +31 -31
  403. oci/os_management_hub/managed_instance_group_client.py +25 -25
  404. oci/os_management_hub/management_station_client.py +10 -10
  405. oci/os_management_hub/onboarding_client.py +6 -6
  406. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  407. oci/os_management_hub/scheduled_job_client.py +7 -7
  408. oci/os_management_hub/software_source_client.py +27 -27
  409. oci/os_management_hub/work_request_client.py +4 -4
  410. oci/osp_gateway/address_rule_service_client.py +1 -1
  411. oci/osp_gateway/address_service_client.py +2 -2
  412. oci/osp_gateway/invoice_service_client.py +5 -5
  413. oci/osp_gateway/subscription_service_client.py +5 -5
  414. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  415. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  416. oci/osub_subscription/commitment_client.py +2 -2
  417. oci/osub_subscription/ratecard_client.py +1 -1
  418. oci/osub_subscription/subscription_client.py +1 -1
  419. oci/osub_usage/computed_usage_client.py +3 -3
  420. oci/psql/postgresql_client.py +33 -33
  421. oci/queue/queue_admin_client.py +11 -11
  422. oci/queue/queue_client.py +8 -8
  423. oci/recovery/database_recovery_client.py +135 -25
  424. oci/recovery/database_recovery_client_composite_operations.py +42 -0
  425. oci/recovery/models/__init__.py +2 -0
  426. oci/recovery/models/change_protected_database_subscription_details.py +103 -0
  427. oci/recovery/models/create_protected_database_details.py +33 -0
  428. oci/recovery/models/create_protection_policy_details.py +39 -0
  429. oci/recovery/models/protected_database.py +31 -0
  430. oci/recovery/models/protected_database_summary.py +31 -0
  431. oci/recovery/models/protection_policy.py +31 -0
  432. oci/recovery/models/protection_policy_summary.py +31 -0
  433. oci/redis/redis_cluster_client.py +12 -12
  434. oci/resource_manager/resource_manager_client.py +52 -52
  435. oci/resource_scheduler/schedule_client.py +13 -13
  436. oci/resource_search/resource_search_client.py +3 -3
  437. oci/rover/rover_bundle_client.py +8 -8
  438. oci/rover/rover_cluster_client.py +8 -8
  439. oci/rover/rover_entitlement_client.py +6 -6
  440. oci/rover/rover_node_client.py +15 -15
  441. oci/rover/shape_client.py +1 -1
  442. oci/rover/work_requests_client.py +5 -5
  443. oci/sch/connector_plugins_client.py +2 -2
  444. oci/sch/service_connector_client.py +12 -12
  445. oci/secrets/secrets_client.py +3 -3
  446. oci/service_catalog/service_catalog_client.py +26 -26
  447. oci/service_endpoints.py +1 -0
  448. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  449. oci/service_mesh/service_mesh_client.py +48 -48
  450. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  451. oci/streaming/stream_admin_client.py +18 -18
  452. oci/streaming/stream_client.py +8 -8
  453. oci/tenant_manager_control_plane/domain_client.py +5 -5
  454. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  455. oci/tenant_manager_control_plane/governance_client.py +2 -2
  456. oci/tenant_manager_control_plane/link_client.py +3 -3
  457. oci/tenant_manager_control_plane/orders_client.py +2 -2
  458. oci/tenant_manager_control_plane/organization_client.py +10 -10
  459. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  460. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  461. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  462. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  463. oci/threat_intelligence/threatintel_client.py +5 -5
  464. oci/usage/resources_client.py +2 -2
  465. oci/usage/rewards_client.py +6 -6
  466. oci/usage/usagelimits_client.py +1 -1
  467. oci/usage_api/usageapi_client.py +33 -33
  468. oci/vault/vaults_client.py +13 -13
  469. oci/vbs_inst/vbs_instance_client.py +10 -10
  470. oci/version.py +1 -1
  471. oci/visual_builder/vb_instance_client.py +13 -13
  472. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  473. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  474. oci/waa/waa_client.py +13 -13
  475. oci/waa/work_request_client.py +4 -4
  476. oci/waas/redirect_client.py +6 -6
  477. oci/waas/waas_client.py +66 -66
  478. oci/waf/models/__init__.py +2 -0
  479. oci/waf/models/dynamic_http_response_body.py +104 -0
  480. oci/waf/models/http_response_body.py +11 -3
  481. oci/waf/models/static_text_http_response_body.py +1 -1
  482. oci/waf/waf_client.py +24 -24
  483. oci/work_requests/work_request_client.py +4 -4
  484. {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/METADATA +1 -1
  485. {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/RECORD +489 -369
  486. {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/LICENSE.txt +0 -0
  487. {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  488. {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/WHEEL +0 -0
  489. {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/top_level.txt +0 -0
@@ -158,7 +158,7 @@ class ObjectStorageClient(object):
158
158
  :rtype: :class:`~oci.response.Response`
159
159
 
160
160
  :example:
161
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/abort_multipart_upload.py.html>`__ to see an example of how to use abort_multipart_upload API.
161
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/abort_multipart_upload.py.html>`__ to see an example of how to use abort_multipart_upload API.
162
162
  """
163
163
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
164
164
  required_arguments = ['namespaceName', 'bucketName', 'objectName', 'uploadId']
@@ -263,7 +263,7 @@ class ObjectStorageClient(object):
263
263
  :rtype: :class:`~oci.response.Response`
264
264
 
265
265
  :example:
266
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/cancel_work_request.py.html>`__ to see an example of how to use cancel_work_request API.
266
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/cancel_work_request.py.html>`__ to see an example of how to use cancel_work_request API.
267
267
  """
268
268
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
269
269
  required_arguments = ['workRequestId']
@@ -382,7 +382,7 @@ class ObjectStorageClient(object):
382
382
  :rtype: :class:`~oci.response.Response`
383
383
 
384
384
  :example:
385
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/commit_multipart_upload.py.html>`__ to see an example of how to use commit_multipart_upload API.
385
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/commit_multipart_upload.py.html>`__ to see an example of how to use commit_multipart_upload API.
386
386
  """
387
387
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
388
388
  required_arguments = ['namespaceName', 'bucketName', 'objectName', 'uploadId']
@@ -553,7 +553,7 @@ class ObjectStorageClient(object):
553
553
  :rtype: :class:`~oci.response.Response`
554
554
 
555
555
  :example:
556
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/copy_object.py.html>`__ to see an example of how to use copy_object API.
556
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/copy_object.py.html>`__ to see an example of how to use copy_object API.
557
557
  """
558
558
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
559
559
  required_arguments = ['namespaceName', 'bucketName']
@@ -670,7 +670,7 @@ class ObjectStorageClient(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.132.0/objectstorage/create_bucket.py.html>`__ to see an example of how to use create_bucket API.
673
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/create_bucket.py.html>`__ to see an example of how to use create_bucket API.
674
674
  """
675
675
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
676
676
  required_arguments = ['namespaceName']
@@ -817,7 +817,7 @@ class ObjectStorageClient(object):
817
817
  :rtype: :class:`~oci.response.Response`
818
818
 
819
819
  :example:
820
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/create_multipart_upload.py.html>`__ to see an example of how to use create_multipart_upload API.
820
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/create_multipart_upload.py.html>`__ to see an example of how to use create_multipart_upload API.
821
821
  """
822
822
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
823
823
  required_arguments = ['namespaceName', 'bucketName']
@@ -937,7 +937,7 @@ class ObjectStorageClient(object):
937
937
  :rtype: :class:`~oci.response.Response`
938
938
 
939
939
  :example:
940
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/create_preauthenticated_request.py.html>`__ to see an example of how to use create_preauthenticated_request API.
940
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/create_preauthenticated_request.py.html>`__ to see an example of how to use create_preauthenticated_request API.
941
941
  """
942
942
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
943
943
  required_arguments = ['namespaceName', 'bucketName']
@@ -1011,6 +1011,107 @@ class ObjectStorageClient(object):
1011
1011
  api_reference_link=api_reference_link,
1012
1012
  required_arguments=required_arguments)
1013
1013
 
1014
+ def create_private_endpoint(self, namespace_name, create_private_endpoint_details, **kwargs):
1015
+ """
1016
+ Create a PrivateEndpoint.
1017
+
1018
+
1019
+ :param str namespace_name: (required)
1020
+ The Object Storage namespace used for the request.
1021
+
1022
+ :param oci.object_storage.models.CreatePrivateEndpointDetails create_private_endpoint_details: (required)
1023
+ Details to create a private endpoint.
1024
+
1025
+ :param str opc_client_request_id: (optional)
1026
+ The client request ID for tracing.
1027
+
1028
+ :param obj retry_strategy: (optional)
1029
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1030
+
1031
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
1032
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1033
+
1034
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1035
+
1036
+ :param bool allow_control_chars: (optional)
1037
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1038
+ By default, the response will not allow control characters in strings
1039
+
1040
+ :return: A :class:`~oci.response.Response` object with data of type None
1041
+ :rtype: :class:`~oci.response.Response`
1042
+
1043
+ :example:
1044
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/create_private_endpoint.py.html>`__ to see an example of how to use create_private_endpoint API.
1045
+ """
1046
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1047
+ required_arguments = ['namespaceName']
1048
+ resource_path = "/n/{namespaceName}/pe"
1049
+ method = "POST"
1050
+ operation_name = "create_private_endpoint"
1051
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/PrivateEndpoint/CreatePrivateEndpoint"
1052
+
1053
+ # Don't accept unknown kwargs
1054
+ expected_kwargs = [
1055
+ "allow_control_chars",
1056
+ "retry_strategy",
1057
+ "opc_client_request_id"
1058
+ ]
1059
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1060
+ if extra_kwargs:
1061
+ raise ValueError(
1062
+ f"create_private_endpoint got unknown kwargs: {extra_kwargs!r}")
1063
+
1064
+ path_params = {
1065
+ "namespaceName": namespace_name
1066
+ }
1067
+
1068
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1069
+
1070
+ for (k, v) in six.iteritems(path_params):
1071
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1072
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
1073
+
1074
+ header_params = {
1075
+ "accept": "application/json",
1076
+ "content-type": "application/json",
1077
+ "opc-client-request-id": kwargs.get("opc_client_request_id", missing)
1078
+ }
1079
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1080
+
1081
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
1082
+ operation_retry_strategy=kwargs.get('retry_strategy'),
1083
+ client_retry_strategy=self.retry_strategy
1084
+ )
1085
+ if retry_strategy is None:
1086
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1087
+
1088
+ if retry_strategy:
1089
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1090
+ self.base_client.add_opc_client_retries_header(header_params)
1091
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1092
+ return retry_strategy.make_retrying_call(
1093
+ self.base_client.call_api,
1094
+ resource_path=resource_path,
1095
+ method=method,
1096
+ path_params=path_params,
1097
+ header_params=header_params,
1098
+ body=create_private_endpoint_details,
1099
+ allow_control_chars=kwargs.get('allow_control_chars'),
1100
+ operation_name=operation_name,
1101
+ api_reference_link=api_reference_link,
1102
+ required_arguments=required_arguments)
1103
+ else:
1104
+ return self.base_client.call_api(
1105
+ resource_path=resource_path,
1106
+ method=method,
1107
+ path_params=path_params,
1108
+ header_params=header_params,
1109
+ body=create_private_endpoint_details,
1110
+ allow_control_chars=kwargs.get('allow_control_chars'),
1111
+ operation_name=operation_name,
1112
+ api_reference_link=api_reference_link,
1113
+ required_arguments=required_arguments)
1114
+
1014
1115
  def create_replication_policy(self, namespace_name, bucket_name, create_replication_policy_details, **kwargs):
1015
1116
  """
1016
1117
  Creates a replication policy for the specified bucket.
@@ -1045,7 +1146,7 @@ class ObjectStorageClient(object):
1045
1146
  :rtype: :class:`~oci.response.Response`
1046
1147
 
1047
1148
  :example:
1048
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/create_replication_policy.py.html>`__ to see an example of how to use create_replication_policy API.
1149
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/create_replication_policy.py.html>`__ to see an example of how to use create_replication_policy API.
1049
1150
  """
1050
1151
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1051
1152
  required_arguments = ['namespaceName', 'bucketName']
@@ -1154,7 +1255,7 @@ class ObjectStorageClient(object):
1154
1255
  :rtype: :class:`~oci.response.Response`
1155
1256
 
1156
1257
  :example:
1157
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/create_retention_rule.py.html>`__ to see an example of how to use create_retention_rule API.
1258
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/create_retention_rule.py.html>`__ to see an example of how to use create_retention_rule API.
1158
1259
  """
1159
1260
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1160
1261
  required_arguments = ['namespaceName', 'bucketName']
@@ -1267,7 +1368,7 @@ class ObjectStorageClient(object):
1267
1368
  :rtype: :class:`~oci.response.Response`
1268
1369
 
1269
1370
  :example:
1270
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/delete_bucket.py.html>`__ to see an example of how to use delete_bucket API.
1371
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/delete_bucket.py.html>`__ to see an example of how to use delete_bucket API.
1271
1372
  """
1272
1373
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1273
1374
  required_arguments = ['namespaceName', 'bucketName']
@@ -1382,7 +1483,7 @@ class ObjectStorageClient(object):
1382
1483
  :rtype: :class:`~oci.response.Response`
1383
1484
 
1384
1485
  :example:
1385
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/delete_object.py.html>`__ to see an example of how to use delete_object API.
1486
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/delete_object.py.html>`__ to see an example of how to use delete_object API.
1386
1487
  """
1387
1488
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1388
1489
  required_arguments = ['namespaceName', 'bucketName', 'objectName']
@@ -1499,7 +1600,7 @@ class ObjectStorageClient(object):
1499
1600
  :rtype: :class:`~oci.response.Response`
1500
1601
 
1501
1602
  :example:
1502
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/delete_object_lifecycle_policy.py.html>`__ to see an example of how to use delete_object_lifecycle_policy API.
1603
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/delete_object_lifecycle_policy.py.html>`__ to see an example of how to use delete_object_lifecycle_policy API.
1503
1604
  """
1504
1605
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1505
1606
  required_arguments = ['namespaceName', 'bucketName']
@@ -1606,7 +1707,7 @@ class ObjectStorageClient(object):
1606
1707
  :rtype: :class:`~oci.response.Response`
1607
1708
 
1608
1709
  :example:
1609
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/delete_preauthenticated_request.py.html>`__ to see an example of how to use delete_preauthenticated_request API.
1710
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/delete_preauthenticated_request.py.html>`__ to see an example of how to use delete_preauthenticated_request API.
1610
1711
  """
1611
1712
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1612
1713
  required_arguments = ['namespaceName', 'bucketName', 'parId']
@@ -1677,6 +1778,114 @@ class ObjectStorageClient(object):
1677
1778
  api_reference_link=api_reference_link,
1678
1779
  required_arguments=required_arguments)
1679
1780
 
1781
+ def delete_private_endpoint(self, namespace_name, pe_name, **kwargs):
1782
+ """
1783
+ Deletes a Private Endpoint if it exists in the given namespace.
1784
+
1785
+
1786
+ :param str namespace_name: (required)
1787
+ The Object Storage namespace used for the request.
1788
+
1789
+ :param str pe_name: (required)
1790
+ The name of the private endpoint. Avoid entering confidential information.
1791
+ Example: `my-new-pe-1`
1792
+
1793
+ :param str if_match: (optional)
1794
+ The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
1795
+ the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
1796
+ the resource.
1797
+
1798
+ :param str opc_client_request_id: (optional)
1799
+ The client request ID for tracing.
1800
+
1801
+ :param obj retry_strategy: (optional)
1802
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1803
+
1804
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
1805
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1806
+
1807
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1808
+
1809
+ :param bool allow_control_chars: (optional)
1810
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1811
+ By default, the response will not allow control characters in strings
1812
+
1813
+ :return: A :class:`~oci.response.Response` object with data of type None
1814
+ :rtype: :class:`~oci.response.Response`
1815
+
1816
+ :example:
1817
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/delete_private_endpoint.py.html>`__ to see an example of how to use delete_private_endpoint API.
1818
+ """
1819
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1820
+ required_arguments = ['namespaceName', 'peName']
1821
+ resource_path = "/n/{namespaceName}/pe/{peName}"
1822
+ method = "DELETE"
1823
+ operation_name = "delete_private_endpoint"
1824
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/PrivateEndpoint/DeletePrivateEndpoint"
1825
+
1826
+ # Don't accept unknown kwargs
1827
+ expected_kwargs = [
1828
+ "allow_control_chars",
1829
+ "retry_strategy",
1830
+ "if_match",
1831
+ "opc_client_request_id"
1832
+ ]
1833
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1834
+ if extra_kwargs:
1835
+ raise ValueError(
1836
+ f"delete_private_endpoint got unknown kwargs: {extra_kwargs!r}")
1837
+
1838
+ path_params = {
1839
+ "namespaceName": namespace_name,
1840
+ "peName": pe_name
1841
+ }
1842
+
1843
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1844
+
1845
+ for (k, v) in six.iteritems(path_params):
1846
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1847
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
1848
+
1849
+ header_params = {
1850
+ "accept": "application/json",
1851
+ "content-type": "application/json",
1852
+ "if-match": kwargs.get("if_match", missing),
1853
+ "opc-client-request-id": kwargs.get("opc_client_request_id", missing)
1854
+ }
1855
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1856
+
1857
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
1858
+ operation_retry_strategy=kwargs.get('retry_strategy'),
1859
+ client_retry_strategy=self.retry_strategy
1860
+ )
1861
+ if retry_strategy is None:
1862
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1863
+
1864
+ if retry_strategy:
1865
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1866
+ self.base_client.add_opc_client_retries_header(header_params)
1867
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1868
+ return retry_strategy.make_retrying_call(
1869
+ self.base_client.call_api,
1870
+ resource_path=resource_path,
1871
+ method=method,
1872
+ path_params=path_params,
1873
+ header_params=header_params,
1874
+ allow_control_chars=kwargs.get('allow_control_chars'),
1875
+ operation_name=operation_name,
1876
+ api_reference_link=api_reference_link,
1877
+ required_arguments=required_arguments)
1878
+ else:
1879
+ return self.base_client.call_api(
1880
+ resource_path=resource_path,
1881
+ method=method,
1882
+ path_params=path_params,
1883
+ header_params=header_params,
1884
+ allow_control_chars=kwargs.get('allow_control_chars'),
1885
+ operation_name=operation_name,
1886
+ api_reference_link=api_reference_link,
1887
+ required_arguments=required_arguments)
1888
+
1680
1889
  def delete_replication_policy(self, namespace_name, bucket_name, replication_id, **kwargs):
1681
1890
  """
1682
1891
  Deletes the replication policy associated with the source bucket.
@@ -1711,7 +1920,7 @@ class ObjectStorageClient(object):
1711
1920
  :rtype: :class:`~oci.response.Response`
1712
1921
 
1713
1922
  :example:
1714
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/delete_replication_policy.py.html>`__ to see an example of how to use delete_replication_policy API.
1923
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/delete_replication_policy.py.html>`__ to see an example of how to use delete_replication_policy API.
1715
1924
  """
1716
1925
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1717
1926
  required_arguments = ['namespaceName', 'bucketName', 'replicationId']
@@ -1821,7 +2030,7 @@ class ObjectStorageClient(object):
1821
2030
  :rtype: :class:`~oci.response.Response`
1822
2031
 
1823
2032
  :example:
1824
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/delete_retention_rule.py.html>`__ to see an example of how to use delete_retention_rule API.
2033
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/delete_retention_rule.py.html>`__ to see an example of how to use delete_retention_rule API.
1825
2034
  """
1826
2035
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1827
2036
  required_arguments = ['namespaceName', 'bucketName', 'retentionRuleId']
@@ -1943,7 +2152,7 @@ class ObjectStorageClient(object):
1943
2152
  :rtype: :class:`~oci.response.Response`
1944
2153
 
1945
2154
  :example:
1946
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/get_bucket.py.html>`__ to see an example of how to use get_bucket API.
2155
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/get_bucket.py.html>`__ to see an example of how to use get_bucket API.
1947
2156
  """
1948
2157
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1949
2158
  required_arguments = ['namespaceName', 'bucketName']
@@ -2072,7 +2281,7 @@ class ObjectStorageClient(object):
2072
2281
  :rtype: :class:`~oci.response.Response`
2073
2282
 
2074
2283
  :example:
2075
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/get_namespace.py.html>`__ to see an example of how to use get_namespace API.
2284
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/get_namespace.py.html>`__ to see an example of how to use get_namespace API.
2076
2285
  """
2077
2286
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2078
2287
  required_arguments = []
@@ -2174,7 +2383,7 @@ class ObjectStorageClient(object):
2174
2383
  :rtype: :class:`~oci.response.Response`
2175
2384
 
2176
2385
  :example:
2177
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/get_namespace_metadata.py.html>`__ to see an example of how to use get_namespace_metadata API.
2386
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/get_namespace_metadata.py.html>`__ to see an example of how to use get_namespace_metadata API.
2178
2387
  """
2179
2388
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2180
2389
  required_arguments = ['namespaceName']
@@ -2337,7 +2546,7 @@ class ObjectStorageClient(object):
2337
2546
  :rtype: :class:`~oci.response.Response`
2338
2547
 
2339
2548
  :example:
2340
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/get_object.py.html>`__ to see an example of how to use get_object API.
2549
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/get_object.py.html>`__ to see an example of how to use get_object API.
2341
2550
  """
2342
2551
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2343
2552
  required_arguments = ['namespaceName', 'bucketName', 'objectName']
@@ -2473,7 +2682,7 @@ class ObjectStorageClient(object):
2473
2682
  :rtype: :class:`~oci.response.Response`
2474
2683
 
2475
2684
  :example:
2476
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/get_object_lifecycle_policy.py.html>`__ to see an example of how to use get_object_lifecycle_policy API.
2685
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/get_object_lifecycle_policy.py.html>`__ to see an example of how to use get_object_lifecycle_policy API.
2477
2686
  """
2478
2687
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2479
2688
  required_arguments = ['namespaceName', 'bucketName']
@@ -2576,34 +2785,149 @@ class ObjectStorageClient(object):
2576
2785
  allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
2577
2786
  By default, the response will not allow control characters in strings
2578
2787
 
2579
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.object_storage.models.PreauthenticatedRequestSummary`
2788
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.object_storage.models.PreauthenticatedRequestSummary`
2789
+ :rtype: :class:`~oci.response.Response`
2790
+
2791
+ :example:
2792
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/get_preauthenticated_request.py.html>`__ to see an example of how to use get_preauthenticated_request API.
2793
+ """
2794
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2795
+ required_arguments = ['namespaceName', 'bucketName', 'parId']
2796
+ resource_path = "/n/{namespaceName}/b/{bucketName}/p/{parId}"
2797
+ method = "GET"
2798
+ operation_name = "get_preauthenticated_request"
2799
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/PreauthenticatedRequest/GetPreauthenticatedRequest"
2800
+
2801
+ # Don't accept unknown kwargs
2802
+ expected_kwargs = [
2803
+ "allow_control_chars",
2804
+ "retry_strategy",
2805
+ "opc_client_request_id"
2806
+ ]
2807
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2808
+ if extra_kwargs:
2809
+ raise ValueError(
2810
+ f"get_preauthenticated_request got unknown kwargs: {extra_kwargs!r}")
2811
+
2812
+ path_params = {
2813
+ "namespaceName": namespace_name,
2814
+ "bucketName": bucket_name,
2815
+ "parId": par_id
2816
+ }
2817
+
2818
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2819
+
2820
+ for (k, v) in six.iteritems(path_params):
2821
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2822
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
2823
+
2824
+ header_params = {
2825
+ "accept": "application/json",
2826
+ "content-type": "application/json",
2827
+ "opc-client-request-id": kwargs.get("opc_client_request_id", missing)
2828
+ }
2829
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2830
+
2831
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
2832
+ operation_retry_strategy=kwargs.get('retry_strategy'),
2833
+ client_retry_strategy=self.retry_strategy
2834
+ )
2835
+ if retry_strategy is None:
2836
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
2837
+
2838
+ if retry_strategy:
2839
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
2840
+ self.base_client.add_opc_client_retries_header(header_params)
2841
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
2842
+ return retry_strategy.make_retrying_call(
2843
+ self.base_client.call_api,
2844
+ resource_path=resource_path,
2845
+ method=method,
2846
+ path_params=path_params,
2847
+ header_params=header_params,
2848
+ response_type="PreauthenticatedRequestSummary",
2849
+ allow_control_chars=kwargs.get('allow_control_chars'),
2850
+ operation_name=operation_name,
2851
+ api_reference_link=api_reference_link,
2852
+ required_arguments=required_arguments)
2853
+ else:
2854
+ return self.base_client.call_api(
2855
+ resource_path=resource_path,
2856
+ method=method,
2857
+ path_params=path_params,
2858
+ header_params=header_params,
2859
+ response_type="PreauthenticatedRequestSummary",
2860
+ allow_control_chars=kwargs.get('allow_control_chars'),
2861
+ operation_name=operation_name,
2862
+ api_reference_link=api_reference_link,
2863
+ required_arguments=required_arguments)
2864
+
2865
+ def get_private_endpoint(self, namespace_name, pe_name, **kwargs):
2866
+ """
2867
+ Gets the current representation of the given Private Endpoint in the given Object Storage namespace.
2868
+
2869
+
2870
+ :param str namespace_name: (required)
2871
+ The Object Storage namespace used for the request.
2872
+
2873
+ :param str pe_name: (required)
2874
+ The name of the private endpoint. Avoid entering confidential information.
2875
+ Example: `my-new-pe-1`
2876
+
2877
+ :param str if_match: (optional)
2878
+ The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
2879
+ the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
2880
+ the resource.
2881
+
2882
+ :param str if_none_match: (optional)
2883
+ The entity tag (ETag) to avoid matching. Wildcards ('*') are not allowed. If the specified ETag does not
2884
+ match the ETag of the existing resource, the request returns the expected response. If the ETag matches
2885
+ the ETag of the existing resource, the request returns an HTTP 304 status without a response body.
2886
+
2887
+ :param str opc_client_request_id: (optional)
2888
+ The client request ID for tracing.
2889
+
2890
+ :param obj retry_strategy: (optional)
2891
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2892
+
2893
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
2894
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
2895
+
2896
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2897
+
2898
+ :param bool allow_control_chars: (optional)
2899
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
2900
+ By default, the response will not allow control characters in strings
2901
+
2902
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.object_storage.models.PrivateEndpoint`
2580
2903
  :rtype: :class:`~oci.response.Response`
2581
2904
 
2582
2905
  :example:
2583
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/get_preauthenticated_request.py.html>`__ to see an example of how to use get_preauthenticated_request API.
2906
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/get_private_endpoint.py.html>`__ to see an example of how to use get_private_endpoint API.
2584
2907
  """
2585
2908
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2586
- required_arguments = ['namespaceName', 'bucketName', 'parId']
2587
- resource_path = "/n/{namespaceName}/b/{bucketName}/p/{parId}"
2909
+ required_arguments = ['namespaceName', 'peName']
2910
+ resource_path = "/n/{namespaceName}/pe/{peName}"
2588
2911
  method = "GET"
2589
- operation_name = "get_preauthenticated_request"
2590
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/PreauthenticatedRequest/GetPreauthenticatedRequest"
2912
+ operation_name = "get_private_endpoint"
2913
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/PrivateEndpoint/GetPrivateEndpoint"
2591
2914
 
2592
2915
  # Don't accept unknown kwargs
2593
2916
  expected_kwargs = [
2594
2917
  "allow_control_chars",
2595
2918
  "retry_strategy",
2919
+ "if_match",
2920
+ "if_none_match",
2596
2921
  "opc_client_request_id"
2597
2922
  ]
2598
2923
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2599
2924
  if extra_kwargs:
2600
2925
  raise ValueError(
2601
- f"get_preauthenticated_request got unknown kwargs: {extra_kwargs!r}")
2926
+ f"get_private_endpoint got unknown kwargs: {extra_kwargs!r}")
2602
2927
 
2603
2928
  path_params = {
2604
2929
  "namespaceName": namespace_name,
2605
- "bucketName": bucket_name,
2606
- "parId": par_id
2930
+ "peName": pe_name
2607
2931
  }
2608
2932
 
2609
2933
  path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -2615,6 +2939,8 @@ class ObjectStorageClient(object):
2615
2939
  header_params = {
2616
2940
  "accept": "application/json",
2617
2941
  "content-type": "application/json",
2942
+ "if-match": kwargs.get("if_match", missing),
2943
+ "if-none-match": kwargs.get("if_none_match", missing),
2618
2944
  "opc-client-request-id": kwargs.get("opc_client_request_id", missing)
2619
2945
  }
2620
2946
  header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -2636,7 +2962,7 @@ class ObjectStorageClient(object):
2636
2962
  method=method,
2637
2963
  path_params=path_params,
2638
2964
  header_params=header_params,
2639
- response_type="PreauthenticatedRequestSummary",
2965
+ response_type="PrivateEndpoint",
2640
2966
  allow_control_chars=kwargs.get('allow_control_chars'),
2641
2967
  operation_name=operation_name,
2642
2968
  api_reference_link=api_reference_link,
@@ -2647,7 +2973,7 @@ class ObjectStorageClient(object):
2647
2973
  method=method,
2648
2974
  path_params=path_params,
2649
2975
  header_params=header_params,
2650
- response_type="PreauthenticatedRequestSummary",
2976
+ response_type="PrivateEndpoint",
2651
2977
  allow_control_chars=kwargs.get('allow_control_chars'),
2652
2978
  operation_name=operation_name,
2653
2979
  api_reference_link=api_reference_link,
@@ -2687,7 +3013,7 @@ class ObjectStorageClient(object):
2687
3013
  :rtype: :class:`~oci.response.Response`
2688
3014
 
2689
3015
  :example:
2690
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/get_replication_policy.py.html>`__ to see an example of how to use get_replication_policy API.
3016
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/get_replication_policy.py.html>`__ to see an example of how to use get_replication_policy API.
2691
3017
  """
2692
3018
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2693
3019
  required_arguments = ['namespaceName', 'bucketName', 'replicationId']
@@ -2794,7 +3120,7 @@ class ObjectStorageClient(object):
2794
3120
  :rtype: :class:`~oci.response.Response`
2795
3121
 
2796
3122
  :example:
2797
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/get_retention_rule.py.html>`__ to see an example of how to use get_retention_rule API.
3123
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/get_retention_rule.py.html>`__ to see an example of how to use get_retention_rule API.
2798
3124
  """
2799
3125
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2800
3126
  required_arguments = ['namespaceName', 'bucketName', 'retentionRuleId']
@@ -2894,7 +3220,7 @@ class ObjectStorageClient(object):
2894
3220
  :rtype: :class:`~oci.response.Response`
2895
3221
 
2896
3222
  :example:
2897
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
3223
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
2898
3224
  """
2899
3225
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2900
3226
  required_arguments = ['workRequestId']
@@ -3006,7 +3332,7 @@ class ObjectStorageClient(object):
3006
3332
  :rtype: :class:`~oci.response.Response`
3007
3333
 
3008
3334
  :example:
3009
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/head_bucket.py.html>`__ to see an example of how to use head_bucket API.
3335
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/head_bucket.py.html>`__ to see an example of how to use head_bucket API.
3010
3336
  """
3011
3337
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3012
3338
  required_arguments = ['namespaceName', 'bucketName']
@@ -3148,7 +3474,7 @@ class ObjectStorageClient(object):
3148
3474
  :rtype: :class:`~oci.response.Response`
3149
3475
 
3150
3476
  :example:
3151
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/head_object.py.html>`__ to see an example of how to use head_object API.
3477
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/head_object.py.html>`__ to see an example of how to use head_object API.
3152
3478
  """
3153
3479
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3154
3480
  required_arguments = ['namespaceName', 'bucketName', 'objectName']
@@ -3296,7 +3622,7 @@ class ObjectStorageClient(object):
3296
3622
  :rtype: :class:`~oci.response.Response`
3297
3623
 
3298
3624
  :example:
3299
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/list_buckets.py.html>`__ to see an example of how to use list_buckets API.
3625
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/list_buckets.py.html>`__ to see an example of how to use list_buckets API.
3300
3626
  """
3301
3627
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3302
3628
  required_arguments = ['namespaceName', 'compartmentId']
@@ -3439,7 +3765,7 @@ class ObjectStorageClient(object):
3439
3765
  :rtype: :class:`~oci.response.Response`
3440
3766
 
3441
3767
  :example:
3442
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/list_multipart_upload_parts.py.html>`__ to see an example of how to use list_multipart_upload_parts API.
3768
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/list_multipart_upload_parts.py.html>`__ to see an example of how to use list_multipart_upload_parts API.
3443
3769
  """
3444
3770
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3445
3771
  required_arguments = ['namespaceName', 'bucketName', 'objectName', 'uploadId']
@@ -3567,7 +3893,7 @@ class ObjectStorageClient(object):
3567
3893
  :rtype: :class:`~oci.response.Response`
3568
3894
 
3569
3895
  :example:
3570
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/list_multipart_uploads.py.html>`__ to see an example of how to use list_multipart_uploads API.
3896
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/list_multipart_uploads.py.html>`__ to see an example of how to use list_multipart_uploads API.
3571
3897
  """
3572
3898
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3573
3899
  required_arguments = ['namespaceName', 'bucketName']
@@ -3674,10 +4000,10 @@ class ObjectStorageClient(object):
3674
4000
  The string to use for matching against the start of object names in a list query.
3675
4001
 
3676
4002
  :param str start: (optional)
3677
- Object names returned by a list query must be greater or equal to this parameter.
4003
+ Returns object names which are lexicographically greater than or equal to this parameter.
3678
4004
 
3679
4005
  :param str end: (optional)
3680
- Object names returned by a list query must be strictly less than this parameter.
4006
+ Returns object names which are lexicographically strictly less than this parameter.
3681
4007
 
3682
4008
  :param int limit: (optional)
3683
4009
  For list pagination. The maximum number of results per page, or items to return in a paginated
@@ -3706,7 +4032,7 @@ class ObjectStorageClient(object):
3706
4032
  The client request ID for tracing.
3707
4033
 
3708
4034
  :param str start_after: (optional)
3709
- Object names returned by a list query must be greater than this parameter.
4035
+ Returns object names which are lexicographically strictly greater than this parameter.
3710
4036
 
3711
4037
  :param str page: (optional)
3712
4038
  For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. For important
@@ -3730,7 +4056,7 @@ class ObjectStorageClient(object):
3730
4056
  :rtype: :class:`~oci.response.Response`
3731
4057
 
3732
4058
  :example:
3733
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/list_object_versions.py.html>`__ to see an example of how to use list_object_versions API.
4059
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/list_object_versions.py.html>`__ to see an example of how to use list_object_versions API.
3734
4060
  """
3735
4061
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3736
4062
  required_arguments = ['namespaceName', 'bucketName']
@@ -3851,10 +4177,10 @@ class ObjectStorageClient(object):
3851
4177
  The string to use for matching against the start of object names in a list query.
3852
4178
 
3853
4179
  :param str start: (optional)
3854
- Object names returned by a list query must be greater or equal to this parameter.
4180
+ Returns object names which are lexicographically greater than or equal to this parameter.
3855
4181
 
3856
4182
  :param str end: (optional)
3857
- Object names returned by a list query must be strictly less than this parameter.
4183
+ Returns object names which are lexicographically strictly less than this parameter.
3858
4184
 
3859
4185
  :param int limit: (optional)
3860
4186
  For list pagination. The maximum number of results per page, or items to return in a paginated
@@ -3883,7 +4209,7 @@ class ObjectStorageClient(object):
3883
4209
  The client request ID for tracing.
3884
4210
 
3885
4211
  :param str start_after: (optional)
3886
- Object names returned by a list query must be greater than this parameter.
4212
+ Returns object names which are lexicographically strictly greater than this parameter.
3887
4213
 
3888
4214
  :param obj retry_strategy: (optional)
3889
4215
  A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
@@ -3901,7 +4227,7 @@ class ObjectStorageClient(object):
3901
4227
  :rtype: :class:`~oci.response.Response`
3902
4228
 
3903
4229
  :example:
3904
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/list_objects.py.html>`__ to see an example of how to use list_objects API.
4230
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/list_objects.py.html>`__ to see an example of how to use list_objects API.
3905
4231
  """
3906
4232
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3907
4233
  required_arguments = ['namespaceName', 'bucketName']
@@ -4040,7 +4366,7 @@ class ObjectStorageClient(object):
4040
4366
  :rtype: :class:`~oci.response.Response`
4041
4367
 
4042
4368
  :example:
4043
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/list_preauthenticated_requests.py.html>`__ to see an example of how to use list_preauthenticated_requests API.
4369
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/list_preauthenticated_requests.py.html>`__ to see an example of how to use list_preauthenticated_requests API.
4044
4370
  """
4045
4371
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4046
4372
  required_arguments = ['namespaceName', 'bucketName']
@@ -4124,6 +4450,168 @@ class ObjectStorageClient(object):
4124
4450
  api_reference_link=api_reference_link,
4125
4451
  required_arguments=required_arguments)
4126
4452
 
4453
+ def list_private_endpoints(self, namespace_name, compartment_id, **kwargs):
4454
+ """
4455
+ Gets a list of all PrivateEndpointSummary in a compartment associated with a namespace.
4456
+ To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized,
4457
+ talk to an administrator. If you are an administrator who needs to write policies to give users access, see
4458
+ `Getting Started with Policies`__.
4459
+
4460
+ __ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
4461
+
4462
+
4463
+ :param str namespace_name: (required)
4464
+ The Object Storage namespace used for the request.
4465
+
4466
+ :param str compartment_id: (required)
4467
+ The ID of the compartment in which to list buckets.
4468
+
4469
+ :param int limit: (optional)
4470
+ For list pagination. The maximum number of results per page, or items to return in a paginated
4471
+ \"List\" call. For important details about how pagination works, see
4472
+ `List Pagination`__.
4473
+
4474
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
4475
+
4476
+ :param str page: (optional)
4477
+ For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. For important
4478
+ details about how pagination works, see `List Pagination`__.
4479
+
4480
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
4481
+
4482
+ :param list[str] fields: (optional)
4483
+ PrivateEndpoint summary in list of PrivateEndpoints includes the 'namespace', 'name', 'compartmentId',
4484
+ 'createdBy', 'timeCreated', 'timeModified' and 'etag' fields.
4485
+ This parameter can also include 'tags' (freeformTags and definedTags).
4486
+ The only supported value of this parameter is 'tags' for now. Example 'tags'.
4487
+
4488
+ Allowed values are: "tags"
4489
+
4490
+ :param str opc_client_request_id: (optional)
4491
+ The client request ID for tracing.
4492
+
4493
+ :param str lifecycle_state: (optional)
4494
+ The lifecycle state of the Private Endpoint
4495
+
4496
+ Allowed values are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"
4497
+
4498
+ :param obj retry_strategy: (optional)
4499
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
4500
+
4501
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
4502
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
4503
+
4504
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
4505
+
4506
+ :param bool allow_control_chars: (optional)
4507
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
4508
+ By default, the response will not allow control characters in strings
4509
+
4510
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.object_storage.models.PrivateEndpointSummary`
4511
+ :rtype: :class:`~oci.response.Response`
4512
+
4513
+ :example:
4514
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/list_private_endpoints.py.html>`__ to see an example of how to use list_private_endpoints API.
4515
+ """
4516
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4517
+ required_arguments = ['namespaceName', 'compartmentId']
4518
+ resource_path = "/n/{namespaceName}/pe"
4519
+ method = "GET"
4520
+ operation_name = "list_private_endpoints"
4521
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/PrivateEndpointSummary/ListPrivateEndpoints"
4522
+
4523
+ # Don't accept unknown kwargs
4524
+ expected_kwargs = [
4525
+ "allow_control_chars",
4526
+ "retry_strategy",
4527
+ "limit",
4528
+ "page",
4529
+ "fields",
4530
+ "opc_client_request_id",
4531
+ "lifecycle_state"
4532
+ ]
4533
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
4534
+ if extra_kwargs:
4535
+ raise ValueError(
4536
+ f"list_private_endpoints got unknown kwargs: {extra_kwargs!r}")
4537
+
4538
+ path_params = {
4539
+ "namespaceName": namespace_name
4540
+ }
4541
+
4542
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
4543
+
4544
+ for (k, v) in six.iteritems(path_params):
4545
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
4546
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
4547
+
4548
+ if 'fields' in kwargs:
4549
+ fields_allowed_values = ["tags"]
4550
+ for fields_item in kwargs['fields']:
4551
+ if fields_item not in fields_allowed_values:
4552
+ raise ValueError(
4553
+ f"Invalid value for `fields`, must be one of { fields_allowed_values }"
4554
+ )
4555
+
4556
+ if 'lifecycle_state' in kwargs:
4557
+ lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"]
4558
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
4559
+ raise ValueError(
4560
+ f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
4561
+ )
4562
+
4563
+ query_params = {
4564
+ "compartmentId": compartment_id,
4565
+ "limit": kwargs.get("limit", missing),
4566
+ "page": kwargs.get("page", missing),
4567
+ "fields": self.base_client.generate_collection_format_param(kwargs.get("fields", missing), 'csv'),
4568
+ "lifecycleState": kwargs.get("lifecycle_state", missing)
4569
+ }
4570
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
4571
+
4572
+ header_params = {
4573
+ "accept": "application/json",
4574
+ "content-type": "application/json",
4575
+ "opc-client-request-id": kwargs.get("opc_client_request_id", missing)
4576
+ }
4577
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
4578
+
4579
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
4580
+ operation_retry_strategy=kwargs.get('retry_strategy'),
4581
+ client_retry_strategy=self.retry_strategy
4582
+ )
4583
+ if retry_strategy is None:
4584
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
4585
+
4586
+ if retry_strategy:
4587
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
4588
+ self.base_client.add_opc_client_retries_header(header_params)
4589
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
4590
+ return retry_strategy.make_retrying_call(
4591
+ self.base_client.call_api,
4592
+ resource_path=resource_path,
4593
+ method=method,
4594
+ path_params=path_params,
4595
+ query_params=query_params,
4596
+ header_params=header_params,
4597
+ response_type="list[PrivateEndpointSummary]",
4598
+ allow_control_chars=kwargs.get('allow_control_chars'),
4599
+ operation_name=operation_name,
4600
+ api_reference_link=api_reference_link,
4601
+ required_arguments=required_arguments)
4602
+ else:
4603
+ return self.base_client.call_api(
4604
+ resource_path=resource_path,
4605
+ method=method,
4606
+ path_params=path_params,
4607
+ query_params=query_params,
4608
+ header_params=header_params,
4609
+ response_type="list[PrivateEndpointSummary]",
4610
+ allow_control_chars=kwargs.get('allow_control_chars'),
4611
+ operation_name=operation_name,
4612
+ api_reference_link=api_reference_link,
4613
+ required_arguments=required_arguments)
4614
+
4127
4615
  def list_replication_policies(self, namespace_name, bucket_name, **kwargs):
4128
4616
  """
4129
4617
  List the replication policies associated with a bucket.
@@ -4168,7 +4656,7 @@ class ObjectStorageClient(object):
4168
4656
  :rtype: :class:`~oci.response.Response`
4169
4657
 
4170
4658
  :example:
4171
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/list_replication_policies.py.html>`__ to see an example of how to use list_replication_policies API.
4659
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/list_replication_policies.py.html>`__ to see an example of how to use list_replication_policies API.
4172
4660
  """
4173
4661
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4174
4662
  required_arguments = ['namespaceName', 'bucketName']
@@ -4294,7 +4782,7 @@ class ObjectStorageClient(object):
4294
4782
  :rtype: :class:`~oci.response.Response`
4295
4783
 
4296
4784
  :example:
4297
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/list_replication_sources.py.html>`__ to see an example of how to use list_replication_sources API.
4785
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/list_replication_sources.py.html>`__ to see an example of how to use list_replication_sources API.
4298
4786
  """
4299
4787
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4300
4788
  required_arguments = ['namespaceName', 'bucketName']
@@ -4411,7 +4899,7 @@ class ObjectStorageClient(object):
4411
4899
  :rtype: :class:`~oci.response.Response`
4412
4900
 
4413
4901
  :example:
4414
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/list_retention_rules.py.html>`__ to see an example of how to use list_retention_rules API.
4902
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/list_retention_rules.py.html>`__ to see an example of how to use list_retention_rules API.
4415
4903
  """
4416
4904
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4417
4905
  required_arguments = ['namespaceName', 'bucketName']
@@ -4528,7 +5016,7 @@ class ObjectStorageClient(object):
4528
5016
  :rtype: :class:`~oci.response.Response`
4529
5017
 
4530
5018
  :example:
4531
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
5019
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
4532
5020
  """
4533
5021
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4534
5022
  required_arguments = ['workRequestId']
@@ -4649,7 +5137,7 @@ class ObjectStorageClient(object):
4649
5137
  :rtype: :class:`~oci.response.Response`
4650
5138
 
4651
5139
  :example:
4652
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
5140
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
4653
5141
  """
4654
5142
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4655
5143
  required_arguments = ['workRequestId']
@@ -4738,6 +5226,9 @@ class ObjectStorageClient(object):
4738
5226
  :param str compartment_id: (required)
4739
5227
  The ID of the compartment in which to list buckets.
4740
5228
 
5229
+ :param str private_endpoint_name: (optional)
5230
+ The name of the privateEndpoint for which to list work requests.
5231
+
4741
5232
  :param str opc_client_request_id: (optional)
4742
5233
  The client request ID for tracing.
4743
5234
 
@@ -4770,7 +5261,7 @@ class ObjectStorageClient(object):
4770
5261
  :rtype: :class:`~oci.response.Response`
4771
5262
 
4772
5263
  :example:
4773
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
5264
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
4774
5265
  """
4775
5266
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4776
5267
  required_arguments = ['compartmentId']
@@ -4783,6 +5274,7 @@ class ObjectStorageClient(object):
4783
5274
  expected_kwargs = [
4784
5275
  "allow_control_chars",
4785
5276
  "retry_strategy",
5277
+ "private_endpoint_name",
4786
5278
  "opc_client_request_id",
4787
5279
  "page",
4788
5280
  "limit"
@@ -4794,6 +5286,7 @@ class ObjectStorageClient(object):
4794
5286
 
4795
5287
  query_params = {
4796
5288
  "compartmentId": compartment_id,
5289
+ "privateEndpointName": kwargs.get("private_endpoint_name", missing),
4797
5290
  "page": kwargs.get("page", missing),
4798
5291
  "limit": kwargs.get("limit", missing)
4799
5292
  }
@@ -4874,7 +5367,7 @@ class ObjectStorageClient(object):
4874
5367
  :rtype: :class:`~oci.response.Response`
4875
5368
 
4876
5369
  :example:
4877
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/make_bucket_writable.py.html>`__ to see an example of how to use make_bucket_writable API.
5370
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/make_bucket_writable.py.html>`__ to see an example of how to use make_bucket_writable API.
4878
5371
  """
4879
5372
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4880
5373
  required_arguments = ['namespaceName', 'bucketName']
@@ -4994,7 +5487,7 @@ class ObjectStorageClient(object):
4994
5487
  The only allowed value for this parameter is \"100-Continue\" (case-insensitive).
4995
5488
 
4996
5489
  :param str content_md5: (optional)
4997
- The optional base-64 header that defines the encoded MD5 hash of the body. If the optional Content-MD5 header is present, Object
5490
+ The optional header that defines the base64-encoded MD5 hash of the body. If the optional Content-MD5 header is present, Object
4998
5491
  Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the
4999
5492
  MD5 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error
5000
5493
  is returned with the message:
@@ -5092,7 +5585,7 @@ class ObjectStorageClient(object):
5092
5585
  :rtype: :class:`~oci.response.Response`
5093
5586
 
5094
5587
  :example:
5095
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/put_object.py.html>`__ to see an example of how to use put_object API.
5588
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/put_object.py.html>`__ to see an example of how to use put_object API.
5096
5589
  """
5097
5590
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5098
5591
  required_arguments = ['namespaceName', 'bucketName', 'objectName']
@@ -5269,7 +5762,7 @@ class ObjectStorageClient(object):
5269
5762
  :rtype: :class:`~oci.response.Response`
5270
5763
 
5271
5764
  :example:
5272
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/put_object_lifecycle_policy.py.html>`__ to see an example of how to use put_object_lifecycle_policy API.
5765
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/put_object_lifecycle_policy.py.html>`__ to see an example of how to use put_object_lifecycle_policy API.
5273
5766
  """
5274
5767
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5275
5768
  required_arguments = ['namespaceName', 'bucketName']
@@ -5392,7 +5885,7 @@ class ObjectStorageClient(object):
5392
5885
  :rtype: :class:`~oci.response.Response`
5393
5886
 
5394
5887
  :example:
5395
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/reencrypt_bucket.py.html>`__ to see an example of how to use reencrypt_bucket API.
5888
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/reencrypt_bucket.py.html>`__ to see an example of how to use reencrypt_bucket API.
5396
5889
  """
5397
5890
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5398
5891
  required_arguments = ['namespaceName', 'bucketName']
@@ -5511,7 +6004,7 @@ class ObjectStorageClient(object):
5511
6004
  :rtype: :class:`~oci.response.Response`
5512
6005
 
5513
6006
  :example:
5514
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/reencrypt_object.py.html>`__ to see an example of how to use reencrypt_object API.
6007
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/reencrypt_object.py.html>`__ to see an example of how to use reencrypt_object API.
5515
6008
  """
5516
6009
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5517
6010
  required_arguments = ['namespaceName', 'bucketName', 'objectName']
@@ -5631,7 +6124,7 @@ class ObjectStorageClient(object):
5631
6124
  :rtype: :class:`~oci.response.Response`
5632
6125
 
5633
6126
  :example:
5634
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/rename_object.py.html>`__ to see an example of how to use rename_object API.
6127
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/rename_object.py.html>`__ to see an example of how to use rename_object API.
5635
6128
  """
5636
6129
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5637
6130
  required_arguments = ['namespaceName', 'bucketName']
@@ -5705,8 +6198,8 @@ class ObjectStorageClient(object):
5705
6198
 
5706
6199
  def restore_objects(self, namespace_name, bucket_name, restore_objects_details, **kwargs):
5707
6200
  """
5708
- Restores one or more objects specified by the objectName parameter.
5709
- By default objects will be restored for 24 hours. Duration can be configured using the hours parameter.
6201
+ Restores the object specified by the objectName parameter.
6202
+ By default object will be restored for 24 hours. Duration can be configured using the hours parameter.
5710
6203
 
5711
6204
 
5712
6205
  :param str namespace_name: (required)
@@ -5717,7 +6210,7 @@ class ObjectStorageClient(object):
5717
6210
  Example: `my-new-bucket1`
5718
6211
 
5719
6212
  :param oci.object_storage.models.RestoreObjectsDetails restore_objects_details: (required)
5720
- Request to restore objects.
6213
+ Request to restore object.
5721
6214
 
5722
6215
  :param str opc_client_request_id: (optional)
5723
6216
  The client request ID for tracing.
@@ -5738,7 +6231,7 @@ class ObjectStorageClient(object):
5738
6231
  :rtype: :class:`~oci.response.Response`
5739
6232
 
5740
6233
  :example:
5741
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/restore_objects.py.html>`__ to see an example of how to use restore_objects API.
6234
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/restore_objects.py.html>`__ to see an example of how to use restore_objects API.
5742
6235
  """
5743
6236
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5744
6237
  required_arguments = ['namespaceName', 'bucketName']
@@ -5855,7 +6348,7 @@ class ObjectStorageClient(object):
5855
6348
  :rtype: :class:`~oci.response.Response`
5856
6349
 
5857
6350
  :example:
5858
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/update_bucket.py.html>`__ to see an example of how to use update_bucket API.
6351
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/update_bucket.py.html>`__ to see an example of how to use update_bucket API.
5859
6352
  """
5860
6353
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5861
6354
  required_arguments = ['namespaceName', 'bucketName']
@@ -5967,7 +6460,7 @@ class ObjectStorageClient(object):
5967
6460
  :rtype: :class:`~oci.response.Response`
5968
6461
 
5969
6462
  :example:
5970
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/update_namespace_metadata.py.html>`__ to see an example of how to use update_namespace_metadata API.
6463
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/update_namespace_metadata.py.html>`__ to see an example of how to use update_namespace_metadata API.
5971
6464
  """
5972
6465
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5973
6466
  required_arguments = ['namespaceName']
@@ -6074,7 +6567,7 @@ class ObjectStorageClient(object):
6074
6567
  :rtype: :class:`~oci.response.Response`
6075
6568
 
6076
6569
  :example:
6077
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/update_object_storage_tier.py.html>`__ to see an example of how to use update_object_storage_tier API.
6570
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/update_object_storage_tier.py.html>`__ to see an example of how to use update_object_storage_tier API.
6078
6571
  """
6079
6572
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6080
6573
  required_arguments = ['namespaceName', 'bucketName']
@@ -6146,6 +6639,128 @@ class ObjectStorageClient(object):
6146
6639
  api_reference_link=api_reference_link,
6147
6640
  required_arguments=required_arguments)
6148
6641
 
6642
+ def update_private_endpoint(self, namespace_name, pe_name, update_private_endpoint_details, **kwargs):
6643
+ """
6644
+ Performs a partial or full update of a user-defined data associated with the Private Endpoint.
6645
+
6646
+ Use UpdatePrivateEndpoint to move a Private Endpoint from one compartment to another within the same tenancy. Supply the compartmentID
6647
+ of the compartment that you want to move the Private Endpoint to. Or use it to update the name, subnetId, endpointFqdn or privateEndpointIp or accessTargets of the Private Endpoint.
6648
+ For more information about moving resources between compartments, see `Moving Resources to a Different Compartment`__.
6649
+
6650
+ This API follows replace semantics (rather than merge semantics). That means if the body provides values for
6651
+ parameters and the resource has exisiting ones, this operation will replace those existing values.
6652
+
6653
+ __ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes
6654
+
6655
+
6656
+ :param str namespace_name: (required)
6657
+ The Object Storage namespace used for the request.
6658
+
6659
+ :param str pe_name: (required)
6660
+ The name of the private endpoint. Avoid entering confidential information.
6661
+ Example: `my-new-pe-1`
6662
+
6663
+ :param oci.object_storage.models.UpdatePrivateEndpointDetails update_private_endpoint_details: (required)
6664
+ Request object for updating the Private Endpoint.
6665
+
6666
+ :param str opc_client_request_id: (optional)
6667
+ The client request ID for tracing.
6668
+
6669
+ :param str if_match: (optional)
6670
+ The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
6671
+ the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
6672
+ the resource.
6673
+
6674
+ :param obj retry_strategy: (optional)
6675
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
6676
+
6677
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
6678
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
6679
+
6680
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
6681
+
6682
+ :param bool allow_control_chars: (optional)
6683
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
6684
+ By default, the response will not allow control characters in strings
6685
+
6686
+ :return: A :class:`~oci.response.Response` object with data of type None
6687
+ :rtype: :class:`~oci.response.Response`
6688
+
6689
+ :example:
6690
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/update_private_endpoint.py.html>`__ to see an example of how to use update_private_endpoint API.
6691
+ """
6692
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6693
+ required_arguments = ['namespaceName', 'peName']
6694
+ resource_path = "/n/{namespaceName}/pe/{peName}"
6695
+ method = "POST"
6696
+ operation_name = "update_private_endpoint"
6697
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/PrivateEndpoint/UpdatePrivateEndpoint"
6698
+
6699
+ # Don't accept unknown kwargs
6700
+ expected_kwargs = [
6701
+ "allow_control_chars",
6702
+ "retry_strategy",
6703
+ "opc_client_request_id",
6704
+ "if_match"
6705
+ ]
6706
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
6707
+ if extra_kwargs:
6708
+ raise ValueError(
6709
+ f"update_private_endpoint got unknown kwargs: {extra_kwargs!r}")
6710
+
6711
+ path_params = {
6712
+ "namespaceName": namespace_name,
6713
+ "peName": pe_name
6714
+ }
6715
+
6716
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
6717
+
6718
+ for (k, v) in six.iteritems(path_params):
6719
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
6720
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
6721
+
6722
+ header_params = {
6723
+ "accept": "application/json",
6724
+ "content-type": "application/json",
6725
+ "opc-client-request-id": kwargs.get("opc_client_request_id", missing),
6726
+ "if-match": kwargs.get("if_match", missing)
6727
+ }
6728
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
6729
+
6730
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
6731
+ operation_retry_strategy=kwargs.get('retry_strategy'),
6732
+ client_retry_strategy=self.retry_strategy
6733
+ )
6734
+ if retry_strategy is None:
6735
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
6736
+
6737
+ if retry_strategy:
6738
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
6739
+ self.base_client.add_opc_client_retries_header(header_params)
6740
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
6741
+ return retry_strategy.make_retrying_call(
6742
+ self.base_client.call_api,
6743
+ resource_path=resource_path,
6744
+ method=method,
6745
+ path_params=path_params,
6746
+ header_params=header_params,
6747
+ body=update_private_endpoint_details,
6748
+ allow_control_chars=kwargs.get('allow_control_chars'),
6749
+ operation_name=operation_name,
6750
+ api_reference_link=api_reference_link,
6751
+ required_arguments=required_arguments)
6752
+ else:
6753
+ return self.base_client.call_api(
6754
+ resource_path=resource_path,
6755
+ method=method,
6756
+ path_params=path_params,
6757
+ header_params=header_params,
6758
+ body=update_private_endpoint_details,
6759
+ allow_control_chars=kwargs.get('allow_control_chars'),
6760
+ operation_name=operation_name,
6761
+ api_reference_link=api_reference_link,
6762
+ required_arguments=required_arguments)
6763
+
6149
6764
  def update_retention_rule(self, namespace_name, bucket_name, retention_rule_id, update_retention_rule_details, **kwargs):
6150
6765
  """
6151
6766
  Updates the specified retention rule. Rule changes take effect typically within 30 seconds.
@@ -6188,7 +6803,7 @@ class ObjectStorageClient(object):
6188
6803
  :rtype: :class:`~oci.response.Response`
6189
6804
 
6190
6805
  :example:
6191
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/update_retention_rule.py.html>`__ to see an example of how to use update_retention_rule API.
6806
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/update_retention_rule.py.html>`__ to see an example of how to use update_retention_rule API.
6192
6807
  """
6193
6808
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6194
6809
  required_arguments = ['namespaceName', 'bucketName', 'retentionRuleId']
@@ -6311,7 +6926,7 @@ class ObjectStorageClient(object):
6311
6926
  The only allowed value for this parameter is \"100-Continue\" (case-insensitive).
6312
6927
 
6313
6928
  :param str content_md5: (optional)
6314
- The optional base-64 header that defines the encoded MD5 hash of the body. If the optional Content-MD5 header is present, Object
6929
+ The optional header that defines the base64-encoded MD5 hash of the body. If the optional Content-MD5 header is present, Object
6315
6930
  Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the
6316
6931
  MD5 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error
6317
6932
  is returned with the message:
@@ -6367,7 +6982,7 @@ class ObjectStorageClient(object):
6367
6982
  :rtype: :class:`~oci.response.Response`
6368
6983
 
6369
6984
  :example:
6370
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/objectstorage/upload_part.py.html>`__ to see an example of how to use upload_part API.
6985
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/objectstorage/upload_part.py.html>`__ to see an example of how to use upload_part API.
6371
6986
  """
6372
6987
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6373
6988
  required_arguments = ['namespaceName', 'bucketName', 'objectName', 'uploadId', 'uploadPartNum']