aidp-python-client 1.0.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 (847) hide show
  1. aidp_python_client/aidataplatform_dp/__init__.py +44 -0
  2. aidp_python_client/aidataplatform_dp/async_operations_client.py +322 -0
  3. aidp_python_client/aidataplatform_dp/async_operations_client_composite_operations.py +24 -0
  4. aidp_python_client/aidataplatform_dp/audit_client.py +294 -0
  5. aidp_python_client/aidataplatform_dp/audit_client_composite_operations.py +24 -0
  6. aidp_python_client/aidataplatform_dp/bundle_client.py +711 -0
  7. aidp_python_client/aidataplatform_dp/bundle_client_composite_operations.py +24 -0
  8. aidp_python_client/aidataplatform_dp/catalog_client.py +1071 -0
  9. aidp_python_client/aidataplatform_dp/catalog_client_composite_operations.py +24 -0
  10. aidp_python_client/aidataplatform_dp/cluster_client.py +1873 -0
  11. aidp_python_client/aidataplatform_dp/cluster_client_composite_operations.py +24 -0
  12. aidp_python_client/aidataplatform_dp/credentials_client.py +620 -0
  13. aidp_python_client/aidataplatform_dp/credentials_client_composite_operations.py +24 -0
  14. aidp_python_client/aidataplatform_dp/delta_share_client.py +2210 -0
  15. aidp_python_client/aidataplatform_dp/delta_share_client_composite_operations.py +110 -0
  16. aidp_python_client/aidataplatform_dp/git_client.py +1819 -0
  17. aidp_python_client/aidataplatform_dp/git_client_composite_operations.py +24 -0
  18. aidp_python_client/aidataplatform_dp/ml_ops_client.py +4689 -0
  19. aidp_python_client/aidataplatform_dp/ml_ops_client_composite_operations.py +24 -0
  20. aidp_python_client/aidataplatform_dp/models/__init__.py +1618 -0
  21. aidp_python_client/aidataplatform_dp/models/active_cluster_resources.py +194 -0
  22. aidp_python_client/aidataplatform_dp/models/add_member_to_role_details.py +70 -0
  23. aidp_python_client/aidataplatform_dp/models/admin_setting.py +159 -0
  24. aidp_python_client/aidataplatform_dp/models/admin_setting_collection.py +70 -0
  25. aidp_python_client/aidataplatform_dp/models/admin_setting_summary.py +277 -0
  26. aidp_python_client/aidataplatform_dp/models/adw_schema.py +134 -0
  27. aidp_python_client/aidataplatform_dp/models/adw_schema_summary.py +128 -0
  28. aidp_python_client/aidataplatform_dp/models/adw_table.py +177 -0
  29. aidp_python_client/aidataplatform_dp/models/adw_table_summary.py +107 -0
  30. aidp_python_client/aidataplatform_dp/models/agent_card_capabilities_detail.py +70 -0
  31. aidp_python_client/aidataplatform_dp/models/agent_card_config_detail.py +248 -0
  32. aidp_python_client/aidataplatform_dp/models/agent_card_preview_response.py +70 -0
  33. aidp_python_client/aidataplatform_dp/models/agent_card_skill_detail.py +194 -0
  34. aidp_python_client/aidataplatform_dp/models/agent_flow.py +803 -0
  35. aidp_python_client/aidataplatform_dp/models/agent_flow_attachment.py +101 -0
  36. aidp_python_client/aidataplatform_dp/models/agent_flow_collection.py +70 -0
  37. aidp_python_client/aidataplatform_dp/models/agent_flow_compute.py +170 -0
  38. aidp_python_client/aidataplatform_dp/models/agent_flow_dependency.py +132 -0
  39. aidp_python_client/aidataplatform_dp/models/agent_flow_dependency_item.py +132 -0
  40. aidp_python_client/aidataplatform_dp/models/agent_flow_deployment.py +577 -0
  41. aidp_python_client/aidataplatform_dp/models/agent_flow_deployment_collection.py +70 -0
  42. aidp_python_client/aidataplatform_dp/models/agent_flow_deployment_summary.py +461 -0
  43. aidp_python_client/aidataplatform_dp/models/agent_flow_detachment.py +101 -0
  44. aidp_python_client/aidataplatform_dp/models/agent_flow_diagram.py +287 -0
  45. aidp_python_client/aidataplatform_dp/models/agent_flow_edge.py +411 -0
  46. aidp_python_client/aidataplatform_dp/models/agent_flow_guardrails_collection.py +70 -0
  47. aidp_python_client/aidataplatform_dp/models/agent_flow_guardrails_summary.py +335 -0
  48. aidp_python_client/aidataplatform_dp/models/agent_flow_node.py +661 -0
  49. aidp_python_client/aidataplatform_dp/models/agent_flow_permission_collection.py +70 -0
  50. aidp_python_client/aidataplatform_dp/models/agent_flow_permission_summary.py +336 -0
  51. aidp_python_client/aidataplatform_dp/models/agent_flow_session.py +467 -0
  52. aidp_python_client/aidataplatform_dp/models/agent_flow_session_collection.py +70 -0
  53. aidp_python_client/aidataplatform_dp/models/agent_flow_session_context.py +66 -0
  54. aidp_python_client/aidataplatform_dp/models/agent_flow_session_metric.py +872 -0
  55. aidp_python_client/aidataplatform_dp/models/agent_flow_session_metrics_range.py +163 -0
  56. aidp_python_client/aidataplatform_dp/models/agent_flow_session_summary.py +440 -0
  57. aidp_python_client/aidataplatform_dp/models/agent_flow_summary.py +647 -0
  58. aidp_python_client/aidataplatform_dp/models/agent_flow_validation_issue.py +399 -0
  59. aidp_python_client/aidataplatform_dp/models/agent_flow_validation_metadata.py +257 -0
  60. aidp_python_client/aidataplatform_dp/models/agent_flow_validation_options.py +101 -0
  61. aidp_python_client/aidataplatform_dp/models/agent_flow_validation_result.py +203 -0
  62. aidp_python_client/aidataplatform_dp/models/agent_flow_validation_summary.py +194 -0
  63. aidp_python_client/aidataplatform_dp/models/agent_node.py +332 -0
  64. aidp_python_client/aidataplatform_dp/models/agent_provider.py +101 -0
  65. aidp_python_client/aidataplatform_dp/models/aggregated_data_point.py +101 -0
  66. aidp_python_client/aidataplatform_dp/models/aggregated_time_series_data_point.py +101 -0
  67. aidp_python_client/aidataplatform_dp/models/ai_compute_override_item.py +194 -0
  68. aidp_python_client/aidataplatform_dp/models/ai_data_platform.py +42 -0
  69. aidp_python_client/aidataplatform_dp/models/ai_model.py +251 -0
  70. aidp_python_client/aidataplatform_dp/models/airflow_cell_config.py +101 -0
  71. aidp_python_client/aidataplatform_dp/models/alh_schema.py +134 -0
  72. aidp_python_client/aidataplatform_dp/models/alh_schema_summary.py +128 -0
  73. aidp_python_client/aidataplatform_dp/models/alh_table.py +177 -0
  74. aidp_python_client/aidataplatform_dp/models/alh_table_summary.py +107 -0
  75. aidp_python_client/aidataplatform_dp/models/allowed_tool_details.py +128 -0
  76. aidp_python_client/aidataplatform_dp/models/artifact_file_info.py +132 -0
  77. aidp_python_client/aidataplatform_dp/models/artifact_list.py +132 -0
  78. aidp_python_client/aidataplatform_dp/models/assign_agent_flow_permission_details.py +187 -0
  79. aidp_python_client/aidataplatform_dp/models/assign_catalog_permission_details.py +125 -0
  80. aidp_python_client/aidataplatform_dp/models/assign_cluster_permission_details.py +121 -0
  81. aidp_python_client/aidataplatform_dp/models/assign_create_workspace_permission_details.py +66 -0
  82. aidp_python_client/aidataplatform_dp/models/assign_credential_permission_details.py +125 -0
  83. aidp_python_client/aidataplatform_dp/models/assign_job_permission_details.py +125 -0
  84. aidp_python_client/aidataplatform_dp/models/assign_knowledge_base_permission_details.py +121 -0
  85. aidp_python_client/aidataplatform_dp/models/assign_master_catalog_permission_details.py +129 -0
  86. aidp_python_client/aidataplatform_dp/models/assign_recipient_permission_details.py +121 -0
  87. aidp_python_client/aidataplatform_dp/models/assign_role_permission_details.py +70 -0
  88. aidp_python_client/aidataplatform_dp/models/assign_schema_permission_details.py +137 -0
  89. aidp_python_client/aidataplatform_dp/models/assign_share_permission_details.py +121 -0
  90. aidp_python_client/aidataplatform_dp/models/assign_table_permission_details.py +195 -0
  91. aidp_python_client/aidataplatform_dp/models/assign_tool_permission_details.py +183 -0
  92. aidp_python_client/aidataplatform_dp/models/assign_view_permission_details.py +183 -0
  93. aidp_python_client/aidataplatform_dp/models/assign_volume_permission_details.py +121 -0
  94. aidp_python_client/aidataplatform_dp/models/assign_workspace_object_permission_details.py +156 -0
  95. aidp_python_client/aidataplatform_dp/models/assign_workspace_permission_details.py +121 -0
  96. aidp_python_client/aidataplatform_dp/models/async_operation.py +747 -0
  97. aidp_python_client/aidataplatform_dp/models/async_operation_collection.py +70 -0
  98. aidp_python_client/aidataplatform_dp/models/async_operation_summary.py +685 -0
  99. aidp_python_client/aidataplatform_dp/models/atp_schema.py +134 -0
  100. aidp_python_client/aidataplatform_dp/models/atp_schema_summary.py +128 -0
  101. aidp_python_client/aidataplatform_dp/models/atp_table.py +177 -0
  102. aidp_python_client/aidataplatform_dp/models/atp_table_summary.py +107 -0
  103. aidp_python_client/aidataplatform_dp/models/attach_compute_details.py +70 -0
  104. aidp_python_client/aidataplatform_dp/models/attach_master_catalog_to_cluster_details.py +70 -0
  105. aidp_python_client/aidataplatform_dp/models/attach_to_notebook_config.py +70 -0
  106. aidp_python_client/aidataplatform_dp/models/attach_workspace_object_to_cluster_details.py +42 -0
  107. aidp_python_client/aidataplatform_dp/models/attached_session.py +195 -0
  108. aidp_python_client/aidataplatform_dp/models/audit_log_search_result_collection.py +70 -0
  109. aidp_python_client/aidataplatform_dp/models/audit_log_search_result_summary.py +542 -0
  110. aidp_python_client/aidataplatform_dp/models/auth.py +124 -0
  111. aidp_python_client/aidataplatform_dp/models/auto_scale.py +101 -0
  112. aidp_python_client/aidataplatform_dp/models/bearer_token_auth.py +80 -0
  113. aidp_python_client/aidataplatform_dp/models/bucket_collection.py +70 -0
  114. aidp_python_client/aidataplatform_dp/models/bucket_summary.py +204 -0
  115. aidp_python_client/aidataplatform_dp/models/bundle.py +42 -0
  116. aidp_python_client/aidataplatform_dp/models/bundle_deployed_resource.py +148 -0
  117. aidp_python_client/aidataplatform_dp/models/bundle_deployment_status.py +218 -0
  118. aidp_python_client/aidataplatform_dp/models/bundle_overrides.py +101 -0
  119. aidp_python_client/aidataplatform_dp/models/bundle_overrides_with_path.py +97 -0
  120. aidp_python_client/aidataplatform_dp/models/bundle_validation_result.py +153 -0
  121. aidp_python_client/aidataplatform_dp/models/bundled_resource.py +118 -0
  122. aidp_python_client/aidataplatform_dp/models/catalog.py +548 -0
  123. aidp_python_client/aidataplatform_dp/models/catalog_collection.py +70 -0
  124. aidp_python_client/aidataplatform_dp/models/catalog_connection_details.py +101 -0
  125. aidp_python_client/aidataplatform_dp/models/catalog_migration_detail.py +211 -0
  126. aidp_python_client/aidataplatform_dp/models/catalog_permission_collection.py +70 -0
  127. aidp_python_client/aidataplatform_dp/models/catalog_permission_summary.py +207 -0
  128. aidp_python_client/aidataplatform_dp/models/catalog_summary.py +569 -0
  129. aidp_python_client/aidataplatform_dp/models/catalog_test_connection_details.py +165 -0
  130. aidp_python_client/aidataplatform_dp/models/category_config.py +184 -0
  131. aidp_python_client/aidataplatform_dp/models/chat_message.py +184 -0
  132. aidp_python_client/aidataplatform_dp/models/checkout_branch_details.py +101 -0
  133. aidp_python_client/aidataplatform_dp/models/clear_outputs_details.py +70 -0
  134. aidp_python_client/aidataplatform_dp/models/cluster.py +757 -0
  135. aidp_python_client/aidataplatform_dp/models/cluster_collection.py +70 -0
  136. aidp_python_client/aidataplatform_dp/models/cluster_event.py +116 -0
  137. aidp_python_client/aidataplatform_dp/models/cluster_execution_context_availability_event.py +80 -0
  138. aidp_python_client/aidataplatform_dp/models/cluster_instance.py +102 -0
  139. aidp_python_client/aidataplatform_dp/models/cluster_library_collection.py +70 -0
  140. aidp_python_client/aidataplatform_dp/models/cluster_library_details.py +156 -0
  141. aidp_python_client/aidataplatform_dp/models/cluster_library_summary.py +261 -0
  142. aidp_python_client/aidataplatform_dp/models/cluster_log_collection.py +70 -0
  143. aidp_python_client/aidataplatform_dp/models/cluster_logs_summary.py +128 -0
  144. aidp_python_client/aidataplatform_dp/models/cluster_patch_event.py +205 -0
  145. aidp_python_client/aidataplatform_dp/models/cluster_permission_collection.py +70 -0
  146. aidp_python_client/aidataplatform_dp/models/cluster_permission_summary.py +203 -0
  147. aidp_python_client/aidataplatform_dp/models/cluster_runtime_config.py +130 -0
  148. aidp_python_client/aidataplatform_dp/models/cluster_spec.py +124 -0
  149. aidp_python_client/aidataplatform_dp/models/cluster_state_event.py +157 -0
  150. aidp_python_client/aidataplatform_dp/models/cluster_summary.py +690 -0
  151. aidp_python_client/aidataplatform_dp/models/commit_push_details.py +194 -0
  152. aidp_python_client/aidataplatform_dp/models/compute_dependency.py +80 -0
  153. aidp_python_client/aidataplatform_dp/models/compute_override_item.py +194 -0
  154. aidp_python_client/aidataplatform_dp/models/conflict_resolve_details.py +122 -0
  155. aidp_python_client/aidataplatform_dp/models/content.py +502 -0
  156. aidp_python_client/aidataplatform_dp/models/content_moderation_category_config.py +217 -0
  157. aidp_python_client/aidataplatform_dp/models/content_moderation_config.py +149 -0
  158. aidp_python_client/aidataplatform_dp/models/content_moderation_policy.py +117 -0
  159. aidp_python_client/aidataplatform_dp/models/continuous.py +86 -0
  160. aidp_python_client/aidataplatform_dp/models/copy_agent_flow_details.py +163 -0
  161. aidp_python_client/aidataplatform_dp/models/copy_workspace_object_details.py +225 -0
  162. aidp_python_client/aidataplatform_dp/models/create_admin_setting_details.py +128 -0
  163. aidp_python_client/aidataplatform_dp/models/create_agent_flow_compute_details.py +77 -0
  164. aidp_python_client/aidataplatform_dp/models/create_agent_flow_details.py +381 -0
  165. aidp_python_client/aidataplatform_dp/models/create_agent_flow_edge_details.py +262 -0
  166. aidp_python_client/aidataplatform_dp/models/create_agent_flow_node_details.py +482 -0
  167. aidp_python_client/aidataplatform_dp/models/create_agent_flow_session_details.py +128 -0
  168. aidp_python_client/aidataplatform_dp/models/create_agent_node_details.py +266 -0
  169. aidp_python_client/aidataplatform_dp/models/create_bundle_details.py +165 -0
  170. aidp_python_client/aidataplatform_dp/models/create_catalog_details.py +275 -0
  171. aidp_python_client/aidataplatform_dp/models/create_cluster_details.py +228 -0
  172. aidp_python_client/aidataplatform_dp/models/create_connection_details.py +70 -0
  173. aidp_python_client/aidataplatform_dp/models/create_content_details.py +132 -0
  174. aidp_python_client/aidataplatform_dp/models/create_custom_tool_details.py +190 -0
  175. aidp_python_client/aidataplatform_dp/models/create_custom_tool_node_details.py +208 -0
  176. aidp_python_client/aidataplatform_dp/models/create_data_lake_credential_details.py +180 -0
  177. aidp_python_client/aidataplatform_dp/models/create_data_table_details.py +417 -0
  178. aidp_python_client/aidataplatform_dp/models/create_experiment_details.py +132 -0
  179. aidp_python_client/aidataplatform_dp/models/create_experiment_response_details.py +70 -0
  180. aidp_python_client/aidataplatform_dp/models/create_experiment_run_details.py +163 -0
  181. aidp_python_client/aidataplatform_dp/models/create_experiment_run_response_details.py +66 -0
  182. aidp_python_client/aidataplatform_dp/models/create_git_branch.py +256 -0
  183. aidp_python_client/aidataplatform_dp/models/create_git_branch_details.py +101 -0
  184. aidp_python_client/aidataplatform_dp/models/create_git_folder_details.py +225 -0
  185. aidp_python_client/aidataplatform_dp/models/create_http_tool_details.py +128 -0
  186. aidp_python_client/aidataplatform_dp/models/create_http_tool_node_details.py +208 -0
  187. aidp_python_client/aidataplatform_dp/models/create_job_details.py +426 -0
  188. aidp_python_client/aidataplatform_dp/models/create_job_run_details.py +248 -0
  189. aidp_python_client/aidataplatform_dp/models/create_knowledge_base_details.py +516 -0
  190. aidp_python_client/aidataplatform_dp/models/create_knowledge_base_job_details.py +290 -0
  191. aidp_python_client/aidataplatform_dp/models/create_knowledge_base_job_run_details.py +70 -0
  192. aidp_python_client/aidataplatform_dp/models/create_master_catalog_details.py +101 -0
  193. aidp_python_client/aidataplatform_dp/models/create_mcp_tool_node_details.py +208 -0
  194. aidp_python_client/aidataplatform_dp/models/create_model_version_details.py +256 -0
  195. aidp_python_client/aidataplatform_dp/models/create_model_version_response_details.py +66 -0
  196. aidp_python_client/aidataplatform_dp/models/create_nl_to_sql_tool_details.py +124 -0
  197. aidp_python_client/aidataplatform_dp/models/create_or_update_bundle_overrides_details.py +97 -0
  198. aidp_python_client/aidataplatform_dp/models/create_prompt_tool_details.py +128 -0
  199. aidp_python_client/aidataplatform_dp/models/create_prompt_tool_node_details.py +208 -0
  200. aidp_python_client/aidataplatform_dp/models/create_rag_tool_details.py +124 -0
  201. aidp_python_client/aidataplatform_dp/models/create_rag_tool_node_details.py +204 -0
  202. aidp_python_client/aidataplatform_dp/models/create_recipient_details.py +134 -0
  203. aidp_python_client/aidataplatform_dp/models/create_registered_model_details.py +163 -0
  204. aidp_python_client/aidataplatform_dp/models/create_registered_model_response_details.py +66 -0
  205. aidp_python_client/aidataplatform_dp/models/create_role_details.py +101 -0
  206. aidp_python_client/aidataplatform_dp/models/create_schema_details.py +163 -0
  207. aidp_python_client/aidataplatform_dp/models/create_session_details.py +252 -0
  208. aidp_python_client/aidataplatform_dp/models/create_setting_details.py +128 -0
  209. aidp_python_client/aidataplatform_dp/models/create_share_details.py +101 -0
  210. aidp_python_client/aidataplatform_dp/models/create_spark_cluster_details.py +243 -0
  211. aidp_python_client/aidataplatform_dp/models/create_sql_tool_details.py +128 -0
  212. aidp_python_client/aidataplatform_dp/models/create_sql_tool_node_details.py +208 -0
  213. aidp_python_client/aidataplatform_dp/models/create_table_details.py +358 -0
  214. aidp_python_client/aidataplatform_dp/models/create_tool_details.py +237 -0
  215. aidp_python_client/aidataplatform_dp/models/create_user_setting_details.py +128 -0
  216. aidp_python_client/aidataplatform_dp/models/create_view_details.py +256 -0
  217. aidp_python_client/aidataplatform_dp/models/create_volume_details.py +242 -0
  218. aidp_python_client/aidataplatform_dp/models/create_workspace_details.py +165 -0
  219. aidp_python_client/aidataplatform_dp/models/create_workspace_permission_collection.py +70 -0
  220. aidp_python_client/aidataplatform_dp/models/create_workspace_permission_summary.py +152 -0
  221. aidp_python_client/aidataplatform_dp/models/credential.py +420 -0
  222. aidp_python_client/aidataplatform_dp/models/credential_collection.py +70 -0
  223. aidp_python_client/aidataplatform_dp/models/credential_details.py +117 -0
  224. aidp_python_client/aidataplatform_dp/models/credential_summary.py +362 -0
  225. aidp_python_client/aidataplatform_dp/models/credential_v2.py +422 -0
  226. aidp_python_client/aidataplatform_dp/models/credential_v2_collection.py +70 -0
  227. aidp_python_client/aidataplatform_dp/models/credential_v2_name_and_secret_key.py +102 -0
  228. aidp_python_client/aidataplatform_dp/models/credential_v2_summary.py +364 -0
  229. aidp_python_client/aidataplatform_dp/models/credentials_permission_collection.py +70 -0
  230. aidp_python_client/aidataplatform_dp/models/custom_pii_rule.py +256 -0
  231. aidp_python_client/aidataplatform_dp/models/custom_result.py +163 -0
  232. aidp_python_client/aidataplatform_dp/models/custom_test_tool_result.py +76 -0
  233. aidp_python_client/aidataplatform_dp/models/custom_tool.py +246 -0
  234. aidp_python_client/aidataplatform_dp/models/custom_tool_configuration.py +283 -0
  235. aidp_python_client/aidataplatform_dp/models/custom_tool_entry.py +225 -0
  236. aidp_python_client/aidataplatform_dp/models/custom_tool_node.py +185 -0
  237. aidp_python_client/aidataplatform_dp/models/dac_endpoint_collection.py +70 -0
  238. aidp_python_client/aidataplatform_dp/models/dac_endpoint_summary.py +458 -0
  239. aidp_python_client/aidataplatform_dp/models/data_lake.py +48 -0
  240. aidp_python_client/aidataplatform_dp/models/data_lake_cluster_collection.py +70 -0
  241. aidp_python_client/aidataplatform_dp/models/data_lake_cluster_summary.py +132 -0
  242. aidp_python_client/aidataplatform_dp/models/data_lake_metadata.py +163 -0
  243. aidp_python_client/aidataplatform_dp/models/dataset.py +225 -0
  244. aidp_python_client/aidataplatform_dp/models/dataset_input.py +97 -0
  245. aidp_python_client/aidataplatform_dp/models/de_provision_user_schemas_details.py +48 -0
  246. aidp_python_client/aidataplatform_dp/models/default_cluster.py +438 -0
  247. aidp_python_client/aidataplatform_dp/models/delete_experiment_details.py +70 -0
  248. aidp_python_client/aidataplatform_dp/models/delete_experiment_response_details.py +42 -0
  249. aidp_python_client/aidataplatform_dp/models/delete_experiment_run_details.py +70 -0
  250. aidp_python_client/aidataplatform_dp/models/delete_experiment_run_response_details.py +42 -0
  251. aidp_python_client/aidataplatform_dp/models/delete_experiment_run_tag_details.py +101 -0
  252. aidp_python_client/aidataplatform_dp/models/delete_experiment_run_tag_response_details.py +42 -0
  253. aidp_python_client/aidataplatform_dp/models/delete_experiment_tag_details.py +101 -0
  254. aidp_python_client/aidataplatform_dp/models/delete_experiment_tag_response_details.py +42 -0
  255. aidp_python_client/aidataplatform_dp/models/delete_model_version_details.py +101 -0
  256. aidp_python_client/aidataplatform_dp/models/delete_model_version_response_details.py +42 -0
  257. aidp_python_client/aidataplatform_dp/models/delete_model_version_tag_details.py +132 -0
  258. aidp_python_client/aidataplatform_dp/models/delete_model_version_tag_response_details.py +42 -0
  259. aidp_python_client/aidataplatform_dp/models/delete_registered_model_details.py +70 -0
  260. aidp_python_client/aidataplatform_dp/models/delete_registered_model_response_details.py +42 -0
  261. aidp_python_client/aidataplatform_dp/models/delete_registered_model_tag_details.py +101 -0
  262. aidp_python_client/aidataplatform_dp/models/delete_registered_model_tag_response_details.py +42 -0
  263. aidp_python_client/aidataplatform_dp/models/denied_topic.py +132 -0
  264. aidp_python_client/aidataplatform_dp/models/denied_topics_policy.py +117 -0
  265. aidp_python_client/aidataplatform_dp/models/dependency.py +116 -0
  266. aidp_python_client/aidataplatform_dp/models/depends_on.py +101 -0
  267. aidp_python_client/aidataplatform_dp/models/deploy_agent_flow_details.py +269 -0
  268. aidp_python_client/aidataplatform_dp/models/deploy_bundle_details.py +70 -0
  269. aidp_python_client/aidataplatform_dp/models/detach_compute_details.py +70 -0
  270. aidp_python_client/aidataplatform_dp/models/detach_workspace_object_from_cluster_details.py +42 -0
  271. aidp_python_client/aidataplatform_dp/models/download_cluster_logs_details.py +404 -0
  272. aidp_python_client/aidataplatform_dp/models/download_file_with_par_result.py +353 -0
  273. aidp_python_client/aidataplatform_dp/models/driver_config.py +128 -0
  274. aidp_python_client/aidataplatform_dp/models/embedding_model_details.py +110 -0
  275. aidp_python_client/aidataplatform_dp/models/exadata_schema.py +134 -0
  276. aidp_python_client/aidataplatform_dp/models/exadata_schema_summary.py +128 -0
  277. aidp_python_client/aidataplatform_dp/models/exadata_table.py +177 -0
  278. aidp_python_client/aidataplatform_dp/models/exadata_table_summary.py +107 -0
  279. aidp_python_client/aidataplatform_dp/models/execute_database_user_workflows_details.py +99 -0
  280. aidp_python_client/aidataplatform_dp/models/execute_sql_command_details.py +110 -0
  281. aidp_python_client/aidataplatform_dp/models/experiment.py +256 -0
  282. aidp_python_client/aidataplatform_dp/models/experiment_collection.py +101 -0
  283. aidp_python_client/aidataplatform_dp/models/experiment_response.py +66 -0
  284. aidp_python_client/aidataplatform_dp/models/experiment_run.py +147 -0
  285. aidp_python_client/aidataplatform_dp/models/experiment_run_collection.py +101 -0
  286. aidp_python_client/aidataplatform_dp/models/experiment_run_data.py +132 -0
  287. aidp_python_client/aidataplatform_dp/models/experiment_run_info.py +381 -0
  288. aidp_python_client/aidataplatform_dp/models/experiment_run_inputs.py +101 -0
  289. aidp_python_client/aidataplatform_dp/models/experiment_run_metric.py +163 -0
  290. aidp_python_client/aidataplatform_dp/models/experiment_run_metric_history_collection.py +101 -0
  291. aidp_python_client/aidataplatform_dp/models/experiment_run_outputs.py +70 -0
  292. aidp_python_client/aidataplatform_dp/models/experiment_run_param.py +101 -0
  293. aidp_python_client/aidataplatform_dp/models/experiment_run_tag.py +101 -0
  294. aidp_python_client/aidataplatform_dp/models/experiment_run_tag_key.py +70 -0
  295. aidp_python_client/aidataplatform_dp/models/experiment_tag.py +101 -0
  296. aidp_python_client/aidataplatform_dp/models/experiment_tag_key.py +70 -0
  297. aidp_python_client/aidataplatform_dp/models/export_contents_details.py +87 -0
  298. aidp_python_client/aidataplatform_dp/models/export_task_run_output_details.py +87 -0
  299. aidp_python_client/aidataplatform_dp/models/exported_contents.py +181 -0
  300. aidp_python_client/aidataplatform_dp/models/exported_task_run_output_contents.py +181 -0
  301. aidp_python_client/aidataplatform_dp/models/expression.py +101 -0
  302. aidp_python_client/aidataplatform_dp/models/external_agent_node.py +216 -0
  303. aidp_python_client/aidataplatform_dp/models/external_catalog_migration_result.py +194 -0
  304. aidp_python_client/aidataplatform_dp/models/external_table_definition.py +215 -0
  305. aidp_python_client/aidataplatform_dp/models/feature.py +101 -0
  306. aidp_python_client/aidataplatform_dp/models/feature_status_collection.py +70 -0
  307. aidp_python_client/aidataplatform_dp/models/feature_status_result.py +66 -0
  308. aidp_python_client/aidataplatform_dp/models/feature_status_summary.py +132 -0
  309. aidp_python_client/aidataplatform_dp/models/fetch_bundle_deployment_status_details.py +70 -0
  310. aidp_python_client/aidataplatform_dp/models/fetch_mcp_objects_details.py +352 -0
  311. aidp_python_client/aidataplatform_dp/models/fetch_mcp_objects_result.py +181 -0
  312. aidp_python_client/aidataplatform_dp/models/fetch_output_details.py +70 -0
  313. aidp_python_client/aidataplatform_dp/models/field_info.py +125 -0
  314. aidp_python_client/aidataplatform_dp/models/file_dependency.py +80 -0
  315. aidp_python_client/aidataplatform_dp/models/filter_types.py +101 -0
  316. aidp_python_client/aidataplatform_dp/models/generate_temp_file_upload_target_response_details.py +132 -0
  317. aidp_python_client/aidataplatform_dp/models/get_bundle_overrides_details.py +70 -0
  318. aidp_python_client/aidataplatform_dp/models/get_experiment_run_response_details.py +66 -0
  319. aidp_python_client/aidataplatform_dp/models/get_model_version_response_details.py +66 -0
  320. aidp_python_client/aidataplatform_dp/models/get_registered_model_response_details.py +66 -0
  321. aidp_python_client/aidataplatform_dp/models/git_account_user_setting.py +210 -0
  322. aidp_python_client/aidataplatform_dp/models/git_branch.py +225 -0
  323. aidp_python_client/aidataplatform_dp/models/git_branch_collection.py +70 -0
  324. aidp_python_client/aidataplatform_dp/models/git_branch_summary.py +101 -0
  325. aidp_python_client/aidataplatform_dp/models/git_config.py +187 -0
  326. aidp_python_client/aidataplatform_dp/models/git_diff_detail.py +249 -0
  327. aidp_python_client/aidataplatform_dp/models/git_diff_summary.py +270 -0
  328. aidp_python_client/aidataplatform_dp/models/git_diff_summary_collection.py +70 -0
  329. aidp_python_client/aidataplatform_dp/models/git_folder.py +225 -0
  330. aidp_python_client/aidataplatform_dp/models/git_folder_metadatum.py +101 -0
  331. aidp_python_client/aidataplatform_dp/models/git_merge_details.py +163 -0
  332. aidp_python_client/aidataplatform_dp/models/git_operation_state.py +381 -0
  333. aidp_python_client/aidataplatform_dp/models/git_pull_details.py +215 -0
  334. aidp_python_client/aidataplatform_dp/models/git_rebase_details.py +163 -0
  335. aidp_python_client/aidataplatform_dp/models/git_repair_work_tree_details.py +101 -0
  336. aidp_python_client/aidataplatform_dp/models/git_repository.py +225 -0
  337. aidp_python_client/aidataplatform_dp/models/git_reset_details.py +184 -0
  338. aidp_python_client/aidataplatform_dp/models/git_restore_branch_details.py +132 -0
  339. aidp_python_client/aidataplatform_dp/models/grouped_search_criteria.py +252 -0
  340. aidp_python_client/aidataplatform_dp/models/guardrail_node.py +216 -0
  341. aidp_python_client/aidataplatform_dp/models/guardrails_configuration.py +163 -0
  342. aidp_python_client/aidataplatform_dp/models/history_collection.py +101 -0
  343. aidp_python_client/aidataplatform_dp/models/history_summary.py +256 -0
  344. aidp_python_client/aidataplatform_dp/models/http_result.py +256 -0
  345. aidp_python_client/aidataplatform_dp/models/http_test_tool_result.py +76 -0
  346. aidp_python_client/aidataplatform_dp/models/http_tool.py +184 -0
  347. aidp_python_client/aidataplatform_dp/models/http_tool_configuration.py +312 -0
  348. aidp_python_client/aidataplatform_dp/models/http_tool_node.py +185 -0
  349. aidp_python_client/aidataplatform_dp/models/human_in_the_loop_node.py +185 -0
  350. aidp_python_client/aidataplatform_dp/models/iam_user_credential_user_setting.py +204 -0
  351. aidp_python_client/aidataplatform_dp/models/identity_domain_collection.py +70 -0
  352. aidp_python_client/aidataplatform_dp/models/identity_domain_summary.py +188 -0
  353. aidp_python_client/aidataplatform_dp/models/identity_group_collection.py +70 -0
  354. aidp_python_client/aidataplatform_dp/models/identity_group_summary.py +101 -0
  355. aidp_python_client/aidataplatform_dp/models/identity_user_collection.py +70 -0
  356. aidp_python_client/aidataplatform_dp/models/identity_user_summary.py +132 -0
  357. aidp_python_client/aidataplatform_dp/models/if_else_task.py +185 -0
  358. aidp_python_client/aidataplatform_dp/models/infer_schema.py +70 -0
  359. aidp_python_client/aidataplatform_dp/models/infer_schema_column.py +163 -0
  360. aidp_python_client/aidataplatform_dp/models/infer_schema_properties.py +101 -0
  361. aidp_python_client/aidataplatform_dp/models/infer_schema_with_preview.py +101 -0
  362. aidp_python_client/aidataplatform_dp/models/init_script_path.py +70 -0
  363. aidp_python_client/aidataplatform_dp/models/input_tag.py +101 -0
  364. aidp_python_client/aidataplatform_dp/models/install_cluster_library_details.py +88 -0
  365. aidp_python_client/aidataplatform_dp/models/is_principal_admin.py +70 -0
  366. aidp_python_client/aidataplatform_dp/models/is_principal_aidp_admin.py +70 -0
  367. aidp_python_client/aidataplatform_dp/models/jar_task.py +381 -0
  368. aidp_python_client/aidataplatform_dp/models/job.py +652 -0
  369. aidp_python_client/aidataplatform_dp/models/job_cluster.py +128 -0
  370. aidp_python_client/aidataplatform_dp/models/job_collection.py +70 -0
  371. aidp_python_client/aidataplatform_dp/models/job_dependency.py +111 -0
  372. aidp_python_client/aidataplatform_dp/models/job_permission_collection.py +70 -0
  373. aidp_python_client/aidataplatform_dp/models/job_permission_summary.py +207 -0
  374. aidp_python_client/aidataplatform_dp/models/job_run.py +1178 -0
  375. aidp_python_client/aidataplatform_dp/models/job_run_collection.py +70 -0
  376. aidp_python_client/aidataplatform_dp/models/job_run_summary.py +454 -0
  377. aidp_python_client/aidataplatform_dp/models/job_summary.py +442 -0
  378. aidp_python_client/aidataplatform_dp/models/job_task.py +185 -0
  379. aidp_python_client/aidataplatform_dp/models/kafka_topic_schema.py +258 -0
  380. aidp_python_client/aidataplatform_dp/models/kafka_topic_schema_summary.py +190 -0
  381. aidp_python_client/aidataplatform_dp/models/kb_v_hnsw_index_details.py +200 -0
  382. aidp_python_client/aidataplatform_dp/models/kb_v_ivf_index_details.py +200 -0
  383. aidp_python_client/aidataplatform_dp/models/kernel.py +242 -0
  384. aidp_python_client/aidataplatform_dp/models/kernel_collection.py +70 -0
  385. aidp_python_client/aidataplatform_dp/models/kernel_summary.py +202 -0
  386. aidp_python_client/aidataplatform_dp/models/keyed_time_series.py +101 -0
  387. aidp_python_client/aidataplatform_dp/models/knowledge_base.py +1339 -0
  388. aidp_python_client/aidataplatform_dp/models/knowledge_base_collection.py +101 -0
  389. aidp_python_client/aidataplatform_dp/models/knowledge_base_job.py +656 -0
  390. aidp_python_client/aidataplatform_dp/models/knowledge_base_job_collection.py +101 -0
  391. aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run.py +502 -0
  392. aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run_collection.py +70 -0
  393. aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run_data.py +211 -0
  394. aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run_summary.py +502 -0
  395. aidp_python_client/aidataplatform_dp/models/knowledge_base_job_summary.py +546 -0
  396. aidp_python_client/aidataplatform_dp/models/knowledge_base_permission_collection.py +70 -0
  397. aidp_python_client/aidataplatform_dp/models/knowledge_base_permission_summary.py +274 -0
  398. aidp_python_client/aidataplatform_dp/models/knowledge_base_source_metadata_details.py +428 -0
  399. aidp_python_client/aidataplatform_dp/models/knowledge_base_summary.py +452 -0
  400. aidp_python_client/aidataplatform_dp/models/knowledge_base_vector_index_details.py +141 -0
  401. aidp_python_client/aidataplatform_dp/models/libraries.py +70 -0
  402. aidp_python_client/aidataplatform_dp/models/lifecycle_state.py +294 -0
  403. aidp_python_client/aidataplatform_dp/models/list_experiment_runs_details.py +268 -0
  404. aidp_python_client/aidataplatform_dp/models/list_experiments_details.py +231 -0
  405. aidp_python_client/aidataplatform_dp/models/list_filter.py +194 -0
  406. aidp_python_client/aidataplatform_dp/models/list_logged_models_details.py +196 -0
  407. aidp_python_client/aidataplatform_dp/models/list_permissions_with_resource_details.py +206 -0
  408. aidp_python_client/aidataplatform_dp/models/llm_config.py +132 -0
  409. aidp_python_client/aidataplatform_dp/models/log_experiment_run_batch_details.py +163 -0
  410. aidp_python_client/aidataplatform_dp/models/log_experiment_run_batch_response_details.py +42 -0
  411. aidp_python_client/aidataplatform_dp/models/log_experiment_run_inputs_details.py +101 -0
  412. aidp_python_client/aidataplatform_dp/models/log_experiment_run_inputs_response_details.py +42 -0
  413. aidp_python_client/aidataplatform_dp/models/log_experiment_run_metric_details.py +194 -0
  414. aidp_python_client/aidataplatform_dp/models/log_experiment_run_metric_response_details.py +42 -0
  415. aidp_python_client/aidataplatform_dp/models/log_experiment_run_model_details.py +101 -0
  416. aidp_python_client/aidataplatform_dp/models/log_experiment_run_model_response_details.py +42 -0
  417. aidp_python_client/aidataplatform_dp/models/log_experiment_run_param_details.py +132 -0
  418. aidp_python_client/aidataplatform_dp/models/log_experiment_run_param_response_details.py +42 -0
  419. aidp_python_client/aidataplatform_dp/models/log_group.py +132 -0
  420. aidp_python_client/aidataplatform_dp/models/logged_model.py +97 -0
  421. aidp_python_client/aidataplatform_dp/models/logged_model_collection.py +101 -0
  422. aidp_python_client/aidataplatform_dp/models/logged_model_info.py +349 -0
  423. aidp_python_client/aidataplatform_dp/models/logged_model_order.py +101 -0
  424. aidp_python_client/aidataplatform_dp/models/logged_model_tag.py +101 -0
  425. aidp_python_client/aidataplatform_dp/models/logging_config.py +99 -0
  426. aidp_python_client/aidataplatform_dp/models/manage_agent_flow_permission_details.py +93 -0
  427. aidp_python_client/aidataplatform_dp/models/manage_audit_logs_details.py +118 -0
  428. aidp_python_client/aidataplatform_dp/models/manage_catalog_permission_details.py +93 -0
  429. aidp_python_client/aidataplatform_dp/models/manage_cluster_permission_details.py +93 -0
  430. aidp_python_client/aidataplatform_dp/models/manage_create_workspace_permission_details.py +93 -0
  431. aidp_python_client/aidataplatform_dp/models/manage_credential_permission_details.py +93 -0
  432. aidp_python_client/aidataplatform_dp/models/manage_job_permission_details.py +93 -0
  433. aidp_python_client/aidataplatform_dp/models/manage_knowledge_base_permission_details.py +93 -0
  434. aidp_python_client/aidataplatform_dp/models/manage_master_catalog_permission_details.py +93 -0
  435. aidp_python_client/aidataplatform_dp/models/manage_recipient_permission_details.py +93 -0
  436. aidp_python_client/aidataplatform_dp/models/manage_role_permission_details.py +93 -0
  437. aidp_python_client/aidataplatform_dp/models/manage_schema_permission_details.py +93 -0
  438. aidp_python_client/aidataplatform_dp/models/manage_share_access_details.py +118 -0
  439. aidp_python_client/aidataplatform_dp/models/manage_share_data_asset_details.py +263 -0
  440. aidp_python_client/aidataplatform_dp/models/manage_share_permission_details.py +93 -0
  441. aidp_python_client/aidataplatform_dp/models/manage_table_permission_details.py +93 -0
  442. aidp_python_client/aidataplatform_dp/models/manage_tool_permission_details.py +93 -0
  443. aidp_python_client/aidataplatform_dp/models/manage_view_permission_details.py +93 -0
  444. aidp_python_client/aidataplatform_dp/models/manage_volume_permission_details.py +93 -0
  445. aidp_python_client/aidataplatform_dp/models/manage_workspace_object_permission_details.py +93 -0
  446. aidp_python_client/aidataplatform_dp/models/manage_workspace_permission_details.py +93 -0
  447. aidp_python_client/aidataplatform_dp/models/managed_table_definition.py +110 -0
  448. aidp_python_client/aidataplatform_dp/models/master_catalog.py +357 -0
  449. aidp_python_client/aidataplatform_dp/models/master_catalog_collection.py +70 -0
  450. aidp_python_client/aidataplatform_dp/models/master_catalog_permission_collection.py +70 -0
  451. aidp_python_client/aidataplatform_dp/models/master_catalog_permission_summary.py +216 -0
  452. aidp_python_client/aidataplatform_dp/models/master_catalog_summary.py +351 -0
  453. aidp_python_client/aidataplatform_dp/models/mcp_object.py +178 -0
  454. aidp_python_client/aidataplatform_dp/models/mcp_prompt_object.py +94 -0
  455. aidp_python_client/aidataplatform_dp/models/mcp_resource_object.py +94 -0
  456. aidp_python_client/aidataplatform_dp/models/mcp_result.py +70 -0
  457. aidp_python_client/aidataplatform_dp/models/mcp_test_tool_result.py +76 -0
  458. aidp_python_client/aidataplatform_dp/models/mcp_tool.py +184 -0
  459. aidp_python_client/aidataplatform_dp/models/mcp_tool_configuration.py +159 -0
  460. aidp_python_client/aidataplatform_dp/models/mcp_tool_node.py +185 -0
  461. aidp_python_client/aidataplatform_dp/models/mcp_tool_object.py +94 -0
  462. aidp_python_client/aidataplatform_dp/models/memory_configuration.py +128 -0
  463. aidp_python_client/aidataplatform_dp/models/memory_limit_configuration.py +110 -0
  464. aidp_python_client/aidataplatform_dp/models/memory_limit_configuration_details.py +101 -0
  465. aidp_python_client/aidataplatform_dp/models/metrics_summary.py +287 -0
  466. aidp_python_client/aidataplatform_dp/models/mkdir_details.py +101 -0
  467. aidp_python_client/aidataplatform_dp/models/model.py +470 -0
  468. aidp_python_client/aidataplatform_dp/models/model_input.py +70 -0
  469. aidp_python_client/aidataplatform_dp/models/model_metric.py +163 -0
  470. aidp_python_client/aidataplatform_dp/models/model_output.py +101 -0
  471. aidp_python_client/aidataplatform_dp/models/model_param.py +101 -0
  472. aidp_python_client/aidataplatform_dp/models/model_parameter.py +97 -0
  473. aidp_python_client/aidataplatform_dp/models/model_parameter_detail.py +132 -0
  474. aidp_python_client/aidataplatform_dp/models/model_parameter_response.py +363 -0
  475. aidp_python_client/aidataplatform_dp/models/model_summary.py +238 -0
  476. aidp_python_client/aidataplatform_dp/models/model_version.py +613 -0
  477. aidp_python_client/aidataplatform_dp/models/model_version_collection.py +101 -0
  478. aidp_python_client/aidataplatform_dp/models/model_version_deployment_job_state.py +258 -0
  479. aidp_python_client/aidataplatform_dp/models/model_version_tag.py +101 -0
  480. aidp_python_client/aidataplatform_dp/models/model_version_tag_key.py +70 -0
  481. aidp_python_client/aidataplatform_dp/models/models_collection.py +70 -0
  482. aidp_python_client/aidataplatform_dp/models/modify_content_details.py +70 -0
  483. aidp_python_client/aidataplatform_dp/models/move_workspace_object_details.py +101 -0
  484. aidp_python_client/aidataplatform_dp/models/nested_agent_flow_node.py +243 -0
  485. aidp_python_client/aidataplatform_dp/models/new_cluster_configuration.py +190 -0
  486. aidp_python_client/aidataplatform_dp/models/nl_to_sql_tool.py +180 -0
  487. aidp_python_client/aidataplatform_dp/models/nl_to_sql_tool_configuration.py +225 -0
  488. aidp_python_client/aidataplatform_dp/models/nl_to_sql_tool_input_schema.py +70 -0
  489. aidp_python_client/aidataplatform_dp/models/no_auth.py +49 -0
  490. aidp_python_client/aidataplatform_dp/models/node_input.py +246 -0
  491. aidp_python_client/aidataplatform_dp/models/node_io.py +158 -0
  492. aidp_python_client/aidataplatform_dp/models/node_io_color.py +149 -0
  493. aidp_python_client/aidataplatform_dp/models/node_output.py +215 -0
  494. aidp_python_client/aidataplatform_dp/models/notebook_task.py +319 -0
  495. aidp_python_client/aidataplatform_dp/models/notify_cluster_event_handler_details.py +253 -0
  496. aidp_python_client/aidataplatform_dp/models/o_auth.py +173 -0
  497. aidp_python_client/aidataplatform_dp/models/o_auth_admin_setting.py +111 -0
  498. aidp_python_client/aidataplatform_dp/models/o_auth_configuration.py +132 -0
  499. aidp_python_client/aidataplatform_dp/models/oac_schema.py +134 -0
  500. aidp_python_client/aidataplatform_dp/models/oac_schema_summary.py +128 -0
  501. aidp_python_client/aidataplatform_dp/models/oac_table.py +177 -0
  502. aidp_python_client/aidataplatform_dp/models/oac_table_summary.py +107 -0
  503. aidp_python_client/aidataplatform_dp/models/object_recent_search_summary.py +70 -0
  504. aidp_python_client/aidataplatform_dp/models/object_search_summary.py +516 -0
  505. aidp_python_client/aidataplatform_dp/models/object_suggest_summary.py +287 -0
  506. aidp_python_client/aidataplatform_dp/models/oci_logging.py +80 -0
  507. aidp_python_client/aidataplatform_dp/models/oci_resource_principal_auth.py +49 -0
  508. aidp_python_client/aidataplatform_dp/models/oracle_schema.py +134 -0
  509. aidp_python_client/aidataplatform_dp/models/oracle_schema_summary.py +128 -0
  510. aidp_python_client/aidataplatform_dp/models/oracle_table.py +177 -0
  511. aidp_python_client/aidataplatform_dp/models/oracle_table_summary.py +107 -0
  512. aidp_python_client/aidataplatform_dp/models/output_parameter.py +101 -0
  513. aidp_python_client/aidataplatform_dp/models/par_details.py +195 -0
  514. aidp_python_client/aidataplatform_dp/models/parameter.py +101 -0
  515. aidp_python_client/aidataplatform_dp/models/patch_cluster_library_details.py +70 -0
  516. aidp_python_client/aidataplatform_dp/models/patch_session_details.py +252 -0
  517. aidp_python_client/aidataplatform_dp/models/perform_infer_schema_details.py +204 -0
  518. aidp_python_client/aidataplatform_dp/models/permission_assignees.py +122 -0
  519. aidp_python_client/aidataplatform_dp/models/permission_summary.py +274 -0
  520. aidp_python_client/aidataplatform_dp/models/permission_with_resource_details.py +288 -0
  521. aidp_python_client/aidataplatform_dp/models/pii_category.py +209 -0
  522. aidp_python_client/aidataplatform_dp/models/pii_detection_policy.py +148 -0
  523. aidp_python_client/aidataplatform_dp/models/playground_cache.py +70 -0
  524. aidp_python_client/aidataplatform_dp/models/point.py +101 -0
  525. aidp_python_client/aidataplatform_dp/models/preview_agent_flow_agent_card_details.py +66 -0
  526. aidp_python_client/aidataplatform_dp/models/principals_with_workspace_access_collection.py +70 -0
  527. aidp_python_client/aidataplatform_dp/models/principals_with_workspace_access_summary.py +153 -0
  528. aidp_python_client/aidataplatform_dp/models/prompt_attacks_prevention_policy.py +86 -0
  529. aidp_python_client/aidataplatform_dp/models/prompt_result.py +101 -0
  530. aidp_python_client/aidataplatform_dp/models/prompt_test_tool_result.py +76 -0
  531. aidp_python_client/aidataplatform_dp/models/prompt_tool.py +184 -0
  532. aidp_python_client/aidataplatform_dp/models/prompt_tool_configuration.py +128 -0
  533. aidp_python_client/aidataplatform_dp/models/prompt_tool_node.py +185 -0
  534. aidp_python_client/aidataplatform_dp/models/provision_user_schema_details.py +110 -0
  535. aidp_python_client/aidataplatform_dp/models/purge_bundle_details.py +70 -0
  536. aidp_python_client/aidataplatform_dp/models/python_task.py +319 -0
  537. aidp_python_client/aidataplatform_dp/models/queue.py +70 -0
  538. aidp_python_client/aidataplatform_dp/models/rag_result.py +101 -0
  539. aidp_python_client/aidataplatform_dp/models/rag_test_tool_result.py +76 -0
  540. aidp_python_client/aidataplatform_dp/models/rag_tool.py +180 -0
  541. aidp_python_client/aidataplatform_dp/models/rag_tool_configuration.py +221 -0
  542. aidp_python_client/aidataplatform_dp/models/rag_tool_input_schema.py +70 -0
  543. aidp_python_client/aidataplatform_dp/models/rag_tool_node.py +181 -0
  544. aidp_python_client/aidataplatform_dp/models/range_filter.py +201 -0
  545. aidp_python_client/aidataplatform_dp/models/recent_resource_item.py +283 -0
  546. aidp_python_client/aidataplatform_dp/models/recent_search_results_collection.py +101 -0
  547. aidp_python_client/aidataplatform_dp/models/recent_searches_criteria.py +70 -0
  548. aidp_python_client/aidataplatform_dp/models/recently_accessed.py +101 -0
  549. aidp_python_client/aidataplatform_dp/models/recently_accessed_resource.py +101 -0
  550. aidp_python_client/aidataplatform_dp/models/recipient.py +402 -0
  551. aidp_python_client/aidataplatform_dp/models/recipient_collection.py +70 -0
  552. aidp_python_client/aidataplatform_dp/models/recipient_permission_collection.py +70 -0
  553. aidp_python_client/aidataplatform_dp/models/recipient_permission_summary.py +203 -0
  554. aidp_python_client/aidataplatform_dp/models/recipient_summary.py +369 -0
  555. aidp_python_client/aidataplatform_dp/models/registered_model.py +346 -0
  556. aidp_python_client/aidataplatform_dp/models/registered_model_alias.py +101 -0
  557. aidp_python_client/aidataplatform_dp/models/registered_model_collection.py +101 -0
  558. aidp_python_client/aidataplatform_dp/models/registered_model_tag.py +101 -0
  559. aidp_python_client/aidataplatform_dp/models/registered_model_tag_key.py +70 -0
  560. aidp_python_client/aidataplatform_dp/models/remove_member_from_role_details.py +70 -0
  561. aidp_python_client/aidataplatform_dp/models/rename_registered_model_details.py +101 -0
  562. aidp_python_client/aidataplatform_dp/models/rename_registered_model_response_details.py +66 -0
  563. aidp_python_client/aidataplatform_dp/models/rename_table_field_details.py +101 -0
  564. aidp_python_client/aidataplatform_dp/models/rename_workspace_object_details.py +101 -0
  565. aidp_python_client/aidataplatform_dp/models/repair_history.py +361 -0
  566. aidp_python_client/aidataplatform_dp/models/repair_job_run_details.py +101 -0
  567. aidp_python_client/aidataplatform_dp/models/reset_git_folder_state_details.py +157 -0
  568. aidp_python_client/aidataplatform_dp/models/restart_cluster_details.py +42 -0
  569. aidp_python_client/aidataplatform_dp/models/restore_experiment_details.py +70 -0
  570. aidp_python_client/aidataplatform_dp/models/restore_experiment_response_details.py +42 -0
  571. aidp_python_client/aidataplatform_dp/models/restore_experiment_run_details.py +70 -0
  572. aidp_python_client/aidataplatform_dp/models/restore_experiment_run_response_details.py +42 -0
  573. aidp_python_client/aidataplatform_dp/models/retrieved_chunk.py +132 -0
  574. aidp_python_client/aidataplatform_dp/models/revoke_agent_flow_permission_details.py +187 -0
  575. aidp_python_client/aidataplatform_dp/models/revoke_catalog_permission_details.py +125 -0
  576. aidp_python_client/aidataplatform_dp/models/revoke_cluster_permission_details.py +121 -0
  577. aidp_python_client/aidataplatform_dp/models/revoke_create_workspace_permission_details.py +66 -0
  578. aidp_python_client/aidataplatform_dp/models/revoke_credential_permission_details.py +125 -0
  579. aidp_python_client/aidataplatform_dp/models/revoke_job_permission_details.py +125 -0
  580. aidp_python_client/aidataplatform_dp/models/revoke_knowledge_base_permission_details.py +121 -0
  581. aidp_python_client/aidataplatform_dp/models/revoke_master_catalog_permission_details.py +129 -0
  582. aidp_python_client/aidataplatform_dp/models/revoke_recipient_permission_details.py +121 -0
  583. aidp_python_client/aidataplatform_dp/models/revoke_role_permission_details.py +70 -0
  584. aidp_python_client/aidataplatform_dp/models/revoke_schema_permission_details.py +137 -0
  585. aidp_python_client/aidataplatform_dp/models/revoke_share_permission_details.py +121 -0
  586. aidp_python_client/aidataplatform_dp/models/revoke_table_permission_details.py +195 -0
  587. aidp_python_client/aidataplatform_dp/models/revoke_tool_permission_details.py +183 -0
  588. aidp_python_client/aidataplatform_dp/models/revoke_view_permission_details.py +183 -0
  589. aidp_python_client/aidataplatform_dp/models/revoke_volume_permission_details.py +121 -0
  590. aidp_python_client/aidataplatform_dp/models/revoke_workspace_object_permission_details.py +156 -0
  591. aidp_python_client/aidataplatform_dp/models/revoke_workspace_permission_details.py +121 -0
  592. aidp_python_client/aidataplatform_dp/models/role.py +439 -0
  593. aidp_python_client/aidataplatform_dp/models/role_assignee.py +152 -0
  594. aidp_python_client/aidataplatform_dp/models/role_collection.py +70 -0
  595. aidp_python_client/aidataplatform_dp/models/role_permission_collection.py +70 -0
  596. aidp_python_client/aidataplatform_dp/models/role_permission_summary.py +128 -0
  597. aidp_python_client/aidataplatform_dp/models/role_summary.py +396 -0
  598. aidp_python_client/aidataplatform_dp/models/run_output_data.py +313 -0
  599. aidp_python_client/aidataplatform_dp/models/safety_policy.py +337 -0
  600. aidp_python_client/aidataplatform_dp/models/scan.py +101 -0
  601. aidp_python_client/aidataplatform_dp/models/schedule.py +148 -0
  602. aidp_python_client/aidataplatform_dp/models/schema.py +551 -0
  603. aidp_python_client/aidataplatform_dp/models/schema_collection.py +70 -0
  604. aidp_python_client/aidataplatform_dp/models/schema_permission_collection.py +70 -0
  605. aidp_python_client/aidataplatform_dp/models/schema_permission_summary.py +285 -0
  606. aidp_python_client/aidataplatform_dp/models/schema_summary.py +536 -0
  607. aidp_python_client/aidataplatform_dp/models/search_audit_logs_details.py +626 -0
  608. aidp_python_client/aidataplatform_dp/models/search_cluster_logs_details.py +437 -0
  609. aidp_python_client/aidataplatform_dp/models/search_criteria.py +221 -0
  610. aidp_python_client/aidataplatform_dp/models/search_object_type.py +101 -0
  611. aidp_python_client/aidataplatform_dp/models/search_result.py +70 -0
  612. aidp_python_client/aidataplatform_dp/models/search_result_summary.py +101 -0
  613. aidp_python_client/aidataplatform_dp/models/search_results_collection.py +163 -0
  614. aidp_python_client/aidataplatform_dp/models/search_results_group_by_collection.py +163 -0
  615. aidp_python_client/aidataplatform_dp/models/secret_pair.py +101 -0
  616. aidp_python_client/aidataplatform_dp/models/secret_token_credential_details.py +81 -0
  617. aidp_python_client/aidataplatform_dp/models/service_account_credential_details.py +236 -0
  618. aidp_python_client/aidataplatform_dp/models/session.py +324 -0
  619. aidp_python_client/aidataplatform_dp/models/session_chat_history_collection.py +70 -0
  620. aidp_python_client/aidataplatform_dp/models/session_chat_history_summary.py +287 -0
  621. aidp_python_client/aidataplatform_dp/models/session_collection.py +70 -0
  622. aidp_python_client/aidataplatform_dp/models/session_configuration.py +97 -0
  623. aidp_python_client/aidataplatform_dp/models/session_retention_configuration.py +132 -0
  624. aidp_python_client/aidataplatform_dp/models/session_summary.py +283 -0
  625. aidp_python_client/aidataplatform_dp/models/session_variable.py +101 -0
  626. aidp_python_client/aidataplatform_dp/models/session_variable_details.py +225 -0
  627. aidp_python_client/aidataplatform_dp/models/set_experiment_run_tag_details.py +132 -0
  628. aidp_python_client/aidataplatform_dp/models/set_experiment_run_tag_response_details.py +42 -0
  629. aidp_python_client/aidataplatform_dp/models/set_experiment_tag_details.py +132 -0
  630. aidp_python_client/aidataplatform_dp/models/set_experiment_tag_response_details.py +42 -0
  631. aidp_python_client/aidataplatform_dp/models/set_model_version_tag_details.py +163 -0
  632. aidp_python_client/aidataplatform_dp/models/set_model_version_tag_response_details.py +42 -0
  633. aidp_python_client/aidataplatform_dp/models/set_registered_model_tag_details.py +132 -0
  634. aidp_python_client/aidataplatform_dp/models/set_registered_model_tag_response_details.py +42 -0
  635. aidp_python_client/aidataplatform_dp/models/setting.py +159 -0
  636. aidp_python_client/aidataplatform_dp/models/setting_data.py +115 -0
  637. aidp_python_client/aidataplatform_dp/models/shape_config.py +132 -0
  638. aidp_python_client/aidataplatform_dp/models/share.py +396 -0
  639. aidp_python_client/aidataplatform_dp/models/share_collection.py +70 -0
  640. aidp_python_client/aidataplatform_dp/models/share_data_asset_collection.py +70 -0
  641. aidp_python_client/aidataplatform_dp/models/share_data_asset_summary.py +311 -0
  642. aidp_python_client/aidataplatform_dp/models/share_permission_collection.py +70 -0
  643. aidp_python_client/aidataplatform_dp/models/share_permission_summary.py +203 -0
  644. aidp_python_client/aidataplatform_dp/models/share_summary.py +365 -0
  645. aidp_python_client/aidataplatform_dp/models/sort_details.py +143 -0
  646. aidp_python_client/aidataplatform_dp/models/span_details.py +345 -0
  647. aidp_python_client/aidataplatform_dp/models/span_status.py +101 -0
  648. aidp_python_client/aidataplatform_dp/models/spark_cluster.py +497 -0
  649. aidp_python_client/aidataplatform_dp/models/spark_runtime_config.py +155 -0
  650. aidp_python_client/aidataplatform_dp/models/sql_result.py +70 -0
  651. aidp_python_client/aidataplatform_dp/models/sql_test_tool_result.py +76 -0
  652. aidp_python_client/aidataplatform_dp/models/sql_tool.py +184 -0
  653. aidp_python_client/aidataplatform_dp/models/sql_tool_configuration.py +194 -0
  654. aidp_python_client/aidataplatform_dp/models/sql_tool_node.py +185 -0
  655. aidp_python_client/aidataplatform_dp/models/standard_schema.py +134 -0
  656. aidp_python_client/aidataplatform_dp/models/standard_schema_summary.py +128 -0
  657. aidp_python_client/aidataplatform_dp/models/standard_table.py +177 -0
  658. aidp_python_client/aidataplatform_dp/models/standard_table_summary.py +107 -0
  659. aidp_python_client/aidataplatform_dp/models/start_cluster_details.py +42 -0
  660. aidp_python_client/aidataplatform_dp/models/start_node.py +185 -0
  661. aidp_python_client/aidataplatform_dp/models/state.py +231 -0
  662. aidp_python_client/aidataplatform_dp/models/stop_agent_flow_session_details.py +42 -0
  663. aidp_python_client/aidataplatform_dp/models/stop_cluster_details.py +42 -0
  664. aidp_python_client/aidataplatform_dp/models/subscription_details.py +101 -0
  665. aidp_python_client/aidataplatform_dp/models/suggest_criteria.py +101 -0
  666. aidp_python_client/aidataplatform_dp/models/suggest_results_collection.py +132 -0
  667. aidp_python_client/aidataplatform_dp/models/summarize_metrics_data_details.py +308 -0
  668. aidp_python_client/aidataplatform_dp/models/summarize_metrics_response.py +70 -0
  669. aidp_python_client/aidataplatform_dp/models/supervisor_agent_node.py +363 -0
  670. aidp_python_client/aidataplatform_dp/models/sync_bundle_details.py +70 -0
  671. aidp_python_client/aidataplatform_dp/models/table.py +737 -0
  672. aidp_python_client/aidataplatform_dp/models/table_collection.py +70 -0
  673. aidp_python_client/aidataplatform_dp/models/table_field_details.py +194 -0
  674. aidp_python_client/aidataplatform_dp/models/table_permission_collection.py +70 -0
  675. aidp_python_client/aidataplatform_dp/models/table_permission_summary.py +347 -0
  676. aidp_python_client/aidataplatform_dp/models/table_property.py +101 -0
  677. aidp_python_client/aidataplatform_dp/models/table_summary.py +435 -0
  678. aidp_python_client/aidataplatform_dp/models/task.py +357 -0
  679. aidp_python_client/aidataplatform_dp/models/task_execution_result.py +221 -0
  680. aidp_python_client/aidataplatform_dp/models/task_run.py +771 -0
  681. aidp_python_client/aidataplatform_dp/models/task_run_collection.py +70 -0
  682. aidp_python_client/aidataplatform_dp/models/task_run_output.py +288 -0
  683. aidp_python_client/aidataplatform_dp/models/task_run_retry.py +345 -0
  684. aidp_python_client/aidataplatform_dp/models/task_run_summary.py +407 -0
  685. aidp_python_client/aidataplatform_dp/models/test_custom_tool_details.py +141 -0
  686. aidp_python_client/aidataplatform_dp/models/test_http_tool_details.py +110 -0
  687. aidp_python_client/aidataplatform_dp/models/test_mcp_connection.py +49 -0
  688. aidp_python_client/aidataplatform_dp/models/test_mcp_external_tool.py +107 -0
  689. aidp_python_client/aidataplatform_dp/models/test_mcp_operation.py +108 -0
  690. aidp_python_client/aidataplatform_dp/models/test_mcp_tool_details.py +168 -0
  691. aidp_python_client/aidataplatform_dp/models/test_prompt_tool_details.py +110 -0
  692. aidp_python_client/aidataplatform_dp/models/test_rag_tool_details.py +114 -0
  693. aidp_python_client/aidataplatform_dp/models/test_sql_tool_details.py +110 -0
  694. aidp_python_client/aidataplatform_dp/models/test_tool_details.py +171 -0
  695. aidp_python_client/aidataplatform_dp/models/test_tool_param_values.py +70 -0
  696. aidp_python_client/aidataplatform_dp/models/test_tool_result.py +140 -0
  697. aidp_python_client/aidataplatform_dp/models/time_created.py +42 -0
  698. aidp_python_client/aidataplatform_dp/models/time_updated.py +42 -0
  699. aidp_python_client/aidataplatform_dp/models/tool.py +489 -0
  700. aidp_python_client/aidataplatform_dp/models/tool_collection.py +70 -0
  701. aidp_python_client/aidataplatform_dp/models/tool_permission_collection.py +70 -0
  702. aidp_python_client/aidataplatform_dp/models/tool_permission_summary.py +332 -0
  703. aidp_python_client/aidataplatform_dp/models/tool_summary.py +355 -0
  704. aidp_python_client/aidataplatform_dp/models/trace_details.py +225 -0
  705. aidp_python_client/aidataplatform_dp/models/trace_event.py +132 -0
  706. aidp_python_client/aidataplatform_dp/models/transition_model_version_stage_details.py +163 -0
  707. aidp_python_client/aidataplatform_dp/models/transition_model_version_stage_response_details.py +66 -0
  708. aidp_python_client/aidataplatform_dp/models/txt_file_definition.py +101 -0
  709. aidp_python_client/aidataplatform_dp/models/uninstall_cluster_library_details.py +88 -0
  710. aidp_python_client/aidataplatform_dp/models/update_admin_setting_details.py +128 -0
  711. aidp_python_client/aidataplatform_dp/models/update_agent_flow_compute_details.py +77 -0
  712. aidp_python_client/aidataplatform_dp/models/update_agent_flow_deployment_details.py +242 -0
  713. aidp_python_client/aidataplatform_dp/models/update_agent_flow_deployment_metadata_details.py +97 -0
  714. aidp_python_client/aidataplatform_dp/models/update_agent_flow_details.py +395 -0
  715. aidp_python_client/aidataplatform_dp/models/update_agent_flow_node_details.py +451 -0
  716. aidp_python_client/aidataplatform_dp/models/update_agent_flow_session_details.py +159 -0
  717. aidp_python_client/aidataplatform_dp/models/update_agent_flow_session_playground_cache_details.py +70 -0
  718. aidp_python_client/aidataplatform_dp/models/update_agent_node_details.py +259 -0
  719. aidp_python_client/aidataplatform_dp/models/update_catalog_details.py +159 -0
  720. aidp_python_client/aidataplatform_dp/models/update_cluster_async_operation_status_details.py +293 -0
  721. aidp_python_client/aidataplatform_dp/models/update_cluster_details.py +228 -0
  722. aidp_python_client/aidataplatform_dp/models/update_connection_details.py +70 -0
  723. aidp_python_client/aidataplatform_dp/models/update_content_details.py +252 -0
  724. aidp_python_client/aidataplatform_dp/models/update_custom_tool_details.py +190 -0
  725. aidp_python_client/aidataplatform_dp/models/update_custom_tool_node_details.py +201 -0
  726. aidp_python_client/aidataplatform_dp/models/update_data_lake_credential_details.py +180 -0
  727. aidp_python_client/aidataplatform_dp/models/update_dir_details.py +70 -0
  728. aidp_python_client/aidataplatform_dp/models/update_experiment_details.py +101 -0
  729. aidp_python_client/aidataplatform_dp/models/update_experiment_response_details.py +42 -0
  730. aidp_python_client/aidataplatform_dp/models/update_experiment_run_details.py +196 -0
  731. aidp_python_client/aidataplatform_dp/models/update_experiment_run_response_details.py +66 -0
  732. aidp_python_client/aidataplatform_dp/models/update_experiment_run_tags_details.py +132 -0
  733. aidp_python_client/aidataplatform_dp/models/update_experiment_run_tags_response_details.py +42 -0
  734. aidp_python_client/aidataplatform_dp/models/update_experiment_tags_details.py +132 -0
  735. aidp_python_client/aidataplatform_dp/models/update_experiment_tags_response_details.py +42 -0
  736. aidp_python_client/aidataplatform_dp/models/update_file_metadata_details.py +126 -0
  737. aidp_python_client/aidataplatform_dp/models/update_git_repository_details.py +132 -0
  738. aidp_python_client/aidataplatform_dp/models/update_http_tool_details.py +128 -0
  739. aidp_python_client/aidataplatform_dp/models/update_http_tool_node_details.py +143 -0
  740. aidp_python_client/aidataplatform_dp/models/update_job_details.py +426 -0
  741. aidp_python_client/aidataplatform_dp/models/update_knowledge_base_add_source_details.py +366 -0
  742. aidp_python_client/aidataplatform_dp/models/update_knowledge_base_delete_source_details.py +118 -0
  743. aidp_python_client/aidataplatform_dp/models/update_knowledge_base_details.py +176 -0
  744. aidp_python_client/aidataplatform_dp/models/update_knowledge_base_metadata_update_details.py +101 -0
  745. aidp_python_client/aidataplatform_dp/models/update_knowledge_base_source_update_details.py +70 -0
  746. aidp_python_client/aidataplatform_dp/models/update_knowledge_base_source_update_details_item.py +141 -0
  747. aidp_python_client/aidataplatform_dp/models/update_master_catalog_details.py +70 -0
  748. aidp_python_client/aidataplatform_dp/models/update_mcp_tool_node_details.py +143 -0
  749. aidp_python_client/aidataplatform_dp/models/update_model_version_details.py +132 -0
  750. aidp_python_client/aidataplatform_dp/models/update_model_version_response_details.py +66 -0
  751. aidp_python_client/aidataplatform_dp/models/update_model_version_tags_details.py +163 -0
  752. aidp_python_client/aidataplatform_dp/models/update_model_version_tags_response_details.py +42 -0
  753. aidp_python_client/aidataplatform_dp/models/update_nl_to_sql_tool_details.py +124 -0
  754. aidp_python_client/aidataplatform_dp/models/update_prompt_tool_details.py +128 -0
  755. aidp_python_client/aidataplatform_dp/models/update_prompt_tool_node_details.py +143 -0
  756. aidp_python_client/aidataplatform_dp/models/update_rag_tool_details.py +124 -0
  757. aidp_python_client/aidataplatform_dp/models/update_rag_tool_node_details.py +139 -0
  758. aidp_python_client/aidataplatform_dp/models/update_recipient_details.py +134 -0
  759. aidp_python_client/aidataplatform_dp/models/update_registered_model_details.py +132 -0
  760. aidp_python_client/aidataplatform_dp/models/update_registered_model_response_details.py +66 -0
  761. aidp_python_client/aidataplatform_dp/models/update_registered_model_tags_details.py +132 -0
  762. aidp_python_client/aidataplatform_dp/models/update_registered_model_tags_response_details.py +42 -0
  763. aidp_python_client/aidataplatform_dp/models/update_role_details.py +101 -0
  764. aidp_python_client/aidataplatform_dp/models/update_schema_details.py +132 -0
  765. aidp_python_client/aidataplatform_dp/models/update_setting_details.py +128 -0
  766. aidp_python_client/aidataplatform_dp/models/update_share_details.py +101 -0
  767. aidp_python_client/aidataplatform_dp/models/update_spark_cluster_details.py +216 -0
  768. aidp_python_client/aidataplatform_dp/models/update_sql_tool_details.py +128 -0
  769. aidp_python_client/aidataplatform_dp/models/update_sql_tool_node_details.py +143 -0
  770. aidp_python_client/aidataplatform_dp/models/update_table_details.py +287 -0
  771. aidp_python_client/aidataplatform_dp/models/update_table_field_details.py +101 -0
  772. aidp_python_client/aidataplatform_dp/models/update_tool_details.py +237 -0
  773. aidp_python_client/aidataplatform_dp/models/update_user_setting_details.py +128 -0
  774. aidp_python_client/aidataplatform_dp/models/update_view_details.py +130 -0
  775. aidp_python_client/aidataplatform_dp/models/update_volume_details.py +101 -0
  776. aidp_python_client/aidataplatform_dp/models/update_workspace_async_operation_status_details.py +196 -0
  777. aidp_python_client/aidataplatform_dp/models/update_workspace_details.py +165 -0
  778. aidp_python_client/aidataplatform_dp/models/upload_file_with_par_details.py +188 -0
  779. aidp_python_client/aidataplatform_dp/models/upload_file_with_par_result.py +353 -0
  780. aidp_python_client/aidataplatform_dp/models/user_setting.py +159 -0
  781. aidp_python_client/aidataplatform_dp/models/user_setting_collection.py +70 -0
  782. aidp_python_client/aidataplatform_dp/models/user_setting_summary.py +276 -0
  783. aidp_python_client/aidataplatform_dp/models/validate_agent_flow_diagram_details.py +203 -0
  784. aidp_python_client/aidataplatform_dp/models/validate_agent_flow_response.py +101 -0
  785. aidp_python_client/aidataplatform_dp/models/validate_bundle_details.py +70 -0
  786. aidp_python_client/aidataplatform_dp/models/validate_view_sql_details.py +70 -0
  787. aidp_python_client/aidataplatform_dp/models/validation_error.py +163 -0
  788. aidp_python_client/aidataplatform_dp/models/vault_reference_credential_details.py +81 -0
  789. aidp_python_client/aidataplatform_dp/models/view.py +489 -0
  790. aidp_python_client/aidataplatform_dp/models/view_collection.py +70 -0
  791. aidp_python_client/aidataplatform_dp/models/view_field_details.py +194 -0
  792. aidp_python_client/aidataplatform_dp/models/view_permission_collection.py +70 -0
  793. aidp_python_client/aidataplatform_dp/models/view_permission_summary.py +347 -0
  794. aidp_python_client/aidataplatform_dp/models/view_property.py +101 -0
  795. aidp_python_client/aidataplatform_dp/models/view_sql_parse_details.py +132 -0
  796. aidp_python_client/aidataplatform_dp/models/view_summary.py +303 -0
  797. aidp_python_client/aidataplatform_dp/models/view_update_details.py +225 -0
  798. aidp_python_client/aidataplatform_dp/models/volume.py +559 -0
  799. aidp_python_client/aidataplatform_dp/models/volume_collection.py +70 -0
  800. aidp_python_client/aidataplatform_dp/models/volume_file.py +42 -0
  801. aidp_python_client/aidataplatform_dp/models/volume_file_cluster_library_summary.py +139 -0
  802. aidp_python_client/aidataplatform_dp/models/volume_file_collection.py +70 -0
  803. aidp_python_client/aidataplatform_dp/models/volume_file_summary.py +408 -0
  804. aidp_python_client/aidataplatform_dp/models/volume_permission_collection.py +70 -0
  805. aidp_python_client/aidataplatform_dp/models/volume_permission_summary.py +273 -0
  806. aidp_python_client/aidataplatform_dp/models/volume_summary.py +435 -0
  807. aidp_python_client/aidataplatform_dp/models/word_filters_policy.py +148 -0
  808. aidp_python_client/aidataplatform_dp/models/worker_config.py +159 -0
  809. aidp_python_client/aidataplatform_dp/models/workspace.py +665 -0
  810. aidp_python_client/aidataplatform_dp/models/workspace_collection.py +70 -0
  811. aidp_python_client/aidataplatform_dp/models/workspace_file_cluster_library_summary.py +139 -0
  812. aidp_python_client/aidataplatform_dp/models/workspace_network_configuration_details.py +134 -0
  813. aidp_python_client/aidataplatform_dp/models/workspace_object.py +42 -0
  814. aidp_python_client/aidataplatform_dp/models/workspace_object_collection.py +70 -0
  815. aidp_python_client/aidataplatform_dp/models/workspace_object_details.py +342 -0
  816. aidp_python_client/aidataplatform_dp/models/workspace_object_permission_collection.py +70 -0
  817. aidp_python_client/aidataplatform_dp/models/workspace_object_permission_summary.py +238 -0
  818. aidp_python_client/aidataplatform_dp/models/workspace_object_search_results_collection.py +70 -0
  819. aidp_python_client/aidataplatform_dp/models/workspace_object_search_summary.py +423 -0
  820. aidp_python_client/aidataplatform_dp/models/workspace_object_summary.py +392 -0
  821. aidp_python_client/aidataplatform_dp/models/workspace_permission_collection.py +70 -0
  822. aidp_python_client/aidataplatform_dp/models/workspace_permission_summary.py +203 -0
  823. aidp_python_client/aidataplatform_dp/models/workspace_search_criteria.py +252 -0
  824. aidp_python_client/aidataplatform_dp/models/workspace_summary.py +567 -0
  825. aidp_python_client/aidataplatform_dp/notebook_client.py +1199 -0
  826. aidp_python_client/aidataplatform_dp/notebook_client_composite_operations.py +70 -0
  827. aidp_python_client/aidataplatform_dp/role_client.py +965 -0
  828. aidp_python_client/aidataplatform_dp/role_client_composite_operations.py +113 -0
  829. aidp_python_client/aidataplatform_dp/schema_client.py +3023 -0
  830. aidp_python_client/aidataplatform_dp/schema_client_composite_operations.py +159 -0
  831. aidp_python_client/aidataplatform_dp/user_setting_client.py +610 -0
  832. aidp_python_client/aidataplatform_dp/user_setting_client_composite_operations.py +24 -0
  833. aidp_python_client/aidataplatform_dp/volume_client.py +1838 -0
  834. aidp_python_client/aidataplatform_dp/volume_client_composite_operations.py +113 -0
  835. aidp_python_client/aidataplatform_dp/workflow_client.py +2220 -0
  836. aidp_python_client/aidataplatform_dp/workflow_client_composite_operations.py +24 -0
  837. aidp_python_client/aidataplatform_dp/workspace_client.py +1294 -0
  838. aidp_python_client/aidataplatform_dp/workspace_client_composite_operations.py +162 -0
  839. aidp_python_client/aidataplatform_dp/workspace_object_client.py +1595 -0
  840. aidp_python_client/aidataplatform_dp/workspace_object_client_composite_operations.py +24 -0
  841. aidp_python_client/service_endpoints.py +22 -0
  842. aidp_python_client-1.0.0.dist-info/METADATA +9 -0
  843. aidp_python_client-1.0.0.dist-info/RECORD +847 -0
  844. aidp_python_client-1.0.0.dist-info/WHEEL +5 -0
  845. aidp_python_client-1.0.0.dist-info/licenses/LICENSE.txt +35 -0
  846. aidp_python_client-1.0.0.dist-info/licenses/NOTICE.txt +1 -0
  847. aidp_python_client-1.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,4689 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2026, Oracle and/or its affiliates. All rights reserved.
3
+
4
+
5
+ from __future__ import absolute_import
6
+
7
+ from oci._vendor import requests # noqa: F401
8
+ from oci._vendor import six
9
+
10
+ from oci import retry # noqa: F401
11
+ from oci.base_client import BaseClient
12
+ from oci.config import get_config_value_or_default, validate_config
13
+ from oci.signer import Signer
14
+ from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
15
+ from .models import aidataplatform_dp_type_mapping
16
+ missing = Sentinel("Missing")
17
+
18
+
19
+ class MLOpsClient(object):
20
+ """
21
+ Use the AI Data Platform Data Plane API to manage workspaces and objects in the workspace.
22
+ """
23
+
24
+ def __init__(self, config, **kwargs):
25
+ """
26
+ Creates a new service client
27
+
28
+ :param dict config:
29
+ Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
30
+ The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
31
+ the dict using :py:meth:`~oci.config.validate_config`
32
+
33
+ :param str service_endpoint: (optional)
34
+ The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
35
+ not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
36
+ need to specify a service endpoint.
37
+
38
+ :param timeout: (optional)
39
+ The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
40
+ as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
41
+ a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
42
+ :type timeout: float or tuple(float, float)
43
+
44
+ :param signer: (optional)
45
+ The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
46
+ provided in the config parameter.
47
+
48
+ One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
49
+ by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
50
+ :type signer: :py:class:`~oci.signer.AbstractBaseSigner`
51
+
52
+ :param obj retry_strategy: (optional)
53
+ A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
54
+ Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
55
+ Any value provided at the operation level will override whatever is specified at the client level.
56
+
57
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
58
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
59
+ """
60
+ validate_config(config, signer=kwargs.get('signer'))
61
+ if 'signer' in kwargs:
62
+ signer = kwargs['signer']
63
+
64
+ elif AUTHENTICATION_TYPE_FIELD_NAME in config:
65
+ signer = get_signer_from_authentication_type(config)
66
+
67
+ else:
68
+ signer = Signer(
69
+ tenancy=config["tenancy"],
70
+ user=config["user"],
71
+ fingerprint=config["fingerprint"],
72
+ private_key_file_location=config.get("key_file"),
73
+ pass_phrase=get_config_value_or_default(config, "pass_phrase"),
74
+ private_key_content=config.get("key_content")
75
+ )
76
+
77
+ base_client_init_kwargs = {
78
+ 'regional_client': True,
79
+ 'service_endpoint': kwargs.get('service_endpoint'),
80
+ 'timeout': kwargs.get('timeout'),
81
+ 'base_path': '/20260430',
82
+ 'service_endpoint_template': 'https://datalake.{region}.oci.{secondLevelDomain}',
83
+ 'skip_deserialization': kwargs.get('skip_deserialization', False)
84
+ }
85
+ self.base_client = BaseClient("ml_ops", config, signer, aidataplatform_dp_type_mapping, **base_client_init_kwargs)
86
+ self.retry_strategy = kwargs.get('retry_strategy', retry.DEFAULT_RETRY_STRATEGY)
87
+
88
+ def create_experiment(self, ai_data_platform_id, workspace_key, create_experiment_details, **kwargs):
89
+ """
90
+ (Preview) Creates an experiment in a workspace.
91
+
92
+
93
+ :param str ai_data_platform_id: (required)
94
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
95
+
96
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
97
+
98
+ :param str workspace_key: (required)
99
+ The key of the Workspace
100
+
101
+ :param oci.aidataplatform_dp.models.CreateExperimentDetails create_experiment_details: (required)
102
+ Details for the new experiment.
103
+
104
+ :param str opc_retry_token: (optional)
105
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
106
+ server error without risk of running that same action again. Retry tokens expire after 24
107
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
108
+ has been deleted and removed from the system, then a retry of the original creation request
109
+ might be rejected.
110
+
111
+ :param str opc_request_id: (optional)
112
+ Unique Oracle-assigned identifier for the request. If you need to contact
113
+ Oracle about a particular request, please provide the request ID.
114
+ The only valid characters for request IDs are letters, numbers,
115
+ underscore, and dash.
116
+
117
+ :param str dh_user_principal: (optional)
118
+ The DH User Principal Header .
119
+
120
+ :param obj retry_strategy: (optional)
121
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
122
+
123
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
124
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
125
+
126
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
127
+
128
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.CreateExperimentResponseDetails`
129
+ :rtype: :class:`~oci.response.Response`
130
+ """
131
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/experiments/create"
132
+ method = "POST"
133
+
134
+ # Don't accept unknown kwargs
135
+ expected_kwargs = [
136
+ "retry_strategy",
137
+ "opc_retry_token",
138
+ "opc_request_id",
139
+ "dh_user_principal"
140
+ ]
141
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
142
+ if extra_kwargs:
143
+ raise ValueError(
144
+ "create_experiment got unknown kwargs: {!r}".format(extra_kwargs))
145
+
146
+ path_params = {
147
+ "aiDataPlatformId": ai_data_platform_id,
148
+ "workspaceKey": workspace_key
149
+ }
150
+
151
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
152
+
153
+ for (k, v) in six.iteritems(path_params):
154
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
155
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
156
+
157
+ header_params = {
158
+ "accept": "application/json",
159
+ "content-type": "application/json",
160
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
161
+ "opc-request-id": kwargs.get("opc_request_id", missing),
162
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
163
+ }
164
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
165
+
166
+ retry_strategy = self.retry_strategy
167
+ if kwargs.get('retry_strategy'):
168
+ retry_strategy = kwargs.get('retry_strategy')
169
+
170
+ if retry_strategy:
171
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
172
+ self.base_client.add_opc_retry_token_if_needed(header_params)
173
+ return retry_strategy.make_retrying_call(
174
+ self.base_client.call_api,
175
+ resource_path=resource_path,
176
+ method=method,
177
+ path_params=path_params,
178
+ header_params=header_params,
179
+ body=create_experiment_details,
180
+ response_type="CreateExperimentResponseDetails")
181
+ else:
182
+ return self.base_client.call_api(
183
+ resource_path=resource_path,
184
+ method=method,
185
+ path_params=path_params,
186
+ header_params=header_params,
187
+ body=create_experiment_details,
188
+ response_type="CreateExperimentResponseDetails")
189
+
190
+ def create_experiment_run(self, ai_data_platform_id, workspace_key, create_experiment_run_details, **kwargs):
191
+ """
192
+ (Preview) Creates a new run within an experiment.
193
+
194
+
195
+ :param str ai_data_platform_id: (required)
196
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
197
+
198
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
199
+
200
+ :param str workspace_key: (required)
201
+ The key of the Workspace
202
+
203
+ :param oci.aidataplatform_dp.models.CreateExperimentRunDetails create_experiment_run_details: (required)
204
+ Details for the new run.
205
+
206
+ :param str opc_retry_token: (optional)
207
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
208
+ server error without risk of running that same action again. Retry tokens expire after 24
209
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
210
+ has been deleted and removed from the system, then a retry of the original creation request
211
+ might be rejected.
212
+
213
+ :param str opc_request_id: (optional)
214
+ Unique Oracle-assigned identifier for the request. If you need to contact
215
+ Oracle about a particular request, please provide the request ID.
216
+ The only valid characters for request IDs are letters, numbers,
217
+ underscore, and dash.
218
+
219
+ :param str dh_user_principal: (optional)
220
+ The DH User Principal Header .
221
+
222
+ :param obj retry_strategy: (optional)
223
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
224
+
225
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
226
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
227
+
228
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
229
+
230
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.CreateExperimentRunResponseDetails`
231
+ :rtype: :class:`~oci.response.Response`
232
+ """
233
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/runs/create"
234
+ method = "POST"
235
+
236
+ # Don't accept unknown kwargs
237
+ expected_kwargs = [
238
+ "retry_strategy",
239
+ "opc_retry_token",
240
+ "opc_request_id",
241
+ "dh_user_principal"
242
+ ]
243
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
244
+ if extra_kwargs:
245
+ raise ValueError(
246
+ "create_experiment_run got unknown kwargs: {!r}".format(extra_kwargs))
247
+
248
+ path_params = {
249
+ "aiDataPlatformId": ai_data_platform_id,
250
+ "workspaceKey": workspace_key
251
+ }
252
+
253
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
254
+
255
+ for (k, v) in six.iteritems(path_params):
256
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
257
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
258
+
259
+ header_params = {
260
+ "accept": "application/json",
261
+ "content-type": "application/json",
262
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
263
+ "opc-request-id": kwargs.get("opc_request_id", missing),
264
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
265
+ }
266
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
267
+
268
+ retry_strategy = self.retry_strategy
269
+ if kwargs.get('retry_strategy'):
270
+ retry_strategy = kwargs.get('retry_strategy')
271
+
272
+ if retry_strategy:
273
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
274
+ self.base_client.add_opc_retry_token_if_needed(header_params)
275
+ return retry_strategy.make_retrying_call(
276
+ self.base_client.call_api,
277
+ resource_path=resource_path,
278
+ method=method,
279
+ path_params=path_params,
280
+ header_params=header_params,
281
+ body=create_experiment_run_details,
282
+ response_type="CreateExperimentRunResponseDetails")
283
+ else:
284
+ return self.base_client.call_api(
285
+ resource_path=resource_path,
286
+ method=method,
287
+ path_params=path_params,
288
+ header_params=header_params,
289
+ body=create_experiment_run_details,
290
+ response_type="CreateExperimentRunResponseDetails")
291
+
292
+ def create_model_version(self, ai_data_platform_id, create_model_version_details, **kwargs):
293
+ """
294
+ (Preview) Creates a model version.
295
+
296
+
297
+ :param str ai_data_platform_id: (required)
298
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
299
+
300
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
301
+
302
+ :param oci.aidataplatform_dp.models.CreateModelVersionDetails create_model_version_details: (required)
303
+ Details for the new model version.
304
+
305
+ :param str opc_retry_token: (optional)
306
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
307
+ server error without risk of running that same action again. Retry tokens expire after 24
308
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
309
+ has been deleted and removed from the system, then a retry of the original creation request
310
+ might be rejected.
311
+
312
+ :param str opc_request_id: (optional)
313
+ Unique Oracle-assigned identifier for the request. If you need to contact
314
+ Oracle about a particular request, please provide the request ID.
315
+ The only valid characters for request IDs are letters, numbers,
316
+ underscore, and dash.
317
+
318
+ :param str dh_user_principal: (optional)
319
+ The DH User Principal Header .
320
+
321
+ :param obj retry_strategy: (optional)
322
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
323
+
324
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
325
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
326
+
327
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
328
+
329
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.CreateModelVersionResponseDetails`
330
+ :rtype: :class:`~oci.response.Response`
331
+ """
332
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/model-versions/create"
333
+ method = "POST"
334
+
335
+ # Don't accept unknown kwargs
336
+ expected_kwargs = [
337
+ "retry_strategy",
338
+ "opc_retry_token",
339
+ "opc_request_id",
340
+ "dh_user_principal"
341
+ ]
342
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
343
+ if extra_kwargs:
344
+ raise ValueError(
345
+ "create_model_version got unknown kwargs: {!r}".format(extra_kwargs))
346
+
347
+ path_params = {
348
+ "aiDataPlatformId": ai_data_platform_id
349
+ }
350
+
351
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
352
+
353
+ for (k, v) in six.iteritems(path_params):
354
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
355
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
356
+
357
+ header_params = {
358
+ "accept": "application/json",
359
+ "content-type": "application/json",
360
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
361
+ "opc-request-id": kwargs.get("opc_request_id", missing),
362
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
363
+ }
364
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
365
+
366
+ retry_strategy = self.retry_strategy
367
+ if kwargs.get('retry_strategy'):
368
+ retry_strategy = kwargs.get('retry_strategy')
369
+
370
+ if retry_strategy:
371
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
372
+ self.base_client.add_opc_retry_token_if_needed(header_params)
373
+ return retry_strategy.make_retrying_call(
374
+ self.base_client.call_api,
375
+ resource_path=resource_path,
376
+ method=method,
377
+ path_params=path_params,
378
+ header_params=header_params,
379
+ body=create_model_version_details,
380
+ response_type="CreateModelVersionResponseDetails")
381
+ else:
382
+ return self.base_client.call_api(
383
+ resource_path=resource_path,
384
+ method=method,
385
+ path_params=path_params,
386
+ header_params=header_params,
387
+ body=create_model_version_details,
388
+ response_type="CreateModelVersionResponseDetails")
389
+
390
+ def create_registered_model(self, ai_data_platform_id, create_registered_model_details, **kwargs):
391
+ """
392
+ (Preview) Creates a registered model in a workspace.
393
+
394
+
395
+ :param str ai_data_platform_id: (required)
396
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
397
+
398
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
399
+
400
+ :param oci.aidataplatform_dp.models.CreateRegisteredModelDetails create_registered_model_details: (required)
401
+ Details for the new registered model.
402
+
403
+ :param str opc_retry_token: (optional)
404
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
405
+ server error without risk of running that same action again. Retry tokens expire after 24
406
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
407
+ has been deleted and removed from the system, then a retry of the original creation request
408
+ might be rejected.
409
+
410
+ :param str opc_request_id: (optional)
411
+ Unique Oracle-assigned identifier for the request. If you need to contact
412
+ Oracle about a particular request, please provide the request ID.
413
+ The only valid characters for request IDs are letters, numbers,
414
+ underscore, and dash.
415
+
416
+ :param str dh_user_principal: (optional)
417
+ The DH User Principal Header .
418
+
419
+ :param obj retry_strategy: (optional)
420
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
421
+
422
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
423
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
424
+
425
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
426
+
427
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.CreateRegisteredModelResponseDetails`
428
+ :rtype: :class:`~oci.response.Response`
429
+ """
430
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/registered-models/create"
431
+ method = "POST"
432
+
433
+ # Don't accept unknown kwargs
434
+ expected_kwargs = [
435
+ "retry_strategy",
436
+ "opc_retry_token",
437
+ "opc_request_id",
438
+ "dh_user_principal"
439
+ ]
440
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
441
+ if extra_kwargs:
442
+ raise ValueError(
443
+ "create_registered_model got unknown kwargs: {!r}".format(extra_kwargs))
444
+
445
+ path_params = {
446
+ "aiDataPlatformId": ai_data_platform_id
447
+ }
448
+
449
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
450
+
451
+ for (k, v) in six.iteritems(path_params):
452
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
453
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
454
+
455
+ header_params = {
456
+ "accept": "application/json",
457
+ "content-type": "application/json",
458
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
459
+ "opc-request-id": kwargs.get("opc_request_id", missing),
460
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
461
+ }
462
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
463
+
464
+ retry_strategy = self.retry_strategy
465
+ if kwargs.get('retry_strategy'):
466
+ retry_strategy = kwargs.get('retry_strategy')
467
+
468
+ if retry_strategy:
469
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
470
+ self.base_client.add_opc_retry_token_if_needed(header_params)
471
+ return retry_strategy.make_retrying_call(
472
+ self.base_client.call_api,
473
+ resource_path=resource_path,
474
+ method=method,
475
+ path_params=path_params,
476
+ header_params=header_params,
477
+ body=create_registered_model_details,
478
+ response_type="CreateRegisteredModelResponseDetails")
479
+ else:
480
+ return self.base_client.call_api(
481
+ resource_path=resource_path,
482
+ method=method,
483
+ path_params=path_params,
484
+ header_params=header_params,
485
+ body=create_registered_model_details,
486
+ response_type="CreateRegisteredModelResponseDetails")
487
+
488
+ def create_workspace_model_version(self, ai_data_platform_id, workspace_key, create_model_version_details, **kwargs):
489
+ """
490
+ (Preview) Creates a new model version in a specified workspace.
491
+
492
+
493
+ :param str ai_data_platform_id: (required)
494
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
495
+
496
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
497
+
498
+ :param str workspace_key: (required)
499
+ The key of the Workspace
500
+
501
+ :param oci.aidataplatform_dp.models.CreateModelVersionDetails create_model_version_details: (required)
502
+ Details for the new model version.
503
+
504
+ :param str opc_retry_token: (optional)
505
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
506
+ server error without risk of running that same action again. Retry tokens expire after 24
507
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
508
+ has been deleted and removed from the system, then a retry of the original creation request
509
+ might be rejected.
510
+
511
+ :param str opc_request_id: (optional)
512
+ Unique Oracle-assigned identifier for the request. If you need to contact
513
+ Oracle about a particular request, please provide the request ID.
514
+ The only valid characters for request IDs are letters, numbers,
515
+ underscore, and dash.
516
+
517
+ :param str dh_user_principal: (optional)
518
+ The DH User Principal Header .
519
+
520
+ :param obj retry_strategy: (optional)
521
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
522
+
523
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
524
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
525
+
526
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
527
+
528
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.CreateModelVersionResponseDetails`
529
+ :rtype: :class:`~oci.response.Response`
530
+ """
531
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/model-versions/create"
532
+ method = "POST"
533
+
534
+ # Don't accept unknown kwargs
535
+ expected_kwargs = [
536
+ "retry_strategy",
537
+ "opc_retry_token",
538
+ "opc_request_id",
539
+ "dh_user_principal"
540
+ ]
541
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
542
+ if extra_kwargs:
543
+ raise ValueError(
544
+ "create_workspace_model_version got unknown kwargs: {!r}".format(extra_kwargs))
545
+
546
+ path_params = {
547
+ "aiDataPlatformId": ai_data_platform_id,
548
+ "workspaceKey": workspace_key
549
+ }
550
+
551
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
552
+
553
+ for (k, v) in six.iteritems(path_params):
554
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
555
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
556
+
557
+ header_params = {
558
+ "accept": "application/json",
559
+ "content-type": "application/json",
560
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
561
+ "opc-request-id": kwargs.get("opc_request_id", missing),
562
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
563
+ }
564
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
565
+
566
+ retry_strategy = self.retry_strategy
567
+ if kwargs.get('retry_strategy'):
568
+ retry_strategy = kwargs.get('retry_strategy')
569
+
570
+ if retry_strategy:
571
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
572
+ self.base_client.add_opc_retry_token_if_needed(header_params)
573
+ return retry_strategy.make_retrying_call(
574
+ self.base_client.call_api,
575
+ resource_path=resource_path,
576
+ method=method,
577
+ path_params=path_params,
578
+ header_params=header_params,
579
+ body=create_model_version_details,
580
+ response_type="CreateModelVersionResponseDetails")
581
+ else:
582
+ return self.base_client.call_api(
583
+ resource_path=resource_path,
584
+ method=method,
585
+ path_params=path_params,
586
+ header_params=header_params,
587
+ body=create_model_version_details,
588
+ response_type="CreateModelVersionResponseDetails")
589
+
590
+ def delete_experiment(self, ai_data_platform_id, workspace_key, delete_experiment_details, **kwargs):
591
+ """
592
+ (Preview) Deletes an experiment.
593
+
594
+
595
+ :param str ai_data_platform_id: (required)
596
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
597
+
598
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
599
+
600
+ :param str workspace_key: (required)
601
+ The key of the Workspace
602
+
603
+ :param oci.aidataplatform_dp.models.DeleteExperimentDetails delete_experiment_details: (required)
604
+ Details of the experiment.
605
+
606
+ :param str opc_retry_token: (optional)
607
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
608
+ server error without risk of running that same action again. Retry tokens expire after 24
609
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
610
+ has been deleted and removed from the system, then a retry of the original creation request
611
+ might be rejected.
612
+
613
+ :param str opc_request_id: (optional)
614
+ Unique Oracle-assigned identifier for the request. If you need to contact
615
+ Oracle about a particular request, please provide the request ID.
616
+ The only valid characters for request IDs are letters, numbers,
617
+ underscore, and dash.
618
+
619
+ :param str dh_user_principal: (optional)
620
+ The DH User Principal Header .
621
+
622
+ :param obj retry_strategy: (optional)
623
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
624
+
625
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
626
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
627
+
628
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
629
+
630
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.DeleteExperimentResponseDetails`
631
+ :rtype: :class:`~oci.response.Response`
632
+ """
633
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/experiments/delete"
634
+ method = "POST"
635
+
636
+ # Don't accept unknown kwargs
637
+ expected_kwargs = [
638
+ "retry_strategy",
639
+ "opc_retry_token",
640
+ "opc_request_id",
641
+ "dh_user_principal"
642
+ ]
643
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
644
+ if extra_kwargs:
645
+ raise ValueError(
646
+ "delete_experiment got unknown kwargs: {!r}".format(extra_kwargs))
647
+
648
+ path_params = {
649
+ "aiDataPlatformId": ai_data_platform_id,
650
+ "workspaceKey": workspace_key
651
+ }
652
+
653
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
654
+
655
+ for (k, v) in six.iteritems(path_params):
656
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
657
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
658
+
659
+ header_params = {
660
+ "accept": "application/json",
661
+ "content-type": "application/json",
662
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
663
+ "opc-request-id": kwargs.get("opc_request_id", missing),
664
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
665
+ }
666
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
667
+
668
+ retry_strategy = self.retry_strategy
669
+ if kwargs.get('retry_strategy'):
670
+ retry_strategy = kwargs.get('retry_strategy')
671
+
672
+ if retry_strategy:
673
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
674
+ self.base_client.add_opc_retry_token_if_needed(header_params)
675
+ return retry_strategy.make_retrying_call(
676
+ self.base_client.call_api,
677
+ resource_path=resource_path,
678
+ method=method,
679
+ path_params=path_params,
680
+ header_params=header_params,
681
+ body=delete_experiment_details,
682
+ response_type="DeleteExperimentResponseDetails")
683
+ else:
684
+ return self.base_client.call_api(
685
+ resource_path=resource_path,
686
+ method=method,
687
+ path_params=path_params,
688
+ header_params=header_params,
689
+ body=delete_experiment_details,
690
+ response_type="DeleteExperimentResponseDetails")
691
+
692
+ def delete_experiment_run(self, ai_data_platform_id, workspace_key, delete_experiment_run_details, **kwargs):
693
+ """
694
+ (Preview) Deletes an experiment run.
695
+
696
+
697
+ :param str ai_data_platform_id: (required)
698
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
699
+
700
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
701
+
702
+ :param str workspace_key: (required)
703
+ The key of the Workspace
704
+
705
+ :param oci.aidataplatform_dp.models.DeleteExperimentRunDetails delete_experiment_run_details: (required)
706
+ Details of the Experiment Run.
707
+
708
+ :param str opc_retry_token: (optional)
709
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
710
+ server error without risk of running that same action again. Retry tokens expire after 24
711
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
712
+ has been deleted and removed from the system, then a retry of the original creation request
713
+ might be rejected.
714
+
715
+ :param str opc_request_id: (optional)
716
+ Unique Oracle-assigned identifier for the request. If you need to contact
717
+ Oracle about a particular request, please provide the request ID.
718
+ The only valid characters for request IDs are letters, numbers,
719
+ underscore, and dash.
720
+
721
+ :param str dh_user_principal: (optional)
722
+ The DH User Principal Header .
723
+
724
+ :param obj retry_strategy: (optional)
725
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
726
+
727
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
728
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
729
+
730
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
731
+
732
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.DeleteExperimentRunResponseDetails`
733
+ :rtype: :class:`~oci.response.Response`
734
+ """
735
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/runs/delete"
736
+ method = "POST"
737
+
738
+ # Don't accept unknown kwargs
739
+ expected_kwargs = [
740
+ "retry_strategy",
741
+ "opc_retry_token",
742
+ "opc_request_id",
743
+ "dh_user_principal"
744
+ ]
745
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
746
+ if extra_kwargs:
747
+ raise ValueError(
748
+ "delete_experiment_run got unknown kwargs: {!r}".format(extra_kwargs))
749
+
750
+ path_params = {
751
+ "aiDataPlatformId": ai_data_platform_id,
752
+ "workspaceKey": workspace_key
753
+ }
754
+
755
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
756
+
757
+ for (k, v) in six.iteritems(path_params):
758
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
759
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
760
+
761
+ header_params = {
762
+ "accept": "application/json",
763
+ "content-type": "application/json",
764
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
765
+ "opc-request-id": kwargs.get("opc_request_id", missing),
766
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
767
+ }
768
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
769
+
770
+ retry_strategy = self.retry_strategy
771
+ if kwargs.get('retry_strategy'):
772
+ retry_strategy = kwargs.get('retry_strategy')
773
+
774
+ if retry_strategy:
775
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
776
+ self.base_client.add_opc_retry_token_if_needed(header_params)
777
+ return retry_strategy.make_retrying_call(
778
+ self.base_client.call_api,
779
+ resource_path=resource_path,
780
+ method=method,
781
+ path_params=path_params,
782
+ header_params=header_params,
783
+ body=delete_experiment_run_details,
784
+ response_type="DeleteExperimentRunResponseDetails")
785
+ else:
786
+ return self.base_client.call_api(
787
+ resource_path=resource_path,
788
+ method=method,
789
+ path_params=path_params,
790
+ header_params=header_params,
791
+ body=delete_experiment_run_details,
792
+ response_type="DeleteExperimentRunResponseDetails")
793
+
794
+ def delete_experiment_run_tag(self, ai_data_platform_id, workspace_key, delete_experiment_run_tag_details, **kwargs):
795
+ """
796
+ (Preview) Deletes a tag on an experiment run.
797
+
798
+
799
+ :param str ai_data_platform_id: (required)
800
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
801
+
802
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
803
+
804
+ :param str workspace_key: (required)
805
+ The key of the Workspace
806
+
807
+ :param oci.aidataplatform_dp.models.DeleteExperimentRunTagDetails delete_experiment_run_tag_details: (required)
808
+ Tag details to delete on an experiment run.
809
+
810
+ :param str opc_retry_token: (optional)
811
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
812
+ server error without risk of running that same action again. Retry tokens expire after 24
813
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
814
+ has been deleted and removed from the system, then a retry of the original creation request
815
+ might be rejected.
816
+
817
+ :param str opc_request_id: (optional)
818
+ Unique Oracle-assigned identifier for the request. If you need to contact
819
+ Oracle about a particular request, please provide the request ID.
820
+ The only valid characters for request IDs are letters, numbers,
821
+ underscore, and dash.
822
+
823
+ :param str dh_user_principal: (optional)
824
+ The DH User Principal Header .
825
+
826
+ :param obj retry_strategy: (optional)
827
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
828
+
829
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
830
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
831
+
832
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
833
+
834
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.DeleteExperimentRunTagResponseDetails`
835
+ :rtype: :class:`~oci.response.Response`
836
+ """
837
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/runs/delete-tag"
838
+ method = "POST"
839
+
840
+ # Don't accept unknown kwargs
841
+ expected_kwargs = [
842
+ "retry_strategy",
843
+ "opc_retry_token",
844
+ "opc_request_id",
845
+ "dh_user_principal"
846
+ ]
847
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
848
+ if extra_kwargs:
849
+ raise ValueError(
850
+ "delete_experiment_run_tag got unknown kwargs: {!r}".format(extra_kwargs))
851
+
852
+ path_params = {
853
+ "aiDataPlatformId": ai_data_platform_id,
854
+ "workspaceKey": workspace_key
855
+ }
856
+
857
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
858
+
859
+ for (k, v) in six.iteritems(path_params):
860
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
861
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
862
+
863
+ header_params = {
864
+ "accept": "application/json",
865
+ "content-type": "application/json",
866
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
867
+ "opc-request-id": kwargs.get("opc_request_id", missing),
868
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
869
+ }
870
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
871
+
872
+ retry_strategy = self.retry_strategy
873
+ if kwargs.get('retry_strategy'):
874
+ retry_strategy = kwargs.get('retry_strategy')
875
+
876
+ if retry_strategy:
877
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
878
+ self.base_client.add_opc_retry_token_if_needed(header_params)
879
+ return retry_strategy.make_retrying_call(
880
+ self.base_client.call_api,
881
+ resource_path=resource_path,
882
+ method=method,
883
+ path_params=path_params,
884
+ header_params=header_params,
885
+ body=delete_experiment_run_tag_details,
886
+ response_type="DeleteExperimentRunTagResponseDetails")
887
+ else:
888
+ return self.base_client.call_api(
889
+ resource_path=resource_path,
890
+ method=method,
891
+ path_params=path_params,
892
+ header_params=header_params,
893
+ body=delete_experiment_run_tag_details,
894
+ response_type="DeleteExperimentRunTagResponseDetails")
895
+
896
+ def delete_experiment_tag(self, ai_data_platform_id, workspace_key, delete_experiment_tag_details, **kwargs):
897
+ """
898
+ (Preview) Deletes a tag on an experiment.
899
+
900
+
901
+ :param str ai_data_platform_id: (required)
902
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
903
+
904
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
905
+
906
+ :param str workspace_key: (required)
907
+ The key of the Workspace
908
+
909
+ :param oci.aidataplatform_dp.models.DeleteExperimentTagDetails delete_experiment_tag_details: (required)
910
+ Tag details to delete on an experiment.
911
+
912
+ :param str opc_retry_token: (optional)
913
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
914
+ server error without risk of running that same action again. Retry tokens expire after 24
915
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
916
+ has been deleted and removed from the system, then a retry of the original creation request
917
+ might be rejected.
918
+
919
+ :param str opc_request_id: (optional)
920
+ Unique Oracle-assigned identifier for the request. If you need to contact
921
+ Oracle about a particular request, please provide the request ID.
922
+ The only valid characters for request IDs are letters, numbers,
923
+ underscore, and dash.
924
+
925
+ :param str dh_user_principal: (optional)
926
+ The DH User Principal Header .
927
+
928
+ :param obj retry_strategy: (optional)
929
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
930
+
931
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
932
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
933
+
934
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
935
+
936
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.DeleteExperimentTagResponseDetails`
937
+ :rtype: :class:`~oci.response.Response`
938
+ """
939
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/experiments/delete-experiment-tag"
940
+ method = "POST"
941
+
942
+ # Don't accept unknown kwargs
943
+ expected_kwargs = [
944
+ "retry_strategy",
945
+ "opc_retry_token",
946
+ "opc_request_id",
947
+ "dh_user_principal"
948
+ ]
949
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
950
+ if extra_kwargs:
951
+ raise ValueError(
952
+ "delete_experiment_tag got unknown kwargs: {!r}".format(extra_kwargs))
953
+
954
+ path_params = {
955
+ "aiDataPlatformId": ai_data_platform_id,
956
+ "workspaceKey": workspace_key
957
+ }
958
+
959
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
960
+
961
+ for (k, v) in six.iteritems(path_params):
962
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
963
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
964
+
965
+ header_params = {
966
+ "accept": "application/json",
967
+ "content-type": "application/json",
968
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
969
+ "opc-request-id": kwargs.get("opc_request_id", missing),
970
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
971
+ }
972
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
973
+
974
+ retry_strategy = self.retry_strategy
975
+ if kwargs.get('retry_strategy'):
976
+ retry_strategy = kwargs.get('retry_strategy')
977
+
978
+ if retry_strategy:
979
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
980
+ self.base_client.add_opc_retry_token_if_needed(header_params)
981
+ return retry_strategy.make_retrying_call(
982
+ self.base_client.call_api,
983
+ resource_path=resource_path,
984
+ method=method,
985
+ path_params=path_params,
986
+ header_params=header_params,
987
+ body=delete_experiment_tag_details,
988
+ response_type="DeleteExperimentTagResponseDetails")
989
+ else:
990
+ return self.base_client.call_api(
991
+ resource_path=resource_path,
992
+ method=method,
993
+ path_params=path_params,
994
+ header_params=header_params,
995
+ body=delete_experiment_tag_details,
996
+ response_type="DeleteExperimentTagResponseDetails")
997
+
998
+ def delete_model_version(self, ai_data_platform_id, delete_model_version_details, **kwargs):
999
+ """
1000
+ (Preview) Deletes a model version.
1001
+
1002
+
1003
+ :param str ai_data_platform_id: (required)
1004
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1005
+
1006
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1007
+
1008
+ :param oci.aidataplatform_dp.models.DeleteModelVersionDetails delete_model_version_details: (required)
1009
+ Details of the model version to delete.
1010
+
1011
+ :param str opc_retry_token: (optional)
1012
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
1013
+ server error without risk of running that same action again. Retry tokens expire after 24
1014
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1015
+ has been deleted and removed from the system, then a retry of the original creation request
1016
+ might be rejected.
1017
+
1018
+ :param str opc_request_id: (optional)
1019
+ Unique Oracle-assigned identifier for the request. If you need to contact
1020
+ Oracle about a particular request, please provide the request ID.
1021
+ The only valid characters for request IDs are letters, numbers,
1022
+ underscore, and dash.
1023
+
1024
+ :param str dh_user_principal: (optional)
1025
+ The DH User Principal Header .
1026
+
1027
+ :param obj retry_strategy: (optional)
1028
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1029
+
1030
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1031
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1032
+
1033
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1034
+
1035
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.DeleteModelVersionResponseDetails`
1036
+ :rtype: :class:`~oci.response.Response`
1037
+ """
1038
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/model-versions/delete"
1039
+ method = "POST"
1040
+
1041
+ # Don't accept unknown kwargs
1042
+ expected_kwargs = [
1043
+ "retry_strategy",
1044
+ "opc_retry_token",
1045
+ "opc_request_id",
1046
+ "dh_user_principal"
1047
+ ]
1048
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1049
+ if extra_kwargs:
1050
+ raise ValueError(
1051
+ "delete_model_version got unknown kwargs: {!r}".format(extra_kwargs))
1052
+
1053
+ path_params = {
1054
+ "aiDataPlatformId": ai_data_platform_id
1055
+ }
1056
+
1057
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1058
+
1059
+ for (k, v) in six.iteritems(path_params):
1060
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1061
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1062
+
1063
+ header_params = {
1064
+ "accept": "application/json",
1065
+ "content-type": "application/json",
1066
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
1067
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1068
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
1069
+ }
1070
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1071
+
1072
+ retry_strategy = self.retry_strategy
1073
+ if kwargs.get('retry_strategy'):
1074
+ retry_strategy = kwargs.get('retry_strategy')
1075
+
1076
+ if retry_strategy:
1077
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1078
+ self.base_client.add_opc_retry_token_if_needed(header_params)
1079
+ return retry_strategy.make_retrying_call(
1080
+ self.base_client.call_api,
1081
+ resource_path=resource_path,
1082
+ method=method,
1083
+ path_params=path_params,
1084
+ header_params=header_params,
1085
+ body=delete_model_version_details,
1086
+ response_type="DeleteModelVersionResponseDetails")
1087
+ else:
1088
+ return self.base_client.call_api(
1089
+ resource_path=resource_path,
1090
+ method=method,
1091
+ path_params=path_params,
1092
+ header_params=header_params,
1093
+ body=delete_model_version_details,
1094
+ response_type="DeleteModelVersionResponseDetails")
1095
+
1096
+ def delete_model_version_tag(self, ai_data_platform_id, delete_model_version_tag_details, **kwargs):
1097
+ """
1098
+ (Preview) Deletes a tag on a model version.
1099
+
1100
+
1101
+ :param str ai_data_platform_id: (required)
1102
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1103
+
1104
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1105
+
1106
+ :param oci.aidataplatform_dp.models.DeleteModelVersionTagDetails delete_model_version_tag_details: (required)
1107
+ Details of a model version tag to delete.
1108
+
1109
+ :param str opc_retry_token: (optional)
1110
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
1111
+ server error without risk of running that same action again. Retry tokens expire after 24
1112
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1113
+ has been deleted and removed from the system, then a retry of the original creation request
1114
+ might be rejected.
1115
+
1116
+ :param str opc_request_id: (optional)
1117
+ Unique Oracle-assigned identifier for the request. If you need to contact
1118
+ Oracle about a particular request, please provide the request ID.
1119
+ The only valid characters for request IDs are letters, numbers,
1120
+ underscore, and dash.
1121
+
1122
+ :param str dh_user_principal: (optional)
1123
+ The DH User Principal Header .
1124
+
1125
+ :param obj retry_strategy: (optional)
1126
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1127
+
1128
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1129
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1130
+
1131
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1132
+
1133
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.DeleteModelVersionTagResponseDetails`
1134
+ :rtype: :class:`~oci.response.Response`
1135
+ """
1136
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/model-versions/delete-tag"
1137
+ method = "POST"
1138
+
1139
+ # Don't accept unknown kwargs
1140
+ expected_kwargs = [
1141
+ "retry_strategy",
1142
+ "opc_retry_token",
1143
+ "opc_request_id",
1144
+ "dh_user_principal"
1145
+ ]
1146
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1147
+ if extra_kwargs:
1148
+ raise ValueError(
1149
+ "delete_model_version_tag got unknown kwargs: {!r}".format(extra_kwargs))
1150
+
1151
+ path_params = {
1152
+ "aiDataPlatformId": ai_data_platform_id
1153
+ }
1154
+
1155
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1156
+
1157
+ for (k, v) in six.iteritems(path_params):
1158
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1159
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1160
+
1161
+ header_params = {
1162
+ "accept": "application/json",
1163
+ "content-type": "application/json",
1164
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
1165
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1166
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
1167
+ }
1168
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1169
+
1170
+ retry_strategy = self.retry_strategy
1171
+ if kwargs.get('retry_strategy'):
1172
+ retry_strategy = kwargs.get('retry_strategy')
1173
+
1174
+ if retry_strategy:
1175
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1176
+ self.base_client.add_opc_retry_token_if_needed(header_params)
1177
+ return retry_strategy.make_retrying_call(
1178
+ self.base_client.call_api,
1179
+ resource_path=resource_path,
1180
+ method=method,
1181
+ path_params=path_params,
1182
+ header_params=header_params,
1183
+ body=delete_model_version_tag_details,
1184
+ response_type="DeleteModelVersionTagResponseDetails")
1185
+ else:
1186
+ return self.base_client.call_api(
1187
+ resource_path=resource_path,
1188
+ method=method,
1189
+ path_params=path_params,
1190
+ header_params=header_params,
1191
+ body=delete_model_version_tag_details,
1192
+ response_type="DeleteModelVersionTagResponseDetails")
1193
+
1194
+ def delete_registered_model(self, ai_data_platform_id, delete_registered_model_details, **kwargs):
1195
+ """
1196
+ (Preview) Deletes a registered model.
1197
+
1198
+
1199
+ :param str ai_data_platform_id: (required)
1200
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1201
+
1202
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1203
+
1204
+ :param oci.aidataplatform_dp.models.DeleteRegisteredModelDetails delete_registered_model_details: (required)
1205
+ Details of the registered model to delete.
1206
+
1207
+ :param str opc_retry_token: (optional)
1208
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
1209
+ server error without risk of running that same action again. Retry tokens expire after 24
1210
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1211
+ has been deleted and removed from the system, then a retry of the original creation request
1212
+ might be rejected.
1213
+
1214
+ :param str opc_request_id: (optional)
1215
+ Unique Oracle-assigned identifier for the request. If you need to contact
1216
+ Oracle about a particular request, please provide the request ID.
1217
+ The only valid characters for request IDs are letters, numbers,
1218
+ underscore, and dash.
1219
+
1220
+ :param str dh_user_principal: (optional)
1221
+ The DH User Principal Header .
1222
+
1223
+ :param obj retry_strategy: (optional)
1224
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1225
+
1226
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1227
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1228
+
1229
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1230
+
1231
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.DeleteRegisteredModelResponseDetails`
1232
+ :rtype: :class:`~oci.response.Response`
1233
+ """
1234
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/registered-models/delete"
1235
+ method = "POST"
1236
+
1237
+ # Don't accept unknown kwargs
1238
+ expected_kwargs = [
1239
+ "retry_strategy",
1240
+ "opc_retry_token",
1241
+ "opc_request_id",
1242
+ "dh_user_principal"
1243
+ ]
1244
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1245
+ if extra_kwargs:
1246
+ raise ValueError(
1247
+ "delete_registered_model got unknown kwargs: {!r}".format(extra_kwargs))
1248
+
1249
+ path_params = {
1250
+ "aiDataPlatformId": ai_data_platform_id
1251
+ }
1252
+
1253
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1254
+
1255
+ for (k, v) in six.iteritems(path_params):
1256
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1257
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1258
+
1259
+ header_params = {
1260
+ "accept": "application/json",
1261
+ "content-type": "application/json",
1262
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
1263
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1264
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
1265
+ }
1266
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1267
+
1268
+ retry_strategy = self.retry_strategy
1269
+ if kwargs.get('retry_strategy'):
1270
+ retry_strategy = kwargs.get('retry_strategy')
1271
+
1272
+ if retry_strategy:
1273
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1274
+ self.base_client.add_opc_retry_token_if_needed(header_params)
1275
+ return retry_strategy.make_retrying_call(
1276
+ self.base_client.call_api,
1277
+ resource_path=resource_path,
1278
+ method=method,
1279
+ path_params=path_params,
1280
+ header_params=header_params,
1281
+ body=delete_registered_model_details,
1282
+ response_type="DeleteRegisteredModelResponseDetails")
1283
+ else:
1284
+ return self.base_client.call_api(
1285
+ resource_path=resource_path,
1286
+ method=method,
1287
+ path_params=path_params,
1288
+ header_params=header_params,
1289
+ body=delete_registered_model_details,
1290
+ response_type="DeleteRegisteredModelResponseDetails")
1291
+
1292
+ def delete_registered_model_tag(self, ai_data_platform_id, delete_registered_model_tag_details, **kwargs):
1293
+ """
1294
+ (Preview) Deletes a tag on a registered model.
1295
+
1296
+
1297
+ :param str ai_data_platform_id: (required)
1298
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1299
+
1300
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1301
+
1302
+ :param oci.aidataplatform_dp.models.DeleteRegisteredModelTagDetails delete_registered_model_tag_details: (required)
1303
+ Details of a registered model tag.
1304
+
1305
+ :param str opc_retry_token: (optional)
1306
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
1307
+ server error without risk of running that same action again. Retry tokens expire after 24
1308
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1309
+ has been deleted and removed from the system, then a retry of the original creation request
1310
+ might be rejected.
1311
+
1312
+ :param str opc_request_id: (optional)
1313
+ Unique Oracle-assigned identifier for the request. If you need to contact
1314
+ Oracle about a particular request, please provide the request ID.
1315
+ The only valid characters for request IDs are letters, numbers,
1316
+ underscore, and dash.
1317
+
1318
+ :param str dh_user_principal: (optional)
1319
+ The DH User Principal Header .
1320
+
1321
+ :param obj retry_strategy: (optional)
1322
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1323
+
1324
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1325
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1326
+
1327
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1328
+
1329
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.DeleteRegisteredModelTagResponseDetails`
1330
+ :rtype: :class:`~oci.response.Response`
1331
+ """
1332
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/registered-models/delete-tag"
1333
+ method = "POST"
1334
+
1335
+ # Don't accept unknown kwargs
1336
+ expected_kwargs = [
1337
+ "retry_strategy",
1338
+ "opc_retry_token",
1339
+ "opc_request_id",
1340
+ "dh_user_principal"
1341
+ ]
1342
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1343
+ if extra_kwargs:
1344
+ raise ValueError(
1345
+ "delete_registered_model_tag got unknown kwargs: {!r}".format(extra_kwargs))
1346
+
1347
+ path_params = {
1348
+ "aiDataPlatformId": ai_data_platform_id
1349
+ }
1350
+
1351
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1352
+
1353
+ for (k, v) in six.iteritems(path_params):
1354
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1355
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1356
+
1357
+ header_params = {
1358
+ "accept": "application/json",
1359
+ "content-type": "application/json",
1360
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
1361
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1362
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
1363
+ }
1364
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1365
+
1366
+ retry_strategy = self.retry_strategy
1367
+ if kwargs.get('retry_strategy'):
1368
+ retry_strategy = kwargs.get('retry_strategy')
1369
+
1370
+ if retry_strategy:
1371
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1372
+ self.base_client.add_opc_retry_token_if_needed(header_params)
1373
+ return retry_strategy.make_retrying_call(
1374
+ self.base_client.call_api,
1375
+ resource_path=resource_path,
1376
+ method=method,
1377
+ path_params=path_params,
1378
+ header_params=header_params,
1379
+ body=delete_registered_model_tag_details,
1380
+ response_type="DeleteRegisteredModelTagResponseDetails")
1381
+ else:
1382
+ return self.base_client.call_api(
1383
+ resource_path=resource_path,
1384
+ method=method,
1385
+ path_params=path_params,
1386
+ header_params=header_params,
1387
+ body=delete_registered_model_tag_details,
1388
+ response_type="DeleteRegisteredModelTagResponseDetails")
1389
+
1390
+ def get_experiment_by_id(self, ai_data_platform_id, workspace_key, experiment_id, **kwargs):
1391
+ """
1392
+ (Preview) Returns metadata for an experiment by ID. This method works on deleted experiments.
1393
+
1394
+
1395
+ :param str ai_data_platform_id: (required)
1396
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1397
+
1398
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1399
+
1400
+ :param str workspace_key: (required)
1401
+ The key of the Workspace
1402
+
1403
+ :param str experiment_id: (required)
1404
+ The unique ID of the experiment to retrieve.
1405
+
1406
+ :param str opc_request_id: (optional)
1407
+ Unique Oracle-assigned identifier for the request. If you need to contact
1408
+ Oracle about a particular request, please provide the request ID.
1409
+ The only valid characters for request IDs are letters, numbers,
1410
+ underscore, and dash.
1411
+
1412
+ :param str dh_user_principal: (optional)
1413
+ The DH User Principal Header .
1414
+
1415
+ :param obj retry_strategy: (optional)
1416
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1417
+
1418
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1419
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1420
+
1421
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1422
+
1423
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ExperimentResponse`
1424
+ :rtype: :class:`~oci.response.Response`
1425
+ """
1426
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/experiments/get"
1427
+ method = "GET"
1428
+
1429
+ # Don't accept unknown kwargs
1430
+ expected_kwargs = [
1431
+ "retry_strategy",
1432
+ "opc_request_id",
1433
+ "dh_user_principal"
1434
+ ]
1435
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1436
+ if extra_kwargs:
1437
+ raise ValueError(
1438
+ "get_experiment_by_id got unknown kwargs: {!r}".format(extra_kwargs))
1439
+
1440
+ path_params = {
1441
+ "aiDataPlatformId": ai_data_platform_id,
1442
+ "workspaceKey": workspace_key
1443
+ }
1444
+
1445
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1446
+
1447
+ for (k, v) in six.iteritems(path_params):
1448
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1449
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1450
+
1451
+ query_params = {
1452
+ "experiment_id": experiment_id
1453
+ }
1454
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1455
+
1456
+ header_params = {
1457
+ "accept": "application/json",
1458
+ "content-type": "application/json",
1459
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1460
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
1461
+ }
1462
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1463
+
1464
+ retry_strategy = self.retry_strategy
1465
+ if kwargs.get('retry_strategy'):
1466
+ retry_strategy = kwargs.get('retry_strategy')
1467
+
1468
+ if retry_strategy:
1469
+ return retry_strategy.make_retrying_call(
1470
+ self.base_client.call_api,
1471
+ resource_path=resource_path,
1472
+ method=method,
1473
+ path_params=path_params,
1474
+ query_params=query_params,
1475
+ header_params=header_params,
1476
+ response_type="ExperimentResponse")
1477
+ else:
1478
+ return self.base_client.call_api(
1479
+ resource_path=resource_path,
1480
+ method=method,
1481
+ path_params=path_params,
1482
+ query_params=query_params,
1483
+ header_params=header_params,
1484
+ response_type="ExperimentResponse")
1485
+
1486
+ def get_experiment_by_name(self, ai_data_platform_id, workspace_key, experiment_name, **kwargs):
1487
+ """
1488
+ (Preview) Returns experiment metadata for a given name. Returns deleted experiments, but prefers the active experiment if an active and deleted experiment share the same name. If multiple deleted experiments share the same name, the API will return one of them.
1489
+
1490
+
1491
+ :param str ai_data_platform_id: (required)
1492
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1493
+
1494
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1495
+
1496
+ :param str workspace_key: (required)
1497
+ The key of the Workspace
1498
+
1499
+ :param str experiment_name: (required)
1500
+ The name of the experiment to retrieve.
1501
+
1502
+ :param str opc_request_id: (optional)
1503
+ Unique Oracle-assigned identifier for the request. If you need to contact
1504
+ Oracle about a particular request, please provide the request ID.
1505
+ The only valid characters for request IDs are letters, numbers,
1506
+ underscore, and dash.
1507
+
1508
+ :param str dh_user_principal: (optional)
1509
+ The DH User Principal Header .
1510
+
1511
+ :param obj retry_strategy: (optional)
1512
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1513
+
1514
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1515
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1516
+
1517
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1518
+
1519
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ExperimentResponse`
1520
+ :rtype: :class:`~oci.response.Response`
1521
+ """
1522
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/experiments/get-by-name"
1523
+ method = "GET"
1524
+
1525
+ # Don't accept unknown kwargs
1526
+ expected_kwargs = [
1527
+ "retry_strategy",
1528
+ "opc_request_id",
1529
+ "dh_user_principal"
1530
+ ]
1531
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1532
+ if extra_kwargs:
1533
+ raise ValueError(
1534
+ "get_experiment_by_name got unknown kwargs: {!r}".format(extra_kwargs))
1535
+
1536
+ path_params = {
1537
+ "aiDataPlatformId": ai_data_platform_id,
1538
+ "workspaceKey": workspace_key
1539
+ }
1540
+
1541
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1542
+
1543
+ for (k, v) in six.iteritems(path_params):
1544
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1545
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1546
+
1547
+ query_params = {
1548
+ "experiment_name": experiment_name
1549
+ }
1550
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1551
+
1552
+ header_params = {
1553
+ "accept": "application/json",
1554
+ "content-type": "application/json",
1555
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1556
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
1557
+ }
1558
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1559
+
1560
+ retry_strategy = self.retry_strategy
1561
+ if kwargs.get('retry_strategy'):
1562
+ retry_strategy = kwargs.get('retry_strategy')
1563
+
1564
+ if retry_strategy:
1565
+ return retry_strategy.make_retrying_call(
1566
+ self.base_client.call_api,
1567
+ resource_path=resource_path,
1568
+ method=method,
1569
+ path_params=path_params,
1570
+ query_params=query_params,
1571
+ header_params=header_params,
1572
+ response_type="ExperimentResponse")
1573
+ else:
1574
+ return self.base_client.call_api(
1575
+ resource_path=resource_path,
1576
+ method=method,
1577
+ path_params=path_params,
1578
+ query_params=query_params,
1579
+ header_params=header_params,
1580
+ response_type="ExperimentResponse")
1581
+
1582
+ def get_experiment_run_by_id(self, ai_data_platform_id, workspace_key, run_id, **kwargs):
1583
+ """
1584
+ (Preview) Returns details of an experiment run by ID.
1585
+
1586
+
1587
+ :param str ai_data_platform_id: (required)
1588
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1589
+
1590
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1591
+
1592
+ :param str workspace_key: (required)
1593
+ The key of the Workspace
1594
+
1595
+ :param str run_id: (required)
1596
+ ID of the run to fetch.
1597
+
1598
+ :param str opc_request_id: (optional)
1599
+ Unique Oracle-assigned identifier for the request. If you need to contact
1600
+ Oracle about a particular request, please provide the request ID.
1601
+ The only valid characters for request IDs are letters, numbers,
1602
+ underscore, and dash.
1603
+
1604
+ :param str dh_user_principal: (optional)
1605
+ The DH User Principal Header .
1606
+
1607
+ :param obj retry_strategy: (optional)
1608
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1609
+
1610
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1611
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1612
+
1613
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1614
+
1615
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.GetExperimentRunResponseDetails`
1616
+ :rtype: :class:`~oci.response.Response`
1617
+ """
1618
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/runs/get"
1619
+ method = "GET"
1620
+
1621
+ # Don't accept unknown kwargs
1622
+ expected_kwargs = [
1623
+ "retry_strategy",
1624
+ "opc_request_id",
1625
+ "dh_user_principal"
1626
+ ]
1627
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1628
+ if extra_kwargs:
1629
+ raise ValueError(
1630
+ "get_experiment_run_by_id got unknown kwargs: {!r}".format(extra_kwargs))
1631
+
1632
+ path_params = {
1633
+ "aiDataPlatformId": ai_data_platform_id,
1634
+ "workspaceKey": workspace_key
1635
+ }
1636
+
1637
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1638
+
1639
+ for (k, v) in six.iteritems(path_params):
1640
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1641
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1642
+
1643
+ query_params = {
1644
+ "run_id": run_id
1645
+ }
1646
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1647
+
1648
+ header_params = {
1649
+ "accept": "application/json",
1650
+ "content-type": "application/json",
1651
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1652
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
1653
+ }
1654
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1655
+
1656
+ retry_strategy = self.retry_strategy
1657
+ if kwargs.get('retry_strategy'):
1658
+ retry_strategy = kwargs.get('retry_strategy')
1659
+
1660
+ if retry_strategy:
1661
+ return retry_strategy.make_retrying_call(
1662
+ self.base_client.call_api,
1663
+ resource_path=resource_path,
1664
+ method=method,
1665
+ path_params=path_params,
1666
+ query_params=query_params,
1667
+ header_params=header_params,
1668
+ response_type="GetExperimentRunResponseDetails")
1669
+ else:
1670
+ return self.base_client.call_api(
1671
+ resource_path=resource_path,
1672
+ method=method,
1673
+ path_params=path_params,
1674
+ query_params=query_params,
1675
+ header_params=header_params,
1676
+ response_type="GetExperimentRunResponseDetails")
1677
+
1678
+ def get_experiment_run_metric_history(self, ai_data_platform_id, workspace_key, run_id, metric_key, **kwargs):
1679
+ """
1680
+ (Preview) Returns a history of experiment run metrics.
1681
+
1682
+
1683
+ :param str ai_data_platform_id: (required)
1684
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1685
+
1686
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1687
+
1688
+ :param str workspace_key: (required)
1689
+ The key of the Workspace
1690
+
1691
+ :param str run_id: (required)
1692
+ ID of the run metric history to fetch.
1693
+
1694
+ :param str metric_key: (required)
1695
+ Name of the metric key.
1696
+
1697
+ :param str page_token: (optional)
1698
+ Pagination token to go to the next page of metric history.
1699
+
1700
+ :param int max_results: (optional)
1701
+ Maximum number of logged instances of a metric for a run to return per call. Backend servers
1702
+ may restrict the value of max_results depending on performance requirements. Requests that do
1703
+ not specify this value will behave as non-paginated queries where all metric history values
1704
+ for a given metric within a run are returned in a single response.
1705
+
1706
+ :param str opc_request_id: (optional)
1707
+ Unique Oracle-assigned identifier for the request. If you need to contact
1708
+ Oracle about a particular request, please provide the request ID.
1709
+ The only valid characters for request IDs are letters, numbers,
1710
+ underscore, and dash.
1711
+
1712
+ :param str dh_user_principal: (optional)
1713
+ The DH User Principal Header .
1714
+
1715
+ :param obj retry_strategy: (optional)
1716
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1717
+
1718
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1719
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1720
+
1721
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1722
+
1723
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ExperimentRunMetricHistoryCollection`
1724
+ :rtype: :class:`~oci.response.Response`
1725
+ """
1726
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/metrics/get-history"
1727
+ method = "GET"
1728
+
1729
+ # Don't accept unknown kwargs
1730
+ expected_kwargs = [
1731
+ "retry_strategy",
1732
+ "page_token",
1733
+ "max_results",
1734
+ "opc_request_id",
1735
+ "dh_user_principal"
1736
+ ]
1737
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1738
+ if extra_kwargs:
1739
+ raise ValueError(
1740
+ "get_experiment_run_metric_history got unknown kwargs: {!r}".format(extra_kwargs))
1741
+
1742
+ path_params = {
1743
+ "aiDataPlatformId": ai_data_platform_id,
1744
+ "workspaceKey": workspace_key
1745
+ }
1746
+
1747
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1748
+
1749
+ for (k, v) in six.iteritems(path_params):
1750
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1751
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1752
+
1753
+ query_params = {
1754
+ "run_id": run_id,
1755
+ "metric_key": metric_key,
1756
+ "page_token": kwargs.get("page_token", missing),
1757
+ "max_results": kwargs.get("max_results", missing)
1758
+ }
1759
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1760
+
1761
+ header_params = {
1762
+ "accept": "application/json",
1763
+ "content-type": "application/json",
1764
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1765
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
1766
+ }
1767
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1768
+
1769
+ retry_strategy = self.retry_strategy
1770
+ if kwargs.get('retry_strategy'):
1771
+ retry_strategy = kwargs.get('retry_strategy')
1772
+
1773
+ if retry_strategy:
1774
+ return retry_strategy.make_retrying_call(
1775
+ self.base_client.call_api,
1776
+ resource_path=resource_path,
1777
+ method=method,
1778
+ path_params=path_params,
1779
+ query_params=query_params,
1780
+ header_params=header_params,
1781
+ response_type="ExperimentRunMetricHistoryCollection")
1782
+ else:
1783
+ return self.base_client.call_api(
1784
+ resource_path=resource_path,
1785
+ method=method,
1786
+ path_params=path_params,
1787
+ query_params=query_params,
1788
+ header_params=header_params,
1789
+ response_type="ExperimentRunMetricHistoryCollection")
1790
+
1791
+ def get_model_version(self, ai_data_platform_id, name, version, **kwargs):
1792
+ """
1793
+ (Preview) Returns detailed information for a model version.
1794
+
1795
+
1796
+ :param str ai_data_platform_id: (required)
1797
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1798
+
1799
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1800
+
1801
+ :param str name: (required)
1802
+ Name of the model version.
1803
+
1804
+ :param str version: (required)
1805
+ Version number of the model version.
1806
+
1807
+ :param str opc_request_id: (optional)
1808
+ Unique Oracle-assigned identifier for the request. If you need to contact
1809
+ Oracle about a particular request, please provide the request ID.
1810
+ The only valid characters for request IDs are letters, numbers,
1811
+ underscore, and dash.
1812
+
1813
+ :param str dh_user_principal: (optional)
1814
+ The DH User Principal Header .
1815
+
1816
+ :param obj retry_strategy: (optional)
1817
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1818
+
1819
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1820
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1821
+
1822
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1823
+
1824
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.GetModelVersionResponseDetails`
1825
+ :rtype: :class:`~oci.response.Response`
1826
+ """
1827
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/model-versions/get"
1828
+ method = "GET"
1829
+
1830
+ # Don't accept unknown kwargs
1831
+ expected_kwargs = [
1832
+ "retry_strategy",
1833
+ "opc_request_id",
1834
+ "dh_user_principal"
1835
+ ]
1836
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1837
+ if extra_kwargs:
1838
+ raise ValueError(
1839
+ "get_model_version got unknown kwargs: {!r}".format(extra_kwargs))
1840
+
1841
+ path_params = {
1842
+ "aiDataPlatformId": ai_data_platform_id
1843
+ }
1844
+
1845
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1846
+
1847
+ for (k, v) in six.iteritems(path_params):
1848
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1849
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1850
+
1851
+ query_params = {
1852
+ "name": name,
1853
+ "version": version
1854
+ }
1855
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1856
+
1857
+ header_params = {
1858
+ "accept": "application/json",
1859
+ "content-type": "application/json",
1860
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1861
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
1862
+ }
1863
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1864
+
1865
+ retry_strategy = self.retry_strategy
1866
+ if kwargs.get('retry_strategy'):
1867
+ retry_strategy = kwargs.get('retry_strategy')
1868
+
1869
+ if retry_strategy:
1870
+ return retry_strategy.make_retrying_call(
1871
+ self.base_client.call_api,
1872
+ resource_path=resource_path,
1873
+ method=method,
1874
+ path_params=path_params,
1875
+ query_params=query_params,
1876
+ header_params=header_params,
1877
+ response_type="GetModelVersionResponseDetails")
1878
+ else:
1879
+ return self.base_client.call_api(
1880
+ resource_path=resource_path,
1881
+ method=method,
1882
+ path_params=path_params,
1883
+ query_params=query_params,
1884
+ header_params=header_params,
1885
+ response_type="GetModelVersionResponseDetails")
1886
+
1887
+ def get_registered_model(self, ai_data_platform_id, name, **kwargs):
1888
+ """
1889
+ (Preview) Returns details for a specified registered model.
1890
+
1891
+
1892
+ :param str ai_data_platform_id: (required)
1893
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1894
+
1895
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1896
+
1897
+ :param str name: (required)
1898
+ Name of the registered model.
1899
+
1900
+ :param str opc_request_id: (optional)
1901
+ Unique Oracle-assigned identifier for the request. If you need to contact
1902
+ Oracle about a particular request, please provide the request ID.
1903
+ The only valid characters for request IDs are letters, numbers,
1904
+ underscore, and dash.
1905
+
1906
+ :param str dh_user_principal: (optional)
1907
+ The DH User Principal Header .
1908
+
1909
+ :param obj retry_strategy: (optional)
1910
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1911
+
1912
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1913
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1914
+
1915
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1916
+
1917
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.GetRegisteredModelResponseDetails`
1918
+ :rtype: :class:`~oci.response.Response`
1919
+ """
1920
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/registered-models/get"
1921
+ method = "GET"
1922
+
1923
+ # Don't accept unknown kwargs
1924
+ expected_kwargs = [
1925
+ "retry_strategy",
1926
+ "opc_request_id",
1927
+ "dh_user_principal"
1928
+ ]
1929
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1930
+ if extra_kwargs:
1931
+ raise ValueError(
1932
+ "get_registered_model got unknown kwargs: {!r}".format(extra_kwargs))
1933
+
1934
+ path_params = {
1935
+ "aiDataPlatformId": ai_data_platform_id
1936
+ }
1937
+
1938
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1939
+
1940
+ for (k, v) in six.iteritems(path_params):
1941
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1942
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1943
+
1944
+ query_params = {
1945
+ "name": name
1946
+ }
1947
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1948
+
1949
+ header_params = {
1950
+ "accept": "application/json",
1951
+ "content-type": "application/json",
1952
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1953
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
1954
+ }
1955
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1956
+
1957
+ retry_strategy = self.retry_strategy
1958
+ if kwargs.get('retry_strategy'):
1959
+ retry_strategy = kwargs.get('retry_strategy')
1960
+
1961
+ if retry_strategy:
1962
+ return retry_strategy.make_retrying_call(
1963
+ self.base_client.call_api,
1964
+ resource_path=resource_path,
1965
+ method=method,
1966
+ path_params=path_params,
1967
+ query_params=query_params,
1968
+ header_params=header_params,
1969
+ response_type="GetRegisteredModelResponseDetails")
1970
+ else:
1971
+ return self.base_client.call_api(
1972
+ resource_path=resource_path,
1973
+ method=method,
1974
+ path_params=path_params,
1975
+ query_params=query_params,
1976
+ header_params=header_params,
1977
+ response_type="GetRegisteredModelResponseDetails")
1978
+
1979
+ def list_artifacts(self, ai_data_platform_id, workspace_key, run_id, **kwargs):
1980
+ """
1981
+ (Preview) Returns a list of artifacts.
1982
+
1983
+
1984
+ :param str ai_data_platform_id: (required)
1985
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1986
+
1987
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1988
+
1989
+ :param str workspace_key: (required)
1990
+ The key of the Workspace
1991
+
1992
+ :param str run_id: (required)
1993
+ ID of the run whose artifacts to list.
1994
+
1995
+ :param str path: (optional)
1996
+ Filter artifacts matching this path (a relative path from the root artifact directory).
1997
+
1998
+ :param str page_token: (optional)
1999
+ Token indicating the page of artifact results to fetch.
2000
+
2001
+ :param str opc_request_id: (optional)
2002
+ Unique Oracle-assigned identifier for the request. If you need to contact
2003
+ Oracle about a particular request, please provide the request ID.
2004
+ The only valid characters for request IDs are letters, numbers,
2005
+ underscore, and dash.
2006
+
2007
+ :param str dh_user_principal: (optional)
2008
+ The DH User Principal Header .
2009
+
2010
+ :param obj retry_strategy: (optional)
2011
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2012
+
2013
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
2014
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
2015
+
2016
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2017
+
2018
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ArtifactList`
2019
+ :rtype: :class:`~oci.response.Response`
2020
+ """
2021
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/artifacts/list"
2022
+ method = "GET"
2023
+
2024
+ # Don't accept unknown kwargs
2025
+ expected_kwargs = [
2026
+ "retry_strategy",
2027
+ "path",
2028
+ "page_token",
2029
+ "opc_request_id",
2030
+ "dh_user_principal"
2031
+ ]
2032
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2033
+ if extra_kwargs:
2034
+ raise ValueError(
2035
+ "list_artifacts got unknown kwargs: {!r}".format(extra_kwargs))
2036
+
2037
+ path_params = {
2038
+ "aiDataPlatformId": ai_data_platform_id,
2039
+ "workspaceKey": workspace_key
2040
+ }
2041
+
2042
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2043
+
2044
+ for (k, v) in six.iteritems(path_params):
2045
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2046
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
2047
+
2048
+ query_params = {
2049
+ "run_id": run_id,
2050
+ "path": kwargs.get("path", missing),
2051
+ "page_token": kwargs.get("page_token", missing)
2052
+ }
2053
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
2054
+
2055
+ header_params = {
2056
+ "accept": "application/json",
2057
+ "content-type": "application/json",
2058
+ "opc-request-id": kwargs.get("opc_request_id", missing),
2059
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
2060
+ }
2061
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2062
+
2063
+ retry_strategy = self.retry_strategy
2064
+ if kwargs.get('retry_strategy'):
2065
+ retry_strategy = kwargs.get('retry_strategy')
2066
+
2067
+ if retry_strategy:
2068
+ return retry_strategy.make_retrying_call(
2069
+ self.base_client.call_api,
2070
+ resource_path=resource_path,
2071
+ method=method,
2072
+ path_params=path_params,
2073
+ query_params=query_params,
2074
+ header_params=header_params,
2075
+ response_type="ArtifactList")
2076
+ else:
2077
+ return self.base_client.call_api(
2078
+ resource_path=resource_path,
2079
+ method=method,
2080
+ path_params=path_params,
2081
+ query_params=query_params,
2082
+ header_params=header_params,
2083
+ response_type="ArtifactList")
2084
+
2085
+ def list_experiment_runs(self, ai_data_platform_id, workspace_key, list_experiment_runs_details, **kwargs):
2086
+ """
2087
+ (Preview) Returns a list of experiment runs in a workspace.
2088
+
2089
+
2090
+ :param str ai_data_platform_id: (required)
2091
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
2092
+
2093
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2094
+
2095
+ :param str workspace_key: (required)
2096
+ The key of the Workspace
2097
+
2098
+ :param oci.aidataplatform_dp.models.ListExperimentRunsDetails list_experiment_runs_details: (required)
2099
+ Details of experiment runs to fetch.
2100
+
2101
+ :param str opc_request_id: (optional)
2102
+ Unique Oracle-assigned identifier for the request. If you need to contact
2103
+ Oracle about a particular request, please provide the request ID.
2104
+ The only valid characters for request IDs are letters, numbers,
2105
+ underscore, and dash.
2106
+
2107
+ :param str dh_user_principal: (optional)
2108
+ The DH User Principal Header .
2109
+
2110
+ :param obj retry_strategy: (optional)
2111
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2112
+
2113
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
2114
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
2115
+
2116
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2117
+
2118
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ExperimentRunCollection`
2119
+ :rtype: :class:`~oci.response.Response`
2120
+ """
2121
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/runs/search"
2122
+ method = "POST"
2123
+
2124
+ # Don't accept unknown kwargs
2125
+ expected_kwargs = [
2126
+ "retry_strategy",
2127
+ "opc_request_id",
2128
+ "dh_user_principal"
2129
+ ]
2130
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2131
+ if extra_kwargs:
2132
+ raise ValueError(
2133
+ "list_experiment_runs got unknown kwargs: {!r}".format(extra_kwargs))
2134
+
2135
+ path_params = {
2136
+ "aiDataPlatformId": ai_data_platform_id,
2137
+ "workspaceKey": workspace_key
2138
+ }
2139
+
2140
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2141
+
2142
+ for (k, v) in six.iteritems(path_params):
2143
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2144
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
2145
+
2146
+ header_params = {
2147
+ "accept": "application/json",
2148
+ "content-type": "application/json",
2149
+ "opc-request-id": kwargs.get("opc_request_id", missing),
2150
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
2151
+ }
2152
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2153
+
2154
+ retry_strategy = self.retry_strategy
2155
+ if kwargs.get('retry_strategy'):
2156
+ retry_strategy = kwargs.get('retry_strategy')
2157
+
2158
+ if retry_strategy:
2159
+ return retry_strategy.make_retrying_call(
2160
+ self.base_client.call_api,
2161
+ resource_path=resource_path,
2162
+ method=method,
2163
+ path_params=path_params,
2164
+ header_params=header_params,
2165
+ body=list_experiment_runs_details,
2166
+ response_type="ExperimentRunCollection")
2167
+ else:
2168
+ return self.base_client.call_api(
2169
+ resource_path=resource_path,
2170
+ method=method,
2171
+ path_params=path_params,
2172
+ header_params=header_params,
2173
+ body=list_experiment_runs_details,
2174
+ response_type="ExperimentRunCollection")
2175
+
2176
+ def list_experiments(self, ai_data_platform_id, workspace_key, list_experiments_details, **kwargs):
2177
+ """
2178
+ (Preview) Returns a list of experiments with the given details.
2179
+
2180
+
2181
+ :param str ai_data_platform_id: (required)
2182
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
2183
+
2184
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2185
+
2186
+ :param str workspace_key: (required)
2187
+ The key of the Workspace
2188
+
2189
+ :param oci.aidataplatform_dp.models.ListExperimentsDetails list_experiments_details: (required)
2190
+ Details of experiments to fetch.
2191
+
2192
+ :param str opc_request_id: (optional)
2193
+ Unique Oracle-assigned identifier for the request. If you need to contact
2194
+ Oracle about a particular request, please provide the request ID.
2195
+ The only valid characters for request IDs are letters, numbers,
2196
+ underscore, and dash.
2197
+
2198
+ :param str dh_user_principal: (optional)
2199
+ The DH User Principal Header .
2200
+
2201
+ :param obj retry_strategy: (optional)
2202
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2203
+
2204
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
2205
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
2206
+
2207
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2208
+
2209
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ExperimentCollection`
2210
+ :rtype: :class:`~oci.response.Response`
2211
+ """
2212
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/experiments/search"
2213
+ method = "POST"
2214
+
2215
+ # Don't accept unknown kwargs
2216
+ expected_kwargs = [
2217
+ "retry_strategy",
2218
+ "opc_request_id",
2219
+ "dh_user_principal"
2220
+ ]
2221
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2222
+ if extra_kwargs:
2223
+ raise ValueError(
2224
+ "list_experiments got unknown kwargs: {!r}".format(extra_kwargs))
2225
+
2226
+ path_params = {
2227
+ "aiDataPlatformId": ai_data_platform_id,
2228
+ "workspaceKey": workspace_key
2229
+ }
2230
+
2231
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2232
+
2233
+ for (k, v) in six.iteritems(path_params):
2234
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2235
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
2236
+
2237
+ header_params = {
2238
+ "accept": "application/json",
2239
+ "content-type": "application/json",
2240
+ "opc-request-id": kwargs.get("opc_request_id", missing),
2241
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
2242
+ }
2243
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2244
+
2245
+ retry_strategy = self.retry_strategy
2246
+ if kwargs.get('retry_strategy'):
2247
+ retry_strategy = kwargs.get('retry_strategy')
2248
+
2249
+ if retry_strategy:
2250
+ return retry_strategy.make_retrying_call(
2251
+ self.base_client.call_api,
2252
+ resource_path=resource_path,
2253
+ method=method,
2254
+ path_params=path_params,
2255
+ header_params=header_params,
2256
+ body=list_experiments_details,
2257
+ response_type="ExperimentCollection")
2258
+ else:
2259
+ return self.base_client.call_api(
2260
+ resource_path=resource_path,
2261
+ method=method,
2262
+ path_params=path_params,
2263
+ header_params=header_params,
2264
+ body=list_experiments_details,
2265
+ response_type="ExperimentCollection")
2266
+
2267
+ def list_logged_models(self, ai_data_platform_id, workspace_key, list_logged_models_details, **kwargs):
2268
+ """
2269
+ (Preview) Returns a list of logged models.
2270
+
2271
+
2272
+ :param str ai_data_platform_id: (required)
2273
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
2274
+
2275
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2276
+
2277
+ :param str workspace_key: (required)
2278
+ The key of the Workspace
2279
+
2280
+ :param oci.aidataplatform_dp.models.ListLoggedModelsDetails list_logged_models_details: (required)
2281
+ Details of logged models to fetch.
2282
+
2283
+ :param str opc_request_id: (optional)
2284
+ Unique Oracle-assigned identifier for the request. If you need to contact
2285
+ Oracle about a particular request, please provide the request ID.
2286
+ The only valid characters for request IDs are letters, numbers,
2287
+ underscore, and dash.
2288
+
2289
+ :param str dh_user_principal: (optional)
2290
+ The DH User Principal Header .
2291
+
2292
+ :param obj retry_strategy: (optional)
2293
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2294
+
2295
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
2296
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
2297
+
2298
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2299
+
2300
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.LoggedModelCollection`
2301
+ :rtype: :class:`~oci.response.Response`
2302
+ """
2303
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/logged-models/search"
2304
+ method = "POST"
2305
+
2306
+ # Don't accept unknown kwargs
2307
+ expected_kwargs = [
2308
+ "retry_strategy",
2309
+ "opc_request_id",
2310
+ "dh_user_principal"
2311
+ ]
2312
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2313
+ if extra_kwargs:
2314
+ raise ValueError(
2315
+ "list_logged_models got unknown kwargs: {!r}".format(extra_kwargs))
2316
+
2317
+ path_params = {
2318
+ "aiDataPlatformId": ai_data_platform_id,
2319
+ "workspaceKey": workspace_key
2320
+ }
2321
+
2322
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2323
+
2324
+ for (k, v) in six.iteritems(path_params):
2325
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2326
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
2327
+
2328
+ header_params = {
2329
+ "accept": "application/json",
2330
+ "content-type": "application/json",
2331
+ "opc-request-id": kwargs.get("opc_request_id", missing),
2332
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
2333
+ }
2334
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2335
+
2336
+ retry_strategy = self.retry_strategy
2337
+ if kwargs.get('retry_strategy'):
2338
+ retry_strategy = kwargs.get('retry_strategy')
2339
+
2340
+ if retry_strategy:
2341
+ return retry_strategy.make_retrying_call(
2342
+ self.base_client.call_api,
2343
+ resource_path=resource_path,
2344
+ method=method,
2345
+ path_params=path_params,
2346
+ header_params=header_params,
2347
+ body=list_logged_models_details,
2348
+ response_type="LoggedModelCollection")
2349
+ else:
2350
+ return self.base_client.call_api(
2351
+ resource_path=resource_path,
2352
+ method=method,
2353
+ path_params=path_params,
2354
+ header_params=header_params,
2355
+ body=list_logged_models_details,
2356
+ response_type="LoggedModelCollection")
2357
+
2358
+ def list_model_versions(self, ai_data_platform_id, **kwargs):
2359
+ """
2360
+ (Preview) Returns a list of model versions.
2361
+
2362
+
2363
+ :param str ai_data_platform_id: (required)
2364
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
2365
+
2366
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2367
+
2368
+ :param str filter: (optional)
2369
+ String filter condition, like \"name LIKE 'my-model-name'\". Single boolean condition, with string
2370
+ values wrapped in single quotes.
2371
+
2372
+ :param int max_results: (optional)
2373
+ Maximum number of model versions to retrieve.
2374
+
2375
+ :param str page_token: (optional)
2376
+ Pagination token to go to the next page based on a previous search query.
2377
+
2378
+ :param str order_by: (optional)
2379
+ List of columns to be ordered by including model name, version, stage with an optional \"DESC\" or \"ASC\"
2380
+ annotation, where \"ASC\" is the default. Tiebreaks are done by latest stage transition timestamp,
2381
+ followed by name ASC, followed by version DESC.
2382
+
2383
+ :param str opc_request_id: (optional)
2384
+ Unique Oracle-assigned identifier for the request. If you need to contact
2385
+ Oracle about a particular request, please provide the request ID.
2386
+ The only valid characters for request IDs are letters, numbers,
2387
+ underscore, and dash.
2388
+
2389
+ :param str dh_user_principal: (optional)
2390
+ The DH User Principal Header .
2391
+
2392
+ :param obj retry_strategy: (optional)
2393
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2394
+
2395
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
2396
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
2397
+
2398
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2399
+
2400
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ModelVersionCollection`
2401
+ :rtype: :class:`~oci.response.Response`
2402
+ """
2403
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/model-versions/search"
2404
+ method = "GET"
2405
+
2406
+ # Don't accept unknown kwargs
2407
+ expected_kwargs = [
2408
+ "retry_strategy",
2409
+ "filter",
2410
+ "max_results",
2411
+ "page_token",
2412
+ "order_by",
2413
+ "opc_request_id",
2414
+ "dh_user_principal"
2415
+ ]
2416
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2417
+ if extra_kwargs:
2418
+ raise ValueError(
2419
+ "list_model_versions got unknown kwargs: {!r}".format(extra_kwargs))
2420
+
2421
+ path_params = {
2422
+ "aiDataPlatformId": ai_data_platform_id
2423
+ }
2424
+
2425
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2426
+
2427
+ for (k, v) in six.iteritems(path_params):
2428
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2429
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
2430
+
2431
+ query_params = {
2432
+ "filter": kwargs.get("filter", missing),
2433
+ "max_results": kwargs.get("max_results", missing),
2434
+ "page_token": kwargs.get("page_token", missing),
2435
+ "order_by": kwargs.get("order_by", missing)
2436
+ }
2437
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
2438
+
2439
+ header_params = {
2440
+ "accept": "application/json",
2441
+ "content-type": "application/json",
2442
+ "opc-request-id": kwargs.get("opc_request_id", missing),
2443
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
2444
+ }
2445
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2446
+
2447
+ retry_strategy = self.retry_strategy
2448
+ if kwargs.get('retry_strategy'):
2449
+ retry_strategy = kwargs.get('retry_strategy')
2450
+
2451
+ if retry_strategy:
2452
+ return retry_strategy.make_retrying_call(
2453
+ self.base_client.call_api,
2454
+ resource_path=resource_path,
2455
+ method=method,
2456
+ path_params=path_params,
2457
+ query_params=query_params,
2458
+ header_params=header_params,
2459
+ response_type="ModelVersionCollection")
2460
+ else:
2461
+ return self.base_client.call_api(
2462
+ resource_path=resource_path,
2463
+ method=method,
2464
+ path_params=path_params,
2465
+ query_params=query_params,
2466
+ header_params=header_params,
2467
+ response_type="ModelVersionCollection")
2468
+
2469
+ def list_registered_models(self, ai_data_platform_id, **kwargs):
2470
+ """
2471
+ (Preview) Returns a list of registered models in a workspace.
2472
+
2473
+
2474
+ :param str ai_data_platform_id: (required)
2475
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
2476
+
2477
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2478
+
2479
+ :param str filter: (optional)
2480
+ String filter condition, like \"name LIKE 'my-model-name'\". Interpreted in the backend
2481
+ automatically as \"name LIKE '%my-model-name%'\". Single boolean condition, with string
2482
+ values wrapped in single quotes.
2483
+
2484
+ :param int max_results: (optional)
2485
+ Maximum number of models desired. Default is 100. Max threshold is 1000.
2486
+
2487
+ :param str page_token: (optional)
2488
+ Pagination token to go to the next page based on a previous search query.
2489
+
2490
+ :param str order_by: (optional)
2491
+ List of columns for ordering search results, which can include model name and last updated
2492
+ timestamp with an optional \"DESC\" or \"ASC\" annotation, where \"ASC\" is the default.
2493
+ Tiebreaks are done by model name ASC.
2494
+
2495
+ :param str opc_request_id: (optional)
2496
+ Unique Oracle-assigned identifier for the request. If you need to contact
2497
+ Oracle about a particular request, please provide the request ID.
2498
+ The only valid characters for request IDs are letters, numbers,
2499
+ underscore, and dash.
2500
+
2501
+ :param str dh_user_principal: (optional)
2502
+ The DH User Principal Header .
2503
+
2504
+ :param obj retry_strategy: (optional)
2505
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2506
+
2507
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
2508
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
2509
+
2510
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2511
+
2512
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.RegisteredModelCollection`
2513
+ :rtype: :class:`~oci.response.Response`
2514
+ """
2515
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/registered-models/search"
2516
+ method = "GET"
2517
+
2518
+ # Don't accept unknown kwargs
2519
+ expected_kwargs = [
2520
+ "retry_strategy",
2521
+ "filter",
2522
+ "max_results",
2523
+ "page_token",
2524
+ "order_by",
2525
+ "opc_request_id",
2526
+ "dh_user_principal"
2527
+ ]
2528
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2529
+ if extra_kwargs:
2530
+ raise ValueError(
2531
+ "list_registered_models got unknown kwargs: {!r}".format(extra_kwargs))
2532
+
2533
+ path_params = {
2534
+ "aiDataPlatformId": ai_data_platform_id
2535
+ }
2536
+
2537
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2538
+
2539
+ for (k, v) in six.iteritems(path_params):
2540
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2541
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
2542
+
2543
+ query_params = {
2544
+ "filter": kwargs.get("filter", missing),
2545
+ "max_results": kwargs.get("max_results", missing),
2546
+ "page_token": kwargs.get("page_token", missing),
2547
+ "order_by": kwargs.get("order_by", missing)
2548
+ }
2549
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
2550
+
2551
+ header_params = {
2552
+ "accept": "application/json",
2553
+ "content-type": "application/json",
2554
+ "opc-request-id": kwargs.get("opc_request_id", missing),
2555
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
2556
+ }
2557
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2558
+
2559
+ retry_strategy = self.retry_strategy
2560
+ if kwargs.get('retry_strategy'):
2561
+ retry_strategy = kwargs.get('retry_strategy')
2562
+
2563
+ if retry_strategy:
2564
+ return retry_strategy.make_retrying_call(
2565
+ self.base_client.call_api,
2566
+ resource_path=resource_path,
2567
+ method=method,
2568
+ path_params=path_params,
2569
+ query_params=query_params,
2570
+ header_params=header_params,
2571
+ response_type="RegisteredModelCollection")
2572
+ else:
2573
+ return self.base_client.call_api(
2574
+ resource_path=resource_path,
2575
+ method=method,
2576
+ path_params=path_params,
2577
+ query_params=query_params,
2578
+ header_params=header_params,
2579
+ response_type="RegisteredModelCollection")
2580
+
2581
+ def log_experiment_run_batch(self, ai_data_platform_id, workspace_key, log_experiment_run_batch_details, **kwargs):
2582
+ """
2583
+ (Preview) Logs an experiment run batch.
2584
+
2585
+
2586
+ :param str ai_data_platform_id: (required)
2587
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
2588
+
2589
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2590
+
2591
+ :param str workspace_key: (required)
2592
+ The key of the Workspace
2593
+
2594
+ :param oci.aidataplatform_dp.models.LogExperimentRunBatchDetails log_experiment_run_batch_details: (required)
2595
+ Details of an experiment run batch.
2596
+
2597
+ :param str opc_retry_token: (optional)
2598
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
2599
+ server error without risk of running that same action again. Retry tokens expire after 24
2600
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
2601
+ has been deleted and removed from the system, then a retry of the original creation request
2602
+ might be rejected.
2603
+
2604
+ :param str opc_request_id: (optional)
2605
+ Unique Oracle-assigned identifier for the request. If you need to contact
2606
+ Oracle about a particular request, please provide the request ID.
2607
+ The only valid characters for request IDs are letters, numbers,
2608
+ underscore, and dash.
2609
+
2610
+ :param str dh_user_principal: (optional)
2611
+ The DH User Principal Header .
2612
+
2613
+ :param obj retry_strategy: (optional)
2614
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2615
+
2616
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
2617
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
2618
+
2619
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2620
+
2621
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.LogExperimentRunBatchResponseDetails`
2622
+ :rtype: :class:`~oci.response.Response`
2623
+ """
2624
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/runs/log-batch"
2625
+ method = "POST"
2626
+
2627
+ # Don't accept unknown kwargs
2628
+ expected_kwargs = [
2629
+ "retry_strategy",
2630
+ "opc_retry_token",
2631
+ "opc_request_id",
2632
+ "dh_user_principal"
2633
+ ]
2634
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2635
+ if extra_kwargs:
2636
+ raise ValueError(
2637
+ "log_experiment_run_batch got unknown kwargs: {!r}".format(extra_kwargs))
2638
+
2639
+ path_params = {
2640
+ "aiDataPlatformId": ai_data_platform_id,
2641
+ "workspaceKey": workspace_key
2642
+ }
2643
+
2644
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2645
+
2646
+ for (k, v) in six.iteritems(path_params):
2647
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2648
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
2649
+
2650
+ header_params = {
2651
+ "accept": "application/json",
2652
+ "content-type": "application/json",
2653
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
2654
+ "opc-request-id": kwargs.get("opc_request_id", missing),
2655
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
2656
+ }
2657
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2658
+
2659
+ retry_strategy = self.retry_strategy
2660
+ if kwargs.get('retry_strategy'):
2661
+ retry_strategy = kwargs.get('retry_strategy')
2662
+
2663
+ if retry_strategy:
2664
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
2665
+ self.base_client.add_opc_retry_token_if_needed(header_params)
2666
+ return retry_strategy.make_retrying_call(
2667
+ self.base_client.call_api,
2668
+ resource_path=resource_path,
2669
+ method=method,
2670
+ path_params=path_params,
2671
+ header_params=header_params,
2672
+ body=log_experiment_run_batch_details,
2673
+ response_type="LogExperimentRunBatchResponseDetails")
2674
+ else:
2675
+ return self.base_client.call_api(
2676
+ resource_path=resource_path,
2677
+ method=method,
2678
+ path_params=path_params,
2679
+ header_params=header_params,
2680
+ body=log_experiment_run_batch_details,
2681
+ response_type="LogExperimentRunBatchResponseDetails")
2682
+
2683
+ def log_experiment_run_inputs(self, ai_data_platform_id, workspace_key, log_experiment_run_inputs_details, **kwargs):
2684
+ """
2685
+ (Preview) Logs experiment run inputs.
2686
+
2687
+
2688
+ :param str ai_data_platform_id: (required)
2689
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
2690
+
2691
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2692
+
2693
+ :param str workspace_key: (required)
2694
+ The key of the Workspace
2695
+
2696
+ :param oci.aidataplatform_dp.models.LogExperimentRunInputsDetails log_experiment_run_inputs_details: (required)
2697
+ Details of experiment run inputs.
2698
+
2699
+ :param str opc_retry_token: (optional)
2700
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
2701
+ server error without risk of running that same action again. Retry tokens expire after 24
2702
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
2703
+ has been deleted and removed from the system, then a retry of the original creation request
2704
+ might be rejected.
2705
+
2706
+ :param str opc_request_id: (optional)
2707
+ Unique Oracle-assigned identifier for the request. If you need to contact
2708
+ Oracle about a particular request, please provide the request ID.
2709
+ The only valid characters for request IDs are letters, numbers,
2710
+ underscore, and dash.
2711
+
2712
+ :param str dh_user_principal: (optional)
2713
+ The DH User Principal Header .
2714
+
2715
+ :param obj retry_strategy: (optional)
2716
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2717
+
2718
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
2719
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
2720
+
2721
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2722
+
2723
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.LogExperimentRunInputsResponseDetails`
2724
+ :rtype: :class:`~oci.response.Response`
2725
+ """
2726
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/runs/log-inputs"
2727
+ method = "POST"
2728
+
2729
+ # Don't accept unknown kwargs
2730
+ expected_kwargs = [
2731
+ "retry_strategy",
2732
+ "opc_retry_token",
2733
+ "opc_request_id",
2734
+ "dh_user_principal"
2735
+ ]
2736
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2737
+ if extra_kwargs:
2738
+ raise ValueError(
2739
+ "log_experiment_run_inputs got unknown kwargs: {!r}".format(extra_kwargs))
2740
+
2741
+ path_params = {
2742
+ "aiDataPlatformId": ai_data_platform_id,
2743
+ "workspaceKey": workspace_key
2744
+ }
2745
+
2746
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2747
+
2748
+ for (k, v) in six.iteritems(path_params):
2749
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2750
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
2751
+
2752
+ header_params = {
2753
+ "accept": "application/json",
2754
+ "content-type": "application/json",
2755
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
2756
+ "opc-request-id": kwargs.get("opc_request_id", missing),
2757
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
2758
+ }
2759
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2760
+
2761
+ retry_strategy = self.retry_strategy
2762
+ if kwargs.get('retry_strategy'):
2763
+ retry_strategy = kwargs.get('retry_strategy')
2764
+
2765
+ if retry_strategy:
2766
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
2767
+ self.base_client.add_opc_retry_token_if_needed(header_params)
2768
+ return retry_strategy.make_retrying_call(
2769
+ self.base_client.call_api,
2770
+ resource_path=resource_path,
2771
+ method=method,
2772
+ path_params=path_params,
2773
+ header_params=header_params,
2774
+ body=log_experiment_run_inputs_details,
2775
+ response_type="LogExperimentRunInputsResponseDetails")
2776
+ else:
2777
+ return self.base_client.call_api(
2778
+ resource_path=resource_path,
2779
+ method=method,
2780
+ path_params=path_params,
2781
+ header_params=header_params,
2782
+ body=log_experiment_run_inputs_details,
2783
+ response_type="LogExperimentRunInputsResponseDetails")
2784
+
2785
+ def log_experiment_run_metric(self, ai_data_platform_id, workspace_key, log_experiment_run_metric_details, **kwargs):
2786
+ """
2787
+ (Preview) Logs an experiment run metric.
2788
+
2789
+
2790
+ :param str ai_data_platform_id: (required)
2791
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
2792
+
2793
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2794
+
2795
+ :param str workspace_key: (required)
2796
+ The key of the Workspace
2797
+
2798
+ :param oci.aidataplatform_dp.models.LogExperimentRunMetricDetails log_experiment_run_metric_details: (required)
2799
+ Details of an experiment run metric.
2800
+
2801
+ :param str opc_retry_token: (optional)
2802
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
2803
+ server error without risk of running that same action again. Retry tokens expire after 24
2804
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
2805
+ has been deleted and removed from the system, then a retry of the original creation request
2806
+ might be rejected.
2807
+
2808
+ :param str opc_request_id: (optional)
2809
+ Unique Oracle-assigned identifier for the request. If you need to contact
2810
+ Oracle about a particular request, please provide the request ID.
2811
+ The only valid characters for request IDs are letters, numbers,
2812
+ underscore, and dash.
2813
+
2814
+ :param str dh_user_principal: (optional)
2815
+ The DH User Principal Header .
2816
+
2817
+ :param obj retry_strategy: (optional)
2818
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2819
+
2820
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
2821
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
2822
+
2823
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2824
+
2825
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.LogExperimentRunMetricResponseDetails`
2826
+ :rtype: :class:`~oci.response.Response`
2827
+ """
2828
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/runs/log-metric"
2829
+ method = "POST"
2830
+
2831
+ # Don't accept unknown kwargs
2832
+ expected_kwargs = [
2833
+ "retry_strategy",
2834
+ "opc_retry_token",
2835
+ "opc_request_id",
2836
+ "dh_user_principal"
2837
+ ]
2838
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2839
+ if extra_kwargs:
2840
+ raise ValueError(
2841
+ "log_experiment_run_metric got unknown kwargs: {!r}".format(extra_kwargs))
2842
+
2843
+ path_params = {
2844
+ "aiDataPlatformId": ai_data_platform_id,
2845
+ "workspaceKey": workspace_key
2846
+ }
2847
+
2848
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2849
+
2850
+ for (k, v) in six.iteritems(path_params):
2851
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2852
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
2853
+
2854
+ header_params = {
2855
+ "accept": "application/json",
2856
+ "content-type": "application/json",
2857
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
2858
+ "opc-request-id": kwargs.get("opc_request_id", missing),
2859
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
2860
+ }
2861
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2862
+
2863
+ retry_strategy = self.retry_strategy
2864
+ if kwargs.get('retry_strategy'):
2865
+ retry_strategy = kwargs.get('retry_strategy')
2866
+
2867
+ if retry_strategy:
2868
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
2869
+ self.base_client.add_opc_retry_token_if_needed(header_params)
2870
+ return retry_strategy.make_retrying_call(
2871
+ self.base_client.call_api,
2872
+ resource_path=resource_path,
2873
+ method=method,
2874
+ path_params=path_params,
2875
+ header_params=header_params,
2876
+ body=log_experiment_run_metric_details,
2877
+ response_type="LogExperimentRunMetricResponseDetails")
2878
+ else:
2879
+ return self.base_client.call_api(
2880
+ resource_path=resource_path,
2881
+ method=method,
2882
+ path_params=path_params,
2883
+ header_params=header_params,
2884
+ body=log_experiment_run_metric_details,
2885
+ response_type="LogExperimentRunMetricResponseDetails")
2886
+
2887
+ def log_experiment_run_model(self, ai_data_platform_id, workspace_key, log_experiment_run_model_details, **kwargs):
2888
+ """
2889
+ (Preview) Logs an experiment run model.
2890
+
2891
+
2892
+ :param str ai_data_platform_id: (required)
2893
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
2894
+
2895
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2896
+
2897
+ :param str workspace_key: (required)
2898
+ The key of the Workspace
2899
+
2900
+ :param oci.aidataplatform_dp.models.LogExperimentRunModelDetails log_experiment_run_model_details: (required)
2901
+ Details of an experiment run model.
2902
+
2903
+ :param str opc_retry_token: (optional)
2904
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
2905
+ server error without risk of running that same action again. Retry tokens expire after 24
2906
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
2907
+ has been deleted and removed from the system, then a retry of the original creation request
2908
+ might be rejected.
2909
+
2910
+ :param str opc_request_id: (optional)
2911
+ Unique Oracle-assigned identifier for the request. If you need to contact
2912
+ Oracle about a particular request, please provide the request ID.
2913
+ The only valid characters for request IDs are letters, numbers,
2914
+ underscore, and dash.
2915
+
2916
+ :param str dh_user_principal: (optional)
2917
+ The DH User Principal Header .
2918
+
2919
+ :param obj retry_strategy: (optional)
2920
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2921
+
2922
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
2923
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
2924
+
2925
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2926
+
2927
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.LogExperimentRunModelResponseDetails`
2928
+ :rtype: :class:`~oci.response.Response`
2929
+ """
2930
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/runs/log-model"
2931
+ method = "POST"
2932
+
2933
+ # Don't accept unknown kwargs
2934
+ expected_kwargs = [
2935
+ "retry_strategy",
2936
+ "opc_retry_token",
2937
+ "opc_request_id",
2938
+ "dh_user_principal"
2939
+ ]
2940
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2941
+ if extra_kwargs:
2942
+ raise ValueError(
2943
+ "log_experiment_run_model got unknown kwargs: {!r}".format(extra_kwargs))
2944
+
2945
+ path_params = {
2946
+ "aiDataPlatformId": ai_data_platform_id,
2947
+ "workspaceKey": workspace_key
2948
+ }
2949
+
2950
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2951
+
2952
+ for (k, v) in six.iteritems(path_params):
2953
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2954
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
2955
+
2956
+ header_params = {
2957
+ "accept": "application/json",
2958
+ "content-type": "application/json",
2959
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
2960
+ "opc-request-id": kwargs.get("opc_request_id", missing),
2961
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
2962
+ }
2963
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2964
+
2965
+ retry_strategy = self.retry_strategy
2966
+ if kwargs.get('retry_strategy'):
2967
+ retry_strategy = kwargs.get('retry_strategy')
2968
+
2969
+ if retry_strategy:
2970
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
2971
+ self.base_client.add_opc_retry_token_if_needed(header_params)
2972
+ return retry_strategy.make_retrying_call(
2973
+ self.base_client.call_api,
2974
+ resource_path=resource_path,
2975
+ method=method,
2976
+ path_params=path_params,
2977
+ header_params=header_params,
2978
+ body=log_experiment_run_model_details,
2979
+ response_type="LogExperimentRunModelResponseDetails")
2980
+ else:
2981
+ return self.base_client.call_api(
2982
+ resource_path=resource_path,
2983
+ method=method,
2984
+ path_params=path_params,
2985
+ header_params=header_params,
2986
+ body=log_experiment_run_model_details,
2987
+ response_type="LogExperimentRunModelResponseDetails")
2988
+
2989
+ def log_experiment_run_param(self, ai_data_platform_id, workspace_key, log_experiment_run_param_details, **kwargs):
2990
+ """
2991
+ (Preview) Logs an experiment run parameter.
2992
+
2993
+
2994
+ :param str ai_data_platform_id: (required)
2995
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
2996
+
2997
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2998
+
2999
+ :param str workspace_key: (required)
3000
+ The key of the Workspace
3001
+
3002
+ :param oci.aidataplatform_dp.models.LogExperimentRunParamDetails log_experiment_run_param_details: (required)
3003
+ Details of an experiment run parameter.
3004
+
3005
+ :param str opc_retry_token: (optional)
3006
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
3007
+ server error without risk of running that same action again. Retry tokens expire after 24
3008
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
3009
+ has been deleted and removed from the system, then a retry of the original creation request
3010
+ might be rejected.
3011
+
3012
+ :param str opc_request_id: (optional)
3013
+ Unique Oracle-assigned identifier for the request. If you need to contact
3014
+ Oracle about a particular request, please provide the request ID.
3015
+ The only valid characters for request IDs are letters, numbers,
3016
+ underscore, and dash.
3017
+
3018
+ :param str dh_user_principal: (optional)
3019
+ The DH User Principal Header .
3020
+
3021
+ :param obj retry_strategy: (optional)
3022
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
3023
+
3024
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
3025
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
3026
+
3027
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
3028
+
3029
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.LogExperimentRunParamResponseDetails`
3030
+ :rtype: :class:`~oci.response.Response`
3031
+ """
3032
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/runs/log-parameter"
3033
+ method = "POST"
3034
+
3035
+ # Don't accept unknown kwargs
3036
+ expected_kwargs = [
3037
+ "retry_strategy",
3038
+ "opc_retry_token",
3039
+ "opc_request_id",
3040
+ "dh_user_principal"
3041
+ ]
3042
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3043
+ if extra_kwargs:
3044
+ raise ValueError(
3045
+ "log_experiment_run_param got unknown kwargs: {!r}".format(extra_kwargs))
3046
+
3047
+ path_params = {
3048
+ "aiDataPlatformId": ai_data_platform_id,
3049
+ "workspaceKey": workspace_key
3050
+ }
3051
+
3052
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
3053
+
3054
+ for (k, v) in six.iteritems(path_params):
3055
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
3056
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
3057
+
3058
+ header_params = {
3059
+ "accept": "application/json",
3060
+ "content-type": "application/json",
3061
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
3062
+ "opc-request-id": kwargs.get("opc_request_id", missing),
3063
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
3064
+ }
3065
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
3066
+
3067
+ retry_strategy = self.retry_strategy
3068
+ if kwargs.get('retry_strategy'):
3069
+ retry_strategy = kwargs.get('retry_strategy')
3070
+
3071
+ if retry_strategy:
3072
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
3073
+ self.base_client.add_opc_retry_token_if_needed(header_params)
3074
+ return retry_strategy.make_retrying_call(
3075
+ self.base_client.call_api,
3076
+ resource_path=resource_path,
3077
+ method=method,
3078
+ path_params=path_params,
3079
+ header_params=header_params,
3080
+ body=log_experiment_run_param_details,
3081
+ response_type="LogExperimentRunParamResponseDetails")
3082
+ else:
3083
+ return self.base_client.call_api(
3084
+ resource_path=resource_path,
3085
+ method=method,
3086
+ path_params=path_params,
3087
+ header_params=header_params,
3088
+ body=log_experiment_run_param_details,
3089
+ response_type="LogExperimentRunParamResponseDetails")
3090
+
3091
+ def rename_registered_model(self, ai_data_platform_id, rename_registered_model_details, **kwargs):
3092
+ """
3093
+ (Preview) Renames a registered model.
3094
+
3095
+
3096
+ :param str ai_data_platform_id: (required)
3097
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
3098
+
3099
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
3100
+
3101
+ :param oci.aidataplatform_dp.models.RenameRegisteredModelDetails rename_registered_model_details: (required)
3102
+ Details of a registered model rename.
3103
+
3104
+ :param str opc_retry_token: (optional)
3105
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
3106
+ server error without risk of running that same action again. Retry tokens expire after 24
3107
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
3108
+ has been deleted and removed from the system, then a retry of the original creation request
3109
+ might be rejected.
3110
+
3111
+ :param str opc_request_id: (optional)
3112
+ Unique Oracle-assigned identifier for the request. If you need to contact
3113
+ Oracle about a particular request, please provide the request ID.
3114
+ The only valid characters for request IDs are letters, numbers,
3115
+ underscore, and dash.
3116
+
3117
+ :param str dh_user_principal: (optional)
3118
+ The DH User Principal Header .
3119
+
3120
+ :param obj retry_strategy: (optional)
3121
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
3122
+
3123
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
3124
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
3125
+
3126
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
3127
+
3128
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.RenameRegisteredModelResponseDetails`
3129
+ :rtype: :class:`~oci.response.Response`
3130
+ """
3131
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/registered-models/rename"
3132
+ method = "POST"
3133
+
3134
+ # Don't accept unknown kwargs
3135
+ expected_kwargs = [
3136
+ "retry_strategy",
3137
+ "opc_retry_token",
3138
+ "opc_request_id",
3139
+ "dh_user_principal"
3140
+ ]
3141
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3142
+ if extra_kwargs:
3143
+ raise ValueError(
3144
+ "rename_registered_model got unknown kwargs: {!r}".format(extra_kwargs))
3145
+
3146
+ path_params = {
3147
+ "aiDataPlatformId": ai_data_platform_id
3148
+ }
3149
+
3150
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
3151
+
3152
+ for (k, v) in six.iteritems(path_params):
3153
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
3154
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
3155
+
3156
+ header_params = {
3157
+ "accept": "application/json",
3158
+ "content-type": "application/json",
3159
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
3160
+ "opc-request-id": kwargs.get("opc_request_id", missing),
3161
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
3162
+ }
3163
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
3164
+
3165
+ retry_strategy = self.retry_strategy
3166
+ if kwargs.get('retry_strategy'):
3167
+ retry_strategy = kwargs.get('retry_strategy')
3168
+
3169
+ if retry_strategy:
3170
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
3171
+ self.base_client.add_opc_retry_token_if_needed(header_params)
3172
+ return retry_strategy.make_retrying_call(
3173
+ self.base_client.call_api,
3174
+ resource_path=resource_path,
3175
+ method=method,
3176
+ path_params=path_params,
3177
+ header_params=header_params,
3178
+ body=rename_registered_model_details,
3179
+ response_type="RenameRegisteredModelResponseDetails")
3180
+ else:
3181
+ return self.base_client.call_api(
3182
+ resource_path=resource_path,
3183
+ method=method,
3184
+ path_params=path_params,
3185
+ header_params=header_params,
3186
+ body=rename_registered_model_details,
3187
+ response_type="RenameRegisteredModelResponseDetails")
3188
+
3189
+ def restore_experiment(self, ai_data_platform_id, workspace_key, restore_experiment_details, **kwargs):
3190
+ """
3191
+ (Preview) Restores an experiment.
3192
+
3193
+
3194
+ :param str ai_data_platform_id: (required)
3195
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
3196
+
3197
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
3198
+
3199
+ :param str workspace_key: (required)
3200
+ The key of the Workspace
3201
+
3202
+ :param oci.aidataplatform_dp.models.RestoreExperimentDetails restore_experiment_details: (required)
3203
+ Restore experiment details.
3204
+
3205
+ :param str opc_retry_token: (optional)
3206
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
3207
+ server error without risk of running that same action again. Retry tokens expire after 24
3208
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
3209
+ has been deleted and removed from the system, then a retry of the original creation request
3210
+ might be rejected.
3211
+
3212
+ :param str opc_request_id: (optional)
3213
+ Unique Oracle-assigned identifier for the request. If you need to contact
3214
+ Oracle about a particular request, please provide the request ID.
3215
+ The only valid characters for request IDs are letters, numbers,
3216
+ underscore, and dash.
3217
+
3218
+ :param str dh_user_principal: (optional)
3219
+ The DH User Principal Header .
3220
+
3221
+ :param obj retry_strategy: (optional)
3222
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
3223
+
3224
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
3225
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
3226
+
3227
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
3228
+
3229
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.RestoreExperimentResponseDetails`
3230
+ :rtype: :class:`~oci.response.Response`
3231
+ """
3232
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/experiments/restore"
3233
+ method = "POST"
3234
+
3235
+ # Don't accept unknown kwargs
3236
+ expected_kwargs = [
3237
+ "retry_strategy",
3238
+ "opc_retry_token",
3239
+ "opc_request_id",
3240
+ "dh_user_principal"
3241
+ ]
3242
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3243
+ if extra_kwargs:
3244
+ raise ValueError(
3245
+ "restore_experiment got unknown kwargs: {!r}".format(extra_kwargs))
3246
+
3247
+ path_params = {
3248
+ "aiDataPlatformId": ai_data_platform_id,
3249
+ "workspaceKey": workspace_key
3250
+ }
3251
+
3252
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
3253
+
3254
+ for (k, v) in six.iteritems(path_params):
3255
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
3256
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
3257
+
3258
+ header_params = {
3259
+ "accept": "application/json",
3260
+ "content-type": "application/json",
3261
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
3262
+ "opc-request-id": kwargs.get("opc_request_id", missing),
3263
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
3264
+ }
3265
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
3266
+
3267
+ retry_strategy = self.retry_strategy
3268
+ if kwargs.get('retry_strategy'):
3269
+ retry_strategy = kwargs.get('retry_strategy')
3270
+
3271
+ if retry_strategy:
3272
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
3273
+ self.base_client.add_opc_retry_token_if_needed(header_params)
3274
+ return retry_strategy.make_retrying_call(
3275
+ self.base_client.call_api,
3276
+ resource_path=resource_path,
3277
+ method=method,
3278
+ path_params=path_params,
3279
+ header_params=header_params,
3280
+ body=restore_experiment_details,
3281
+ response_type="RestoreExperimentResponseDetails")
3282
+ else:
3283
+ return self.base_client.call_api(
3284
+ resource_path=resource_path,
3285
+ method=method,
3286
+ path_params=path_params,
3287
+ header_params=header_params,
3288
+ body=restore_experiment_details,
3289
+ response_type="RestoreExperimentResponseDetails")
3290
+
3291
+ def restore_experiment_run(self, ai_data_platform_id, workspace_key, restore_experiment_run_details, **kwargs):
3292
+ """
3293
+ (Preview) Restores an experiment run.
3294
+
3295
+
3296
+ :param str ai_data_platform_id: (required)
3297
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
3298
+
3299
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
3300
+
3301
+ :param str workspace_key: (required)
3302
+ The key of the Workspace
3303
+
3304
+ :param oci.aidataplatform_dp.models.RestoreExperimentRunDetails restore_experiment_run_details: (required)
3305
+ Restore experiment run details.
3306
+
3307
+ :param str opc_retry_token: (optional)
3308
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
3309
+ server error without risk of running that same action again. Retry tokens expire after 24
3310
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
3311
+ has been deleted and removed from the system, then a retry of the original creation request
3312
+ might be rejected.
3313
+
3314
+ :param str opc_request_id: (optional)
3315
+ Unique Oracle-assigned identifier for the request. If you need to contact
3316
+ Oracle about a particular request, please provide the request ID.
3317
+ The only valid characters for request IDs are letters, numbers,
3318
+ underscore, and dash.
3319
+
3320
+ :param str dh_user_principal: (optional)
3321
+ The DH User Principal Header .
3322
+
3323
+ :param obj retry_strategy: (optional)
3324
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
3325
+
3326
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
3327
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
3328
+
3329
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
3330
+
3331
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.RestoreExperimentRunResponseDetails`
3332
+ :rtype: :class:`~oci.response.Response`
3333
+ """
3334
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/runs/restore"
3335
+ method = "POST"
3336
+
3337
+ # Don't accept unknown kwargs
3338
+ expected_kwargs = [
3339
+ "retry_strategy",
3340
+ "opc_retry_token",
3341
+ "opc_request_id",
3342
+ "dh_user_principal"
3343
+ ]
3344
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3345
+ if extra_kwargs:
3346
+ raise ValueError(
3347
+ "restore_experiment_run got unknown kwargs: {!r}".format(extra_kwargs))
3348
+
3349
+ path_params = {
3350
+ "aiDataPlatformId": ai_data_platform_id,
3351
+ "workspaceKey": workspace_key
3352
+ }
3353
+
3354
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
3355
+
3356
+ for (k, v) in six.iteritems(path_params):
3357
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
3358
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
3359
+
3360
+ header_params = {
3361
+ "accept": "application/json",
3362
+ "content-type": "application/json",
3363
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
3364
+ "opc-request-id": kwargs.get("opc_request_id", missing),
3365
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
3366
+ }
3367
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
3368
+
3369
+ retry_strategy = self.retry_strategy
3370
+ if kwargs.get('retry_strategy'):
3371
+ retry_strategy = kwargs.get('retry_strategy')
3372
+
3373
+ if retry_strategy:
3374
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
3375
+ self.base_client.add_opc_retry_token_if_needed(header_params)
3376
+ return retry_strategy.make_retrying_call(
3377
+ self.base_client.call_api,
3378
+ resource_path=resource_path,
3379
+ method=method,
3380
+ path_params=path_params,
3381
+ header_params=header_params,
3382
+ body=restore_experiment_run_details,
3383
+ response_type="RestoreExperimentRunResponseDetails")
3384
+ else:
3385
+ return self.base_client.call_api(
3386
+ resource_path=resource_path,
3387
+ method=method,
3388
+ path_params=path_params,
3389
+ header_params=header_params,
3390
+ body=restore_experiment_run_details,
3391
+ response_type="RestoreExperimentRunResponseDetails")
3392
+
3393
+ def set_experiment_run_tag(self, ai_data_platform_id, workspace_key, set_experiment_run_tag_details, **kwargs):
3394
+ """
3395
+ (Preview) Sets a tag on an experiment run.
3396
+
3397
+
3398
+ :param str ai_data_platform_id: (required)
3399
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
3400
+
3401
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
3402
+
3403
+ :param str workspace_key: (required)
3404
+ The key of the Workspace
3405
+
3406
+ :param oci.aidataplatform_dp.models.SetExperimentRunTagDetails set_experiment_run_tag_details: (required)
3407
+ Tag details to set on an experiment run.
3408
+
3409
+ :param str opc_retry_token: (optional)
3410
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
3411
+ server error without risk of running that same action again. Retry tokens expire after 24
3412
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
3413
+ has been deleted and removed from the system, then a retry of the original creation request
3414
+ might be rejected.
3415
+
3416
+ :param str opc_request_id: (optional)
3417
+ Unique Oracle-assigned identifier for the request. If you need to contact
3418
+ Oracle about a particular request, please provide the request ID.
3419
+ The only valid characters for request IDs are letters, numbers,
3420
+ underscore, and dash.
3421
+
3422
+ :param str dh_user_principal: (optional)
3423
+ The DH User Principal Header .
3424
+
3425
+ :param obj retry_strategy: (optional)
3426
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
3427
+
3428
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
3429
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
3430
+
3431
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
3432
+
3433
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.SetExperimentRunTagResponseDetails`
3434
+ :rtype: :class:`~oci.response.Response`
3435
+ """
3436
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/runs/set-tag"
3437
+ method = "POST"
3438
+
3439
+ # Don't accept unknown kwargs
3440
+ expected_kwargs = [
3441
+ "retry_strategy",
3442
+ "opc_retry_token",
3443
+ "opc_request_id",
3444
+ "dh_user_principal"
3445
+ ]
3446
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3447
+ if extra_kwargs:
3448
+ raise ValueError(
3449
+ "set_experiment_run_tag got unknown kwargs: {!r}".format(extra_kwargs))
3450
+
3451
+ path_params = {
3452
+ "aiDataPlatformId": ai_data_platform_id,
3453
+ "workspaceKey": workspace_key
3454
+ }
3455
+
3456
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
3457
+
3458
+ for (k, v) in six.iteritems(path_params):
3459
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
3460
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
3461
+
3462
+ header_params = {
3463
+ "accept": "application/json",
3464
+ "content-type": "application/json",
3465
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
3466
+ "opc-request-id": kwargs.get("opc_request_id", missing),
3467
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
3468
+ }
3469
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
3470
+
3471
+ retry_strategy = self.retry_strategy
3472
+ if kwargs.get('retry_strategy'):
3473
+ retry_strategy = kwargs.get('retry_strategy')
3474
+
3475
+ if retry_strategy:
3476
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
3477
+ self.base_client.add_opc_retry_token_if_needed(header_params)
3478
+ return retry_strategy.make_retrying_call(
3479
+ self.base_client.call_api,
3480
+ resource_path=resource_path,
3481
+ method=method,
3482
+ path_params=path_params,
3483
+ header_params=header_params,
3484
+ body=set_experiment_run_tag_details,
3485
+ response_type="SetExperimentRunTagResponseDetails")
3486
+ else:
3487
+ return self.base_client.call_api(
3488
+ resource_path=resource_path,
3489
+ method=method,
3490
+ path_params=path_params,
3491
+ header_params=header_params,
3492
+ body=set_experiment_run_tag_details,
3493
+ response_type="SetExperimentRunTagResponseDetails")
3494
+
3495
+ def set_experiment_tag(self, ai_data_platform_id, workspace_key, set_experiment_tag_details, **kwargs):
3496
+ """
3497
+ (Preview) Sets a tag on an experiment.
3498
+
3499
+
3500
+ :param str ai_data_platform_id: (required)
3501
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
3502
+
3503
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
3504
+
3505
+ :param str workspace_key: (required)
3506
+ The key of the Workspace
3507
+
3508
+ :param oci.aidataplatform_dp.models.SetExperimentTagDetails set_experiment_tag_details: (required)
3509
+ Tag details to set on an experiment.
3510
+
3511
+ :param str opc_retry_token: (optional)
3512
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
3513
+ server error without risk of running that same action again. Retry tokens expire after 24
3514
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
3515
+ has been deleted and removed from the system, then a retry of the original creation request
3516
+ might be rejected.
3517
+
3518
+ :param str opc_request_id: (optional)
3519
+ Unique Oracle-assigned identifier for the request. If you need to contact
3520
+ Oracle about a particular request, please provide the request ID.
3521
+ The only valid characters for request IDs are letters, numbers,
3522
+ underscore, and dash.
3523
+
3524
+ :param str dh_user_principal: (optional)
3525
+ The DH User Principal Header .
3526
+
3527
+ :param obj retry_strategy: (optional)
3528
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
3529
+
3530
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
3531
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
3532
+
3533
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
3534
+
3535
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.SetExperimentTagResponseDetails`
3536
+ :rtype: :class:`~oci.response.Response`
3537
+ """
3538
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/experiments/set-experiment-tag"
3539
+ method = "POST"
3540
+
3541
+ # Don't accept unknown kwargs
3542
+ expected_kwargs = [
3543
+ "retry_strategy",
3544
+ "opc_retry_token",
3545
+ "opc_request_id",
3546
+ "dh_user_principal"
3547
+ ]
3548
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3549
+ if extra_kwargs:
3550
+ raise ValueError(
3551
+ "set_experiment_tag got unknown kwargs: {!r}".format(extra_kwargs))
3552
+
3553
+ path_params = {
3554
+ "aiDataPlatformId": ai_data_platform_id,
3555
+ "workspaceKey": workspace_key
3556
+ }
3557
+
3558
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
3559
+
3560
+ for (k, v) in six.iteritems(path_params):
3561
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
3562
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
3563
+
3564
+ header_params = {
3565
+ "accept": "application/json",
3566
+ "content-type": "application/json",
3567
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
3568
+ "opc-request-id": kwargs.get("opc_request_id", missing),
3569
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
3570
+ }
3571
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
3572
+
3573
+ retry_strategy = self.retry_strategy
3574
+ if kwargs.get('retry_strategy'):
3575
+ retry_strategy = kwargs.get('retry_strategy')
3576
+
3577
+ if retry_strategy:
3578
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
3579
+ self.base_client.add_opc_retry_token_if_needed(header_params)
3580
+ return retry_strategy.make_retrying_call(
3581
+ self.base_client.call_api,
3582
+ resource_path=resource_path,
3583
+ method=method,
3584
+ path_params=path_params,
3585
+ header_params=header_params,
3586
+ body=set_experiment_tag_details,
3587
+ response_type="SetExperimentTagResponseDetails")
3588
+ else:
3589
+ return self.base_client.call_api(
3590
+ resource_path=resource_path,
3591
+ method=method,
3592
+ path_params=path_params,
3593
+ header_params=header_params,
3594
+ body=set_experiment_tag_details,
3595
+ response_type="SetExperimentTagResponseDetails")
3596
+
3597
+ def set_model_version_tag(self, ai_data_platform_id, set_model_version_tag_details, **kwargs):
3598
+ """
3599
+ (Preview) Sets a tag on a model version.
3600
+
3601
+
3602
+ :param str ai_data_platform_id: (required)
3603
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
3604
+
3605
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
3606
+
3607
+ :param oci.aidataplatform_dp.models.SetModelVersionTagDetails set_model_version_tag_details: (required)
3608
+ Details of a model version tag.
3609
+
3610
+ :param str opc_retry_token: (optional)
3611
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
3612
+ server error without risk of running that same action again. Retry tokens expire after 24
3613
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
3614
+ has been deleted and removed from the system, then a retry of the original creation request
3615
+ might be rejected.
3616
+
3617
+ :param str opc_request_id: (optional)
3618
+ Unique Oracle-assigned identifier for the request. If you need to contact
3619
+ Oracle about a particular request, please provide the request ID.
3620
+ The only valid characters for request IDs are letters, numbers,
3621
+ underscore, and dash.
3622
+
3623
+ :param str dh_user_principal: (optional)
3624
+ The DH User Principal Header .
3625
+
3626
+ :param obj retry_strategy: (optional)
3627
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
3628
+
3629
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
3630
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
3631
+
3632
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
3633
+
3634
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.SetModelVersionTagResponseDetails`
3635
+ :rtype: :class:`~oci.response.Response`
3636
+ """
3637
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/model-versions/set-tag"
3638
+ method = "POST"
3639
+
3640
+ # Don't accept unknown kwargs
3641
+ expected_kwargs = [
3642
+ "retry_strategy",
3643
+ "opc_retry_token",
3644
+ "opc_request_id",
3645
+ "dh_user_principal"
3646
+ ]
3647
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3648
+ if extra_kwargs:
3649
+ raise ValueError(
3650
+ "set_model_version_tag got unknown kwargs: {!r}".format(extra_kwargs))
3651
+
3652
+ path_params = {
3653
+ "aiDataPlatformId": ai_data_platform_id
3654
+ }
3655
+
3656
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
3657
+
3658
+ for (k, v) in six.iteritems(path_params):
3659
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
3660
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
3661
+
3662
+ header_params = {
3663
+ "accept": "application/json",
3664
+ "content-type": "application/json",
3665
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
3666
+ "opc-request-id": kwargs.get("opc_request_id", missing),
3667
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
3668
+ }
3669
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
3670
+
3671
+ retry_strategy = self.retry_strategy
3672
+ if kwargs.get('retry_strategy'):
3673
+ retry_strategy = kwargs.get('retry_strategy')
3674
+
3675
+ if retry_strategy:
3676
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
3677
+ self.base_client.add_opc_retry_token_if_needed(header_params)
3678
+ return retry_strategy.make_retrying_call(
3679
+ self.base_client.call_api,
3680
+ resource_path=resource_path,
3681
+ method=method,
3682
+ path_params=path_params,
3683
+ header_params=header_params,
3684
+ body=set_model_version_tag_details,
3685
+ response_type="SetModelVersionTagResponseDetails")
3686
+ else:
3687
+ return self.base_client.call_api(
3688
+ resource_path=resource_path,
3689
+ method=method,
3690
+ path_params=path_params,
3691
+ header_params=header_params,
3692
+ body=set_model_version_tag_details,
3693
+ response_type="SetModelVersionTagResponseDetails")
3694
+
3695
+ def set_registered_model_tag(self, ai_data_platform_id, set_registered_model_tag_details, **kwargs):
3696
+ """
3697
+ (Preview) Sets a tag on a registered model.
3698
+
3699
+
3700
+ :param str ai_data_platform_id: (required)
3701
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
3702
+
3703
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
3704
+
3705
+ :param oci.aidataplatform_dp.models.SetRegisteredModelTagDetails set_registered_model_tag_details: (required)
3706
+ Details of a registered model tag.
3707
+
3708
+ :param str opc_retry_token: (optional)
3709
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
3710
+ server error without risk of running that same action again. Retry tokens expire after 24
3711
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
3712
+ has been deleted and removed from the system, then a retry of the original creation request
3713
+ might be rejected.
3714
+
3715
+ :param str opc_request_id: (optional)
3716
+ Unique Oracle-assigned identifier for the request. If you need to contact
3717
+ Oracle about a particular request, please provide the request ID.
3718
+ The only valid characters for request IDs are letters, numbers,
3719
+ underscore, and dash.
3720
+
3721
+ :param str dh_user_principal: (optional)
3722
+ The DH User Principal Header .
3723
+
3724
+ :param obj retry_strategy: (optional)
3725
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
3726
+
3727
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
3728
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
3729
+
3730
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
3731
+
3732
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.SetRegisteredModelTagResponseDetails`
3733
+ :rtype: :class:`~oci.response.Response`
3734
+ """
3735
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/registered-models/set-tag"
3736
+ method = "POST"
3737
+
3738
+ # Don't accept unknown kwargs
3739
+ expected_kwargs = [
3740
+ "retry_strategy",
3741
+ "opc_retry_token",
3742
+ "opc_request_id",
3743
+ "dh_user_principal"
3744
+ ]
3745
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3746
+ if extra_kwargs:
3747
+ raise ValueError(
3748
+ "set_registered_model_tag got unknown kwargs: {!r}".format(extra_kwargs))
3749
+
3750
+ path_params = {
3751
+ "aiDataPlatformId": ai_data_platform_id
3752
+ }
3753
+
3754
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
3755
+
3756
+ for (k, v) in six.iteritems(path_params):
3757
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
3758
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
3759
+
3760
+ header_params = {
3761
+ "accept": "application/json",
3762
+ "content-type": "application/json",
3763
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
3764
+ "opc-request-id": kwargs.get("opc_request_id", missing),
3765
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
3766
+ }
3767
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
3768
+
3769
+ retry_strategy = self.retry_strategy
3770
+ if kwargs.get('retry_strategy'):
3771
+ retry_strategy = kwargs.get('retry_strategy')
3772
+
3773
+ if retry_strategy:
3774
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
3775
+ self.base_client.add_opc_retry_token_if_needed(header_params)
3776
+ return retry_strategy.make_retrying_call(
3777
+ self.base_client.call_api,
3778
+ resource_path=resource_path,
3779
+ method=method,
3780
+ path_params=path_params,
3781
+ header_params=header_params,
3782
+ body=set_registered_model_tag_details,
3783
+ response_type="SetRegisteredModelTagResponseDetails")
3784
+ else:
3785
+ return self.base_client.call_api(
3786
+ resource_path=resource_path,
3787
+ method=method,
3788
+ path_params=path_params,
3789
+ header_params=header_params,
3790
+ body=set_registered_model_tag_details,
3791
+ response_type="SetRegisteredModelTagResponseDetails")
3792
+
3793
+ def transition_model_version_stage(self, ai_data_platform_id, transition_model_version_stage_details, **kwargs):
3794
+ """
3795
+ (Preview) Transitions a model version stage.
3796
+
3797
+
3798
+ :param str ai_data_platform_id: (required)
3799
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
3800
+
3801
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
3802
+
3803
+ :param oci.aidataplatform_dp.models.TransitionModelVersionStageDetails transition_model_version_stage_details: (required)
3804
+ Details to transition a model version stage.
3805
+
3806
+ :param str opc_retry_token: (optional)
3807
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
3808
+ server error without risk of running that same action again. Retry tokens expire after 24
3809
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
3810
+ has been deleted and removed from the system, then a retry of the original creation request
3811
+ might be rejected.
3812
+
3813
+ :param str opc_request_id: (optional)
3814
+ Unique Oracle-assigned identifier for the request. If you need to contact
3815
+ Oracle about a particular request, please provide the request ID.
3816
+ The only valid characters for request IDs are letters, numbers,
3817
+ underscore, and dash.
3818
+
3819
+ :param str dh_user_principal: (optional)
3820
+ The DH User Principal Header .
3821
+
3822
+ :param obj retry_strategy: (optional)
3823
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
3824
+
3825
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
3826
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
3827
+
3828
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
3829
+
3830
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.TransitionModelVersionStageResponseDetails`
3831
+ :rtype: :class:`~oci.response.Response`
3832
+ """
3833
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/model-versions/transition-stage"
3834
+ method = "POST"
3835
+
3836
+ # Don't accept unknown kwargs
3837
+ expected_kwargs = [
3838
+ "retry_strategy",
3839
+ "opc_retry_token",
3840
+ "opc_request_id",
3841
+ "dh_user_principal"
3842
+ ]
3843
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3844
+ if extra_kwargs:
3845
+ raise ValueError(
3846
+ "transition_model_version_stage got unknown kwargs: {!r}".format(extra_kwargs))
3847
+
3848
+ path_params = {
3849
+ "aiDataPlatformId": ai_data_platform_id
3850
+ }
3851
+
3852
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
3853
+
3854
+ for (k, v) in six.iteritems(path_params):
3855
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
3856
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
3857
+
3858
+ header_params = {
3859
+ "accept": "application/json",
3860
+ "content-type": "application/json",
3861
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
3862
+ "opc-request-id": kwargs.get("opc_request_id", missing),
3863
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
3864
+ }
3865
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
3866
+
3867
+ retry_strategy = self.retry_strategy
3868
+ if kwargs.get('retry_strategy'):
3869
+ retry_strategy = kwargs.get('retry_strategy')
3870
+
3871
+ if retry_strategy:
3872
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
3873
+ self.base_client.add_opc_retry_token_if_needed(header_params)
3874
+ return retry_strategy.make_retrying_call(
3875
+ self.base_client.call_api,
3876
+ resource_path=resource_path,
3877
+ method=method,
3878
+ path_params=path_params,
3879
+ header_params=header_params,
3880
+ body=transition_model_version_stage_details,
3881
+ response_type="TransitionModelVersionStageResponseDetails")
3882
+ else:
3883
+ return self.base_client.call_api(
3884
+ resource_path=resource_path,
3885
+ method=method,
3886
+ path_params=path_params,
3887
+ header_params=header_params,
3888
+ body=transition_model_version_stage_details,
3889
+ response_type="TransitionModelVersionStageResponseDetails")
3890
+
3891
+ def update_experiment(self, ai_data_platform_id, workspace_key, update_experiment_details, **kwargs):
3892
+ """
3893
+ (Preview) Updates an experiment.
3894
+
3895
+
3896
+ :param str ai_data_platform_id: (required)
3897
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
3898
+
3899
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
3900
+
3901
+ :param str workspace_key: (required)
3902
+ The key of the Workspace
3903
+
3904
+ :param oci.aidataplatform_dp.models.UpdateExperimentDetails update_experiment_details: (required)
3905
+ Update experiment metadata.
3906
+
3907
+ :param str opc_retry_token: (optional)
3908
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
3909
+ server error without risk of running that same action again. Retry tokens expire after 24
3910
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
3911
+ has been deleted and removed from the system, then a retry of the original creation request
3912
+ might be rejected.
3913
+
3914
+ :param str opc_request_id: (optional)
3915
+ Unique Oracle-assigned identifier for the request. If you need to contact
3916
+ Oracle about a particular request, please provide the request ID.
3917
+ The only valid characters for request IDs are letters, numbers,
3918
+ underscore, and dash.
3919
+
3920
+ :param str dh_user_principal: (optional)
3921
+ The DH User Principal Header .
3922
+
3923
+ :param obj retry_strategy: (optional)
3924
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
3925
+
3926
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
3927
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
3928
+
3929
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
3930
+
3931
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.UpdateExperimentResponseDetails`
3932
+ :rtype: :class:`~oci.response.Response`
3933
+ """
3934
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/experiments/update"
3935
+ method = "POST"
3936
+
3937
+ # Don't accept unknown kwargs
3938
+ expected_kwargs = [
3939
+ "retry_strategy",
3940
+ "opc_retry_token",
3941
+ "opc_request_id",
3942
+ "dh_user_principal"
3943
+ ]
3944
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3945
+ if extra_kwargs:
3946
+ raise ValueError(
3947
+ "update_experiment got unknown kwargs: {!r}".format(extra_kwargs))
3948
+
3949
+ path_params = {
3950
+ "aiDataPlatformId": ai_data_platform_id,
3951
+ "workspaceKey": workspace_key
3952
+ }
3953
+
3954
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
3955
+
3956
+ for (k, v) in six.iteritems(path_params):
3957
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
3958
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
3959
+
3960
+ header_params = {
3961
+ "accept": "application/json",
3962
+ "content-type": "application/json",
3963
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
3964
+ "opc-request-id": kwargs.get("opc_request_id", missing),
3965
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
3966
+ }
3967
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
3968
+
3969
+ retry_strategy = self.retry_strategy
3970
+ if kwargs.get('retry_strategy'):
3971
+ retry_strategy = kwargs.get('retry_strategy')
3972
+
3973
+ if retry_strategy:
3974
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
3975
+ self.base_client.add_opc_retry_token_if_needed(header_params)
3976
+ return retry_strategy.make_retrying_call(
3977
+ self.base_client.call_api,
3978
+ resource_path=resource_path,
3979
+ method=method,
3980
+ path_params=path_params,
3981
+ header_params=header_params,
3982
+ body=update_experiment_details,
3983
+ response_type="UpdateExperimentResponseDetails")
3984
+ else:
3985
+ return self.base_client.call_api(
3986
+ resource_path=resource_path,
3987
+ method=method,
3988
+ path_params=path_params,
3989
+ header_params=header_params,
3990
+ body=update_experiment_details,
3991
+ response_type="UpdateExperimentResponseDetails")
3992
+
3993
+ def update_experiment_run(self, ai_data_platform_id, workspace_key, update_experiment_run_details, **kwargs):
3994
+ """
3995
+ (Preview) Updates an experiment run.
3996
+
3997
+
3998
+ :param str ai_data_platform_id: (required)
3999
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
4000
+
4001
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
4002
+
4003
+ :param str workspace_key: (required)
4004
+ The key of the Workspace
4005
+
4006
+ :param oci.aidataplatform_dp.models.UpdateExperimentRunDetails update_experiment_run_details: (required)
4007
+ Update experiment run details.
4008
+
4009
+ :param str opc_retry_token: (optional)
4010
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
4011
+ server error without risk of running that same action again. Retry tokens expire after 24
4012
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
4013
+ has been deleted and removed from the system, then a retry of the original creation request
4014
+ might be rejected.
4015
+
4016
+ :param str opc_request_id: (optional)
4017
+ Unique Oracle-assigned identifier for the request. If you need to contact
4018
+ Oracle about a particular request, please provide the request ID.
4019
+ The only valid characters for request IDs are letters, numbers,
4020
+ underscore, and dash.
4021
+
4022
+ :param str dh_user_principal: (optional)
4023
+ The DH User Principal Header .
4024
+
4025
+ :param obj retry_strategy: (optional)
4026
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
4027
+
4028
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
4029
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
4030
+
4031
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
4032
+
4033
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.UpdateExperimentRunResponseDetails`
4034
+ :rtype: :class:`~oci.response.Response`
4035
+ """
4036
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/runs/update"
4037
+ method = "POST"
4038
+
4039
+ # Don't accept unknown kwargs
4040
+ expected_kwargs = [
4041
+ "retry_strategy",
4042
+ "opc_retry_token",
4043
+ "opc_request_id",
4044
+ "dh_user_principal"
4045
+ ]
4046
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
4047
+ if extra_kwargs:
4048
+ raise ValueError(
4049
+ "update_experiment_run got unknown kwargs: {!r}".format(extra_kwargs))
4050
+
4051
+ path_params = {
4052
+ "aiDataPlatformId": ai_data_platform_id,
4053
+ "workspaceKey": workspace_key
4054
+ }
4055
+
4056
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
4057
+
4058
+ for (k, v) in six.iteritems(path_params):
4059
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
4060
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
4061
+
4062
+ header_params = {
4063
+ "accept": "application/json",
4064
+ "content-type": "application/json",
4065
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
4066
+ "opc-request-id": kwargs.get("opc_request_id", missing),
4067
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
4068
+ }
4069
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
4070
+
4071
+ retry_strategy = self.retry_strategy
4072
+ if kwargs.get('retry_strategy'):
4073
+ retry_strategy = kwargs.get('retry_strategy')
4074
+
4075
+ if retry_strategy:
4076
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
4077
+ self.base_client.add_opc_retry_token_if_needed(header_params)
4078
+ return retry_strategy.make_retrying_call(
4079
+ self.base_client.call_api,
4080
+ resource_path=resource_path,
4081
+ method=method,
4082
+ path_params=path_params,
4083
+ header_params=header_params,
4084
+ body=update_experiment_run_details,
4085
+ response_type="UpdateExperimentRunResponseDetails")
4086
+ else:
4087
+ return self.base_client.call_api(
4088
+ resource_path=resource_path,
4089
+ method=method,
4090
+ path_params=path_params,
4091
+ header_params=header_params,
4092
+ body=update_experiment_run_details,
4093
+ response_type="UpdateExperimentRunResponseDetails")
4094
+
4095
+ def update_experiment_run_tags(self, ai_data_platform_id, workspace_key, update_experiment_run_tags_details, **kwargs):
4096
+ """
4097
+ (Preview) Updates tags on an experiment run.
4098
+
4099
+
4100
+ :param str ai_data_platform_id: (required)
4101
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
4102
+
4103
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
4104
+
4105
+ :param str workspace_key: (required)
4106
+ The key of the Workspace
4107
+
4108
+ :param oci.aidataplatform_dp.models.UpdateExperimentRunTagsDetails update_experiment_run_tags_details: (required)
4109
+ Details of ExperimentRun tags.
4110
+
4111
+ :param str opc_retry_token: (optional)
4112
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
4113
+ server error without risk of running that same action again. Retry tokens expire after 24
4114
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
4115
+ has been deleted and removed from the system, then a retry of the original creation request
4116
+ might be rejected.
4117
+
4118
+ :param str opc_request_id: (optional)
4119
+ Unique Oracle-assigned identifier for the request. If you need to contact
4120
+ Oracle about a particular request, please provide the request ID.
4121
+ The only valid characters for request IDs are letters, numbers,
4122
+ underscore, and dash.
4123
+
4124
+ :param str dh_user_principal: (optional)
4125
+ The DH User Principal Header .
4126
+
4127
+ :param obj retry_strategy: (optional)
4128
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
4129
+
4130
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
4131
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
4132
+
4133
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
4134
+
4135
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.UpdateExperimentRunTagsResponseDetails`
4136
+ :rtype: :class:`~oci.response.Response`
4137
+ """
4138
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/internal/runs/update-tags"
4139
+ method = "POST"
4140
+
4141
+ # Don't accept unknown kwargs
4142
+ expected_kwargs = [
4143
+ "retry_strategy",
4144
+ "opc_retry_token",
4145
+ "opc_request_id",
4146
+ "dh_user_principal"
4147
+ ]
4148
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
4149
+ if extra_kwargs:
4150
+ raise ValueError(
4151
+ "update_experiment_run_tags got unknown kwargs: {!r}".format(extra_kwargs))
4152
+
4153
+ path_params = {
4154
+ "aiDataPlatformId": ai_data_platform_id,
4155
+ "workspaceKey": workspace_key
4156
+ }
4157
+
4158
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
4159
+
4160
+ for (k, v) in six.iteritems(path_params):
4161
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
4162
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
4163
+
4164
+ header_params = {
4165
+ "accept": "application/json",
4166
+ "content-type": "application/json",
4167
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
4168
+ "opc-request-id": kwargs.get("opc_request_id", missing),
4169
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
4170
+ }
4171
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
4172
+
4173
+ retry_strategy = self.retry_strategy
4174
+ if kwargs.get('retry_strategy'):
4175
+ retry_strategy = kwargs.get('retry_strategy')
4176
+
4177
+ if retry_strategy:
4178
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
4179
+ self.base_client.add_opc_retry_token_if_needed(header_params)
4180
+ return retry_strategy.make_retrying_call(
4181
+ self.base_client.call_api,
4182
+ resource_path=resource_path,
4183
+ method=method,
4184
+ path_params=path_params,
4185
+ header_params=header_params,
4186
+ body=update_experiment_run_tags_details,
4187
+ response_type="UpdateExperimentRunTagsResponseDetails")
4188
+ else:
4189
+ return self.base_client.call_api(
4190
+ resource_path=resource_path,
4191
+ method=method,
4192
+ path_params=path_params,
4193
+ header_params=header_params,
4194
+ body=update_experiment_run_tags_details,
4195
+ response_type="UpdateExperimentRunTagsResponseDetails")
4196
+
4197
+ def update_experiment_tags(self, ai_data_platform_id, workspace_key, update_experiment_tags_details, **kwargs):
4198
+ """
4199
+ (Preview) Updates tags on experiment.
4200
+
4201
+
4202
+ :param str ai_data_platform_id: (required)
4203
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
4204
+
4205
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
4206
+
4207
+ :param str workspace_key: (required)
4208
+ The key of the Workspace
4209
+
4210
+ :param oci.aidataplatform_dp.models.UpdateExperimentTagsDetails update_experiment_tags_details: (required)
4211
+ Details of Experiment tags.
4212
+
4213
+ :param str opc_retry_token: (optional)
4214
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
4215
+ server error without risk of running that same action again. Retry tokens expire after 24
4216
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
4217
+ has been deleted and removed from the system, then a retry of the original creation request
4218
+ might be rejected.
4219
+
4220
+ :param str opc_request_id: (optional)
4221
+ Unique Oracle-assigned identifier for the request. If you need to contact
4222
+ Oracle about a particular request, please provide the request ID.
4223
+ The only valid characters for request IDs are letters, numbers,
4224
+ underscore, and dash.
4225
+
4226
+ :param str dh_user_principal: (optional)
4227
+ The DH User Principal Header .
4228
+
4229
+ :param obj retry_strategy: (optional)
4230
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
4231
+
4232
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
4233
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
4234
+
4235
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
4236
+
4237
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.UpdateExperimentTagsResponseDetails`
4238
+ :rtype: :class:`~oci.response.Response`
4239
+ """
4240
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/internal/experiments/update-experiment-tags"
4241
+ method = "POST"
4242
+
4243
+ # Don't accept unknown kwargs
4244
+ expected_kwargs = [
4245
+ "retry_strategy",
4246
+ "opc_retry_token",
4247
+ "opc_request_id",
4248
+ "dh_user_principal"
4249
+ ]
4250
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
4251
+ if extra_kwargs:
4252
+ raise ValueError(
4253
+ "update_experiment_tags got unknown kwargs: {!r}".format(extra_kwargs))
4254
+
4255
+ path_params = {
4256
+ "aiDataPlatformId": ai_data_platform_id,
4257
+ "workspaceKey": workspace_key
4258
+ }
4259
+
4260
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
4261
+
4262
+ for (k, v) in six.iteritems(path_params):
4263
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
4264
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
4265
+
4266
+ header_params = {
4267
+ "accept": "application/json",
4268
+ "content-type": "application/json",
4269
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
4270
+ "opc-request-id": kwargs.get("opc_request_id", missing),
4271
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
4272
+ }
4273
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
4274
+
4275
+ retry_strategy = self.retry_strategy
4276
+ if kwargs.get('retry_strategy'):
4277
+ retry_strategy = kwargs.get('retry_strategy')
4278
+
4279
+ if retry_strategy:
4280
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
4281
+ self.base_client.add_opc_retry_token_if_needed(header_params)
4282
+ return retry_strategy.make_retrying_call(
4283
+ self.base_client.call_api,
4284
+ resource_path=resource_path,
4285
+ method=method,
4286
+ path_params=path_params,
4287
+ header_params=header_params,
4288
+ body=update_experiment_tags_details,
4289
+ response_type="UpdateExperimentTagsResponseDetails")
4290
+ else:
4291
+ return self.base_client.call_api(
4292
+ resource_path=resource_path,
4293
+ method=method,
4294
+ path_params=path_params,
4295
+ header_params=header_params,
4296
+ body=update_experiment_tags_details,
4297
+ response_type="UpdateExperimentTagsResponseDetails")
4298
+
4299
+ def update_model_version(self, ai_data_platform_id, update_model_version_details, **kwargs):
4300
+ """
4301
+ (Preview) Updates a model version
4302
+
4303
+
4304
+ :param str ai_data_platform_id: (required)
4305
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
4306
+
4307
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
4308
+
4309
+ :param oci.aidataplatform_dp.models.UpdateModelVersionDetails update_model_version_details: (required)
4310
+ Details to update model version.
4311
+
4312
+ :param str opc_retry_token: (optional)
4313
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
4314
+ server error without risk of running that same action again. Retry tokens expire after 24
4315
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
4316
+ has been deleted and removed from the system, then a retry of the original creation request
4317
+ might be rejected.
4318
+
4319
+ :param str opc_request_id: (optional)
4320
+ Unique Oracle-assigned identifier for the request. If you need to contact
4321
+ Oracle about a particular request, please provide the request ID.
4322
+ The only valid characters for request IDs are letters, numbers,
4323
+ underscore, and dash.
4324
+
4325
+ :param str dh_user_principal: (optional)
4326
+ The DH User Principal Header .
4327
+
4328
+ :param obj retry_strategy: (optional)
4329
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
4330
+
4331
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
4332
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
4333
+
4334
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
4335
+
4336
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.UpdateModelVersionResponseDetails`
4337
+ :rtype: :class:`~oci.response.Response`
4338
+ """
4339
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/model-versions/update"
4340
+ method = "POST"
4341
+
4342
+ # Don't accept unknown kwargs
4343
+ expected_kwargs = [
4344
+ "retry_strategy",
4345
+ "opc_retry_token",
4346
+ "opc_request_id",
4347
+ "dh_user_principal"
4348
+ ]
4349
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
4350
+ if extra_kwargs:
4351
+ raise ValueError(
4352
+ "update_model_version got unknown kwargs: {!r}".format(extra_kwargs))
4353
+
4354
+ path_params = {
4355
+ "aiDataPlatformId": ai_data_platform_id
4356
+ }
4357
+
4358
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
4359
+
4360
+ for (k, v) in six.iteritems(path_params):
4361
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
4362
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
4363
+
4364
+ header_params = {
4365
+ "accept": "application/json",
4366
+ "content-type": "application/json",
4367
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
4368
+ "opc-request-id": kwargs.get("opc_request_id", missing),
4369
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
4370
+ }
4371
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
4372
+
4373
+ retry_strategy = self.retry_strategy
4374
+ if kwargs.get('retry_strategy'):
4375
+ retry_strategy = kwargs.get('retry_strategy')
4376
+
4377
+ if retry_strategy:
4378
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
4379
+ self.base_client.add_opc_retry_token_if_needed(header_params)
4380
+ return retry_strategy.make_retrying_call(
4381
+ self.base_client.call_api,
4382
+ resource_path=resource_path,
4383
+ method=method,
4384
+ path_params=path_params,
4385
+ header_params=header_params,
4386
+ body=update_model_version_details,
4387
+ response_type="UpdateModelVersionResponseDetails")
4388
+ else:
4389
+ return self.base_client.call_api(
4390
+ resource_path=resource_path,
4391
+ method=method,
4392
+ path_params=path_params,
4393
+ header_params=header_params,
4394
+ body=update_model_version_details,
4395
+ response_type="UpdateModelVersionResponseDetails")
4396
+
4397
+ def update_model_version_tags(self, ai_data_platform_id, update_model_version_tags_details, **kwargs):
4398
+ """
4399
+ (Preview) Updates tags on a model version.
4400
+
4401
+
4402
+ :param str ai_data_platform_id: (required)
4403
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
4404
+
4405
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
4406
+
4407
+ :param oci.aidataplatform_dp.models.UpdateModelVersionTagsDetails update_model_version_tags_details: (required)
4408
+ Details of model version tags to update.
4409
+
4410
+ :param str opc_retry_token: (optional)
4411
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
4412
+ server error without risk of running that same action again. Retry tokens expire after 24
4413
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
4414
+ has been deleted and removed from the system, then a retry of the original creation request
4415
+ might be rejected.
4416
+
4417
+ :param str opc_request_id: (optional)
4418
+ Unique Oracle-assigned identifier for the request. If you need to contact
4419
+ Oracle about a particular request, please provide the request ID.
4420
+ The only valid characters for request IDs are letters, numbers,
4421
+ underscore, and dash.
4422
+
4423
+ :param str dh_user_principal: (optional)
4424
+ The DH User Principal Header .
4425
+
4426
+ :param obj retry_strategy: (optional)
4427
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
4428
+
4429
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
4430
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
4431
+
4432
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
4433
+
4434
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.UpdateModelVersionTagsResponseDetails`
4435
+ :rtype: :class:`~oci.response.Response`
4436
+ """
4437
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/internal/model-versions/update-tags"
4438
+ method = "POST"
4439
+
4440
+ # Don't accept unknown kwargs
4441
+ expected_kwargs = [
4442
+ "retry_strategy",
4443
+ "opc_retry_token",
4444
+ "opc_request_id",
4445
+ "dh_user_principal"
4446
+ ]
4447
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
4448
+ if extra_kwargs:
4449
+ raise ValueError(
4450
+ "update_model_version_tags got unknown kwargs: {!r}".format(extra_kwargs))
4451
+
4452
+ path_params = {
4453
+ "aiDataPlatformId": ai_data_platform_id
4454
+ }
4455
+
4456
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
4457
+
4458
+ for (k, v) in six.iteritems(path_params):
4459
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
4460
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
4461
+
4462
+ header_params = {
4463
+ "accept": "application/json",
4464
+ "content-type": "application/json",
4465
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
4466
+ "opc-request-id": kwargs.get("opc_request_id", missing),
4467
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
4468
+ }
4469
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
4470
+
4471
+ retry_strategy = self.retry_strategy
4472
+ if kwargs.get('retry_strategy'):
4473
+ retry_strategy = kwargs.get('retry_strategy')
4474
+
4475
+ if retry_strategy:
4476
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
4477
+ self.base_client.add_opc_retry_token_if_needed(header_params)
4478
+ return retry_strategy.make_retrying_call(
4479
+ self.base_client.call_api,
4480
+ resource_path=resource_path,
4481
+ method=method,
4482
+ path_params=path_params,
4483
+ header_params=header_params,
4484
+ body=update_model_version_tags_details,
4485
+ response_type="UpdateModelVersionTagsResponseDetails")
4486
+ else:
4487
+ return self.base_client.call_api(
4488
+ resource_path=resource_path,
4489
+ method=method,
4490
+ path_params=path_params,
4491
+ header_params=header_params,
4492
+ body=update_model_version_tags_details,
4493
+ response_type="UpdateModelVersionTagsResponseDetails")
4494
+
4495
+ def update_registered_model(self, ai_data_platform_id, update_registered_model_details, **kwargs):
4496
+ """
4497
+ (Preview) Updates a registered model with the provided details.
4498
+
4499
+
4500
+ :param str ai_data_platform_id: (required)
4501
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
4502
+
4503
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
4504
+
4505
+ :param oci.aidataplatform_dp.models.UpdateRegisteredModelDetails update_registered_model_details: (required)
4506
+ Details to update the registered model.
4507
+
4508
+ :param str opc_retry_token: (optional)
4509
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
4510
+ server error without risk of running that same action again. Retry tokens expire after 24
4511
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
4512
+ has been deleted and removed from the system, then a retry of the original creation request
4513
+ might be rejected.
4514
+
4515
+ :param str opc_request_id: (optional)
4516
+ Unique Oracle-assigned identifier for the request. If you need to contact
4517
+ Oracle about a particular request, please provide the request ID.
4518
+ The only valid characters for request IDs are letters, numbers,
4519
+ underscore, and dash.
4520
+
4521
+ :param str dh_user_principal: (optional)
4522
+ The DH User Principal Header .
4523
+
4524
+ :param obj retry_strategy: (optional)
4525
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
4526
+
4527
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
4528
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
4529
+
4530
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
4531
+
4532
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.UpdateRegisteredModelResponseDetails`
4533
+ :rtype: :class:`~oci.response.Response`
4534
+ """
4535
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/registered-models/update"
4536
+ method = "POST"
4537
+
4538
+ # Don't accept unknown kwargs
4539
+ expected_kwargs = [
4540
+ "retry_strategy",
4541
+ "opc_retry_token",
4542
+ "opc_request_id",
4543
+ "dh_user_principal"
4544
+ ]
4545
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
4546
+ if extra_kwargs:
4547
+ raise ValueError(
4548
+ "update_registered_model got unknown kwargs: {!r}".format(extra_kwargs))
4549
+
4550
+ path_params = {
4551
+ "aiDataPlatformId": ai_data_platform_id
4552
+ }
4553
+
4554
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
4555
+
4556
+ for (k, v) in six.iteritems(path_params):
4557
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
4558
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
4559
+
4560
+ header_params = {
4561
+ "accept": "application/json",
4562
+ "content-type": "application/json",
4563
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
4564
+ "opc-request-id": kwargs.get("opc_request_id", missing),
4565
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
4566
+ }
4567
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
4568
+
4569
+ retry_strategy = self.retry_strategy
4570
+ if kwargs.get('retry_strategy'):
4571
+ retry_strategy = kwargs.get('retry_strategy')
4572
+
4573
+ if retry_strategy:
4574
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
4575
+ self.base_client.add_opc_retry_token_if_needed(header_params)
4576
+ return retry_strategy.make_retrying_call(
4577
+ self.base_client.call_api,
4578
+ resource_path=resource_path,
4579
+ method=method,
4580
+ path_params=path_params,
4581
+ header_params=header_params,
4582
+ body=update_registered_model_details,
4583
+ response_type="UpdateRegisteredModelResponseDetails")
4584
+ else:
4585
+ return self.base_client.call_api(
4586
+ resource_path=resource_path,
4587
+ method=method,
4588
+ path_params=path_params,
4589
+ header_params=header_params,
4590
+ body=update_registered_model_details,
4591
+ response_type="UpdateRegisteredModelResponseDetails")
4592
+
4593
+ def update_registered_model_tags(self, ai_data_platform_id, update_registered_model_tags_details, **kwargs):
4594
+ """
4595
+ (Preview) Updates tags on a registered model.
4596
+
4597
+
4598
+ :param str ai_data_platform_id: (required)
4599
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
4600
+
4601
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
4602
+
4603
+ :param oci.aidataplatform_dp.models.UpdateRegisteredModelTagsDetails update_registered_model_tags_details: (required)
4604
+ Details of registered model tags.
4605
+
4606
+ :param str opc_retry_token: (optional)
4607
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
4608
+ server error without risk of running that same action again. Retry tokens expire after 24
4609
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
4610
+ has been deleted and removed from the system, then a retry of the original creation request
4611
+ might be rejected.
4612
+
4613
+ :param str opc_request_id: (optional)
4614
+ Unique Oracle-assigned identifier for the request. If you need to contact
4615
+ Oracle about a particular request, please provide the request ID.
4616
+ The only valid characters for request IDs are letters, numbers,
4617
+ underscore, and dash.
4618
+
4619
+ :param str dh_user_principal: (optional)
4620
+ The DH User Principal Header .
4621
+
4622
+ :param obj retry_strategy: (optional)
4623
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
4624
+
4625
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
4626
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
4627
+
4628
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
4629
+
4630
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.UpdateRegisteredModelTagsResponseDetails`
4631
+ :rtype: :class:`~oci.response.Response`
4632
+ """
4633
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/internal/registered-models/update-tags"
4634
+ method = "POST"
4635
+
4636
+ # Don't accept unknown kwargs
4637
+ expected_kwargs = [
4638
+ "retry_strategy",
4639
+ "opc_retry_token",
4640
+ "opc_request_id",
4641
+ "dh_user_principal"
4642
+ ]
4643
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
4644
+ if extra_kwargs:
4645
+ raise ValueError(
4646
+ "update_registered_model_tags got unknown kwargs: {!r}".format(extra_kwargs))
4647
+
4648
+ path_params = {
4649
+ "aiDataPlatformId": ai_data_platform_id
4650
+ }
4651
+
4652
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
4653
+
4654
+ for (k, v) in six.iteritems(path_params):
4655
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
4656
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
4657
+
4658
+ header_params = {
4659
+ "accept": "application/json",
4660
+ "content-type": "application/json",
4661
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
4662
+ "opc-request-id": kwargs.get("opc_request_id", missing),
4663
+ "dh-user-principal": kwargs.get("dh_user_principal", missing)
4664
+ }
4665
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
4666
+
4667
+ retry_strategy = self.retry_strategy
4668
+ if kwargs.get('retry_strategy'):
4669
+ retry_strategy = kwargs.get('retry_strategy')
4670
+
4671
+ if retry_strategy:
4672
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
4673
+ self.base_client.add_opc_retry_token_if_needed(header_params)
4674
+ return retry_strategy.make_retrying_call(
4675
+ self.base_client.call_api,
4676
+ resource_path=resource_path,
4677
+ method=method,
4678
+ path_params=path_params,
4679
+ header_params=header_params,
4680
+ body=update_registered_model_tags_details,
4681
+ response_type="UpdateRegisteredModelTagsResponseDetails")
4682
+ else:
4683
+ return self.base_client.call_api(
4684
+ resource_path=resource_path,
4685
+ method=method,
4686
+ path_params=path_params,
4687
+ header_params=header_params,
4688
+ body=update_registered_model_tags_details,
4689
+ response_type="UpdateRegisteredModelTagsResponseDetails")